Matches
When a trigger... gets triggered
Every time a Trigger gets triggered it results in the creation of a Match. There is a different Match type for every given Trigger: EventsTriggerMatch
, ContractsTriggerMatch
and TransactionTriggerMatch
.
Here is what they look like:
TransactionsTriggerMatch
the Decoded
field is defined as follows:
and represents the decoded input data used for the specific transaction that matched.
ContractsTriggerMatch
contract
is a type that contains information about the matching contract:
method
is the name of the function that was invoked on the contract and whose output matched the correspondent Trigger.
Lastly, ReturnedValues
is defined as follow
and contains information on all the values returned by the function call (all
), as well a the specific value(s) which matched the Trigger description (matched
).
EventsTriggerMatch
the Decoded
type contains information on the matching Event Name that was emitted, as well as its arguments (the values in the data
and topic
fields)
Last updated