Mapping Types
A mapping can be triggered not only by a runtime event, but also at the end of an extrinsic execution or at the beginning or at the end of arbitrary block
eventHandlers:
- event: balances.Transfer
handler: balancesTransferextrinsicHandlers:
- extrinsic: timestamp.set
handler: timestampCall
triggerEvents: # optional list of events triggering the execution
- system.ExtrinsicSuccess
- system.ExtrinsicFailurepreBlockHooks:
- handler: preHookpreBlockHooks:
- handler: preHookMapping Filters
Last updated