Stored code information.

interface ContractsCode {
    abi: number;
    hash: Uint8Array;
    id: longnum;
    instantiate_policy: ContractsPolicy;
    uploader: Uint8Array;
}

Properties

abi: number

ABI.

hash: Uint8Array

Code hash.

id: longnum

Unique code identifier.

instantiate_policy: ContractsPolicy

Who is allowed to instantiate this code.

uploader: Uint8Array

Code uploader address.