Hierarchy

  • WasmModule

Constructors

Properties

contracts: Record<string, default> = {}
store: TransactionalLens<WasmData>
checksumCache: Record<number, string> = {}

Accessors

Methods

  • Parameters

    • contractAddress: string
    • Optional storage: Snapshot

    Returns Map<keyof Map<unknown, unknown>, number | Map<never, never>>

  • Register a new contract instance from codeId

    Parameters

    • sender: string
    • codeId: number
    • label: string = ''
    • admin: string = null
    • salt: Uint8Array = null

    Returns Result<string, string>

©2020 - 2024 Oraichain Foundation