Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MsgBase<MsgInstantiateContract.Params, MsgInstantiateContract.Proto>
    • MsgInstantiateContract

Index

Constructors

Properties

params: Params

Methods

  • toAmino(): { type: string; value: { admin: string; code_id: string; funds: Coin[]; label: string; msg: internal.Uint8Array; sender: string } }
  • toData(): { @type: string; admin: string; codeId: string; funds: Coin[]; label: string; msg: internal.Uint8Array; sender: string }
  • Returns { @type: string; admin: string; codeId: string; funds: Coin[]; label: string; msg: internal.Uint8Array; sender: string }

    • @type: string
    • admin: string

      Admin is an optional address that can execute migrations

    • codeId: string

      CodeID is the reference to the stored WASM code

    • funds: Coin[]

      Funds coins that are transferred to the contract on instantiation

    • label: string

      Label is optional metadata to be stored with a contract instance.

    • msg: internal.Uint8Array

      Msg json encoded message to be passed to the contract on instantiation

    • sender: string

      Sender is the that actor that signed the messages

  • toDirectSignJSON(): string
  • toEip712(): { type: string; value: Record<string, unknown> }
  • toJSON(): string
  • toWeb3(): { @type: string; admin: string; code_id: string; funds: Coin[]; label: string; msg: internal.Uint8Array; sender: string }

Generated using TypeDoc