Hierarchy

Constructors

Properties

accounts: Map<string, StubAccount> = ...
alive: boolean = true
balances: Map<string, StubBalances> = ...
chainId: string = 'stub'

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

contracts: Record<string, Scrt.Mocknet.Contract<ScrtCWVersion>> = {}
gasToken: Native = ...

Denomination of base gas token for this chain.

height: number = 0

Current block height. Increments when accessing nextBlock

instances: Map<string, StubInstance> = ...
lastCodeId: number = 0
log: Console
platform?: string

Which kind of devnet to launch

prefix: string = 'stub1'
running: boolean = false

Is this thing on?

uploads: Map<string, ScrtMocknetUpload>
url: string = 'http://stub'

URL for connecting to a remote devnet.

Methods

  • Parameters

    • sender: string
    • __namedParameters: Partial<ContractInstance>
    • message: Message
    • Optional options: {
          execFee?: unknown;
          execMemo?: unknown;
          execSend?: unknown;
      }
      • Optional execFee?: unknown
      • Optional execMemo?: unknown
      • Optional execSend?: unknown

    Returns Promise<any>

  • Parameters

    • cosmWasmVersion: ScrtCWVersion
    • sender: string
    • messages: unknown[]

    Returns Promise<void>

  • Parameters

    • sender: string
    • messages: unknown[]

    Returns Promise<void>

  • Parameters

    • sender: string
    • messages: unknown[]

    Returns Promise<void>

Generated using TypeDoc