Instantiate call.

interface ContractsInstantiate {
    code_id: longnum;
    data: Uint8Array;
    tokens: BaseUnits[];
    upgrades_policy: ContractsPolicy;
}

Properties

code_id: longnum

Identifier of code used by the instance.

data: Uint8Array

Arguments to contract's instantiation function.

tokens: BaseUnits[]

Tokens that should be sent to the contract as part of the instantiate call.

upgrades_policy: ContractsPolicy

Who is allowed to upgrade this instance.