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

Source

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