Type Alias: ContractEventName<abi>
type ContractEventName<abi>: ExtractAbiEventNames<abi extends Abi ? abi : Abi> extends infer eventName ? [eventName] extends [never] ? string : eventName : string;
Type Parameters
Type Parameter | Default type |
---|---|
|
|
Defined
@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:62