참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.A Contract event on a Contract.
Type parameters
| Type parameter | Value |
|---|---|
A extends any[] | any[] |
Parameters
| Parameter | Type | Description |
|---|---|---|
…args | ContractEventArgs<A> | The arguments to create the filter with. |
Returns
DeferredTopicFilter
The deferred topic filter.
Source
contract/types.ts:238Properties
| Property | Type | Description |
|---|---|---|
fragment | EventFragment | The fragment of the Contract event. This will throw on ambiguous method names. |
name | string | The name of the Contract event. |
Methods
getFragment()
args. This can be used to resolve ambiguous event names.
Parameters
| Parameter | Type | Description |
|---|---|---|
…args | ContractEventArgs<A> | The arguments to constrain the fragment by. |
Returns
EventFragment
The constrained fragment.
