MsgMigrateContract runs a code upgrade/ downgrade for a smart contract

from message cosmwasm.wasm.v1.MsgMigrateContract

Hierarchy

Constructors

Properties

codeId: bigint = protoInt64.zero

CodeID references the new WASM code

from field: uint64 code_id = 3;

contract: string = ""

Contract is the address of the smart contract

from field: string contract = 2;

msg: Uint8Array = ...

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

from field: bytes msg = 4;

sender: string = ""

Sender is the that actor that signed the messages

from field: string sender = 1;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmwasm.wasm.v1.MsgMigrateContract" = "cosmwasm.wasm.v1.MsgMigrateContract"

Methods