Skip to main content

Messages

MsgRegisterZone

message MsgRegisterZone {
option (gogoproto.equal) = false;

string zone_id = 1;
IcaConnectionInfo ica_info = 2;
IcaAccount ica_account = 3;
TransferConnectionInfo transfer_info = 4;
string validator_address = 5;
string base_denom = 6;
int64 decimal = 7;
int64 undelegate_max_entries = 8;
int64 deposit_max_entries = 9;
}

MsgRegisterZone is the message you use to register a new zone.

MsgRegisterZoneResponse

message MsgRegisterZoneResponse {
string zone_id = 1;
IcaConnectionInfo ica_info = 2;
IcaAccount ica_account = 3;
TransferConnectionInfo transfer_info = 4;
string validator_address = 5;
string base_denom = 6;
string sn_denom = 7;
int64 decimal = 8;
int64 undelegate_max_entries = 9;
int64 deposit_max_entries = 10;
}

MsgRegisterZoneResponse is a response message for MsgRegisterZone.

MsgChangeRegisteredZoneInfo

message MsgChangeRegisteredZoneInfo{
option (gogoproto.equal) = false;

string zone_id = 1;
IcaConnectionInfo ica_info = 2;
IcaAccount ica_account = 3;
TransferConnectionInfo transfer_info = 4;
string validator_address = 5;
string base_denom = 6;
int64 decimal = 7;
int64 undelegate_max_entries = 8;
int64 deposit_max_entries = 9;
}

MsgChangeRegisteredZoneInfo modifies the information in the registeredZone.

MsgChangeRegisteredZoneInfoResponse

message MsgChangeRegisteredZoneInfoResponse{
string zone_id = 1;
IcaConnectionInfo ica_info = 2;
IcaAccount ica_account = 3;
TransferConnectionInfo transfer_info = 4;
string validator_address = 5;
string base_denom = 6;
string sn_denom = 7;
int64 decimal = 8;
int64 undelegate_max_entries = 9;
int64 deposit_max_entries = 10;
}

MsgChangeRegisteredZoneInfoResponse is a response message for MsgChangeRegisteredZone.

MsgDeleteRegisteredZone

message MsgDeleteRegisteredZone{
string zone_id = 1;
string controller_address = 2;
}

MsgDeleteRegisteredZone deletes registered Zone information.

MsgDeleteRegisteredZoneResponse

message MsgDeleteRegisteredZoneResponse{}

MsgDeleteRegisteredZoneResponse is a response message for MsgDeleteRegisteredZone.

MsgIcaDelegate

message MsgIcaDelegate{
string zone_id = 1;
string controller_address = 2;
cosmos.base.v1beta1.Coin amount = 3[(gogoproto.nullable) = false];
}

MsgIcaDelegate is a message used for remote delegation using ICA.

MsgIcaDelegateResponse

message MsgIcaDelegateResponse{}

MsgIcaDelegateResponse is a response message for MsgIcaDelegate.

MsgIcaUndelegate

message MsgIcaUndelegate{
string zone_id = 1;
string controller_address = 2;
cosmos.base.v1beta1.Coin amount = 3[(gogoproto.nullable) = false];
}

MsgIcaUndelegate is a message used to de-delegate remote using ICA.

MsgIcaUndelegateResponse

message MsgIcaUndelegateResponse{}

MsgIcaUndelegateResponse is a response message for MsgIcaUndelegate.

MsgIcaAutoStaking

message MsgIcaAutoStaking{
string zone_id = 1;
string controller_address = 2;
cosmos.base.v1beta1.Coin amount = 3[(gogoproto.nullable) = false];
uint64 version = 4;
}

MsgIcaAutoStaking is a message for remote auto-compound using ICA.

MsgIcaAutoStakingResponse

message MsgIcaAutoStakingResponse{}

MsgIcaAutoStakingResponse is a response message for MsgIcaAutoStaking.

MsgIcaTransfer

message MsgIcaTransfer{
string zone_id = 1;
string controller_address = 2;
string receiver_address = 3;
string ica_transfer_port_id = 4;
string ica_transfer_channel_id = 5;
cosmos.base.v1beta1.Coin amount = 6[(gogoproto.nullable) = false];
}

MsgIcaTransfer is a message for IBC transfer from the counterpart to the Supernova chain using ICA.

MsgIcaTransferResponse

message MsgIcaTransferResponse{}

MsgIcaTransferResponse is a response message for MsgIcaTransfer.

MsgIcaAuthzGrant

message MsgIcaAuthzGrant{
string zone_id = 1;
string grantee = 2;
string controller_address = 3;
cosmos.authz.v1beta1.Grant grant = 4 [(gogoproto.nullable) = false];
}

MsgIcaAuthzGrant is a message used to transfer authority through authz between two accounts in the other chain using ICA.

MsgIcaAuthzGrantResponse

message MsgIcaAuthzGrantResponse{}

MsgIcaAuthzGrantResponse is a response messasge for MsgIcaAuthzGrant.

MsgIcaAuthzRevoke

message MsgIcaAuthzRevoke{
string zone_id = 1;
string grantee = 2;
string controller_address = 3;
string msg_type_url = 4;
}

MsgIcaAuthzRevoke is a message used for proxy execution between accounts linked to authz via ICA.

MsgIcaAuthzRevokeReponse

message MsgIcaAuthzRevokeResponse{}

MsgIcaAuthzRevokeResponse is a response message for MsgIcaAuthzRevoke.

MsgRegisterControllerAddr

message MsgRegisterControllerAddr{
string zone_id = 1;
string controller_address = 2;
string from_address = 3;
}

MsgRegisterControllerAddr is used to register the address to be used as the controller address. It can be registered only with the key registered in keymanager.

MsgRegisterControllerAddrResponse

message MsgRegisterControllerAddrResponse{}

MsgRegisterControllerAddrResponse is a response message for MsgRegisterControllerAddr.