Type Alias: ContractErrorArgs<abi, errorName>
type ContractErrorArgs<abi, errorName>: AbiParametersToPrimitiveTypes<ExtractAbiError<abi extends Abi ? abi : Abi, errorName>["inputs"], "inputs"> extends infer args ? [args] extends [never] ? readonly unknown[] : args : readonly unknown[];
Type Parameters
Type Parameter | Default type |
---|---|
|
|
|
|
Defined
@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:96