Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MigrateContractProposal

MigrateContractProposal gov proposal content type to migrate a contract.

Hierarchy

Index

Constructors

  • new MigrateContractProposal(title: string, description: string, contract: string, new_code_id: number, migrate_msg: string | object): MigrateContractProposal
  • Parameters

    • title: string

      a short summary

    • description: string

      a human readable text

    • 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 MigrateContractProposal

Properties

contract: string
description: string
migrate_msg: string | object
new_code_id: number
title: string

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

  • toProto(isClassic?: boolean): MigrateContractProposal