diff --git a/proto/osmosis/gamm/v1beta1/tx.proto b/proto/osmosis/gamm/v1beta1/tx.proto index 1e0c3b61d10..c21ea760d9d 100644 --- a/proto/osmosis/gamm/v1beta1/tx.proto +++ b/proto/osmosis/gamm/v1beta1/tx.proto @@ -166,14 +166,14 @@ message MsgJoinSwapShareAmountOut { uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; string token_in_denom = 3 [ (gogoproto.moretags) = "yaml:\"token_in_denom\"" ]; - string share_out_amount = 4 [ + string token_in_max_amount = 4 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_out_amount\"", + (gogoproto.moretags) = "yaml:\"token_in_max_amount\"", (gogoproto.nullable) = false ]; - string token_in_max_amount = 5 [ + string share_out_amount = 5 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_in_max_amount\"", + (gogoproto.moretags) = "yaml:\"share_out_amount\"", (gogoproto.nullable) = false ]; } diff --git a/x/gamm/types/tx.pb.go b/x/gamm/types/tx.pb.go index a7580571473..498a1ca2456 100644 --- a/x/gamm/types/tx.pb.go +++ b/x/gamm/types/tx.pb.go @@ -651,8 +651,8 @@ type MsgJoinSwapShareAmountOut struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` TokenInDenom string `protobuf:"bytes,3,opt,name=token_in_denom,json=tokenInDenom,proto3" json:"token_in_denom,omitempty" yaml:"token_in_denom"` - ShareOutAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=share_out_amount,json=shareOutAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"share_out_amount" yaml:"share_out_amount"` - TokenInMaxAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=token_in_max_amount,json=tokenInMaxAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"token_in_max_amount" yaml:"token_in_max_amount"` + TokenInMaxAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=token_in_max_amount,json=tokenInMaxAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"token_in_max_amount" yaml:"token_in_max_amount"` + ShareOutAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=share_out_amount,json=shareOutAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"share_out_amount" yaml:"share_out_amount"` } func (m *MsgJoinSwapShareAmountOut) Reset() { *m = MsgJoinSwapShareAmountOut{} } @@ -969,78 +969,77 @@ func init() { func init() { proto.RegisterFile("osmosis/gamm/v1beta1/tx.proto", fileDescriptor_cfc8fd3ac7df3247) } var fileDescriptor_cfc8fd3ac7df3247 = []byte{ - // 1121 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4b, 0x6f, 0x1b, 0x45, - 0x1c, 0xcf, 0xd8, 0x6e, 0x1e, 0x93, 0xe6, 0xb5, 0x4d, 0x1a, 0x67, 0xdb, 0xda, 0xe9, 0x80, 0x20, - 0xa5, 0xea, 0x6e, 0x93, 0x48, 0x80, 0xb8, 0x00, 0x86, 0x20, 0x5c, 0x61, 0xa5, 0xda, 0x5e, 0x2a, - 0x2e, 0xd6, 0x3a, 0x5e, 0xb9, 0xab, 0x66, 0x67, 0x2c, 0xcf, 0x6c, 0x70, 0x85, 0x04, 0x12, 0x8f, - 0x3b, 0x08, 0xf1, 0xf8, 0x04, 0x88, 0xaf, 0xc0, 0x01, 0x0e, 0x70, 0xe9, 0xb1, 0x37, 0x28, 0x07, - 0x0b, 0x25, 0xdf, 0xc0, 0x9f, 0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0xd0, 0x88, 0x7d, 0x9b, 0x9d, 0x01, 0x77, 0xef, 0x79, - 0x57, 0xd1, 0xc4, 0x23, 0xc3, 0xee, 0xb2, 0x68, 0x0b, 0x47, 0xdd, 0xf3, 0x1c, 0x5c, 0x1b, 0xac, - 0xcd, 0xbe, 0xcd, 0xb2, 0xc0, 0xee, 0xa3, 0x18, 0xec, 0xb6, 0x86, 0xc1, 0xce, 0xcb, 0x36, 0x86, - 0xbb, 0xcf, 0xe1, 0x95, 0x84, 0xa9, 0x21, 0xf8, 0xec, 0x93, 0xcc, 0xad, 0x90, 0x53, 0x07, 0x11, - 0xd2, 0x96, 0x83, 0x39, 0x24, 0x68, 0x2d, 0x42, 0x2c, 0x85, 0x61, 0xa8, 0x1f, 0x85, 0x58, 0xbe, - 0x07, 0xf0, 0x46, 0x62, 0x6d, 0x7d, 0xe0, 0xb5, 0x3d, 0xde, 0x08, 0x2e, 0x05, 0x38, 0x1f, 0x79, - 0xc7, 0xcc, 0x79, 0x2c, 0xe3, 0x91, 0x37, 0xfa, 0x2b, 0x07, 0x37, 0xc4, 0xc8, 0xe5, 0x71, 0x31, - 0xa3, 0x83, 0xcf, 0x42, 0x35, 0x99, 0x86, 0xd4, 0xf8, 0x09, 0x25, 0x98, 0xe7, 0xe3, 0x23, 0x94, - 0x24, 0x9b, 0x48, 0x5b, 0xf1, 0xf6, 0x84, 0x80, 0x50, 0x7e, 0x01, 0xf0, 0x66, 0x6a, 0x11, 0x2f, - 0x74, 0x8b, 0x41, 0xbf, 0xe6, 0x23, 0xfd, 0x7d, 0xe0, 0x9c, 0x9e, 0xe9, 0x4e, 0x67, 0xea, 0xef, - 0xbb, 0x03, 0x3c, 0xc4, 0xef, 0xec, 0x46, 0xbf, 0x57, 0x5e, 0x8b, 0x01, 0x33, 0x89, 0x86, 0x12, - 0x6b, 0x55, 0x98, 0xf4, 0xc6, 0x97, 0x42, 0x37, 0x97, 0x5e, 0x06, 0xdd, 0xa0, 0x1f, 0xa3, 0x18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 0x05, 0xf9, 0xad, 0x8c, 0x0a, 0x89, 0x41, 0xc4, 0xf6, - 0x91, 0xe1, 0x41, 0x44, 0x15, 0x46, 0x08, 0x22, 0x65, 0x90, 0x7e, 0x0b, 0xe0, 0x7a, 0x1a, 0x1d, - 0xdd, 0x3d, 0x15, 0x3d, 0x09, 0x1a, 0xf2, 0xdb, 0x59, 0x35, 0xfc, 0x38, 0xbe, 0x84, 0x6b, 0xc9, - 0xa3, 0x55, 0x19, 0x6a, 0x32, 0x22, 0x2f, 0xbf, 0x99, 0x4d, 0xde, 0x0b, 0xa0, 0x72, 0xef, 0xe9, - 0x71, 0x09, 0x3c, 0x3b, 0x2e, 0x81, 0xff, 0x8f, 0x4b, 0xe0, 0xbb, 0x93, 0xd2, 0xd4, 0xb3, 0x93, - 0xd2, 0xd4, 0xbf, 0x27, 0xa5, 0xa9, 0x4f, 0xef, 0x86, 0x68, 0x42, 0xd8, 0xbe, 0x73, 0xa8, 0x37, - 0xa8, 0xf7, 0x43, 0x3d, 0xda, 0xde, 0x55, 0xbb, 0xfc, 0xb3, 0xaa, 0x4b, 0x1a, 0x8d, 0x69, 0xf7, - 0x33, 0xe8, 0xee, 0x8b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0x91, 0x23, 0xe6, 0x73, 0x15, 0x00, - 0x00, + // 1119 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4d, 0x6f, 0x1b, 0xc5, + 0x1b, 0xcf, 0xd8, 0x6e, 0x5e, 0x26, 0xcd, 0xdb, 0x36, 0x69, 0x9c, 0x6d, 0x6b, 0xa7, 0xf3, 0xff, + 0x0b, 0x52, 0xaa, 0xee, 0x36, 0x89, 0x04, 0x88, 0x0b, 0x60, 0x08, 0xc2, 0x15, 0x96, 0xab, 0xed, + 0xa5, 0xe2, 0x62, 0xad, 0xe3, 0x95, 0xbb, 0x6a, 0x76, 0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x7a, 0xcc, 0x57, 0xfd, 0xd8, 0x86, 0x7d, 0x7b, + 0x5c, 0x4b, 0x75, 0x9b, 0xc9, 0xfb, 0x19, 0x84, 0x7d, 0xbf, 0x5f, 0x00, 0x78, 0x35, 0x65, 0xd5, + 0x53, 0xcf, 0x6c, 0xc6, 0xb0, 0x82, 0xfc, 0x46, 0x46, 0x85, 0xc4, 0x20, 0x62, 0xfb, 0xc8, 0xe8, + 0x20, 0xa2, 0x0a, 0x63, 0x04, 0x91, 0x32, 0x48, 0xbf, 0x06, 0x70, 0x33, 0x8d, 0x8e, 0xee, 0x9e, + 0x89, 0x9e, 0x04, 0x0d, 0xf9, 0xcd, 0xac, 0x1a, 0x7e, 0x1c, 0x9f, 0xc3, 0x8d, 0xe4, 0xd1, 0xaa, + 0x8c, 0x34, 0x19, 0x91, 0x97, 0x5f, 0xcf, 0x26, 0xef, 0x05, 0x50, 0xb9, 0xf7, 0xf4, 0xa4, 0x04, + 0x9e, 0x9d, 0x94, 0xc0, 0xbf, 0x27, 0x25, 0xf0, 0xcd, 0x69, 0x69, 0xe6, 0xd9, 0x69, 0x69, 0xe6, + 0xef, 0xd3, 0xd2, 0xcc, 0xc7, 0x77, 0x43, 0x34, 0x21, 0x6c, 0xdf, 0x39, 0xd2, 0x9b, 0xd4, 0xfb, + 0xa1, 0x1e, 0xef, 0xee, 0xab, 0x3d, 0xfe, 0x59, 0xd5, 0x25, 0x8d, 0xe6, 0xac, 0xfb, 0x19, 0x74, + 0xff, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xd9, 0x1e, 0xa3, 0x73, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1950,9 +1949,9 @@ func (m *MsgJoinSwapShareAmountOut) MarshalToSizedBuffer(dAtA []byte) (int, erro var l int _ = l { - size := m.TokenInMaxAmount.Size() + size := m.ShareOutAmount.Size() i -= size - if _, err := m.TokenInMaxAmount.MarshalTo(dAtA[i:]); err != nil { + if _, err := m.ShareOutAmount.MarshalTo(dAtA[i:]); err != nil { return 0, err } i = encodeVarintTx(dAtA, i, uint64(size)) @@ -1960,9 +1959,9 @@ func (m *MsgJoinSwapShareAmountOut) MarshalToSizedBuffer(dAtA []byte) (int, erro i-- dAtA[i] = 0x2a { - size := m.ShareOutAmount.Size() + size := m.TokenInMaxAmount.Size() i -= size - if _, err := m.ShareOutAmount.MarshalTo(dAtA[i:]); err != nil { + if _, err := m.TokenInMaxAmount.MarshalTo(dAtA[i:]); err != nil { return 0, err } i = encodeVarintTx(dAtA, i, uint64(size)) @@ -2446,10 +2445,10 @@ func (m *MsgJoinSwapShareAmountOut) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = m.ShareOutAmount.Size() - n += 1 + l + sovTx(uint64(l)) l = m.TokenInMaxAmount.Size() n += 1 + l + sovTx(uint64(l)) + l = m.ShareOutAmount.Size() + n += 1 + l + sovTx(uint64(l)) return n } @@ -4178,7 +4177,7 @@ func (m *MsgJoinSwapShareAmountOut) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShareOutAmount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TokenInMaxAmount", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4206,13 +4205,13 @@ func (m *MsgJoinSwapShareAmountOut) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.ShareOutAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TokenInMaxAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TokenInMaxAmount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ShareOutAmount", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -4240,7 +4239,7 @@ func (m *MsgJoinSwapShareAmountOut) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.TokenInMaxAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ShareOutAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex