diff --git a/proto/desmos/tokenfactory/v1beta1/msgs.proto b/proto/desmos/tokenfactory/v1beta1/msgs.proto index 5fedc2a067..a300104951 100644 --- a/proto/desmos/tokenfactory/v1beta1/msgs.proto +++ b/proto/desmos/tokenfactory/v1beta1/msgs.proto @@ -44,14 +44,15 @@ service Msg { // MsgCreateDenom represents the message to be used to create a denom for // subspace message MsgCreateDenom { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - // subdenom can be up to 44 "alphanumeric" characters long. - string subdenom = 2 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ]; - - uint64 subspace_id = 3 [ + uint64 subspace_id = 1 [ (gogoproto.customname) = "SubspaceID", (gogoproto.moretags) = "yaml:\"subspace_id\"" ]; + + string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + + // subdenom can be up to 44 "alphanumeric" characters long. + string subdenom = 3 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ]; } // MsgCreateDenomResponse represents the Msg/CreateDenom response type @@ -63,20 +64,20 @@ message MsgCreateDenomResponse { // MsgMint represents the message to be used to mint subspace tokens to treasury // account message MsgMint { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 subspace_id = 1 [ + (gogoproto.customname) = "SubspaceID", + (gogoproto.moretags) = "yaml:\"subspace_id\"" + ]; - cosmos.base.v1beta1.Coin amount = 2 [ + string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + + cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.moretags) = "yaml:\"amount\"", (gogoproto.nullable) = false ]; - string mint_to_address = 3 [ (gogoproto.moretags) = "yaml:\"mint_to_address\"" ]; - - uint64 subspace_id = 4 [ - (gogoproto.customname) = "SubspaceID", - (gogoproto.moretags) = "yaml:\"subspace_id\"" - ]; + string mint_to_address = 4 [ (gogoproto.moretags) = "yaml:\"mint_to_address\"" ]; } // MsgMintResponse represents the Msg/Mint response type @@ -85,18 +86,18 @@ message MsgMintResponse {} // MsgBurn represents the message to be used to burn subspace tokens from // treasury account message MsgBurn { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 subspace_id = 1 [ + (gogoproto.customname) = "SubspaceID", + (gogoproto.moretags) = "yaml:\"subspace_id\"" + ]; + + string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ + cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.moretags) = "yaml:\"amount\"", (gogoproto.nullable) = false ]; - - uint64 subspace_id = 3 [ - (gogoproto.customname) = "SubspaceID", - (gogoproto.moretags) = "yaml:\"subspace_id\"" - ]; } // MsgBurnResponse represents the Msg/Burn response type @@ -105,17 +106,17 @@ message MsgBurnResponse {} // MsgSetDenomMetadata represents the message to be used to set the subspace // token's bank metadata message MsgSetDenomMetadata { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; + uint64 subspace_id = 1 [ + (gogoproto.customname) = "SubspaceID", + (gogoproto.moretags) = "yaml:\"subspace_id\"" + ]; + + string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.bank.v1beta1.Metadata metadata = 2 [ + cosmos.bank.v1beta1.Metadata metadata = 3 [ (gogoproto.moretags) = "yaml:\"metadata\"", (gogoproto.nullable) = false ]; - - uint64 subspace_id = 3 [ - (gogoproto.customname) = "SubspaceID", - (gogoproto.moretags) = "yaml:\"subspace_id\"" - ]; } // MsgSetDenomMetadataResponse represents the Msg/SetDenomMetadata response type diff --git a/x/tokenfactory/types/msgs.pb.go b/x/tokenfactory/types/msgs.pb.go index e4e3fa17f2..4d327080b4 100644 --- a/x/tokenfactory/types/msgs.pb.go +++ b/x/tokenfactory/types/msgs.pb.go @@ -35,10 +35,10 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgCreateDenom represents the message to be used to create a denom for // subspace type MsgCreateDenom struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` + Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` // subdenom can be up to 44 "alphanumeric" characters long. - Subdenom string `protobuf:"bytes,2,opt,name=subdenom,proto3" json:"subdenom,omitempty" yaml:"subdenom"` - SubspaceID uint64 `protobuf:"varint,3,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` + Subdenom string `protobuf:"bytes,3,opt,name=subdenom,proto3" json:"subdenom,omitempty" yaml:"subdenom"` } func (m *MsgCreateDenom) Reset() { *m = MsgCreateDenom{} } @@ -74,6 +74,13 @@ func (m *MsgCreateDenom) XXX_DiscardUnknown() { var xxx_messageInfo_MsgCreateDenom proto.InternalMessageInfo +func (m *MsgCreateDenom) GetSubspaceID() uint64 { + if m != nil { + return m.SubspaceID + } + return 0 +} + func (m *MsgCreateDenom) GetSender() string { if m != nil { return m.Sender @@ -88,13 +95,6 @@ func (m *MsgCreateDenom) GetSubdenom() string { return "" } -func (m *MsgCreateDenom) GetSubspaceID() uint64 { - if m != nil { - return m.SubspaceID - } - return 0 -} - // MsgCreateDenomResponse represents the Msg/CreateDenom response type // It returns the full string of the newly created denom type MsgCreateDenomResponse struct { @@ -144,10 +144,10 @@ func (m *MsgCreateDenomResponse) GetNewTokenDenom() string { // MsgMint represents the message to be used to mint subspace tokens to treasury // account type MsgMint struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount" yaml:"amount"` - MintToAddress string `protobuf:"bytes,3,opt,name=mint_to_address,json=mintToAddress,proto3" json:"mint_to_address,omitempty" yaml:"mint_to_address"` - SubspaceID uint64 `protobuf:"varint,4,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` + SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` + Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount" yaml:"amount"` + MintToAddress string `protobuf:"bytes,4,opt,name=mint_to_address,json=mintToAddress,proto3" json:"mint_to_address,omitempty" yaml:"mint_to_address"` } func (m *MsgMint) Reset() { *m = MsgMint{} } @@ -183,6 +183,13 @@ func (m *MsgMint) XXX_DiscardUnknown() { var xxx_messageInfo_MsgMint proto.InternalMessageInfo +func (m *MsgMint) GetSubspaceID() uint64 { + if m != nil { + return m.SubspaceID + } + return 0 +} + func (m *MsgMint) GetSender() string { if m != nil { return m.Sender @@ -204,13 +211,6 @@ func (m *MsgMint) GetMintToAddress() string { return "" } -func (m *MsgMint) GetSubspaceID() uint64 { - if m != nil { - return m.SubspaceID - } - return 0 -} - // MsgMintResponse represents the Msg/Mint response type type MsgMintResponse struct { } @@ -251,9 +251,9 @@ var xxx_messageInfo_MsgMintResponse proto.InternalMessageInfo // MsgBurn represents the message to be used to burn subspace tokens from // treasury account type MsgBurn struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount" yaml:"amount"` - SubspaceID uint64 `protobuf:"varint,3,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` + SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` + Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount" yaml:"amount"` } func (m *MsgBurn) Reset() { *m = MsgBurn{} } @@ -289,6 +289,13 @@ func (m *MsgBurn) XXX_DiscardUnknown() { var xxx_messageInfo_MsgBurn proto.InternalMessageInfo +func (m *MsgBurn) GetSubspaceID() uint64 { + if m != nil { + return m.SubspaceID + } + return 0 +} + func (m *MsgBurn) GetSender() string { if m != nil { return m.Sender @@ -303,13 +310,6 @@ func (m *MsgBurn) GetAmount() types.Coin { return types.Coin{} } -func (m *MsgBurn) GetSubspaceID() uint64 { - if m != nil { - return m.SubspaceID - } - return 0 -} - // MsgBurnResponse represents the Msg/Burn response type type MsgBurnResponse struct { } @@ -350,9 +350,9 @@ var xxx_messageInfo_MsgBurnResponse proto.InternalMessageInfo // MsgSetDenomMetadata represents the message to be used to set the subspace // token's bank metadata type MsgSetDenomMetadata struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - Metadata types1.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata" yaml:"metadata"` - SubspaceID uint64 `protobuf:"varint,3,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` + SubspaceID uint64 `protobuf:"varint,1,opt,name=subspace_id,json=subspaceId,proto3" json:"subspace_id,omitempty" yaml:"subspace_id"` + Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + Metadata types1.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata" yaml:"metadata"` } func (m *MsgSetDenomMetadata) Reset() { *m = MsgSetDenomMetadata{} } @@ -388,6 +388,13 @@ func (m *MsgSetDenomMetadata) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetDenomMetadata proto.InternalMessageInfo +func (m *MsgSetDenomMetadata) GetSubspaceID() uint64 { + if m != nil { + return m.SubspaceID + } + return 0 +} + func (m *MsgSetDenomMetadata) GetSender() string { if m != nil { return m.Sender @@ -402,13 +409,6 @@ func (m *MsgSetDenomMetadata) GetMetadata() types1.Metadata { return types1.Metadata{} } -func (m *MsgSetDenomMetadata) GetSubspaceID() uint64 { - if m != nil { - return m.SubspaceID - } - return 0 -} - // MsgSetDenomMetadataResponse represents the Msg/SetDenomMetadata response type type MsgSetDenomMetadataResponse struct { } @@ -559,56 +559,55 @@ func init() { } var fileDescriptor_096696d6347c943d = []byte{ - // 772 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0x4d, 0x4f, 0xdb, 0x48, - 0x18, 0x8e, 0x21, 0x9b, 0x85, 0x61, 0xf9, 0x32, 0x2c, 0x1f, 0x46, 0xc4, 0xc8, 0x8b, 0x56, 0x59, - 0x16, 0xec, 0x05, 0x16, 0x69, 0xc5, 0x0d, 0xc3, 0x1e, 0xa8, 0x14, 0xb5, 0x32, 0xf4, 0x82, 0x2a, - 0x45, 0x93, 0x78, 0x6a, 0xac, 0xe0, 0x99, 0xc8, 0x33, 0x81, 0xe6, 0x52, 0x55, 0xfd, 0x05, 0xfd, - 0x1b, 0xed, 0x09, 0xa9, 0xed, 0x0f, 0xe8, 0x8d, 0x23, 0xea, 0xa9, 0x52, 0xa5, 0xb4, 0x0a, 0x07, - 0xce, 0xcd, 0x2f, 0xa8, 0x3c, 0x33, 0x76, 0x3e, 0xa8, 0x48, 0x53, 0x71, 0xe8, 0x29, 0x99, 0x79, - 0x9f, 0xf7, 0x99, 0x79, 0x9e, 0xf7, 0x9d, 0xd7, 0xe0, 0x4f, 0x17, 0xd1, 0x80, 0x50, 0x8b, 0x91, - 0x32, 0xc2, 0x8f, 0x61, 0x89, 0x91, 0xb0, 0x66, 0x9d, 0xae, 0x17, 0x11, 0x83, 0xeb, 0x56, 0x40, - 0x3d, 0x6a, 0x56, 0x42, 0xc2, 0x88, 0xba, 0x20, 0x70, 0x66, 0x3b, 0xce, 0x94, 0x38, 0x6d, 0xda, - 0x23, 0x1e, 0xe1, 0x38, 0x2b, 0xfa, 0x27, 0x52, 0xb4, 0x6c, 0x89, 0x70, 0xea, 0x22, 0xa4, 0x28, - 0xa1, 0x2c, 0x11, 0x1f, 0xdf, 0x88, 0xe3, 0x72, 0x12, 0x8f, 0x16, 0x32, 0x3e, 0x2f, 0xe2, 0x05, - 0x41, 0x2c, 0x16, 0x32, 0x34, 0x2b, 0x53, 0x03, 0xea, 0x59, 0xa7, 0xfc, 0x9e, 0x32, 0x90, 0xbb, - 0x4d, 0x4e, 0x05, 0x86, 0x30, 0x90, 0x14, 0xc6, 0x6b, 0x05, 0x8c, 0xe5, 0xa9, 0xb7, 0x1b, 0x22, - 0xc8, 0xd0, 0x1e, 0xc2, 0x24, 0x50, 0xff, 0x02, 0x19, 0x8a, 0xb0, 0x8b, 0xc2, 0x39, 0x65, 0x49, - 0xc9, 0x0d, 0xdb, 0x93, 0xcd, 0xba, 0x3e, 0x5a, 0x83, 0xc1, 0xc9, 0xb6, 0x21, 0xf6, 0x0d, 0x47, - 0x02, 0x54, 0x0b, 0x0c, 0xd1, 0x6a, 0xd1, 0x8d, 0xd2, 0xe6, 0x06, 0x38, 0x78, 0xaa, 0x59, 0xd7, - 0xc7, 0x25, 0x58, 0x46, 0x0c, 0x27, 0x01, 0xa9, 0xff, 0x83, 0x11, 0x5a, 0x2d, 0xd2, 0x0a, 0x2c, - 0xa1, 0x82, 0xef, 0xce, 0x0d, 0x2e, 0x29, 0xb9, 0xb4, 0xbd, 0xdc, 0xa8, 0xeb, 0xe0, 0x40, 0x6e, - 0xef, 0xef, 0x35, 0xeb, 0xba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6f, 0xb6, 0x27, 0x77, 0x84, 0xea, 0xcd, 0xdd, 0xfe, 0x18, 0xd4, 0xa7, 0x60, 0xe2, 0xc6, 0x43, - 0xf8, 0xa7, 0x17, 0x43, 0x77, 0x86, 0xf6, 0x5f, 0xbf, 0x19, 0xc9, 0xf9, 0x21, 0xf8, 0xad, 0xa3, - 0x17, 0x7b, 0xde, 0xbe, 0x1d, 0xad, 0xfd, 0xdb, 0x0f, 0x3a, 0x3e, 0x53, 0xfb, 0xe5, 0xd9, 0xf5, - 0xf9, 0x8a, 0x62, 0xdf, 0xbf, 0x68, 0x64, 0x95, 0xcb, 0x46, 0x56, 0xf9, 0xdc, 0xc8, 0x2a, 0x2f, - 0xae, 0xb2, 0xa9, 0xcb, 0xab, 0x6c, 0xea, 0xc3, 0x55, 0x36, 0x75, 0xb4, 0xd5, 0x36, 0xad, 0xc4, - 0x01, 0x6b, 0x27, 0xb0, 0x48, 0xe5, 0x7f, 0xeb, 0x74, 0xcb, 0x7a, 0xd2, 0xf9, 0x35, 0xe7, 0x03, - 0xac, 0x98, 0xe1, 0x5f, 0xf1, 0xcd, 0xaf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x06, 0x6a, 0x40, - 0xc0, 0x08, 0x00, 0x00, + // 764 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x55, 0x4f, 0x4f, 0xdb, 0x48, + 0x14, 0x8f, 0x21, 0x9b, 0x85, 0xc9, 0xf2, 0xcf, 0xb0, 0x10, 0x8c, 0x88, 0xd1, 0x2c, 0x5a, 0x65, + 0x59, 0xb0, 0x17, 0x58, 0xa4, 0x15, 0x37, 0x0c, 0x7b, 0x60, 0xa5, 0x68, 0x2b, 0x43, 0x2f, 0xa8, + 0x52, 0x34, 0x89, 0xa7, 0xc6, 0x0a, 0x9e, 0x89, 0x3c, 0x13, 0x68, 0x2e, 0x55, 0xd5, 0x4f,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 0xcc, 0x55, 0x29, 0xc8, 0x76, 0x6f, 0xd1, 0x3f, 0x6f, 0xcd, 0xa2, + 0x77, 0x7b, 0x69, 0x9b, 0x77, 0x00, 0x27, 0xab, 0xee, 0x08, 0xa4, 0xc5, 0x8a, 0x5a, 0x1e, 0xe4, + 0x1c, 0xa2, 0xb4, 0xd5, 0xef, 0x41, 0x75, 0x73, 0x8b, 0x99, 0x1d, 0xc8, 0x1d, 0xa2, 0x06, 0x73, + 0x77, 0x0f, 0x83, 0xfa, 0x14, 0x4c, 0xde, 0x18, 0x84, 0xbf, 0x06, 0x31, 0xf4, 0x7b, 0x68, 0xff, + 0xdc, 0xd5, 0x23, 0x89, 0x1f, 0x80, 0x5f, 0x7a, 0x7a, 0x71, 0x60, 0xf6, 0xdd, 0x68, 0xed, 0xef, + 0xbb, 0xa0, 0xe3, 0x98, 0xda, 0x4f, 0xcf, 0xae, 0xcf, 0x57, 0x14, 0xeb, 0xff, 0x8b, 0x56, 0x5e, + 0xb9, 0x6c, 0xe5, 0x95, 0xcf, 0xad, 0xbc, 0xf2, 0xe2, 0x2a, 0x9f, 0xba, 0xbc, 0xca, 0xa7, 0x3e, + 0x5c, 0xe5, 0x53, 0x47, 0x5b, 0x5d, 0x6b, 0x26, 0x0a, 0xb0, 0x76, 0x82, 0xca, 0x4c, 0xfe, 0x37, + 0x4f, 0xb7, 0xcc, 0x27, 0xbd, 0x5f, 0x73, 0xb1, 0x79, 0xca, 0x19, 0xf1, 0x15, 0xdf, 0xfc, 0x1a, + 0x00, 0x00, 0xff, 0xff, 0xf0, 0x82, 0xfc, 0x9a, 0xc0, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -883,24 +882,24 @@ func (m *MsgCreateDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.SubspaceID != 0 { - i = encodeVarintMsgs(dAtA, i, uint64(m.SubspaceID)) - i-- - dAtA[i] = 0x18 - } if len(m.Subdenom) > 0 { i -= len(m.Subdenom) copy(dAtA[i:], m.Subdenom) i = encodeVarintMsgs(dAtA, i, uint64(len(m.Subdenom))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } if len(m.Sender) > 0 { i -= len(m.Sender) copy(dAtA[i:], m.Sender) i = encodeVarintMsgs(dAtA, i, uint64(len(m.Sender))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.SubspaceID != 0 { + i = encodeVarintMsgs(dAtA, i, uint64(m.SubspaceID)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -955,17 +954,12 @@ func (m *MsgMint) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.SubspaceID != 0 { - i = encodeVarintMsgs(dAtA, i, uint64(m.SubspaceID)) - i-- - dAtA[i] = 0x20 - } if len(m.MintToAddress) > 0 { i -= len(m.MintToAddress) copy(dAtA[i:], m.MintToAddress) i = encodeVarintMsgs(dAtA, i, uint64(len(m.MintToAddress))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x22 } { size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) @@ -976,13 +970,18 @@ func (m *MsgMint) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintMsgs(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a if len(m.Sender) > 0 { i -= len(m.Sender) copy(dAtA[i:], m.Sender) i = encodeVarintMsgs(dAtA, i, uint64(len(m.Sender))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.SubspaceID != 0 { + i = encodeVarintMsgs(dAtA, i, uint64(m.SubspaceID)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1030,11 +1029,6 @@ func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.SubspaceID != 0 { - i = encodeVarintMsgs(dAtA, i, uint64(m.SubspaceID)) - i-- - dAtA[i] = 0x18 - } { size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -1044,13 +1038,18 @@ func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintMsgs(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a if len(m.Sender) > 0 { i -= len(m.Sender) copy(dAtA[i:], m.Sender) i = encodeVarintMsgs(dAtA, i, uint64(len(m.Sender))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.SubspaceID != 0 { + i = encodeVarintMsgs(dAtA, i, uint64(m.SubspaceID)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1098,11 +1097,6 @@ func (m *MsgSetDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.SubspaceID != 0 { - i = encodeVarintMsgs(dAtA, i, uint64(m.SubspaceID)) - i-- - dAtA[i] = 0x18 - } { size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -1112,13 +1106,18 @@ func (m *MsgSetDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintMsgs(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a if len(m.Sender) > 0 { i -= len(m.Sender) copy(dAtA[i:], m.Sender) i = encodeVarintMsgs(dAtA, i, uint64(len(m.Sender))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.SubspaceID != 0 { + i = encodeVarintMsgs(dAtA, i, uint64(m.SubspaceID)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1226,6 +1225,9 @@ func (m *MsgCreateDenom) Size() (n int) { } var l int _ = l + if m.SubspaceID != 0 { + n += 1 + sovMsgs(uint64(m.SubspaceID)) + } l = len(m.Sender) if l > 0 { n += 1 + l + sovMsgs(uint64(l)) @@ -1234,9 +1236,6 @@ func (m *MsgCreateDenom) Size() (n int) { if l > 0 { n += 1 + l + sovMsgs(uint64(l)) } - if m.SubspaceID != 0 { - n += 1 + sovMsgs(uint64(m.SubspaceID)) - } return n } @@ -1259,6 +1258,9 @@ func (m *MsgMint) Size() (n int) { } var l int _ = l + if m.SubspaceID != 0 { + n += 1 + sovMsgs(uint64(m.SubspaceID)) + } l = len(m.Sender) if l > 0 { n += 1 + l + sovMsgs(uint64(l)) @@ -1269,9 +1271,6 @@ func (m *MsgMint) Size() (n int) { if l > 0 { n += 1 + l + sovMsgs(uint64(l)) } - if m.SubspaceID != 0 { - n += 1 + sovMsgs(uint64(m.SubspaceID)) - } return n } @@ -1290,15 +1289,15 @@ func (m *MsgBurn) Size() (n int) { } var l int _ = l + if m.SubspaceID != 0 { + n += 1 + sovMsgs(uint64(m.SubspaceID)) + } l = len(m.Sender) if l > 0 { n += 1 + l + sovMsgs(uint64(l)) } l = m.Amount.Size() n += 1 + l + sovMsgs(uint64(l)) - if m.SubspaceID != 0 { - n += 1 + sovMsgs(uint64(m.SubspaceID)) - } return n } @@ -1317,15 +1316,15 @@ func (m *MsgSetDenomMetadata) Size() (n int) { } var l int _ = l + if m.SubspaceID != 0 { + n += 1 + sovMsgs(uint64(m.SubspaceID)) + } l = len(m.Sender) if l > 0 { n += 1 + l + sovMsgs(uint64(l)) } l = m.Metadata.Size() n += 1 + l + sovMsgs(uint64(l)) - if m.SubspaceID != 0 { - n += 1 + sovMsgs(uint64(m.SubspaceID)) - } return n } @@ -1398,6 +1397,25 @@ func (m *MsgCreateDenom) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SubspaceID", wireType) + } + m.SubspaceID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMsgs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SubspaceID |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) } @@ -1429,7 +1447,7 @@ func (m *MsgCreateDenom) Unmarshal(dAtA []byte) error { } m.Sender = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Subdenom", wireType) } @@ -1461,25 +1479,6 @@ func (m *MsgCreateDenom) Unmarshal(dAtA []byte) error { } m.Subdenom = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SubspaceID", wireType) - } - m.SubspaceID = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMsgs - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SubspaceID |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipMsgs(dAtA[iNdEx:]) @@ -1613,6 +1612,25 @@ func (m *MsgMint) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SubspaceID", wireType) + } + m.SubspaceID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMsgs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SubspaceID |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) } @@ -1644,7 +1662,7 @@ func (m *MsgMint) Unmarshal(dAtA []byte) error { } m.Sender = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) } @@ -1677,7 +1695,7 @@ func (m *MsgMint) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field MintToAddress", wireType) } @@ -1709,25 +1727,6 @@ func (m *MsgMint) Unmarshal(dAtA []byte) error { } m.MintToAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SubspaceID", wireType) - } - m.SubspaceID = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMsgs - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SubspaceID |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipMsgs(dAtA[iNdEx:]) @@ -1829,6 +1828,25 @@ func (m *MsgBurn) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SubspaceID", wireType) + } + m.SubspaceID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMsgs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SubspaceID |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) } @@ -1860,7 +1878,7 @@ func (m *MsgBurn) Unmarshal(dAtA []byte) error { } m.Sender = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) } @@ -1893,25 +1911,6 @@ func (m *MsgBurn) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SubspaceID", wireType) - } - m.SubspaceID = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMsgs - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SubspaceID |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipMsgs(dAtA[iNdEx:]) @@ -2013,6 +2012,25 @@ func (m *MsgSetDenomMetadata) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SubspaceID", wireType) + } + m.SubspaceID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMsgs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SubspaceID |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) } @@ -2044,7 +2062,7 @@ func (m *MsgSetDenomMetadata) Unmarshal(dAtA []byte) error { } m.Sender = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) } @@ -2077,25 +2095,6 @@ func (m *MsgSetDenomMetadata) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SubspaceID", wireType) - } - m.SubspaceID = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMsgs - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SubspaceID |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipMsgs(dAtA[iNdEx:])