Skip to main content

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 ParameterDefault type

abi extends Abi | readonly unknown[]

Abi

name extends AbiItemName<abi>

AbiItemName<abi>

Defined

@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:252