MsgMigrateContract runs a code upgrade/ downgrade for a smart contract

interface MsgMigrateContractAmino {
    code_id?: string;
    contract?: string;
    msg?: any;
    sender?: string;
}

Properties

code_id?: string

CodeID references the new WASM code

contract?: string

Contract is the address of the smart contract

msg?: any

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

sender?: string

Sender is the that actor that signed the messages