Type alias ContractState

ContractState: {
    balance: bigint;
    last: {
        hash: Buffer;
        lt: bigint;
    } | null;
    state: {
        type: "uninit";
    } | {
        code: Maybe<Buffer>;
        data: Maybe<Buffer>;
        type: "active";
    } | {
        stateHash: Buffer;
        type: "frozen";
    };
}

Type declaration

  • balance: bigint
  • last: {
        hash: Buffer;
        lt: bigint;
    } | null
  • state: {
        type: "uninit";
    } | {
        code: Maybe<Buffer>;
        data: Maybe<Buffer>;
        type: "active";
    } | {
        stateHash: Buffer;
        type: "frozen";
    }

Generated using TypeDoc