MigrateContractProposal gov proposal content type to migrate a contract.

interface MigrateContractProposal {
    $typeUrl?: "/cosmwasm.wasm.v1.MigrateContractProposal";
    codeId: bigint;
    contract: string;
    description: string;
    msg: Uint8Array;
    title: string;
}

Properties

$typeUrl?: "/cosmwasm.wasm.v1.MigrateContractProposal"
codeId: bigint

CodeID references the new WASM code

contract: string

Contract is the address of the smart contract

description: string

Description is a human readable text

msg: Uint8Array

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

title: string

Title is a short summary