Log function calls as events
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib dapp upgrade ds-test Dec 2, 2018
src accept solc 0.4.23 Dec 2, 2018
.gitignore
.gitmodules dapp-install dapphub/ds-test Mar 19, 2017
Dappfile hacking Mar 19, 2017
LICENSE
Makefile hacking Mar 19, 2017
README.md
default.nix Add default.nix May 8, 2018

README.md

DSNote

Log function calls as events

Provides generic function call logging by way of a note modifier which triggers the capture of data as a LogNote event containing:

  • msg.sig (indexed)
  • msg.sender (indexed)
  • The first function parameter (indexed)
  • The second function parameter (indexed)
  • msg.value
  • msg.data

Functions decorated with the note modifier will log this information whenever they are called with the indexed fields being queryable by blockchain clients. This covers most usecases for events, making this an easy way to quickly add event logging to your dapp.