Skip to main content
Version: 11.x

Type Alias: UniversalDeployerContractPayload

UniversalDeployerContractPayload = object

Defined in: src/types/lib/index.ts:105

Properties​

classHash​

classHash: BigNumberish

Defined in: src/types/lib/index.ts:106


salt?​

optional salt?: string

Defined in: src/types/lib/index.ts:107


unique?​

optional unique?: boolean

Defined in: src/types/lib/index.ts:108


constructorCalldata?​

optional constructorCalldata?: RawArgs

Defined in: src/types/lib/index.ts:109


abi?​

optional abi?: Abi

Defined in: src/types/lib/index.ts:117

Abi of the contract to deploy. When given, the constructor calldata is checked against it: parameters are compiled with it, felts already compiled are read back and written again with it. Without it, the calldata is not checked: it is flattened as given, an object in the order of its keys, and plain JS values of compound types (a text for a ByteArray, a number for a u256) are not written the way the constructor reads them.