2.0.0 • Published 9 months ago

raphaelzhou1-ds-note v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

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.

2.0.0

9 months ago

1.0.0

9 months ago