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