Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgMigrateContract

Hierarchy

Index

Constructors

  • new MsgMigrateContract(admin: string, contract: string, new_code_id: number, migrate_msg: string | 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: string | object

      JSON message to configure the migrate state of the contract

    Returns MsgMigrateContract

Properties

admin: string
contract: string
migrate_msg: string | object
new_code_id: number

Methods

  • packAny(isClassic?: boolean): Any
  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string