Hierarchy (view full)

Constructors

Properties

accounts: Map<string, Stub.Account> = ...
alive: boolean = true
balances: Map<string, Balances> = ...
chainId: string = 'stub'

The chain ID that will be passed to the devnet node.

gasToken: Native = ...

Denomination of base gas token for this chain.

instances: Map<string, Stub.Instance> = ...
lastCodeId: number = 0
prefix: string = 'stub1'
uploads: Map<string, Upload> = ...
url: string = 'http://stub'

Methods

  • Parameters

    • Rest ...args: unknown[]

    Returns Promise<unknown>

  • Parameters

    • Rest ...args: unknown[]

    Returns Promise<unknown>

  • Parameters

    • Rest ...args: unknown[]

    Returns Promise<unknown>

  • Parameters

    • creator: string
    • codeId: string
    • options: unknown

    Returns Promise<Partial<ContractInstance> & {
        address: string;
    }>

  • Parameters

    • codeData: Uint8Array

    Returns Promise<{
        chainId: string;
        codeData: Uint8Array;
        codeHash: string;
        codeId: string;
        instances: Set<string>;
    }>

Generated using TypeDoc