MsgMigrateContract runs a code upgrade/ downgrade for a smart contract

interface MsgMigrateContract {
    codeId: bigint;
    contract: string;
    msg: Uint8Array;
    sender: string;
}

Properties

codeId: bigint

CodeID references the new WASM code

contract: string

Contract is the address of the smart contract

msg: Uint8Array

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

sender: string

Sender is the that actor that signed the messages