EventActionCreator
EventActionCreator<
THumanReadableAbi
,TBytecode
,TDeployedBytecode
,TAddress
,TAddressArgs
>:{ [TEventName in ExtractAbiEventNames<ParseAbi<THumanReadableAbi>>]: Function & Object & TAddressArgs }
A mapping of event names to action creators for events. Can be used to create event filters in a typesafe way
Example
tevm.eth.getLog( MyScript.withAddress('0x420...').events.Transfer({ from: '0x1234...' }),)===
## Type parameters
| Parameter | Default || :------ | :------ || `THumanReadableAbi` extends readonly `string`[] | - || `TBytecode` extends `Hex` \| `undefined` | - || `TDeployedBytecode` extends `Hex` \| `undefined` | - || `TAddress` extends `Address` \| `undefined` | - || `TAddressArgs` | `TAddress` extends `undefined` ? `object` : `object` |
## Source
packages/contract/src/event/EventActionCreator.ts:40
***Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/)