Type Alias: ContractConstructorArgs<abi>
type ContractConstructorArgs<abi>: AbiParametersToPrimitiveTypes<Extract<abi extends Abi ? abi : Abi[number], object>["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:86