Type Alias: ContractFunctionArgs<abi, mutability, functionName>
type ContractFunctionArgs<abi, mutability, functionName>: AbiParametersToPrimitiveTypes<ExtractAbiFunction<abi extends Abi ? abi : Abi, functionName, mutability>["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:70