Skip to content

ContractConstructorArgs

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

abi extends Abi | readonly unknown[] = Abi

Defined in

node_modules/.pnpm/viem@2.14.2_bufferutil@4.0.8_typescript@5.5.2_utf-8-validate@6.0.4_zod@3.23.8/node_modules/viem/_types/types/contract.d.ts:9