Type Alias: ContractEventArgs<abi, eventName>
type ContractEventArgs<abi, eventName>: AbiEventParametersToPrimitiveTypes<ExtractAbiEvent<abi extends Abi ? abi : Abi, eventName>["inputs"]> extends infer args ? [args] extends [never] ? readonly unknown[] | Record<string, unknown> : args : readonly unknown[] | Record<string, unknown>;
Type Parameters
Type Parameter | Default type |
---|---|
|
|
|
|
Defined
@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:108