Type Alias: AbiItemArgs<abi, name>
type AbiItemArgs<abi, name>: AbiParametersToPrimitiveTypes<ExtractAbiItem<abi extends Abi ? abi : Abi, name>["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:252