Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgMigrateContract

Hierarchy

Index

Constructors

constructor

  • new MsgMigrateContract(admin: string, contract: string, new_code_id: number, migrate_msg: object): MsgMigrateContract
  • Parameters

    • admin: string

      contract admin

    • contract: string

      contract address to be migrated from

    • new_code_id: number

      reference to the new code on the blockchain

    • migrate_msg: object

      JSON message to configure the migrate state of the contract

    Returns MsgMigrateContract

Properties

admin

admin: string

contract

contract: string

migrate_msg

migrate_msg: object

new_code_id

new_code_id: number

Methods

packAny

  • packAny(): Any

toAmino

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): MsgMigrateContract

Static fromAmino

Static fromData

Static fromProto

Static unpackAny