Skip to content

DeployArgs

DeployArgs<THumanReadableAbi, TBytecode, TAbi, THasConstructor>: THasConstructor extends false ? TBytecode extends Hex ? [] | [object] : [object] : TBytecode extends Hex ? [object] : [object]

Inferred arguments for a contract deployment

Type Parameters

THumanReadableAbi extends string[] | readonly string[]

TBytecode extends Hex | undefined = undefined

TAbi extends ParseAbi<THumanReadableAbi> = ParseAbi<THumanReadableAbi>

THasConstructor = TAbi extends Abi ? Abi extends TAbi ? true : [Extract<TAbi[number], object>] extends [never] ? false : true : true

Defined in

DeployArgs.ts:6