A Contract event on a Contract.

Type parameters

Type parameterValue
A extends any[]any[]
interface ContractEvent(...args): DeferredTopicFilter
Create a deferred topic filter for the event.

Parameters

ParameterTypeDescription
argsContractEventArgs<A>The arguments to create the filter with.

Returns

DeferredTopicFilter The deferred topic filter.

Source

contract/types.ts:238

Properties

PropertyTypeDescription
fragmentEventFragmentThe fragment of the Contract event. This will throw on ambiguous method names.
namestringThe name of the Contract event.

Methods

getFragment()

getFragment(...args): EventFragment
Returns the fragment constrained by args. This can be used to resolve ambiguous event names.

Parameters

ParameterTypeDescription
argsContractEventArgs<A>The arguments to constrain the fragment by.

Returns

EventFragment The constrained fragment.

Source

contract/types.ts:256