From 80d9b9856db9e527fe467ea41e40914202c7f5ab Mon Sep 17 00:00:00 2001 From: Albert Chon Date: Fri, 24 Dec 2021 18:15:17 -0500 Subject: [PATCH 1/5] re-gen --- chain/exchange/types/codec.go | 2 + chain/exchange/types/common_utils.go | 34 +- chain/exchange/types/errors.go | 2 + chain/exchange/types/exchange.pb.go | 624 +++++---- chain/exchange/types/key.go | 14 +- chain/exchange/types/msgs.go | 110 ++ chain/exchange/types/proposal.go | 62 + chain/exchange/types/tx.pb.go | 1948 ++++++++++++++++++++++---- 8 files changed, 2278 insertions(+), 518 deletions(-) diff --git a/chain/exchange/types/codec.go b/chain/exchange/types/codec.go index 8aa92275..f37301b8 100644 --- a/chain/exchange/types/codec.go +++ b/chain/exchange/types/codec.go @@ -31,6 +31,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgExternalTransfer{}, "exchange/MsgExternalTransfer", nil) cdc.RegisterConcrete(&MsgIncreasePositionMargin{}, "exchange/MsgIncreasePositionMargin", nil) cdc.RegisterConcrete(&MsgLiquidatePosition{}, "exchange/MsgLiquidatePosition", nil) + cdc.RegisterConcrete(&MsgBatchUpdateOrders{}, "exchange/MsgBatchUpdateOrders", nil) cdc.RegisterConcrete(&ExchangeEnableProposal{}, "exchange/ExchangeEnableProposal", nil) cdc.RegisterConcrete(&BatchExchangeModificationProposal{}, "exchange/BatchExchangeModificationProposal", nil) @@ -66,6 +67,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { &MsgExternalTransfer{}, &MsgIncreasePositionMargin{}, &MsgLiquidatePosition{}, + &MsgBatchUpdateOrders{}, ) registry.RegisterImplementations( diff --git a/chain/exchange/types/common_utils.go b/chain/exchange/types/common_utils.go index c7cc0fef..3f8f1827 100644 --- a/chain/exchange/types/common_utils.go +++ b/chain/exchange/types/common_utils.go @@ -172,23 +172,45 @@ func DecBytesToDec(bz []byte) sdk.Dec { } func HasDuplicates(slice []string) bool { - seen := make(map[string]bool) + seen := make(map[string]struct{}) for _, item := range slice { - if seen[item] { + if _, ok := seen[item]; ok { return true } - seen[item] = true + seen[item] = struct{}{} + } + return false +} + +func HasDuplicatesHexHash(slice []string) bool { + seen := make(map[common.Hash]struct{}) + for _, item := range slice { + if _, ok := seen[common.HexToHash(item)]; ok { + return true + } + seen[common.HexToHash(item)] = struct{}{} } return false } func HasDuplicatesCoin(slice []sdk.Coin) bool { - seen := make(map[string]bool) + seen := make(map[string]struct{}) + for _, item := range slice { + if _, ok := seen[item.Denom]; ok { + return true + } + seen[item.Denom] = struct{}{} + } + return false +} + +func HasDuplicatesOrder(slice []*OrderData) bool { + seen := make(map[string]struct{}) for _, item := range slice { - if seen[item.Denom] { + if _, ok := seen[item.OrderHash]; ok { return true } - seen[item.Denom] = true + seen[item.OrderHash] = struct{}{} } return false } diff --git a/chain/exchange/types/errors.go b/chain/exchange/types/errors.go index b80faf5d..58f8399c 100644 --- a/chain/exchange/types/errors.go +++ b/chain/exchange/types/errors.go @@ -61,4 +61,6 @@ var ( ErrInvalidFeeDiscountSchedule = sdkerrors.Register(ModuleName, 54, "Invalid fee discount schedule") ErrInvalidReduceOnlyPosition = sdkerrors.Register(ModuleName, 55, "Invalid position to reduce") ErrTradingRewardCampaignDistributionError = sdkerrors.Register(ModuleName, 56, "Unknown error happened for campaign distributions") + ErrInvalidTradingRewardsPointsUpdate = sdkerrors.Register(ModuleName, 57, "Invalid trading reward points update") + ErrInvalidBatchMsgUpdate = sdkerrors.Register(ModuleName, 58, "Invalid batch msg update") ) diff --git a/chain/exchange/types/exchange.pb.go b/chain/exchange/types/exchange.pb.go index 1ce5f578..a504ca43 100644 --- a/chain/exchange/types/exchange.pb.go +++ b/chain/exchange/types/exchange.pb.go @@ -1483,9 +1483,10 @@ type TradeLog struct { Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"` Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"` // bytes32 subaccount ID that executed the trade - SubaccountId []byte `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` - Fee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"` - OrderHash []byte `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` + SubaccountId []byte `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` + Fee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"` + OrderHash []byte `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` + FeeRecipientAddress []byte `protobuf:"bytes,6,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"` } func (m *TradeLog) Reset() { *m = TradeLog{} } @@ -1535,6 +1536,13 @@ func (m *TradeLog) GetOrderHash() []byte { return nil } +func (m *TradeLog) GetFeeRecipientAddress() []byte { + if m != nil { + return m.FeeRecipientAddress + } + return nil +} + type PositionDelta struct { IsLong bool `protobuf:"varint,1,opt,name=is_long,json=isLong,proto3" json:"is_long,omitempty"` ExecutionQuantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=execution_quantity,json=executionQuantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"execution_quantity"` @@ -1583,11 +1591,12 @@ func (m *PositionDelta) GetIsLong() bool { } type DerivativeTradeLog struct { - SubaccountId []byte `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` - PositionDelta *PositionDelta `protobuf:"bytes,2,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"` - Payout github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=payout,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"payout"` - Fee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"` - OrderHash []byte `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` + SubaccountId []byte `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` + PositionDelta *PositionDelta `protobuf:"bytes,2,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"` + Payout github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=payout,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"payout"` + Fee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"` + OrderHash []byte `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` + FeeRecipientAddress []byte `protobuf:"bytes,6,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"` } func (m *DerivativeTradeLog) Reset() { *m = DerivativeTradeLog{} } @@ -1644,6 +1653,13 @@ func (m *DerivativeTradeLog) GetOrderHash() []byte { return nil } +func (m *DerivativeTradeLog) GetFeeRecipientAddress() []byte { + if m != nil { + return m.FeeRecipientAddress + } + return nil +} + type EventBatchSpotExecution struct { MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` IsBuy bool `protobuf:"varint,2,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"` @@ -3508,256 +3524,258 @@ func init() { } var fileDescriptor_2116e2804e9c53f9 = []byte{ - // 3983 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x7c, 0x4b, 0x6c, 0x1c, 0x47, - 0x7a, 0xbf, 0x7a, 0x86, 0xaf, 0xf9, 0xe6, 0xc9, 0xe2, 0x53, 0xa4, 0x45, 0x52, 0x6d, 0xcb, 0x96, - 0x05, 0x9b, 0xb4, 0xb5, 0xff, 0xfd, 0x6f, 0x62, 0x64, 0x01, 0x8b, 0x22, 0x09, 0xd3, 0x26, 0x25, - 0xaa, 0x87, 0x5e, 0xc3, 0x0e, 0xbc, 0xbd, 0xcd, 0xee, 0x1a, 0x4e, 0x59, 0x3d, 0xdd, 0xa3, 0xae, - 0x1a, 0x8a, 0xdc, 0x45, 0x2e, 0x9b, 0x5c, 0x22, 0x04, 0x48, 0x72, 0xca, 0x5e, 0x04, 0x2c, 0x72, - 0xc9, 0xe3, 0x92, 0x04, 0x08, 0x72, 0x71, 0xee, 0xbb, 0x39, 0x65, 0x91, 0x53, 0x1e, 0x9b, 0x4d, - 0x20, 0x07, 0x48, 0xae, 0x49, 0x4e, 0x41, 0x90, 0x20, 0xa8, 0x57, 0x77, 0xcf, 0x83, 0x43, 0xb2, - 0x49, 0x21, 0x8f, 0x13, 0xa7, 0xab, 0xba, 0x7e, 0x5f, 0x7d, 0x5f, 0x7d, 0xcf, 0xaa, 0x6a, 0xc2, - 0x9b, 0x24, 0xf8, 0x02, 0xbb, 0x8c, 0x1c, 0xe1, 0x35, 0x7c, 0xec, 0x36, 0x9d, 0xe0, 0x10, 0xaf, - 0x1d, 0xbd, 0x7b, 0x80, 0x99, 0xf3, 0x6e, 0xdc, 0xb0, 0xda, 0x8e, 0x42, 0x16, 0xa2, 0x85, 0xf8, - 0xd5, 0xd5, 0xb8, 0x47, 0xbd, 0xba, 0x30, 0x7d, 0x18, 0x1e, 0x86, 0xe2, 0xb5, 0x35, 0xfe, 0x4b, - 0x8e, 0x58, 0x58, 0x72, 0x43, 0x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, 0x8c, 0x1b, 0xee, - 0xfc, 0x81, 0x01, 0xe5, 0xae, 0x53, 0x18, 0xf4, 0x0a, 0xcc, 0xa7, 0x04, 0xd6, 0xd5, 0x27, 0xa5, - 0x27, 0xc5, 0x5b, 0x33, 0xb8, 0xc4, 0x44, 0x1a, 0xbe, 0x45, 0x7c, 0xbf, 0x96, 0x43, 0x0b, 0x30, - 0x2b, 0x1e, 0x77, 0x79, 0xd1, 0x65, 0x61, 0xf1, 0xcd, 0xb9, 0x10, 0x52, 0x2d, 0x8f, 0x66, 0x01, - 0x25, 0x7d, 0x0f, 0xf0, 0x53, 0xd9, 0x3e, 0x82, 0x66, 0x60, 0x52, 0xc2, 0xa5, 0x8e, 0x63, 0x6a, - 0xa3, 0x1c, 0x4a, 0x6e, 0x19, 0xf5, 0x7e, 0x5f, 0x51, 0x1b, 0x5b, 0x6f, 0xfe, 0xf8, 0xc5, 0x92, - 0xf1, 0x93, 0x17, 0x4b, 0xc6, 0xdf, 0xbf, 0x58, 0x32, 0x7e, 0xe3, 0xab, 0xa5, 0x6b, 0x3f, 0xf9, - 0x6a, 0xe9, 0xda, 0x5f, 0x7e, 0xb5, 0x74, 0xed, 0xb3, 0x07, 0x29, 0x25, 0xdd, 0xd6, 0x0a, 0xb4, - 0xe3, 0x1c, 0xd0, 0xb5, 0x58, 0x9d, 0xde, 0x76, 0xc3, 0x08, 0xa7, 0x1f, 0x9b, 0x0e, 0x09, 0xd6, - 0x5a, 0x21, 0x77, 0x15, 0x34, 0xf9, 0xdf, 0x04, 0x42, 0xa1, 0x0f, 0xc6, 0xc4, 0x3f, 0x06, 0xf8, - 0xda, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x30, 0x88, 0x1d, 0xbe, 0x40, 0x00, 0x00, + // 4002 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5c, 0x4b, 0x6c, 0x1c, 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f4, 0x90, 0x37, 0xa1, 0xcd, 0x18, 0x83, 0xcf, + 0x57, 0x38, 0xcc, 0xca, 0x9d, 0x57, 0x57, 0x93, 0x10, 0xa9, 0x22, 0x98, 0x0e, 0x06, 0x0f, 0xc4, + 0xe3, 0xfe, 0x49, 0x1b, 0x6b, 0x4a, 0xfc, 0x37, 0x5a, 0x85, 0x29, 0x05, 0x43, 0x5d, 0xc7, 0xc7, + 0x76, 0xc3, 0x71, 0x59, 0x18, 0x09, 0x5f, 0x58, 0xb6, 0x26, 0x65, 0x57, 0x9d, 0xf7, 0x6c, 0x89, + 0x0e, 0x3e, 0x75, 0x31, 0x25, 0xdb, 0xc3, 0x41, 0xd8, 0x92, 0x9e, 0xcb, 0x02, 0xd1, 0xb4, 0xc1, + 0x5b, 0xd0, 0x22, 0x14, 0x74, 0xb8, 0xf2, 0xa4, 0x8f, 0xb1, 0x26, 0x64, 0xc3, 0xb6, 0x87, 0xbe, + 0x0b, 0xd3, 0x03, 0x7d, 0x51, 0x36, 0xb7, 0x80, 0x48, 0xbf, 0x13, 0x6a, 0xc2, 0xfc, 0xa9, 0xce, + 0xa7, 0x90, 0x89, 0xca, 0x6c, 0x6b, 0xb0, 0xd7, 0xd9, 0x87, 0x4a, 0x4f, 0x00, 0x81, 0x4c, 0xf8, + 0xa5, 0x56, 0xda, 0x6b, 0xef, 0x43, 0xa5, 0x27, 0x38, 0x64, 0x73, 0x2f, 0x25, 0x96, 0x46, 0x3d, + 0xdd, 0x79, 0x95, 0xae, 0xce, 0x79, 0xad, 0x40, 0x91, 0xd0, 0x3d, 0x1c, 0xb5, 0x31, 0xeb, 0x38, + 0xbe, 0xf0, 0x1a, 0x13, 0x56, 0xba, 0x09, 0xbd, 0x07, 0x63, 0x94, 0x39, 0xac, 0x43, 0x85, 0x79, + 0x57, 0xee, 0xdc, 0x5a, 0x3d, 0x3d, 0xa3, 0x5b, 0x95, 0x36, 0x54, 0x17, 0xef, 0x5b, 0x6a, 0x1c, + 0xfa,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0x0e, 0x99, 0x31, + 0x15, 0x78, 0x8b, 0xcc, 0x3a, 0x7a, 0xd2, 0x92, 0x7c, 0x5f, 0x5a, 0xd2, 0x1f, 0xad, 0x47, 0x5e, + 0x48, 0xb4, 0x1e, 0x7d, 0xa1, 0xd1, 0x7a, 0xec, 0xea, 0xa2, 0xf5, 0xd0, 0x3c, 0x2d, 0x09, 0xd4, + 0x13, 0x57, 0x1b, 0xa8, 0x0b, 0x2f, 0x3c, 0x50, 0xc3, 0xd5, 0x05, 0xea, 0x2f, 0x0c, 0x18, 0xdf, + 0xc0, 0xed, 0x90, 0x12, 0x86, 0x7e, 0x05, 0x26, 0x9d, 0x23, 0x87, 0xf8, 0xce, 0x81, 0xc8, 0xda, + 0x7d, 0x9e, 0x0d, 0x66, 0xf4, 0x5d, 0xb5, 0x18, 0x68, 0x5d, 0xe2, 0xa0, 0x3a, 0x94, 0x59, 0xc8, + 0x1c, 0x3f, 0x06, 0xce, 0x65, 0xd4, 0x22, 0x0e, 0xa2, 0x40, 0xcd, 0x37, 0x61, 0xba, 0xde, 0x39, + 0x70, 0x5c, 0x51, 0x4f, 0xed, 0x47, 0x8e, 0x87, 0xef, 0x87, 0x9c, 0xd8, 0x34, 0x8c, 0x06, 0xa1, + 0x9e, 0x7d, 0xd9, 0x92, 0x0f, 0xe6, 0x3f, 0x19, 0x50, 0x10, 0xf5, 0x95, 0x70, 0x53, 0xaf, 0x40, + 0x99, 0xc6, 0x63, 0x13, 0x57, 0x55, 0x4a, 0x1a, 0xb7, 0x3d, 0xfe, 0x92, 0x50, 0x7b, 0xec, 0x92, + 0x36, 0xc1, 0x01, 0x53, 0x56, 0x59, 0x6a, 0x60, 0x6c, 0xe9, 0x36, 0xb4, 0x01, 0xa3, 0xd2, 0x91, + 0x65, 0xf3, 0x36, 0x72, 0x30, 0xfa, 0x00, 0x26, 0xf4, 0x52, 0x67, 0xb4, 0xdb, 0x78, 0xbc, 0xf9, + 0x5b, 0x39, 0x28, 0x70, 0x87, 0x23, 0xb8, 0x1d, 0xee, 0x90, 0x3f, 0x00, 0x90, 0x85, 0x29, 0x09, + 0x1a, 0xa1, 0xda, 0x6a, 0xbb, 0x39, 0xcc, 0x14, 0x62, 0x09, 0xaa, 0x6d, 0xb7, 0x42, 0x18, 0x8b, + 0x74, 0x43, 0x63, 0x89, 0x72, 0x2d, 0x2f, 0xcc, 0xea, 0x6c, 0x2c, 0x51, 0xaf, 0x49, 0x14, 0x51, + 0xae, 0x71, 0x4d, 0x89, 0xc8, 0xe1, 0x21, 0x8e, 0x54, 0x7c, 0x48, 0xa4, 0x61, 0x5c, 0x48, 0x53, + 0x24, 0x88, 0x4c, 0x89, 0x9e, 0xe7, 0xa0, 0xc2, 0x25, 0xb2, 0x43, 0x5a, 0x44, 0x89, 0xa5, 0x9b, + 0x73, 0xe3, 0x0a, 0x39, 0xcf, 0x65, 0xe4, 0xfc, 0x03, 0x98, 0x68, 0x10, 0x5f, 0x98, 0x4d, 0x46, + 0x5d, 0x8a, 0xc7, 0xbf, 0x10, 0x29, 0xf2, 0x08, 0x25, 0xd9, 0x6c, 0x3a, 0xb4, 0x29, 0xe2, 0x40, + 0x49, 0xcd, 0xff, 0x7d, 0x87, 0x36, 0xcd, 0xbf, 0x30, 0xa0, 0x9a, 0xc4, 0xb9, 0xab, 0x97, 0xf2, + 0x43, 0x28, 0x29, 0xef, 0x61, 0x8b, 0x1d, 0x8f, 0x6c, 0x2e, 0xa4, 0xa8, 0x30, 0xde, 0x0f, 0x7d, + 0xaf, 0x87, 0xa3, 0x7c, 0x2f, 0x47, 0x7f, 0x97, 0x83, 0x6a, 0xcf, 0xe6, 0xcc, 0xff, 0x35, 0x73, + 0xda, 0x82, 0x31, 0xb9, 0x43, 0x90, 0xd1, 0xab, 0xa8, 0xd1, 0xfd, 0x0a, 0x35, 0x7a, 0x05, 0x66, + 0xf9, 0x5f, 0x39, 0x58, 0x4c, 0x3c, 0xb8, 0x98, 0xff, 0x41, 0x18, 0x3e, 0xda, 0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, 0x03, 0xca, 0x5d, 0xa7, 0x30, 0xe8, 0x25, 0x98, 0x4f, 0x09, 0xac, + 0xab, 0x4f, 0x4a, 0x4f, 0x8a, 0xb7, 0x66, 0x70, 0x89, 0x89, 0x34, 0x7c, 0x8b, 0xf8, 0x7e, 0x2d, + 0x87, 0x16, 0x60, 0x56, 0x3c, 0xee, 0xf2, 0xa2, 0xcb, 0xc2, 0xe2, 0x3b, 0x77, 0x21, 0xa4, 0x5a, + 0x1e, 0xcd, 0x02, 0x4a, 0xfa, 0xee, 0xe3, 0x27, 0xb2, 0x7d, 0x04, 0xcd, 0xc0, 0xa4, 0x84, 0x4b, + 0x1d, 0xc7, 0xd4, 0x46, 0x39, 0x94, 0xdc, 0x32, 0xea, 0xfd, 0xa6, 0xa3, 0x36, 0xb6, 0xde, 0xfc, + 0xc9, 0xf3, 0x25, 0xe3, 0xa7, 0xcf, 0x97, 0x8c, 0x7f, 0x78, 0xbe, 0x64, 0xfc, 0xf6, 0x57, 0x4b, + 0xd7, 0x7e, 0xfa, 0xd5, 0xd2, 0xb5, 0xbf, 0xfa, 0x6a, 0xe9, 0xda, 0xa7, 0xf7, 0x53, 0x4a, 0xba, + 0xad, 0x15, 0x68, 0xc7, 0x39, 0xa0, 0x6b, 0xb1, 0x3a, 0xbd, 0xe5, 0x86, 0x11, 0x4e, 0x3f, 0x36, + 0x1d, 0x12, 0xac, 0xb5, 0x42, 0xee, 0x2a, 0x68, 0xf2, 0xff, 0x10, 0x84, 0x42, 0x1f, 0x8c, 0x89, + 0x7f, 0x46, 0xf0, 0xb5, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x85, 0x61, 0xce, 0xbb, 0x32, 0x41, + 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { @@ -5253,6 +5271,13 @@ func (m *TradeLog) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.FeeRecipientAddress) > 0 { + i -= len(m.FeeRecipientAddress) + copy(dAtA[i:], m.FeeRecipientAddress) + i = encodeVarintExchange(dAtA, i, uint64(len(m.FeeRecipientAddress))) + i-- + dAtA[i] = 0x32 + } if len(m.OrderHash) > 0 { i -= len(m.OrderHash) copy(dAtA[i:], m.OrderHash) @@ -5383,6 +5408,13 @@ func (m *DerivativeTradeLog) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.FeeRecipientAddress) > 0 { + i -= len(m.FeeRecipientAddress) + copy(dAtA[i:], m.FeeRecipientAddress) + i = encodeVarintExchange(dAtA, i, uint64(len(m.FeeRecipientAddress))) + i-- + dAtA[i] = 0x32 + } if len(m.OrderHash) > 0 { i -= len(m.OrderHash) copy(dAtA[i:], m.OrderHash) @@ -7555,6 +7587,10 @@ func (m *TradeLog) Size() (n int) { if l > 0 { n += 1 + l + sovExchange(uint64(l)) } + l = len(m.FeeRecipientAddress) + if l > 0 { + n += 1 + l + sovExchange(uint64(l)) + } return n } @@ -7598,6 +7634,10 @@ func (m *DerivativeTradeLog) Size() (n int) { if l > 0 { n += 1 + l + sovExchange(uint64(l)) } + l = len(m.FeeRecipientAddress) + if l > 0 { + n += 1 + l + sovExchange(uint64(l)) + } return n } @@ -12770,6 +12810,40 @@ func (m *TradeLog) Unmarshal(dAtA []byte) error { m.OrderHash = []byte{} } iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeRecipientAddress", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowExchange + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthExchange + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthExchange + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeeRecipientAddress = append(m.FeeRecipientAddress[:0], dAtA[iNdEx:postIndex]...) + if m.FeeRecipientAddress == nil { + m.FeeRecipientAddress = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipExchange(dAtA[iNdEx:]) @@ -13164,6 +13238,40 @@ func (m *DerivativeTradeLog) Unmarshal(dAtA []byte) error { m.OrderHash = []byte{} } iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeRecipientAddress", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowExchange + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthExchange + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthExchange + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeeRecipientAddress = append(m.FeeRecipientAddress[:0], dAtA[iNdEx:postIndex]...) + if m.FeeRecipientAddress == nil { + m.FeeRecipientAddress = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipExchange(dAtA[iNdEx:]) diff --git a/chain/exchange/types/key.go b/chain/exchange/types/key.go index 258d92ac..32fa8682 100644 --- a/chain/exchange/types/key.go +++ b/chain/exchange/types/key.go @@ -222,19 +222,23 @@ func GetLimitOrderByPriceKeyPrefix(marketID common.Hash, isBuy bool, price sdk.D } func GetSpotLimitOrderIndexPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte { - return append(SpotLimitOrdersIndexPrefix, getLimitOrderIndexSubaccountPrefix(marketID, isBuy, subaccountID)...) + return append(SpotLimitOrdersIndexPrefix, GetLimitOrderIndexSubaccountPrefix(marketID, isBuy, subaccountID)...) } func GetDerivativeLimitOrderIndexPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte { - return append(DerivativeLimitOrdersIndexPrefix, getLimitOrderIndexSubaccountPrefix(marketID, isBuy, subaccountID)...) + return append(DerivativeLimitOrdersIndexPrefix, GetLimitOrderIndexSubaccountPrefix(marketID, isBuy, subaccountID)...) } func GetLimitOrderIndexKey(marketID common.Hash, isBuy bool, subaccountID, orderHash common.Hash) []byte { - return append(getLimitOrderIndexSubaccountPrefix(marketID, isBuy, subaccountID), orderHash.Bytes()...) + return append(GetLimitOrderIndexSubaccountPrefix(marketID, isBuy, subaccountID), orderHash.Bytes()...) } -// prefix containing marketID + isBuy + subaccountID -func getLimitOrderIndexSubaccountPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte { +func GetTransientLimitOrderIndexIteratorPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte { + return append(SpotLimitOrdersIndexPrefix, GetLimitOrderIndexSubaccountPrefix(marketID, isBuy, subaccountID)...) +} + +// GetLimitOrderIndexSubaccountPrefix returns a prefix containing marketID + isBuy + subaccountID +func GetLimitOrderIndexSubaccountPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte { return append(MarketDirectionPrefix(marketID, isBuy), subaccountID.Bytes()...) } diff --git a/chain/exchange/types/msgs.go b/chain/exchange/types/msgs.go index 4a8403e6..4b5ff3bf 100644 --- a/chain/exchange/types/msgs.go +++ b/chain/exchange/types/msgs.go @@ -5,6 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/ethereum/go-ethereum/common" ) const RouterKey = ModuleName @@ -29,6 +30,7 @@ var ( _ sdk.Msg = &MsgInstantSpotMarketLaunch{} _ sdk.Msg = &MsgInstantPerpetualMarketLaunch{} _ sdk.Msg = &MsgInstantExpiryFuturesMarketLaunch{} + _ sdk.Msg = &MsgBatchUpdateOrders{} ) func (o *SpotOrder) ValidateBasic(senderAddr sdk.AccAddress) error { @@ -955,3 +957,111 @@ func (msg *MsgLiquidatePosition) GetSigners() []sdk.AccAddress { } return []sdk.AccAddress{sender} } + +// Route implements the sdk.Msg interface. It should return the name of the module +func (msg MsgBatchUpdateOrders) Route() string { return RouterKey } + +// Type implements the sdk.Msg interface. It should return the action. +func (msg MsgBatchUpdateOrders) Type() string { return "batchUpdateOrders" } + +// ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message +func (msg MsgBatchUpdateOrders) ValidateBasic() error { + sender, err := sdk.AccAddressFromBech32(msg.Sender) + if err != nil { + return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, msg.Sender) + } + + subaccountAddress, ok := IsValidSubaccountID(msg.SubaccountId) + if !ok { + return sdkerrors.Wrap(ErrBadSubaccountID, msg.SubaccountId) + } + if !bytes.Equal(subaccountAddress.Bytes(), sender.Bytes()) { + return sdkerrors.Wrap(ErrBadSubaccountID, msg.Sender) + } + + hasDuplicateSpotMarketIds := HasDuplicatesHexHash(msg.SpotMarketIdsToCancelAll) + if hasDuplicateSpotMarketIds { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains duplicate cancel all spot market ids") + } + + hasDuplicateDerivativesMarketIds := HasDuplicatesHexHash(msg.DerivativeMarketIdsToCancelAll) + if hasDuplicateDerivativesMarketIds { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains duplicate cancel all derivative market ids") + } + + hasDuplicateSpotOrderToCancel := HasDuplicatesOrder(msg.SpotOrdersToCancel) + if hasDuplicateSpotOrderToCancel { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains duplicate spot order to cancel") + } + + hasDuplicateDerivativeOrderToCancel := HasDuplicatesOrder(msg.DerivativeOrdersToCancel) + if hasDuplicateDerivativeOrderToCancel { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains duplicate derivative order to cancel") + } + + if len(msg.SpotMarketIdsToCancelAll) > 0 && len(msg.SpotOrdersToCancel) > 0 { + seen := make(map[common.Hash]struct{}) + for _, marketID := range msg.SpotMarketIdsToCancelAll { + seen[common.HexToHash(marketID)] = struct{}{} + } + + for idx := range msg.SpotOrdersToCancel { + if _, ok := seen[common.HexToHash(msg.SpotOrdersToCancel[idx].MarketId)]; ok { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains order to cancel in a spot market that is also in cancel all") + } + } + } + + if len(msg.DerivativeMarketIdsToCancelAll) > 0 && len(msg.DerivativeOrdersToCancel) > 0 { + seen := make(map[common.Hash]struct{}) + for _, marketID := range msg.DerivativeMarketIdsToCancelAll { + seen[common.HexToHash(marketID)] = struct{}{} + } + + for idx := range msg.DerivativeOrdersToCancel { + if _, ok := seen[common.HexToHash(msg.DerivativeOrdersToCancel[idx].MarketId)]; ok { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains order to cancel in a derivative market that is also in cancel all") + } + } + } + + for idx := range msg.SpotOrdersToCancel { + if err := msg.SpotOrdersToCancel[idx].ValidateBasic(sender); err != nil { + return err + } + } + + for idx := range msg.DerivativeOrdersToCancel { + if err := msg.DerivativeOrdersToCancel[idx].ValidateBasic(sender); err != nil { + return err + } + } + + for idx := range msg.SpotOrdersToCreate { + if err := msg.SpotOrdersToCreate[idx].ValidateBasic(sender); err != nil { + return err + } + } + + for idx := range msg.DerivativeOrdersToCreate { + if err := msg.DerivativeOrdersToCreate[idx].ValidateBasic(sender); err != nil { + return err + } + } + + return nil +} + +// GetSignBytes implements the sdk.Msg interface. It encodes the message for signing +func (msg *MsgBatchUpdateOrders) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg)) +} + +// GetSigners implements the sdk.Msg interface. It defines whose signature is required +func (msg MsgBatchUpdateOrders) GetSigners() []sdk.AccAddress { + sender, err := sdk.AccAddressFromBech32(msg.Sender) + if err != nil { + panic(err) + } + return []sdk.AccAddress{sender} +} diff --git a/chain/exchange/types/proposal.go b/chain/exchange/types/proposal.go index 25c8408f..302bc1a9 100644 --- a/chain/exchange/types/proposal.go +++ b/chain/exchange/types/proposal.go @@ -22,6 +22,7 @@ const ( ProposalTypeDerivativeMarketParamUpdate string = "ProposalTypeDerivativeMarketParamUpdate" ProposalTypeTradingRewardCampaign string = "ProposalTypeTradingRewardCampaign" ProposalTypeTradingRewardCampaignUpdate string = "ProposalTypeTradingRewardCampaignUpdateProposal" + ProposalTypeTradingRewardPointsUpdate string = "ProposalTypeTradingRewardPointsUpdate" ProposalTypeFeeDiscountProposal string = "ProposalTypeFeeDiscountProposal" ProposalTypeBatchCommunityPoolSpendProposal string = "ProposalTypeBatchCommunityPoolSpendProposal" ) @@ -45,6 +46,8 @@ func init() { gov.RegisterProposalTypeCodec(&TradingRewardCampaignLaunchProposal{}, "injective/TradingRewardCampaignLaunchProposal") gov.RegisterProposalType(ProposalTypeTradingRewardCampaignUpdate) gov.RegisterProposalTypeCodec(&TradingRewardCampaignUpdateProposal{}, "injective/TradingRewardCampaignUpdateProposal") + gov.RegisterProposalType(ProposalTypeTradingRewardPointsUpdate) + gov.RegisterProposalTypeCodec(&TradingRewardPointsUpdateProposal{}, "injective/TradingRewardPointsUpdateProposal") gov.RegisterProposalType(ProposalTypeFeeDiscountProposal) gov.RegisterProposalTypeCodec(&FeeDiscountProposal{}, "injective/FeeDiscountProposal") gov.RegisterProposalType(ProposalTypeBatchCommunityPoolSpendProposal) @@ -779,6 +782,65 @@ func (p *TradingRewardCampaignUpdateProposal) ValidateBasic() error { return gov.ValidateAbstract(p) } +// Implements Proposal Interface +var _ gov.Content = &TradingRewardPointsUpdateProposal{} + +// GetTitle returns the title of this proposal +func (p *TradingRewardPointsUpdateProposal) GetTitle() string { + return p.Title +} + +// GetDescription returns the description of this proposal +func (p *TradingRewardPointsUpdateProposal) GetDescription() string { + return p.Description +} + +// ProposalRoute returns router key of this proposal. +func (p *TradingRewardPointsUpdateProposal) ProposalRoute() string { return RouterKey } + +// ProposalType returns proposal type of this proposal. +func (p *TradingRewardPointsUpdateProposal) ProposalType() string { + return ProposalTypeTradingRewardPointsUpdate +} + +// ValidateBasic returns ValidateBasic result of this proposal. +func (p *TradingRewardPointsUpdateProposal) ValidateBasic() error { + if len(p.RewardPointUpdates) == 0 { + return sdkerrors.Wrap(ErrInvalidTradingRewardsPointsUpdate, "reward points update cannot be nil") + } + + accountAddresses := make([]string, 0) + + for _, rewardPointUpdate := range p.RewardPointUpdates { + if rewardPointUpdate == nil { + return sdkerrors.Wrap(ErrInvalidTradingRewardsPointsUpdate, "reward point update cannot be nil") + } + + _, err := sdk.AccAddressFromBech32(rewardPointUpdate.AccountAddress) + + if err != nil { + return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, rewardPointUpdate.AccountAddress) + } + + accountAddresses = append(accountAddresses, rewardPointUpdate.AccountAddress) + + if rewardPointUpdate.NewPoints.IsNil() { + return sdkerrors.Wrap(ErrInvalidTradingRewardsPointsUpdate, "reward points cannot be nil") + } + + if rewardPointUpdate.NewPoints.IsNegative() { + return sdkerrors.Wrap(ErrInvalidTradingRewardsPointsUpdate, "reward points cannot be negative") + } + } + + hasDuplicateAccountAddresses := HasDuplicates(accountAddresses) + if hasDuplicateAccountAddresses { + return sdkerrors.Wrap(ErrInvalidTradingRewardsPointsUpdate, "account address cannot be duplicated") + } + + return gov.ValidateAbstract(p) +} + // NewTradingRewardCampaignLaunchProposal returns new instance of TradingRewardCampaignLaunchProposal func NewTradingRewardCampaignLaunchProposal( title, description string, diff --git a/chain/exchange/types/tx.pb.go b/chain/exchange/types/tx.pb.go index 39b15c09..c1f72693 100644 --- a/chain/exchange/types/tx.pb.go +++ b/chain/exchange/types/tx.pb.go @@ -1052,6 +1052,93 @@ func (m *MsgBatchCancelSpotOrdersResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgBatchCancelSpotOrdersResponse proto.InternalMessageInfo +// MsgBatchUpdateOrders defines the Msg/BatchUpdateOrders response type. +type MsgBatchUpdateOrders struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + // subaccount_id only used for the spot_market_ids_to_cancel_all and derivative_market_ids_to_cancel_all. + SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` + SpotMarketIdsToCancelAll []string `protobuf:"bytes,3,rep,name=spot_market_ids_to_cancel_all,json=spotMarketIdsToCancelAll,proto3" json:"spot_market_ids_to_cancel_all,omitempty"` + DerivativeMarketIdsToCancelAll []string `protobuf:"bytes,4,rep,name=derivative_market_ids_to_cancel_all,json=derivativeMarketIdsToCancelAll,proto3" json:"derivative_market_ids_to_cancel_all,omitempty"` + SpotOrdersToCancel []*OrderData `protobuf:"bytes,5,rep,name=spot_orders_to_cancel,json=spotOrdersToCancel,proto3" json:"spot_orders_to_cancel,omitempty"` + DerivativeOrdersToCancel []*OrderData `protobuf:"bytes,6,rep,name=derivative_orders_to_cancel,json=derivativeOrdersToCancel,proto3" json:"derivative_orders_to_cancel,omitempty"` + SpotOrdersToCreate []*SpotOrder `protobuf:"bytes,7,rep,name=spot_orders_to_create,json=spotOrdersToCreate,proto3" json:"spot_orders_to_create,omitempty"` + DerivativeOrdersToCreate []*DerivativeOrder `protobuf:"bytes,8,rep,name=derivative_orders_to_create,json=derivativeOrdersToCreate,proto3" json:"derivative_orders_to_create,omitempty"` +} + +func (m *MsgBatchUpdateOrders) Reset() { *m = MsgBatchUpdateOrders{} } +func (m *MsgBatchUpdateOrders) String() string { return proto.CompactTextString(m) } +func (*MsgBatchUpdateOrders) ProtoMessage() {} +func (*MsgBatchUpdateOrders) Descriptor() ([]byte, []int) { + return fileDescriptor_bd45b74cb6d81462, []int{24} +} +func (m *MsgBatchUpdateOrders) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBatchUpdateOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBatchUpdateOrders.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBatchUpdateOrders) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBatchUpdateOrders.Merge(m, src) +} +func (m *MsgBatchUpdateOrders) XXX_Size() int { + return m.Size() +} +func (m *MsgBatchUpdateOrders) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBatchUpdateOrders.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBatchUpdateOrders proto.InternalMessageInfo + +// MsgBatchUpdateOrdersResponse defines the Msg/BatchUpdateOrders response type. +type MsgBatchUpdateOrdersResponse struct { + SpotCancelSuccess []bool `protobuf:"varint,1,rep,packed,name=spot_cancel_success,json=spotCancelSuccess,proto3" json:"spot_cancel_success,omitempty"` + DerivativeCancelSuccess []bool `protobuf:"varint,2,rep,packed,name=derivative_cancel_success,json=derivativeCancelSuccess,proto3" json:"derivative_cancel_success,omitempty"` + SpotOrderHashes []string `protobuf:"bytes,3,rep,name=spot_order_hashes,json=spotOrderHashes,proto3" json:"spot_order_hashes,omitempty"` + DerivativeOrderHashes []string `protobuf:"bytes,4,rep,name=derivative_order_hashes,json=derivativeOrderHashes,proto3" json:"derivative_order_hashes,omitempty"` +} + +func (m *MsgBatchUpdateOrdersResponse) Reset() { *m = MsgBatchUpdateOrdersResponse{} } +func (m *MsgBatchUpdateOrdersResponse) String() string { return proto.CompactTextString(m) } +func (*MsgBatchUpdateOrdersResponse) ProtoMessage() {} +func (*MsgBatchUpdateOrdersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_bd45b74cb6d81462, []int{25} +} +func (m *MsgBatchUpdateOrdersResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBatchUpdateOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBatchUpdateOrdersResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgBatchUpdateOrdersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBatchUpdateOrdersResponse.Merge(m, src) +} +func (m *MsgBatchUpdateOrdersResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgBatchUpdateOrdersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBatchUpdateOrdersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBatchUpdateOrdersResponse proto.InternalMessageInfo + // A Cosmos-SDK MsgCreateDerivativeMarketOrder type MsgCreateDerivativeMarketOrder struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` @@ -1062,7 +1149,7 @@ func (m *MsgCreateDerivativeMarketOrder) Reset() { *m = MsgCreateDerivat func (m *MsgCreateDerivativeMarketOrder) String() string { return proto.CompactTextString(m) } func (*MsgCreateDerivativeMarketOrder) ProtoMessage() {} func (*MsgCreateDerivativeMarketOrder) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{24} + return fileDescriptor_bd45b74cb6d81462, []int{26} } func (m *MsgCreateDerivativeMarketOrder) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1102,7 +1189,7 @@ func (m *MsgCreateDerivativeMarketOrderResponse) Reset() { func (m *MsgCreateDerivativeMarketOrderResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateDerivativeMarketOrderResponse) ProtoMessage() {} func (*MsgCreateDerivativeMarketOrderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{25} + return fileDescriptor_bd45b74cb6d81462, []int{27} } func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1143,7 +1230,7 @@ func (m *MsgCancelDerivativeOrder) Reset() { *m = MsgCancelDerivativeOrd func (m *MsgCancelDerivativeOrder) String() string { return proto.CompactTextString(m) } func (*MsgCancelDerivativeOrder) ProtoMessage() {} func (*MsgCancelDerivativeOrder) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{26} + return fileDescriptor_bd45b74cb6d81462, []int{28} } func (m *MsgCancelDerivativeOrder) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1180,7 +1267,7 @@ func (m *MsgCancelDerivativeOrderResponse) Reset() { *m = MsgCancelDeriv func (m *MsgCancelDerivativeOrderResponse) String() string { return proto.CompactTextString(m) } func (*MsgCancelDerivativeOrderResponse) ProtoMessage() {} func (*MsgCancelDerivativeOrderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{27} + return fileDescriptor_bd45b74cb6d81462, []int{29} } func (m *MsgCancelDerivativeOrderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1219,7 +1306,7 @@ func (m *OrderData) Reset() { *m = OrderData{} } func (m *OrderData) String() string { return proto.CompactTextString(m) } func (*OrderData) ProtoMessage() {} func (*OrderData) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{28} + return fileDescriptor_bd45b74cb6d81462, []int{30} } func (m *OrderData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1279,7 +1366,7 @@ func (m *MsgBatchCancelDerivativeOrders) Reset() { *m = MsgBatchCancelDe func (m *MsgBatchCancelDerivativeOrders) String() string { return proto.CompactTextString(m) } func (*MsgBatchCancelDerivativeOrders) ProtoMessage() {} func (*MsgBatchCancelDerivativeOrders) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{29} + return fileDescriptor_bd45b74cb6d81462, []int{31} } func (m *MsgBatchCancelDerivativeOrders) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1319,7 +1406,7 @@ func (m *MsgBatchCancelDerivativeOrdersResponse) Reset() { func (m *MsgBatchCancelDerivativeOrdersResponse) String() string { return proto.CompactTextString(m) } func (*MsgBatchCancelDerivativeOrdersResponse) ProtoMessage() {} func (*MsgBatchCancelDerivativeOrdersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{30} + return fileDescriptor_bd45b74cb6d81462, []int{32} } func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1360,7 +1447,7 @@ func (m *MsgSubaccountTransfer) Reset() { *m = MsgSubaccountTransfer{} } func (m *MsgSubaccountTransfer) String() string { return proto.CompactTextString(m) } func (*MsgSubaccountTransfer) ProtoMessage() {} func (*MsgSubaccountTransfer) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{31} + return fileDescriptor_bd45b74cb6d81462, []int{33} } func (m *MsgSubaccountTransfer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1425,7 +1512,7 @@ func (m *MsgSubaccountTransferResponse) Reset() { *m = MsgSubaccountTran func (m *MsgSubaccountTransferResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubaccountTransferResponse) ProtoMessage() {} func (*MsgSubaccountTransferResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{32} + return fileDescriptor_bd45b74cb6d81462, []int{34} } func (m *MsgSubaccountTransferResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1466,7 +1553,7 @@ func (m *MsgExternalTransfer) Reset() { *m = MsgExternalTransfer{} } func (m *MsgExternalTransfer) String() string { return proto.CompactTextString(m) } func (*MsgExternalTransfer) ProtoMessage() {} func (*MsgExternalTransfer) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{33} + return fileDescriptor_bd45b74cb6d81462, []int{35} } func (m *MsgExternalTransfer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1531,7 +1618,7 @@ func (m *MsgExternalTransferResponse) Reset() { *m = MsgExternalTransfer func (m *MsgExternalTransferResponse) String() string { return proto.CompactTextString(m) } func (*MsgExternalTransferResponse) ProtoMessage() {} func (*MsgExternalTransferResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{34} + return fileDescriptor_bd45b74cb6d81462, []int{36} } func (m *MsgExternalTransferResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1573,7 +1660,7 @@ func (m *MsgLiquidatePosition) Reset() { *m = MsgLiquidatePosition{} } func (m *MsgLiquidatePosition) String() string { return proto.CompactTextString(m) } func (*MsgLiquidatePosition) ProtoMessage() {} func (*MsgLiquidatePosition) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{35} + return fileDescriptor_bd45b74cb6d81462, []int{37} } func (m *MsgLiquidatePosition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1638,7 +1725,7 @@ func (m *MsgLiquidatePositionResponse) Reset() { *m = MsgLiquidatePositi func (m *MsgLiquidatePositionResponse) String() string { return proto.CompactTextString(m) } func (*MsgLiquidatePositionResponse) ProtoMessage() {} func (*MsgLiquidatePositionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{36} + return fileDescriptor_bd45b74cb6d81462, []int{38} } func (m *MsgLiquidatePositionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1681,7 +1768,7 @@ func (m *MsgIncreasePositionMargin) Reset() { *m = MsgIncreasePositionMa func (m *MsgIncreasePositionMargin) String() string { return proto.CompactTextString(m) } func (*MsgIncreasePositionMargin) ProtoMessage() {} func (*MsgIncreasePositionMargin) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{37} + return fileDescriptor_bd45b74cb6d81462, []int{39} } func (m *MsgIncreasePositionMargin) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1746,7 +1833,7 @@ func (m *MsgIncreasePositionMarginResponse) Reset() { *m = MsgIncreasePo func (m *MsgIncreasePositionMarginResponse) String() string { return proto.CompactTextString(m) } func (*MsgIncreasePositionMarginResponse) ProtoMessage() {} func (*MsgIncreasePositionMarginResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{38} + return fileDescriptor_bd45b74cb6d81462, []int{40} } func (m *MsgIncreasePositionMarginResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1796,7 +1883,7 @@ func (m *SpotMarketParamUpdateProposal) Reset() { *m = SpotMarketParamUp func (m *SpotMarketParamUpdateProposal) String() string { return proto.CompactTextString(m) } func (*SpotMarketParamUpdateProposal) ProtoMessage() {} func (*SpotMarketParamUpdateProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{39} + return fileDescriptor_bd45b74cb6d81462, []int{41} } func (m *SpotMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1835,7 +1922,7 @@ func (m *ExchangeEnableProposal) Reset() { *m = ExchangeEnableProposal{} func (m *ExchangeEnableProposal) String() string { return proto.CompactTextString(m) } func (*ExchangeEnableProposal) ProtoMessage() {} func (*ExchangeEnableProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{40} + return fileDescriptor_bd45b74cb6d81462, []int{42} } func (m *ExchangeEnableProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1879,7 +1966,7 @@ func (m *BatchExchangeModificationProposal) Reset() { *m = BatchExchange func (m *BatchExchangeModificationProposal) String() string { return proto.CompactTextString(m) } func (*BatchExchangeModificationProposal) ProtoMessage() {} func (*BatchExchangeModificationProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{41} + return fileDescriptor_bd45b74cb6d81462, []int{43} } func (m *BatchExchangeModificationProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1932,7 +2019,7 @@ func (m *SpotMarketLaunchProposal) Reset() { *m = SpotMarketLaunchPropos func (m *SpotMarketLaunchProposal) String() string { return proto.CompactTextString(m) } func (*SpotMarketLaunchProposal) ProtoMessage() {} func (*SpotMarketLaunchProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{42} + return fileDescriptor_bd45b74cb6d81462, []int{44} } func (m *SpotMarketLaunchProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1995,7 +2082,7 @@ func (m *PerpetualMarketLaunchProposal) Reset() { *m = PerpetualMarketLa func (m *PerpetualMarketLaunchProposal) String() string { return proto.CompactTextString(m) } func (*PerpetualMarketLaunchProposal) ProtoMessage() {} func (*PerpetualMarketLaunchProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{43} + return fileDescriptor_bd45b74cb6d81462, []int{45} } func (m *PerpetualMarketLaunchProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2060,7 +2147,7 @@ func (m *ExpiryFuturesMarketLaunchProposal) Reset() { *m = ExpiryFutures func (m *ExpiryFuturesMarketLaunchProposal) String() string { return proto.CompactTextString(m) } func (*ExpiryFuturesMarketLaunchProposal) ProtoMessage() {} func (*ExpiryFuturesMarketLaunchProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{44} + return fileDescriptor_bd45b74cb6d81462, []int{46} } func (m *ExpiryFuturesMarketLaunchProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2119,7 +2206,7 @@ func (m *DerivativeMarketParamUpdateProposal) Reset() { *m = DerivativeM func (m *DerivativeMarketParamUpdateProposal) String() string { return proto.CompactTextString(m) } func (*DerivativeMarketParamUpdateProposal) ProtoMessage() {} func (*DerivativeMarketParamUpdateProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{45} + return fileDescriptor_bd45b74cb6d81462, []int{47} } func (m *DerivativeMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2163,7 +2250,7 @@ func (m *OracleParams) Reset() { *m = OracleParams{} } func (m *OracleParams) String() string { return proto.CompactTextString(m) } func (*OracleParams) ProtoMessage() {} func (*OracleParams) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{46} + return fileDescriptor_bd45b74cb6d81462, []int{48} } func (m *OracleParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2231,7 +2318,7 @@ func (m *TradingRewardCampaignLaunchProposal) Reset() { *m = TradingRewa func (m *TradingRewardCampaignLaunchProposal) String() string { return proto.CompactTextString(m) } func (*TradingRewardCampaignLaunchProposal) ProtoMessage() {} func (*TradingRewardCampaignLaunchProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{47} + return fileDescriptor_bd45b74cb6d81462, []int{49} } func (m *TradingRewardCampaignLaunchProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2272,7 +2359,7 @@ func (m *TradingRewardCampaignUpdateProposal) Reset() { *m = TradingRewa func (m *TradingRewardCampaignUpdateProposal) String() string { return proto.CompactTextString(m) } func (*TradingRewardCampaignUpdateProposal) ProtoMessage() {} func (*TradingRewardCampaignUpdateProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{48} + return fileDescriptor_bd45b74cb6d81462, []int{50} } func (m *TradingRewardCampaignUpdateProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2301,6 +2388,91 @@ func (m *TradingRewardCampaignUpdateProposal) XXX_DiscardUnknown() { var xxx_messageInfo_TradingRewardCampaignUpdateProposal proto.InternalMessageInfo +type RewardPointUpdate struct { + AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` + // new_points overwrites the current trading reward points for the account + NewPoints github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=new_points,json=newPoints,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"new_points"` +} + +func (m *RewardPointUpdate) Reset() { *m = RewardPointUpdate{} } +func (m *RewardPointUpdate) String() string { return proto.CompactTextString(m) } +func (*RewardPointUpdate) ProtoMessage() {} +func (*RewardPointUpdate) Descriptor() ([]byte, []int) { + return fileDescriptor_bd45b74cb6d81462, []int{51} +} +func (m *RewardPointUpdate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RewardPointUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RewardPointUpdate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RewardPointUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_RewardPointUpdate.Merge(m, src) +} +func (m *RewardPointUpdate) XXX_Size() int { + return m.Size() +} +func (m *RewardPointUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_RewardPointUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_RewardPointUpdate proto.InternalMessageInfo + +func (m *RewardPointUpdate) GetAccountAddress() string { + if m != nil { + return m.AccountAddress + } + return "" +} + +type TradingRewardPointsUpdateProposal struct { + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + RewardPointUpdates []*RewardPointUpdate `protobuf:"bytes,4,rep,name=reward_point_updates,json=rewardPointUpdates,proto3" json:"reward_point_updates,omitempty"` +} + +func (m *TradingRewardPointsUpdateProposal) Reset() { *m = TradingRewardPointsUpdateProposal{} } +func (m *TradingRewardPointsUpdateProposal) String() string { return proto.CompactTextString(m) } +func (*TradingRewardPointsUpdateProposal) ProtoMessage() {} +func (*TradingRewardPointsUpdateProposal) Descriptor() ([]byte, []int) { + return fileDescriptor_bd45b74cb6d81462, []int{52} +} +func (m *TradingRewardPointsUpdateProposal) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TradingRewardPointsUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TradingRewardPointsUpdateProposal.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TradingRewardPointsUpdateProposal) XXX_Merge(src proto.Message) { + xxx_messageInfo_TradingRewardPointsUpdateProposal.Merge(m, src) +} +func (m *TradingRewardPointsUpdateProposal) XXX_Size() int { + return m.Size() +} +func (m *TradingRewardPointsUpdateProposal) XXX_DiscardUnknown() { + xxx_messageInfo_TradingRewardPointsUpdateProposal.DiscardUnknown(m) +} + +var xxx_messageInfo_TradingRewardPointsUpdateProposal proto.InternalMessageInfo + type FeeDiscountProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` @@ -2311,7 +2483,7 @@ func (m *FeeDiscountProposal) Reset() { *m = FeeDiscountProposal{} } func (m *FeeDiscountProposal) String() string { return proto.CompactTextString(m) } func (*FeeDiscountProposal) ProtoMessage() {} func (*FeeDiscountProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{49} + return fileDescriptor_bd45b74cb6d81462, []int{53} } func (m *FeeDiscountProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2350,7 +2522,7 @@ func (m *BatchCommunityPoolSpendProposal) Reset() { *m = BatchCommunityP func (m *BatchCommunityPoolSpendProposal) String() string { return proto.CompactTextString(m) } func (*BatchCommunityPoolSpendProposal) ProtoMessage() {} func (*BatchCommunityPoolSpendProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_bd45b74cb6d81462, []int{50} + return fileDescriptor_bd45b74cb6d81462, []int{54} } func (m *BatchCommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2405,6 +2577,8 @@ func init() { proto.RegisterType((*MsgCancelSpotOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelSpotOrderResponse") proto.RegisterType((*MsgBatchCancelSpotOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelSpotOrders") proto.RegisterType((*MsgBatchCancelSpotOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse") + proto.RegisterType((*MsgBatchUpdateOrders)(nil), "injective.exchange.v1beta1.MsgBatchUpdateOrders") + proto.RegisterType((*MsgBatchUpdateOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse") proto.RegisterType((*MsgCreateDerivativeMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder") proto.RegisterType((*MsgCreateDerivativeMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse") proto.RegisterType((*MsgCancelDerivativeOrder)(nil), "injective.exchange.v1beta1.MsgCancelDerivativeOrder") @@ -2430,6 +2604,8 @@ func init() { proto.RegisterType((*OracleParams)(nil), "injective.exchange.v1beta1.OracleParams") proto.RegisterType((*TradingRewardCampaignLaunchProposal)(nil), "injective.exchange.v1beta1.TradingRewardCampaignLaunchProposal") proto.RegisterType((*TradingRewardCampaignUpdateProposal)(nil), "injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal") + proto.RegisterType((*RewardPointUpdate)(nil), "injective.exchange.v1beta1.RewardPointUpdate") + proto.RegisterType((*TradingRewardPointsUpdateProposal)(nil), "injective.exchange.v1beta1.TradingRewardPointsUpdateProposal") proto.RegisterType((*FeeDiscountProposal)(nil), "injective.exchange.v1beta1.FeeDiscountProposal") proto.RegisterType((*BatchCommunityPoolSpendProposal)(nil), "injective.exchange.v1beta1.BatchCommunityPoolSpendProposal") } @@ -2439,176 +2615,195 @@ func init() { } var fileDescriptor_bd45b74cb6d81462 = []byte{ - // 2704 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x8a, 0x14, 0x29, 0x3e, 0x49, 0x8e, 0xb3, 0x92, 0x65, 0x9a, 0xb6, 0x3e, 0x4c, 0xf9, - 0x43, 0x69, 0x60, 0x2a, 0x56, 0x9c, 0xb8, 0x76, 0x9a, 0xba, 0x96, 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0xc8, 0x7c, 0xb5, 0x5f, 0x0d, 0x4e, 0xe0, 0x03, 0x01, 0xa6, 0x3d, 0x6e, - 0x68, 0xbd, 0x16, 0x38, 0x81, 0xbb, 0xa9, 0x65, 0xde, 0x8c, 0xa4, 0x66, 0x13, 0x5a, 0xa9, 0x7d, - 0xf2, 0x64, 0x56, 0xf8, 0xf4, 0xc9, 0xac, 0xf0, 0xaf, 0x27, 0xb3, 0xc2, 0xaf, 0x9e, 0xce, 0x0e, - 0x7d, 0xfa, 0x74, 0x76, 0xe8, 0x9f, 0x4f, 0x67, 0x87, 0x6e, 0x5d, 0x73, 0xd4, 0x46, 0x0a, 0xb6, - 0x89, 0x0d, 0xb4, 0x4d, 0x96, 0xb8, 0xc1, 0x33, 0xb2, 0xa6, 0x63, 0xe7, 0x63, 0x0d, 0x29, 0xea, - 0x52, 0x43, 0x33, 0xf6, 0x0f, 0xa4, 0xfd, 0x7b, 0x64, 0x56, 0x47, 0xd9, 0x4e, 0xb0, 0x5f, 0x0d, - 0xbf, 0xfa, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3a, 0xdc, 0xf8, 0x5f, 0x30, 0x3d, 0x00, 0x00, + // 3004 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5c, 0xdb, 0x6f, 0x1b, 0xc7, + 0xd5, 0xd7, 0x4a, 0x14, 0x29, 0x1e, 0x49, 0xbe, 0xac, 0x64, 0x99, 0xa6, 0xad, 0x8b, 0xa9, 0xc4, + 0x76, 0x12, 0x98, 0x4a, 0x14, 0x27, 0xf9, 0xec, 0x7c, 0xa9, 0x2b, 0xeb, 0x92, 0xa8, 0xb1, 0x12, + 0x65, 0xa9, 0xa4, 0x45, 0x80, 0x66, 0x3b, 0x5a, 0x8e, 0xc8, 0x8d, 0xc9, 0x5d, 0x7a, 0x67, 0x18, + 0x5b, 0x41, 0xd1, 0x00, 0x45, 0x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0xdc, 0xcd, 0xb2, 0xff, 0x90, 0xe1, 0xd1, 0xff, 0x06, + 0x00, 0x00, 0xff, 0xff, 0x9e, 0xbf, 0xc1, 0x49, 0x8b, 0x42, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2643,6 +2838,7 @@ type MsgClient interface { CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error) // BatchCancelSpotOrders defines a method for cancelling a batch of spot orders in a given market. BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCancelSpotOrders, opts ...grpc.CallOption) (*MsgBatchCancelSpotOrdersResponse, error) + BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error) // CreateDerivativeLimitOrder defines a method for creating a new derivative limit order. CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error) // BatchCreateDerivativeLimitOrders defines a method for creating a new batch of derivative limit orders. @@ -2761,6 +2957,15 @@ func (c *msgClient) BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCance return out, nil } +func (c *msgClient) BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error) { + out := new(MsgBatchUpdateOrdersResponse) + err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error) { out := new(MsgCreateDerivativeLimitOrderResponse) err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder", in, out, opts...) @@ -2864,6 +3069,7 @@ type MsgServer interface { CancelSpotOrder(context.Context, *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error) // BatchCancelSpotOrders defines a method for cancelling a batch of spot orders in a given market. BatchCancelSpotOrders(context.Context, *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error) + BatchUpdateOrders(context.Context, *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error) // CreateDerivativeLimitOrder defines a method for creating a new derivative limit order. CreateDerivativeLimitOrder(context.Context, *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error) // BatchCreateDerivativeLimitOrders defines a method for creating a new batch of derivative limit orders. @@ -2918,6 +3124,9 @@ func (*UnimplementedMsgServer) CancelSpotOrder(ctx context.Context, req *MsgCanc func (*UnimplementedMsgServer) BatchCancelSpotOrders(ctx context.Context, req *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchCancelSpotOrders not implemented") } +func (*UnimplementedMsgServer) BatchUpdateOrders(ctx context.Context, req *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateOrders not implemented") +} func (*UnimplementedMsgServer) CreateDerivativeLimitOrder(ctx context.Context, req *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateDerivativeLimitOrder not implemented") } @@ -3130,6 +3339,24 @@ func _Msg_BatchCancelSpotOrders_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } +func _Msg_BatchUpdateOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBatchUpdateOrders) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).BatchUpdateOrders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).BatchUpdateOrders(ctx, req.(*MsgBatchUpdateOrders)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_CreateDerivativeLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgCreateDerivativeLimitOrder) if err := dec(in); err != nil { @@ -3336,6 +3563,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "BatchCancelSpotOrders", Handler: _Msg_BatchCancelSpotOrders_Handler, }, + { + MethodName: "BatchUpdateOrders", + Handler: _Msg_BatchUpdateOrders_Handler, + }, { MethodName: "CreateDerivativeLimitOrder", Handler: _Msg_CreateDerivativeLimitOrder_Handler, @@ -4434,7 +4665,7 @@ func (m *MsgBatchCancelSpotOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *MsgCreateDerivativeMarketOrder) Marshal() (dAtA []byte, err error) { +func (m *MsgBatchUpdateOrders) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4444,26 +4675,97 @@ func (m *MsgCreateDerivativeMarketOrder) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgCreateDerivativeMarketOrder) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgBatchUpdateOrders) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCreateDerivativeMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgBatchUpdateOrders) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - { - size, err := m.Order.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.DerivativeOrdersToCreate) > 0 { + for iNdEx := len(m.DerivativeOrdersToCreate) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DerivativeOrdersToCreate[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) } - i-- - dAtA[i] = 0x12 + if len(m.SpotOrdersToCreate) > 0 { + for iNdEx := len(m.SpotOrdersToCreate) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SpotOrdersToCreate[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } + if len(m.DerivativeOrdersToCancel) > 0 { + for iNdEx := len(m.DerivativeOrdersToCancel) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DerivativeOrdersToCancel[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } + if len(m.SpotOrdersToCancel) > 0 { + for iNdEx := len(m.SpotOrdersToCancel) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SpotOrdersToCancel[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if len(m.DerivativeMarketIdsToCancelAll) > 0 { + for iNdEx := len(m.DerivativeMarketIdsToCancelAll) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DerivativeMarketIdsToCancelAll[iNdEx]) + copy(dAtA[i:], m.DerivativeMarketIdsToCancelAll[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.DerivativeMarketIdsToCancelAll[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.SpotMarketIdsToCancelAll) > 0 { + for iNdEx := len(m.SpotMarketIdsToCancelAll) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.SpotMarketIdsToCancelAll[iNdEx]) + copy(dAtA[i:], m.SpotMarketIdsToCancelAll[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.SpotMarketIdsToCancelAll[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.SubaccountId) > 0 { + i -= len(m.SubaccountId) + copy(dAtA[i:], m.SubaccountId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId))) + i-- + dAtA[i] = 0x12 + } if len(m.Sender) > 0 { i -= len(m.Sender) copy(dAtA[i:], m.Sender) @@ -4474,7 +4776,7 @@ func (m *MsgCreateDerivativeMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *MsgCreateDerivativeMarketOrderResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgBatchUpdateOrdersResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4484,34 +4786,141 @@ func (m *MsgCreateDerivativeMarketOrderResponse) Marshal() (dAtA []byte, err err return dAtA[:n], nil } -func (m *MsgCreateDerivativeMarketOrderResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgBatchUpdateOrdersResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgCreateDerivativeMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgBatchUpdateOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.OrderHash) > 0 { - i -= len(m.OrderHash) - copy(dAtA[i:], m.OrderHash) - i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash))) - i-- - dAtA[i] = 0xa + if len(m.DerivativeOrderHashes) > 0 { + for iNdEx := len(m.DerivativeOrderHashes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DerivativeOrderHashes[iNdEx]) + copy(dAtA[i:], m.DerivativeOrderHashes[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.DerivativeOrderHashes[iNdEx]))) + i-- + dAtA[i] = 0x22 + } } - return len(dAtA) - i, nil -} - -func (m *MsgCancelDerivativeOrder) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if len(m.SpotOrderHashes) > 0 { + for iNdEx := len(m.SpotOrderHashes) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.SpotOrderHashes[iNdEx]) + copy(dAtA[i:], m.SpotOrderHashes[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.SpotOrderHashes[iNdEx]))) + i-- + dAtA[i] = 0x1a + } } - return dAtA[:n], nil + if len(m.DerivativeCancelSuccess) > 0 { + for iNdEx := len(m.DerivativeCancelSuccess) - 1; iNdEx >= 0; iNdEx-- { + i-- + if m.DerivativeCancelSuccess[iNdEx] { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + } + i = encodeVarintTx(dAtA, i, uint64(len(m.DerivativeCancelSuccess))) + i-- + dAtA[i] = 0x12 + } + if len(m.SpotCancelSuccess) > 0 { + for iNdEx := len(m.SpotCancelSuccess) - 1; iNdEx >= 0; iNdEx-- { + i-- + if m.SpotCancelSuccess[iNdEx] { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + } + i = encodeVarintTx(dAtA, i, uint64(len(m.SpotCancelSuccess))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgCreateDerivativeMarketOrder) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateDerivativeMarketOrder) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateDerivativeMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Order.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgCreateDerivativeMarketOrderResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateDerivativeMarketOrderResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateDerivativeMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.OrderHash) > 0 { + i -= len(m.OrderHash) + copy(dAtA[i:], m.OrderHash) + i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgCancelDerivativeOrder) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil } func (m *MsgCancelDerivativeOrder) MarshalTo(dAtA []byte) (int, error) { @@ -6022,6 +6431,97 @@ func (m *TradingRewardCampaignUpdateProposal) MarshalToSizedBuffer(dAtA []byte) return len(dAtA) - i, nil } +func (m *RewardPointUpdate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RewardPointUpdate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RewardPointUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.NewPoints.Size() + i -= size + if _, err := m.NewPoints.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + if len(m.AccountAddress) > 0 { + i -= len(m.AccountAddress) + copy(dAtA[i:], m.AccountAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.AccountAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TradingRewardPointsUpdateProposal) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TradingRewardPointsUpdateProposal) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TradingRewardPointsUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.RewardPointUpdates) > 0 { + for iNdEx := len(m.RewardPointUpdates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.RewardPointUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintTx(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x12 + } + if len(m.Title) > 0 { + i -= len(m.Title) + copy(dAtA[i:], m.Title) + i = encodeVarintTx(dAtA, i, uint64(len(m.Title))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *FeeDiscountProposal) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -6559,6 +7059,86 @@ func (m *MsgBatchCancelSpotOrdersResponse) Size() (n int) { return n } +func (m *MsgBatchUpdateOrders) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.SubaccountId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.SpotMarketIdsToCancelAll) > 0 { + for _, s := range m.SpotMarketIdsToCancelAll { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.DerivativeMarketIdsToCancelAll) > 0 { + for _, s := range m.DerivativeMarketIdsToCancelAll { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.SpotOrdersToCancel) > 0 { + for _, e := range m.SpotOrdersToCancel { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.DerivativeOrdersToCancel) > 0 { + for _, e := range m.DerivativeOrdersToCancel { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.SpotOrdersToCreate) > 0 { + for _, e := range m.SpotOrdersToCreate { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.DerivativeOrdersToCreate) > 0 { + for _, e := range m.DerivativeOrdersToCreate { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgBatchUpdateOrdersResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.SpotCancelSuccess) > 0 { + n += 1 + sovTx(uint64(len(m.SpotCancelSuccess))) + len(m.SpotCancelSuccess)*1 + } + if len(m.DerivativeCancelSuccess) > 0 { + n += 1 + sovTx(uint64(len(m.DerivativeCancelSuccess))) + len(m.DerivativeCancelSuccess)*1 + } + if len(m.SpotOrderHashes) > 0 { + for _, s := range m.SpotOrderHashes { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + if len(m.DerivativeOrderHashes) > 0 { + for _, s := range m.DerivativeOrderHashes { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + func (m *MsgCreateDerivativeMarketOrder) Size() (n int) { if m == nil { return 0 @@ -7215,28 +7795,22 @@ func (m *TradingRewardCampaignUpdateProposal) Size() (n int) { return n } -func (m *FeeDiscountProposal) Size() (n int) { +func (m *RewardPointUpdate) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Title) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Description) + l = len(m.AccountAddress) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Schedule != nil { - l = m.Schedule.Size() - n += 1 + l + sovTx(uint64(l)) - } + l = m.NewPoints.Size() + n += 1 + l + sovTx(uint64(l)) return n } -func (m *BatchCommunityPoolSpendProposal) Size() (n int) { +func (m *TradingRewardPointsUpdateProposal) Size() (n int) { if m == nil { return 0 } @@ -7250,8 +7824,8 @@ func (m *BatchCommunityPoolSpendProposal) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if len(m.Proposals) > 0 { - for _, e := range m.Proposals { + if len(m.RewardPointUpdates) > 0 { + for _, e := range m.RewardPointUpdates { l = e.Size() n += 1 + l + sovTx(uint64(l)) } @@ -7259,15 +7833,59 @@ func (m *BatchCommunityPoolSpendProposal) Size() (n int) { return n } -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *MsgDeposit) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 +func (m *FeeDiscountProposal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Schedule != nil { + l = m.Schedule.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *BatchCommunityPoolSpendProposal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.Proposals) > 0 { + for _, e := range m.Proposals { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgDeposit) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 for iNdEx < l { preIndex := iNdEx var wire uint64 @@ -10429,6 +11047,574 @@ func (m *MsgBatchCancelSpotOrdersResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgBatchUpdateOrders) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBatchUpdateOrders: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBatchUpdateOrders: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SubaccountId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SpotMarketIdsToCancelAll", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SpotMarketIdsToCancelAll = append(m.SpotMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DerivativeMarketIdsToCancelAll", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DerivativeMarketIdsToCancelAll = append(m.DerivativeMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersToCancel", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SpotOrdersToCancel = append(m.SpotOrdersToCancel, &OrderData{}) + if err := m.SpotOrdersToCancel[len(m.SpotOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersToCancel", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DerivativeOrdersToCancel = append(m.DerivativeOrdersToCancel, &OrderData{}) + if err := m.DerivativeOrdersToCancel[len(m.DerivativeOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersToCreate", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SpotOrdersToCreate = append(m.SpotOrdersToCreate, &SpotOrder{}) + if err := m.SpotOrdersToCreate[len(m.SpotOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersToCreate", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DerivativeOrdersToCreate = append(m.DerivativeOrdersToCreate, &DerivativeOrder{}) + if err := m.DerivativeOrdersToCreate[len(m.DerivativeOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgBatchUpdateOrdersResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBatchUpdateOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType == 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SpotCancelSuccess = append(m.SpotCancelSuccess, bool(v != 0)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen + if elementCount != 0 && len(m.SpotCancelSuccess) == 0 { + m.SpotCancelSuccess = make([]bool, 0, elementCount) + } + for iNdEx < postIndex { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SpotCancelSuccess = append(m.SpotCancelSuccess, bool(v != 0)) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field SpotCancelSuccess", wireType) + } + case 2: + if wireType == 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DerivativeCancelSuccess = append(m.DerivativeCancelSuccess, bool(v != 0)) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + elementCount = packedLen + if elementCount != 0 && len(m.DerivativeCancelSuccess) == 0 { + m.DerivativeCancelSuccess = make([]bool, 0, elementCount) + } + for iNdEx < postIndex { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DerivativeCancelSuccess = append(m.DerivativeCancelSuccess, bool(v != 0)) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field DerivativeCancelSuccess", wireType) + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SpotOrderHashes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SpotOrderHashes = append(m.SpotOrderHashes, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrderHashes", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DerivativeOrderHashes = append(m.DerivativeOrderHashes, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *MsgCreateDerivativeMarketOrder) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -15402,6 +16588,270 @@ func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error { } return nil } +func (m *RewardPointUpdate) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RewardPointUpdate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RewardPointUpdate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccountAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AccountAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewPoints", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.NewPoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TradingRewardPointsUpdateProposal) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TradingRewardPointsUpdateProposal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TradingRewardPointsUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Title = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RewardPointUpdates", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RewardPointUpdates = append(m.RewardPointUpdates, &RewardPointUpdate{}) + if err := m.RewardPointUpdates[len(m.RewardPointUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 From f6eaa104b25ad3830e0bba12531b4f92a61cde2a Mon Sep 17 00:00:00 2001 From: Albert Chon Date: Fri, 24 Dec 2021 21:12:56 -0500 Subject: [PATCH 2/5] re-gen --- chain/peggy/types/events.pb.go | 2952 +++++++++++++++++++++++++------- 1 file changed, 2288 insertions(+), 664 deletions(-) diff --git a/chain/peggy/types/events.pb.go b/chain/peggy/types/events.pb.go index 16401aa4..5c54957d 100644 --- a/chain/peggy/types/events.pb.go +++ b/chain/peggy/types/events.pb.go @@ -5,6 +5,8 @@ package types import ( fmt "fmt" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" @@ -150,86 +152,19 @@ func (m *EventBridgeWithdrawCanceled) GetBridgeChainId() uint64 { return 0 } -type EventBridgeWithdrawalReceived struct { - BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"` - BridgeChainId uint64 `protobuf:"varint,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"` - OutgoingTxId uint64 `protobuf:"varint,3,opt,name=outgoing_tx_id,json=outgoingTxId,proto3" json:"outgoing_tx_id,omitempty"` - Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` -} - -func (m *EventBridgeWithdrawalReceived) Reset() { *m = EventBridgeWithdrawalReceived{} } -func (m *EventBridgeWithdrawalReceived) String() string { return proto.CompactTextString(m) } -func (*EventBridgeWithdrawalReceived) ProtoMessage() {} -func (*EventBridgeWithdrawalReceived) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{2} -} -func (m *EventBridgeWithdrawalReceived) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EventBridgeWithdrawalReceived) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EventBridgeWithdrawalReceived.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *EventBridgeWithdrawalReceived) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventBridgeWithdrawalReceived.Merge(m, src) -} -func (m *EventBridgeWithdrawalReceived) XXX_Size() int { - return m.Size() -} -func (m *EventBridgeWithdrawalReceived) XXX_DiscardUnknown() { - xxx_messageInfo_EventBridgeWithdrawalReceived.DiscardUnknown(m) -} - -var xxx_messageInfo_EventBridgeWithdrawalReceived proto.InternalMessageInfo - -func (m *EventBridgeWithdrawalReceived) GetBridgeContract() string { - if m != nil { - return m.BridgeContract - } - return "" -} - -func (m *EventBridgeWithdrawalReceived) GetBridgeChainId() uint64 { - if m != nil { - return m.BridgeChainId - } - return 0 -} - -func (m *EventBridgeWithdrawalReceived) GetOutgoingTxId() uint64 { - if m != nil { - return m.OutgoingTxId - } - return 0 -} - -func (m *EventBridgeWithdrawalReceived) GetNonce() uint64 { - if m != nil { - return m.Nonce - } - return 0 -} - type EventOutgoingBatch struct { - BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"` - BridgeChainId uint64 `protobuf:"varint,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"` - BatchId uint64 `protobuf:"varint,3,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` - Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` + BatchNonce uint64 `protobuf:"varint,3,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"` + BatchTimeout uint64 `protobuf:"varint,4,opt,name=batch_timeout,json=batchTimeout,proto3" json:"batch_timeout,omitempty"` + BatchTxIds []uint64 `protobuf:"varint,5,rep,packed,name=batch_tx_ids,json=batchTxIds,proto3" json:"batch_tx_ids,omitempty"` } func (m *EventOutgoingBatch) Reset() { *m = EventOutgoingBatch{} } func (m *EventOutgoingBatch) String() string { return proto.CompactTextString(m) } func (*EventOutgoingBatch) ProtoMessage() {} func (*EventOutgoingBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{3} + return fileDescriptor_95f217691d2f42c2, []int{2} } func (m *EventOutgoingBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -258,34 +193,41 @@ func (m *EventOutgoingBatch) XXX_DiscardUnknown() { var xxx_messageInfo_EventOutgoingBatch proto.InternalMessageInfo -func (m *EventOutgoingBatch) GetBridgeContract() string { +func (m *EventOutgoingBatch) GetDenom() string { if m != nil { - return m.BridgeContract + return m.Denom } return "" } -func (m *EventOutgoingBatch) GetBridgeChainId() uint64 { +func (m *EventOutgoingBatch) GetOrchestratorAddress() string { if m != nil { - return m.BridgeChainId + return m.OrchestratorAddress } - return 0 + return "" } -func (m *EventOutgoingBatch) GetBatchId() uint64 { +func (m *EventOutgoingBatch) GetBatchNonce() uint64 { if m != nil { - return m.BatchId + return m.BatchNonce } return 0 } -func (m *EventOutgoingBatch) GetNonce() uint64 { +func (m *EventOutgoingBatch) GetBatchTimeout() uint64 { if m != nil { - return m.Nonce + return m.BatchTimeout } return 0 } +func (m *EventOutgoingBatch) GetBatchTxIds() []uint64 { + if m != nil { + return m.BatchTxIds + } + return nil +} + type EventOutgoingBatchCanceled struct { BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"` BridgeChainId uint64 `protobuf:"varint,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"` @@ -297,7 +239,7 @@ func (m *EventOutgoingBatchCanceled) Reset() { *m = EventOutgoingBatchCa func (m *EventOutgoingBatchCanceled) String() string { return proto.CompactTextString(m) } func (*EventOutgoingBatchCanceled) ProtoMessage() {} func (*EventOutgoingBatchCanceled) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{4} + return fileDescriptor_95f217691d2f42c2, []int{3} } func (m *EventOutgoingBatchCanceled) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -354,25 +296,26 @@ func (m *EventOutgoingBatchCanceled) GetNonce() uint64 { return 0 } -type EventMultisigUpdateRequest struct { - BridgeContract string `protobuf:"bytes,1,opt,name=bridge_contract,json=bridgeContract,proto3" json:"bridge_contract,omitempty"` - BridgeChainId uint64 `protobuf:"varint,2,opt,name=bridge_chain_id,json=bridgeChainId,proto3" json:"bridge_chain_id,omitempty"` - MultisigId uint64 `protobuf:"varint,3,opt,name=multisig_id,json=multisigId,proto3" json:"multisig_id,omitempty"` - Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"` +type EventValsetUpdateRequest struct { + ValsetNonce uint64 `protobuf:"varint,1,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"` + ValsetHeight uint64 `protobuf:"varint,2,opt,name=valset_height,json=valsetHeight,proto3" json:"valset_height,omitempty"` + ValsetMembers []*BridgeValidator `protobuf:"bytes,3,rep,name=valset_members,json=valsetMembers,proto3" json:"valset_members,omitempty"` + RewardAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=reward_amount,json=rewardAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"reward_amount"` + RewardToken string `protobuf:"bytes,5,opt,name=reward_token,json=rewardToken,proto3" json:"reward_token,omitempty"` } -func (m *EventMultisigUpdateRequest) Reset() { *m = EventMultisigUpdateRequest{} } -func (m *EventMultisigUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*EventMultisigUpdateRequest) ProtoMessage() {} -func (*EventMultisigUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{5} +func (m *EventValsetUpdateRequest) Reset() { *m = EventValsetUpdateRequest{} } +func (m *EventValsetUpdateRequest) String() string { return proto.CompactTextString(m) } +func (*EventValsetUpdateRequest) ProtoMessage() {} +func (*EventValsetUpdateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_95f217691d2f42c2, []int{4} } -func (m *EventMultisigUpdateRequest) XXX_Unmarshal(b []byte) error { +func (m *EventValsetUpdateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventMultisigUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventValsetUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventMultisigUpdateRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_EventValsetUpdateRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -382,55 +325,57 @@ func (m *EventMultisigUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *EventMultisigUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventMultisigUpdateRequest.Merge(m, src) +func (m *EventValsetUpdateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventValsetUpdateRequest.Merge(m, src) } -func (m *EventMultisigUpdateRequest) XXX_Size() int { +func (m *EventValsetUpdateRequest) XXX_Size() int { return m.Size() } -func (m *EventMultisigUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EventMultisigUpdateRequest.DiscardUnknown(m) +func (m *EventValsetUpdateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EventValsetUpdateRequest.DiscardUnknown(m) } -var xxx_messageInfo_EventMultisigUpdateRequest proto.InternalMessageInfo +var xxx_messageInfo_EventValsetUpdateRequest proto.InternalMessageInfo -func (m *EventMultisigUpdateRequest) GetBridgeContract() string { +func (m *EventValsetUpdateRequest) GetValsetNonce() uint64 { if m != nil { - return m.BridgeContract + return m.ValsetNonce } - return "" + return 0 } -func (m *EventMultisigUpdateRequest) GetBridgeChainId() uint64 { +func (m *EventValsetUpdateRequest) GetValsetHeight() uint64 { if m != nil { - return m.BridgeChainId + return m.ValsetHeight } return 0 } -func (m *EventMultisigUpdateRequest) GetMultisigId() uint64 { +func (m *EventValsetUpdateRequest) GetValsetMembers() []*BridgeValidator { if m != nil { - return m.MultisigId + return m.ValsetMembers } - return 0 + return nil } -func (m *EventMultisigUpdateRequest) GetNonce() uint64 { +func (m *EventValsetUpdateRequest) GetRewardToken() string { if m != nil { - return m.Nonce + return m.RewardToken } - return 0 + return "" } type EventSetOrchestratorAddresses struct { - SetOperatorAddress []byte `protobuf:"bytes,1,opt,name=set_operator_address,json=setOperatorAddress,proto3" json:"set_operator_address,omitempty"` + ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` + OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` + OperatorEthAddress string `protobuf:"bytes,3,opt,name=operator_eth_address,json=operatorEthAddress,proto3" json:"operator_eth_address,omitempty"` } func (m *EventSetOrchestratorAddresses) Reset() { *m = EventSetOrchestratorAddresses{} } func (m *EventSetOrchestratorAddresses) String() string { return proto.CompactTextString(m) } func (*EventSetOrchestratorAddresses) ProtoMessage() {} func (*EventSetOrchestratorAddresses) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{6} + return fileDescriptor_95f217691d2f42c2, []int{5} } func (m *EventSetOrchestratorAddresses) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -459,22 +404,37 @@ func (m *EventSetOrchestratorAddresses) XXX_DiscardUnknown() { var xxx_messageInfo_EventSetOrchestratorAddresses proto.InternalMessageInfo -func (m *EventSetOrchestratorAddresses) GetSetOperatorAddress() []byte { +func (m *EventSetOrchestratorAddresses) GetValidatorAddress() string { if m != nil { - return m.SetOperatorAddress + return m.ValidatorAddress } - return nil + return "" +} + +func (m *EventSetOrchestratorAddresses) GetOrchestratorAddress() string { + if m != nil { + return m.OrchestratorAddress + } + return "" +} + +func (m *EventSetOrchestratorAddresses) GetOperatorEthAddress() string { + if m != nil { + return m.OperatorEthAddress + } + return "" } type EventValsetConfirm struct { - ValsetConfirmKey []byte `protobuf:"bytes,1,opt,name=valset_confirm_key,json=valsetConfirmKey,proto3" json:"valset_confirm_key,omitempty"` + ValsetNonce uint64 `protobuf:"varint,1,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"` + OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` } func (m *EventValsetConfirm) Reset() { *m = EventValsetConfirm{} } func (m *EventValsetConfirm) String() string { return proto.CompactTextString(m) } func (*EventValsetConfirm) ProtoMessage() {} func (*EventValsetConfirm) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{7} + return fileDescriptor_95f217691d2f42c2, []int{6} } func (m *EventValsetConfirm) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -503,22 +463,33 @@ func (m *EventValsetConfirm) XXX_DiscardUnknown() { var xxx_messageInfo_EventValsetConfirm proto.InternalMessageInfo -func (m *EventValsetConfirm) GetValsetConfirmKey() []byte { +func (m *EventValsetConfirm) GetValsetNonce() uint64 { if m != nil { - return m.ValsetConfirmKey + return m.ValsetNonce } - return nil + return 0 +} + +func (m *EventValsetConfirm) GetOrchestratorAddress() string { + if m != nil { + return m.OrchestratorAddress + } + return "" } type EventSendToEth struct { - OutgoingTxId uint64 `protobuf:"varint,1,opt,name=outgoing_tx_id,json=outgoingTxId,proto3" json:"outgoing_tx_id,omitempty"` + OutgoingTxId uint64 `protobuf:"varint,1,opt,name=outgoing_tx_id,json=outgoingTxId,proto3" json:"outgoing_tx_id,omitempty"` + Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` + Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` + Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"` + BridgeFee github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,5,opt,name=bridge_fee,json=bridgeFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"bridge_fee"` } func (m *EventSendToEth) Reset() { *m = EventSendToEth{} } func (m *EventSendToEth) String() string { return proto.CompactTextString(m) } func (*EventSendToEth) ProtoMessage() {} func (*EventSendToEth) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{8} + return fileDescriptor_95f217691d2f42c2, []int{7} } func (m *EventSendToEth) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -554,22 +525,37 @@ func (m *EventSendToEth) GetOutgoingTxId() uint64 { return 0 } -type EventRequestBatch struct { - BatchNonce uint64 `protobuf:"varint,1,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"` +func (m *EventSendToEth) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *EventSendToEth) GetReceiver() string { + if m != nil { + return m.Receiver + } + return "" } -func (m *EventRequestBatch) Reset() { *m = EventRequestBatch{} } -func (m *EventRequestBatch) String() string { return proto.CompactTextString(m) } -func (*EventRequestBatch) ProtoMessage() {} -func (*EventRequestBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{9} +type EventConfirmBatch struct { + BatchNonce uint64 `protobuf:"varint,1,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"` + OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` +} + +func (m *EventConfirmBatch) Reset() { *m = EventConfirmBatch{} } +func (m *EventConfirmBatch) String() string { return proto.CompactTextString(m) } +func (*EventConfirmBatch) ProtoMessage() {} +func (*EventConfirmBatch) Descriptor() ([]byte, []int) { + return fileDescriptor_95f217691d2f42c2, []int{8} } -func (m *EventRequestBatch) XXX_Unmarshal(b []byte) error { +func (m *EventConfirmBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventRequestBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventConfirmBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventRequestBatch.Marshal(b, m, deterministic) + return xxx_messageInfo_EventConfirmBatch.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -579,41 +565,50 @@ func (m *EventRequestBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *EventRequestBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventRequestBatch.Merge(m, src) +func (m *EventConfirmBatch) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventConfirmBatch.Merge(m, src) } -func (m *EventRequestBatch) XXX_Size() int { +func (m *EventConfirmBatch) XXX_Size() int { return m.Size() } -func (m *EventRequestBatch) XXX_DiscardUnknown() { - xxx_messageInfo_EventRequestBatch.DiscardUnknown(m) +func (m *EventConfirmBatch) XXX_DiscardUnknown() { + xxx_messageInfo_EventConfirmBatch.DiscardUnknown(m) } -var xxx_messageInfo_EventRequestBatch proto.InternalMessageInfo +var xxx_messageInfo_EventConfirmBatch proto.InternalMessageInfo -func (m *EventRequestBatch) GetBatchNonce() uint64 { +func (m *EventConfirmBatch) GetBatchNonce() uint64 { if m != nil { return m.BatchNonce } return 0 } -type EventConfirmBatch struct { - BatchConfirmKey []byte `protobuf:"bytes,1,opt,name=batch_confirm_key,json=batchConfirmKey,proto3" json:"batch_confirm_key,omitempty"` +func (m *EventConfirmBatch) GetOrchestratorAddress() string { + if m != nil { + return m.OrchestratorAddress + } + return "" } -func (m *EventConfirmBatch) Reset() { *m = EventConfirmBatch{} } -func (m *EventConfirmBatch) String() string { return proto.CompactTextString(m) } -func (*EventConfirmBatch) ProtoMessage() {} -func (*EventConfirmBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{10} +type EventAttestationVote struct { + EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` + AttestationId []byte `protobuf:"bytes,2,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` + Voter string `protobuf:"bytes,3,opt,name=voter,proto3" json:"voter,omitempty"` } -func (m *EventConfirmBatch) XXX_Unmarshal(b []byte) error { + +func (m *EventAttestationVote) Reset() { *m = EventAttestationVote{} } +func (m *EventAttestationVote) String() string { return proto.CompactTextString(m) } +func (*EventAttestationVote) ProtoMessage() {} +func (*EventAttestationVote) Descriptor() ([]byte, []int) { + return fileDescriptor_95f217691d2f42c2, []int{9} +} +func (m *EventAttestationVote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventConfirmBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventAttestationVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventConfirmBatch.Marshal(b, m, deterministic) + return xxx_messageInfo_EventAttestationVote.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -623,34 +618,55 @@ func (m *EventConfirmBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *EventConfirmBatch) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventConfirmBatch.Merge(m, src) +func (m *EventAttestationVote) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAttestationVote.Merge(m, src) } -func (m *EventConfirmBatch) XXX_Size() int { +func (m *EventAttestationVote) XXX_Size() int { return m.Size() } -func (m *EventConfirmBatch) XXX_DiscardUnknown() { - xxx_messageInfo_EventConfirmBatch.DiscardUnknown(m) +func (m *EventAttestationVote) XXX_DiscardUnknown() { + xxx_messageInfo_EventAttestationVote.DiscardUnknown(m) } -var xxx_messageInfo_EventConfirmBatch proto.InternalMessageInfo +var xxx_messageInfo_EventAttestationVote proto.InternalMessageInfo + +func (m *EventAttestationVote) GetEventNonce() uint64 { + if m != nil { + return m.EventNonce + } + return 0 +} -func (m *EventConfirmBatch) GetBatchConfirmKey() []byte { +func (m *EventAttestationVote) GetAttestationId() []byte { if m != nil { - return m.BatchConfirmKey + return m.AttestationId } return nil } +func (m *EventAttestationVote) GetVoter() string { + if m != nil { + return m.Voter + } + return "" +} + type EventDepositClaim struct { - AttestationId []byte `protobuf:"bytes,1,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` + EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` + EventHeight uint64 `protobuf:"varint,2,opt,name=event_height,json=eventHeight,proto3" json:"event_height,omitempty"` + AttestationId []byte `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` + EthereumSender string `protobuf:"bytes,4,opt,name=ethereum_sender,json=ethereumSender,proto3" json:"ethereum_sender,omitempty"` + CosmosReceiver string `protobuf:"bytes,5,opt,name=cosmos_receiver,json=cosmosReceiver,proto3" json:"cosmos_receiver,omitempty"` + TokenContract string `protobuf:"bytes,6,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"` + Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` + OrchestratorAddress string `protobuf:"bytes,8,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` } func (m *EventDepositClaim) Reset() { *m = EventDepositClaim{} } func (m *EventDepositClaim) String() string { return proto.CompactTextString(m) } func (*EventDepositClaim) ProtoMessage() {} func (*EventDepositClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{11} + return fileDescriptor_95f217691d2f42c2, []int{10} } func (m *EventDepositClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -679,6 +695,20 @@ func (m *EventDepositClaim) XXX_DiscardUnknown() { var xxx_messageInfo_EventDepositClaim proto.InternalMessageInfo +func (m *EventDepositClaim) GetEventNonce() uint64 { + if m != nil { + return m.EventNonce + } + return 0 +} + +func (m *EventDepositClaim) GetEventHeight() uint64 { + if m != nil { + return m.EventHeight + } + return 0 +} + func (m *EventDepositClaim) GetAttestationId() []byte { if m != nil { return m.AttestationId @@ -686,15 +716,48 @@ func (m *EventDepositClaim) GetAttestationId() []byte { return nil } +func (m *EventDepositClaim) GetEthereumSender() string { + if m != nil { + return m.EthereumSender + } + return "" +} + +func (m *EventDepositClaim) GetCosmosReceiver() string { + if m != nil { + return m.CosmosReceiver + } + return "" +} + +func (m *EventDepositClaim) GetTokenContract() string { + if m != nil { + return m.TokenContract + } + return "" +} + +func (m *EventDepositClaim) GetOrchestratorAddress() string { + if m != nil { + return m.OrchestratorAddress + } + return "" +} + type EventWithdrawClaim struct { - AttestationId []byte `protobuf:"bytes,1,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` + EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` + EventHeight uint64 `protobuf:"varint,2,opt,name=event_height,json=eventHeight,proto3" json:"event_height,omitempty"` + AttestationId []byte `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` + BatchNonce uint64 `protobuf:"varint,4,opt,name=batch_nonce,json=batchNonce,proto3" json:"batch_nonce,omitempty"` + TokenContract string `protobuf:"bytes,5,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"` + OrchestratorAddress string `protobuf:"bytes,6,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` } func (m *EventWithdrawClaim) Reset() { *m = EventWithdrawClaim{} } func (m *EventWithdrawClaim) String() string { return proto.CompactTextString(m) } func (*EventWithdrawClaim) ProtoMessage() {} func (*EventWithdrawClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{12} + return fileDescriptor_95f217691d2f42c2, []int{11} } func (m *EventWithdrawClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -723,6 +786,20 @@ func (m *EventWithdrawClaim) XXX_DiscardUnknown() { var xxx_messageInfo_EventWithdrawClaim proto.InternalMessageInfo +func (m *EventWithdrawClaim) GetEventNonce() uint64 { + if m != nil { + return m.EventNonce + } + return 0 +} + +func (m *EventWithdrawClaim) GetEventHeight() uint64 { + if m != nil { + return m.EventHeight + } + return 0 +} + func (m *EventWithdrawClaim) GetAttestationId() []byte { if m != nil { return m.AttestationId @@ -730,15 +807,44 @@ func (m *EventWithdrawClaim) GetAttestationId() []byte { return nil } +func (m *EventWithdrawClaim) GetBatchNonce() uint64 { + if m != nil { + return m.BatchNonce + } + return 0 +} + +func (m *EventWithdrawClaim) GetTokenContract() string { + if m != nil { + return m.TokenContract + } + return "" +} + +func (m *EventWithdrawClaim) GetOrchestratorAddress() string { + if m != nil { + return m.OrchestratorAddress + } + return "" +} + type EventERC20DeployedClaim struct { - AttestationId []byte `protobuf:"bytes,1,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` + EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` + EventHeight uint64 `protobuf:"varint,2,opt,name=event_height,json=eventHeight,proto3" json:"event_height,omitempty"` + AttestationId []byte `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` + CosmosDenom string `protobuf:"bytes,4,opt,name=cosmos_denom,json=cosmosDenom,proto3" json:"cosmos_denom,omitempty"` + TokenContract string `protobuf:"bytes,5,opt,name=token_contract,json=tokenContract,proto3" json:"token_contract,omitempty"` + Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + Symbol string `protobuf:"bytes,7,opt,name=symbol,proto3" json:"symbol,omitempty"` + Decimals uint64 `protobuf:"varint,8,opt,name=decimals,proto3" json:"decimals,omitempty"` + OrchestratorAddress string `protobuf:"bytes,9,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` } func (m *EventERC20DeployedClaim) Reset() { *m = EventERC20DeployedClaim{} } func (m *EventERC20DeployedClaim) String() string { return proto.CompactTextString(m) } func (*EventERC20DeployedClaim) ProtoMessage() {} func (*EventERC20DeployedClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{13} + return fileDescriptor_95f217691d2f42c2, []int{12} } func (m *EventERC20DeployedClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -767,6 +873,20 @@ func (m *EventERC20DeployedClaim) XXX_DiscardUnknown() { var xxx_messageInfo_EventERC20DeployedClaim proto.InternalMessageInfo +func (m *EventERC20DeployedClaim) GetEventNonce() uint64 { + if m != nil { + return m.EventNonce + } + return 0 +} + +func (m *EventERC20DeployedClaim) GetEventHeight() uint64 { + if m != nil { + return m.EventHeight + } + return 0 +} + func (m *EventERC20DeployedClaim) GetAttestationId() []byte { if m != nil { return m.AttestationId @@ -774,21 +894,70 @@ func (m *EventERC20DeployedClaim) GetAttestationId() []byte { return nil } -type EventValsetUpdateClaim struct { - AttestationId []byte `protobuf:"bytes,1,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` +func (m *EventERC20DeployedClaim) GetCosmosDenom() string { + if m != nil { + return m.CosmosDenom + } + return "" } -func (m *EventValsetUpdateClaim) Reset() { *m = EventValsetUpdateClaim{} } -func (m *EventValsetUpdateClaim) String() string { return proto.CompactTextString(m) } -func (*EventValsetUpdateClaim) ProtoMessage() {} -func (*EventValsetUpdateClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{14} -} -func (m *EventValsetUpdateClaim) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) +func (m *EventERC20DeployedClaim) GetTokenContract() string { + if m != nil { + return m.TokenContract + } + return "" } -func (m *EventValsetUpdateClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { + +func (m *EventERC20DeployedClaim) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *EventERC20DeployedClaim) GetSymbol() string { + if m != nil { + return m.Symbol + } + return "" +} + +func (m *EventERC20DeployedClaim) GetDecimals() uint64 { + if m != nil { + return m.Decimals + } + return 0 +} + +func (m *EventERC20DeployedClaim) GetOrchestratorAddress() string { + if m != nil { + return m.OrchestratorAddress + } + return "" +} + +type EventValsetUpdateClaim struct { + EventNonce uint64 `protobuf:"varint,1,opt,name=event_nonce,json=eventNonce,proto3" json:"event_nonce,omitempty"` + EventHeight uint64 `protobuf:"varint,2,opt,name=event_height,json=eventHeight,proto3" json:"event_height,omitempty"` + AttestationId []byte `protobuf:"bytes,3,opt,name=attestation_id,json=attestationId,proto3" json:"attestation_id,omitempty"` + ValsetNonce uint64 `protobuf:"varint,4,opt,name=valset_nonce,json=valsetNonce,proto3" json:"valset_nonce,omitempty"` + ValsetMembers []*BridgeValidator `protobuf:"bytes,5,rep,name=valset_members,json=valsetMembers,proto3" json:"valset_members,omitempty"` + RewardAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=reward_amount,json=rewardAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"reward_amount"` + RewardToken string `protobuf:"bytes,7,opt,name=reward_token,json=rewardToken,proto3" json:"reward_token,omitempty"` + OrchestratorAddress string `protobuf:"bytes,8,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` +} + +func (m *EventValsetUpdateClaim) Reset() { *m = EventValsetUpdateClaim{} } +func (m *EventValsetUpdateClaim) String() string { return proto.CompactTextString(m) } +func (*EventValsetUpdateClaim) ProtoMessage() {} +func (*EventValsetUpdateClaim) Descriptor() ([]byte, []int) { + return fileDescriptor_95f217691d2f42c2, []int{13} +} +func (m *EventValsetUpdateClaim) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventValsetUpdateClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { return xxx_messageInfo_EventValsetUpdateClaim.Marshal(b, m, deterministic) } else { b = b[:cap(b)] @@ -811,6 +980,20 @@ func (m *EventValsetUpdateClaim) XXX_DiscardUnknown() { var xxx_messageInfo_EventValsetUpdateClaim proto.InternalMessageInfo +func (m *EventValsetUpdateClaim) GetEventNonce() uint64 { + if m != nil { + return m.EventNonce + } + return 0 +} + +func (m *EventValsetUpdateClaim) GetEventHeight() uint64 { + if m != nil { + return m.EventHeight + } + return 0 +} + func (m *EventValsetUpdateClaim) GetAttestationId() []byte { if m != nil { return m.AttestationId @@ -818,6 +1001,34 @@ func (m *EventValsetUpdateClaim) GetAttestationId() []byte { return nil } +func (m *EventValsetUpdateClaim) GetValsetNonce() uint64 { + if m != nil { + return m.ValsetNonce + } + return 0 +} + +func (m *EventValsetUpdateClaim) GetValsetMembers() []*BridgeValidator { + if m != nil { + return m.ValsetMembers + } + return nil +} + +func (m *EventValsetUpdateClaim) GetRewardToken() string { + if m != nil { + return m.RewardToken + } + return "" +} + +func (m *EventValsetUpdateClaim) GetOrchestratorAddress() string { + if m != nil { + return m.OrchestratorAddress + } + return "" +} + type EventCancelSendToEth struct { OutgoingTxId uint64 `protobuf:"varint,1,opt,name=outgoing_tx_id,json=outgoingTxId,proto3" json:"outgoing_tx_id,omitempty"` } @@ -826,7 +1037,7 @@ func (m *EventCancelSendToEth) Reset() { *m = EventCancelSendToEth{} } func (m *EventCancelSendToEth) String() string { return proto.CompactTextString(m) } func (*EventCancelSendToEth) ProtoMessage() {} func (*EventCancelSendToEth) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{15} + return fileDescriptor_95f217691d2f42c2, []int{14} } func (m *EventCancelSendToEth) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -871,7 +1082,7 @@ func (m *EventSubmitBadSignatureEvidence) Reset() { *m = EventSubmitBadS func (m *EventSubmitBadSignatureEvidence) String() string { return proto.CompactTextString(m) } func (*EventSubmitBadSignatureEvidence) ProtoMessage() {} func (*EventSubmitBadSignatureEvidence) Descriptor() ([]byte, []int) { - return fileDescriptor_95f217691d2f42c2, []int{16} + return fileDescriptor_95f217691d2f42c2, []int{15} } func (m *EventSubmitBadSignatureEvidence) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -917,15 +1128,14 @@ func (m *EventSubmitBadSignatureEvidence) GetBadEthSignatureSubject() string { func init() { proto.RegisterType((*EventAttestationObserved)(nil), "injective.peggy.v1.EventAttestationObserved") proto.RegisterType((*EventBridgeWithdrawCanceled)(nil), "injective.peggy.v1.EventBridgeWithdrawCanceled") - proto.RegisterType((*EventBridgeWithdrawalReceived)(nil), "injective.peggy.v1.EventBridgeWithdrawalReceived") proto.RegisterType((*EventOutgoingBatch)(nil), "injective.peggy.v1.EventOutgoingBatch") proto.RegisterType((*EventOutgoingBatchCanceled)(nil), "injective.peggy.v1.EventOutgoingBatchCanceled") - proto.RegisterType((*EventMultisigUpdateRequest)(nil), "injective.peggy.v1.EventMultisigUpdateRequest") + proto.RegisterType((*EventValsetUpdateRequest)(nil), "injective.peggy.v1.EventValsetUpdateRequest") proto.RegisterType((*EventSetOrchestratorAddresses)(nil), "injective.peggy.v1.EventSetOrchestratorAddresses") proto.RegisterType((*EventValsetConfirm)(nil), "injective.peggy.v1.EventValsetConfirm") proto.RegisterType((*EventSendToEth)(nil), "injective.peggy.v1.EventSendToEth") - proto.RegisterType((*EventRequestBatch)(nil), "injective.peggy.v1.EventRequestBatch") proto.RegisterType((*EventConfirmBatch)(nil), "injective.peggy.v1.EventConfirmBatch") + proto.RegisterType((*EventAttestationVote)(nil), "injective.peggy.v1.EventAttestationVote") proto.RegisterType((*EventDepositClaim)(nil), "injective.peggy.v1.EventDepositClaim") proto.RegisterType((*EventWithdrawClaim)(nil), "injective.peggy.v1.EventWithdrawClaim") proto.RegisterType((*EventERC20DeployedClaim)(nil), "injective.peggy.v1.EventERC20DeployedClaim") @@ -937,53 +1147,81 @@ func init() { func init() { proto.RegisterFile("injective/peggy/v1/events.proto", fileDescriptor_95f217691d2f42c2) } var fileDescriptor_95f217691d2f42c2 = []byte{ - // 733 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4f, 0x6f, 0xd3, 0x4a, - 0x10, 0xef, 0xf6, 0xb5, 0xef, 0xcf, 0xb6, 0x4d, 0x5a, 0xab, 0xea, 0x4b, 0xfb, 0xd4, 0x24, 0x8a, - 0xfa, 0x20, 0x42, 0x90, 0xb4, 0x05, 0x21, 0xf1, 0x47, 0x2a, 0x4d, 0x1a, 0x89, 0xaa, 0x40, 0x84, - 0x5b, 0x40, 0xe2, 0x62, 0xad, 0xbd, 0x83, 0xbd, 0x90, 0x78, 0x8d, 0x77, 0x6d, 0x9a, 0x6f, 0xc0, - 0x91, 0x13, 0x47, 0x4e, 0x1c, 0xf9, 0x20, 0x1c, 0x7b, 0xe4, 0x88, 0xda, 0x6f, 0xc0, 0x27, 0x40, - 0x5e, 0x6f, 0x12, 0x8b, 0xa4, 0x12, 0x91, 0xda, 0xe3, 0xfe, 0x66, 0x7e, 0xb3, 0xbf, 0x9d, 0x99, - 0x9d, 0xc1, 0x25, 0xe6, 0xbf, 0x06, 0x47, 0xb2, 0x18, 0xea, 0x01, 0xb8, 0x6e, 0xaf, 0x1e, 0x6f, - 0xd5, 0x21, 0x06, 0x5f, 0x8a, 0x5a, 0x10, 0x72, 0xc9, 0x0d, 0x63, 0xe0, 0x50, 0x53, 0x0e, 0xb5, - 0x78, 0x6b, 0x6d, 0x63, 0x0c, 0x89, 0x48, 0x09, 0x42, 0x12, 0xc9, 0xb8, 0x9f, 0x32, 0x2b, 0x3f, - 0x10, 0x2e, 0xb4, 0x92, 0x50, 0xbb, 0x43, 0x53, 0xdb, 0x16, 0x10, 0xc6, 0x40, 0x8d, 0x87, 0x78, - 0x31, 0xc3, 0xb0, 0x64, 0x2f, 0x80, 0x02, 0x2a, 0xa3, 0x6a, 0x6e, 0x7b, 0xbd, 0x36, 0x7a, 0x63, -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0xfc, - 0x19, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x5c, 0x20, 0x6b, 0xca, 0x07, 0x00, 0x00, + // 1171 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcd, 0x6e, 0x1b, 0x37, + 0x10, 0xf6, 0x4a, 0x6b, 0x25, 0xa6, 0x65, 0x39, 0x66, 0x0d, 0x57, 0x71, 0x11, 0x59, 0x56, 0x12, + 0x5b, 0x68, 0x11, 0x29, 0x76, 0x4f, 0x05, 0x7a, 0xb1, 0x64, 0xa5, 0x71, 0x7f, 0x62, 0x60, 0xed, + 0xba, 0x40, 0x2f, 0x02, 0x77, 0x39, 0xd9, 0x65, 0xa2, 0x5d, 0xaa, 0x4b, 0x4a, 0x89, 0xcf, 0xbd, + 0xf4, 0xd8, 0x17, 0x68, 0x8f, 0xbd, 0xf7, 0x2d, 0x52, 0xf4, 0x92, 0x63, 0xd1, 0x43, 0x50, 0xd8, + 0x6f, 0x90, 0x63, 0x4f, 0xc5, 0x92, 0xd4, 0x5a, 0xf6, 0x4a, 0xa8, 0x63, 0x34, 0xe9, 0x49, 0xe2, + 0x70, 0x66, 0x38, 0xfc, 0xe6, 0xe3, 0xcc, 0x2c, 0x5a, 0x63, 0xd1, 0x13, 0xf0, 0x24, 0x1b, 0x42, + 0xb3, 0x0f, 0xbe, 0x7f, 0xdc, 0x1c, 0x6e, 0x35, 0x61, 0x08, 0x91, 0x14, 0x8d, 0x7e, 0xcc, 0x25, + 0xc7, 0x38, 0x55, 0x68, 0x28, 0x85, 0xc6, 0x70, 0x6b, 0x75, 0xd9, 0xe7, 0x3e, 0x57, 0xdb, 0xcd, + 0xe4, 0x9f, 0xd6, 0x5c, 0xbd, 0x33, 0xc1, 0x15, 0x91, 0x12, 0x84, 0x24, 0x92, 0xf1, 0xc8, 0x68, + 0x55, 0x26, 0x68, 0xc9, 0xe3, 0x3e, 0x98, 0xf3, 0x6a, 0xaf, 0x2d, 0x54, 0xee, 0x24, 0x01, 0xec, + 0x9c, 0x99, 0xee, 0xbb, 0x02, 0xe2, 0x21, 0x50, 0xfc, 0x10, 0xdd, 0x18, 0xf3, 0xd8, 0x4d, 0xec, + 0xca, 0x56, 0xd5, 0xaa, 0x97, 0xb6, 0x6f, 0x35, 0xb2, 0x71, 0x36, 0xda, 0x3d, 0xc2, 0xc2, 0xc3, + 0xe3, 0x3e, 0x38, 0x8b, 0x63, 0x66, 0x89, 0x00, 0x6f, 0xa2, 0x45, 0x37, 0x66, 0xd4, 0x87, 0xae, + 0xc7, 0x23, 0x19, 0x13, 0x4f, 0x96, 0x73, 0x55, 0xab, 0x3e, 0xe7, 0x94, 0xb4, 0xb8, 0x6d, 0xa4, + 0x78, 0xe3, 0x4c, 0x31, 0x20, 0x2c, 0xea, 0x32, 0x5a, 0xce, 0x57, 0xad, 0xba, 0xed, 0x2c, 0x18, + 0xc5, 0x44, 0xba, 0x47, 0xf1, 0x5d, 0x54, 0x1a, 0x0f, 0x8d, 0xd1, 0xb2, 0x5d, 0xb5, 0xea, 0x45, + 0x67, 0x61, 0x4c, 0xba, 0x47, 0xf1, 0x32, 0x9a, 0x8d, 0x78, 0xe4, 0x41, 0x79, 0x56, 0x39, 0xd1, + 0x8b, 0x5a, 0x84, 0x3e, 0x50, 0x77, 0x6e, 0x29, 0x97, 0xdf, 0x30, 0x19, 0xd0, 0x98, 0x3c, 0x6b, + 0x93, 0xc8, 0x83, 0x1e, 0xd0, 0x49, 0xc1, 0x5a, 0x97, 0x0d, 0x36, 0x37, 0x21, 0xd8, 0xda, 0xef, + 0x16, 0xc2, 0xea, 0xc0, 0xfd, 0x81, 0xf4, 0x39, 0x8b, 0xfc, 0x16, 0x91, 0x5e, 0x90, 0x04, 0x47, + 0x21, 0xe2, 0xa1, 0xf1, 0xae, 0x17, 0x78, 0x0b, 0x2d, 0xf3, 0xd8, 0x0b, 0x40, 0xc8, 0x98, 0x48, + 0x1e, 0x77, 0x09, 0xa5, 0x31, 0x08, 0x61, 0xf0, 0x7a, 0x6f, 0x7c, 0x6f, 0x47, 0x6f, 0xe1, 0x35, + 0x34, 0xef, 0x26, 0x1e, 0xbb, 0xfa, 0xae, 0x1a, 0x30, 0xa4, 0x44, 0x8f, 0x12, 0x09, 0xbe, 0x8d, + 0x16, 0xb4, 0x82, 0x64, 0x21, 0xf0, 0x81, 0x54, 0x60, 0xd9, 0x4e, 0x51, 0x09, 0x0f, 0xb5, 0x0c, + 0x6f, 0xa0, 0xa2, 0x51, 0x7a, 0xde, 0x65, 0x54, 0x94, 0x67, 0xab, 0xf9, 0xba, 0xdd, 0xb2, 0x5f, + 0xbc, 0x5a, 0x9b, 0x31, 0xce, 0x0e, 0x9f, 0xef, 0x51, 0x51, 0xfb, 0xd9, 0x42, 0xab, 0xd9, 0xdb, + 0xbc, 0x35, 0xf4, 0xf0, 0x4d, 0x74, 0x5d, 0xc7, 0x95, 0x72, 0xe1, 0x9a, 0x5a, 0x8f, 0xa7, 0xd7, + 0x1e, 0x4f, 0xef, 0x2f, 0x39, 0xc3, 0xe9, 0x23, 0xd2, 0x13, 0x20, 0xbf, 0xee, 0x53, 0x22, 0xc1, + 0x81, 0xef, 0x06, 0x20, 0x24, 0x5e, 0x47, 0xc5, 0xa1, 0x12, 0x1b, 0xb0, 0x2c, 0x65, 0x39, 0xaf, + 0x65, 0x29, 0x5a, 0x46, 0x25, 0x00, 0xe6, 0x07, 0xd2, 0x84, 0x65, 0xec, 0x1e, 0x2a, 0x19, 0xfe, + 0x1c, 0x95, 0x8c, 0x52, 0x08, 0xa1, 0x0b, 0xb1, 0x28, 0xe7, 0xab, 0xf9, 0xfa, 0xfc, 0xf6, 0xed, + 0x49, 0x2f, 0x43, 0x13, 0xed, 0x88, 0xf4, 0x18, 0x4d, 0xf2, 0xe6, 0x18, 0xff, 0x5f, 0x69, 0x4b, + 0x7c, 0x80, 0x16, 0x62, 0x78, 0x46, 0x62, 0x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0x03, 0x37, 0x49, 0x80, 0xe9, 0x4c, + 0x2b, 0x17, 0x6c, 0x0e, 0xf4, 0x6e, 0x0b, 0x5e, 0x9c, 0x54, 0xac, 0x97, 0x27, 0x15, 0xeb, 0xaf, + 0x93, 0x8a, 0xf5, 0xe3, 0x69, 0x65, 0xe6, 0xe5, 0x69, 0x65, 0xe6, 0x8f, 0xd3, 0xca, 0xcc, 0xb7, + 0x5f, 0x8c, 0xc1, 0xbd, 0x37, 0xca, 0xe5, 0x97, 0xc4, 0x15, 0xcd, 0x34, 0xb3, 0xf7, 0x3c, 0x1e, + 0xc3, 0xf8, 0x32, 0x19, 0x6d, 0x9b, 0x21, 0xa7, 0x83, 0x1e, 0x08, 0xf3, 0x61, 0xa6, 0xf2, 0xe2, + 0x16, 0xd4, 0x67, 0xd9, 0xc7, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x0e, 0xed, 0x47, 0x29, + 0x0e, 0x00, 0x00, } func (m *EventAttestationObserved) Marshal() (dAtA []byte, err error) { @@ -1073,51 +1311,6 @@ func (m *EventBridgeWithdrawCanceled) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *EventBridgeWithdrawalReceived) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *EventBridgeWithdrawalReceived) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EventBridgeWithdrawalReceived) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Nonce != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Nonce)) - i-- - dAtA[i] = 0x20 - } - if m.OutgoingTxId != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.OutgoingTxId)) - i-- - dAtA[i] = 0x18 - } - if m.BridgeChainId != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BridgeChainId)) - i-- - dAtA[i] = 0x10 - } - if len(m.BridgeContract) > 0 { - i -= len(m.BridgeContract) - copy(dAtA[i:], m.BridgeContract) - i = encodeVarintEvents(dAtA, i, uint64(len(m.BridgeContract))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *EventOutgoingBatch) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1138,25 +1331,45 @@ func (m *EventOutgoingBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Nonce != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Nonce)) + if len(m.BatchTxIds) > 0 { + dAtA2 := make([]byte, len(m.BatchTxIds)*10) + var j1 int + for _, num := range m.BatchTxIds { + for num >= 1<<7 { + dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA2[j1] = uint8(num) + j1++ + } + i -= j1 + copy(dAtA[i:], dAtA2[:j1]) + i = encodeVarintEvents(dAtA, i, uint64(j1)) + i-- + dAtA[i] = 0x2a + } + if m.BatchTimeout != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BatchTimeout)) i-- dAtA[i] = 0x20 } - if m.BatchId != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BatchId)) + if m.BatchNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BatchNonce)) i-- dAtA[i] = 0x18 } - if m.BridgeChainId != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BridgeChainId)) + if len(m.OrchestratorAddress) > 0 { + i -= len(m.OrchestratorAddress) + copy(dAtA[i:], m.OrchestratorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.BridgeContract) > 0 { - i -= len(m.BridgeContract) - copy(dAtA[i:], m.BridgeContract) - i = encodeVarintEvents(dAtA, i, uint64(len(m.BridgeContract))) + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Denom))) i-- dAtA[i] = 0xa } @@ -1208,7 +1421,7 @@ func (m *EventOutgoingBatchCanceled) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *EventMultisigUpdateRequest) Marshal() (dAtA []byte, err error) { +func (m *EventValsetUpdateRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1218,37 +1431,56 @@ func (m *EventMultisigUpdateRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventMultisigUpdateRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *EventValsetUpdateRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventMultisigUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventValsetUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Nonce != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Nonce)) + if len(m.RewardToken) > 0 { + i -= len(m.RewardToken) + copy(dAtA[i:], m.RewardToken) + i = encodeVarintEvents(dAtA, i, uint64(len(m.RewardToken))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x2a } - if m.MultisigId != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.MultisigId)) - i-- - dAtA[i] = 0x18 + { + size := m.RewardAmount.Size() + i -= size + if _, err := m.RewardAmount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if len(m.ValsetMembers) > 0 { + for iNdEx := len(m.ValsetMembers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ValsetMembers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } } - if m.BridgeChainId != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BridgeChainId)) + if m.ValsetHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.ValsetHeight)) i-- dAtA[i] = 0x10 } - if len(m.BridgeContract) > 0 { - i -= len(m.BridgeContract) - copy(dAtA[i:], m.BridgeContract) - i = encodeVarintEvents(dAtA, i, uint64(len(m.BridgeContract))) + if m.ValsetNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.ValsetNonce)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1273,10 +1505,24 @@ func (m *EventSetOrchestratorAddresses) MarshalToSizedBuffer(dAtA []byte) (int, _ = i var l int _ = l - if len(m.SetOperatorAddress) > 0 { - i -= len(m.SetOperatorAddress) - copy(dAtA[i:], m.SetOperatorAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.SetOperatorAddress))) + if len(m.OperatorEthAddress) > 0 { + i -= len(m.OperatorEthAddress) + copy(dAtA[i:], m.OperatorEthAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OperatorEthAddress))) + i-- + dAtA[i] = 0x1a + } + if len(m.OrchestratorAddress) > 0 { + i -= len(m.OrchestratorAddress) + copy(dAtA[i:], m.OrchestratorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress))) + i-- + dAtA[i] = 0x12 + } + if len(m.ValidatorAddress) > 0 { + i -= len(m.ValidatorAddress) + copy(dAtA[i:], m.ValidatorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ValidatorAddress))) i-- dAtA[i] = 0xa } @@ -1303,12 +1549,17 @@ func (m *EventValsetConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ValsetConfirmKey) > 0 { - i -= len(m.ValsetConfirmKey) - copy(dAtA[i:], m.ValsetConfirmKey) - i = encodeVarintEvents(dAtA, i, uint64(len(m.ValsetConfirmKey))) + if len(m.OrchestratorAddress) > 0 { + i -= len(m.OrchestratorAddress) + copy(dAtA[i:], m.OrchestratorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.ValsetNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.ValsetNonce)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1333,6 +1584,40 @@ func (m *EventSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + { + size := m.BridgeFee.Size() + i -= size + if _, err := m.BridgeFee.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + { + size := m.Amount.Size() + i -= size + if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if len(m.Receiver) > 0 { + i -= len(m.Receiver) + copy(dAtA[i:], m.Receiver) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Receiver))) + i-- + dAtA[i] = 0x1a + } + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0x12 + } if m.OutgoingTxId != 0 { i = encodeVarintEvents(dAtA, i, uint64(m.OutgoingTxId)) i-- @@ -1341,7 +1626,7 @@ func (m *EventSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventRequestBatch) Marshal() (dAtA []byte, err error) { +func (m *EventConfirmBatch) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1351,16 +1636,23 @@ func (m *EventRequestBatch) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventRequestBatch) MarshalTo(dAtA []byte) (int, error) { +func (m *EventConfirmBatch) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventRequestBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventConfirmBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.OrchestratorAddress) > 0 { + i -= len(m.OrchestratorAddress) + copy(dAtA[i:], m.OrchestratorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress))) + i-- + dAtA[i] = 0x12 + } if m.BatchNonce != 0 { i = encodeVarintEvents(dAtA, i, uint64(m.BatchNonce)) i-- @@ -1369,7 +1661,7 @@ func (m *EventRequestBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventConfirmBatch) Marshal() (dAtA []byte, err error) { +func (m *EventAttestationVote) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1379,22 +1671,34 @@ func (m *EventConfirmBatch) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventConfirmBatch) MarshalTo(dAtA []byte) (int, error) { +func (m *EventAttestationVote) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventConfirmBatch) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventAttestationVote) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.BatchConfirmKey) > 0 { - i -= len(m.BatchConfirmKey) - copy(dAtA[i:], m.BatchConfirmKey) - i = encodeVarintEvents(dAtA, i, uint64(len(m.BatchConfirmKey))) + if len(m.Voter) > 0 { + i -= len(m.Voter) + copy(dAtA[i:], m.Voter) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Voter))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if len(m.AttestationId) > 0 { + i -= len(m.AttestationId) + copy(dAtA[i:], m.AttestationId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId))) + i-- + dAtA[i] = 0x12 + } + if m.EventNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1419,12 +1723,60 @@ func (m *EventDepositClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.OrchestratorAddress) > 0 { + i -= len(m.OrchestratorAddress) + copy(dAtA[i:], m.OrchestratorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress))) + i-- + dAtA[i] = 0x42 + } + { + size := m.Amount.Size() + i -= size + if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + if len(m.TokenContract) > 0 { + i -= len(m.TokenContract) + copy(dAtA[i:], m.TokenContract) + i = encodeVarintEvents(dAtA, i, uint64(len(m.TokenContract))) + i-- + dAtA[i] = 0x32 + } + if len(m.CosmosReceiver) > 0 { + i -= len(m.CosmosReceiver) + copy(dAtA[i:], m.CosmosReceiver) + i = encodeVarintEvents(dAtA, i, uint64(len(m.CosmosReceiver))) + i-- + dAtA[i] = 0x2a + } + if len(m.EthereumSender) > 0 { + i -= len(m.EthereumSender) + copy(dAtA[i:], m.EthereumSender) + i = encodeVarintEvents(dAtA, i, uint64(len(m.EthereumSender))) + i-- + dAtA[i] = 0x22 + } if len(m.AttestationId) > 0 { i -= len(m.AttestationId) copy(dAtA[i:], m.AttestationId) i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if m.EventHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventHeight)) + i-- + dAtA[i] = 0x10 + } + if m.EventNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1449,12 +1801,41 @@ func (m *EventWithdrawClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.OrchestratorAddress) > 0 { + i -= len(m.OrchestratorAddress) + copy(dAtA[i:], m.OrchestratorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress))) + i-- + dAtA[i] = 0x32 + } + if len(m.TokenContract) > 0 { + i -= len(m.TokenContract) + copy(dAtA[i:], m.TokenContract) + i = encodeVarintEvents(dAtA, i, uint64(len(m.TokenContract))) + i-- + dAtA[i] = 0x2a + } + if m.BatchNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BatchNonce)) + i-- + dAtA[i] = 0x20 + } if len(m.AttestationId) > 0 { i -= len(m.AttestationId) copy(dAtA[i:], m.AttestationId) i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if m.EventHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventHeight)) + i-- + dAtA[i] = 0x10 + } + if m.EventNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1479,12 +1860,62 @@ func (m *EventERC20DeployedClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if len(m.OrchestratorAddress) > 0 { + i -= len(m.OrchestratorAddress) + copy(dAtA[i:], m.OrchestratorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress))) + i-- + dAtA[i] = 0x4a + } + if m.Decimals != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.Decimals)) + i-- + dAtA[i] = 0x40 + } + if len(m.Symbol) > 0 { + i -= len(m.Symbol) + copy(dAtA[i:], m.Symbol) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Symbol))) + i-- + dAtA[i] = 0x3a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x32 + } + if len(m.TokenContract) > 0 { + i -= len(m.TokenContract) + copy(dAtA[i:], m.TokenContract) + i = encodeVarintEvents(dAtA, i, uint64(len(m.TokenContract))) + i-- + dAtA[i] = 0x2a + } + if len(m.CosmosDenom) > 0 { + i -= len(m.CosmosDenom) + copy(dAtA[i:], m.CosmosDenom) + i = encodeVarintEvents(dAtA, i, uint64(len(m.CosmosDenom))) + i-- + dAtA[i] = 0x22 + } if len(m.AttestationId) > 0 { i -= len(m.AttestationId) copy(dAtA[i:], m.AttestationId) i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if m.EventHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventHeight)) + i-- + dAtA[i] = 0x10 + } + if m.EventNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1509,12 +1940,65 @@ func (m *EventValsetUpdateClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if len(m.OrchestratorAddress) > 0 { + i -= len(m.OrchestratorAddress) + copy(dAtA[i:], m.OrchestratorAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OrchestratorAddress))) + i-- + dAtA[i] = 0x42 + } + if len(m.RewardToken) > 0 { + i -= len(m.RewardToken) + copy(dAtA[i:], m.RewardToken) + i = encodeVarintEvents(dAtA, i, uint64(len(m.RewardToken))) + i-- + dAtA[i] = 0x3a + } + { + size := m.RewardAmount.Size() + i -= size + if _, err := m.RewardAmount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + if len(m.ValsetMembers) > 0 { + for iNdEx := len(m.ValsetMembers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ValsetMembers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.ValsetNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.ValsetNonce)) + i-- + dAtA[i] = 0x20 + } if len(m.AttestationId) > 0 { i -= len(m.AttestationId) copy(dAtA[i:], m.AttestationId) i = encodeVarintEvents(dAtA, i, uint64(len(m.AttestationId))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if m.EventHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventHeight)) + i-- + dAtA[i] = 0x10 + } + if m.EventNonce != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EventNonce)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } @@ -1637,46 +2121,32 @@ func (m *EventBridgeWithdrawCanceled) Size() (n int) { return n } -func (m *EventBridgeWithdrawalReceived) Size() (n int) { +func (m *EventOutgoingBatch) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.BridgeContract) + l = len(m.Denom) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } - if m.BridgeChainId != 0 { - n += 1 + sovEvents(uint64(m.BridgeChainId)) - } - if m.OutgoingTxId != 0 { - n += 1 + sovEvents(uint64(m.OutgoingTxId)) - } - if m.Nonce != 0 { - n += 1 + sovEvents(uint64(m.Nonce)) - } - return n -} - -func (m *EventOutgoingBatch) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.BridgeContract) + l = len(m.OrchestratorAddress) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } - if m.BridgeChainId != 0 { - n += 1 + sovEvents(uint64(m.BridgeChainId)) + if m.BatchNonce != 0 { + n += 1 + sovEvents(uint64(m.BatchNonce)) } - if m.BatchId != 0 { - n += 1 + sovEvents(uint64(m.BatchId)) + if m.BatchTimeout != 0 { + n += 1 + sovEvents(uint64(m.BatchTimeout)) } - if m.Nonce != 0 { - n += 1 + sovEvents(uint64(m.Nonce)) + if len(m.BatchTxIds) > 0 { + l = 0 + for _, e := range m.BatchTxIds { + l += sovEvents(uint64(e)) + } + n += 1 + sovEvents(uint64(l)) + l } return n } @@ -1703,24 +2173,29 @@ func (m *EventOutgoingBatchCanceled) Size() (n int) { return n } -func (m *EventMultisigUpdateRequest) Size() (n int) { +func (m *EventValsetUpdateRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.BridgeContract) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if m.ValsetNonce != 0 { + n += 1 + sovEvents(uint64(m.ValsetNonce)) } - if m.BridgeChainId != 0 { - n += 1 + sovEvents(uint64(m.BridgeChainId)) + if m.ValsetHeight != 0 { + n += 1 + sovEvents(uint64(m.ValsetHeight)) } - if m.MultisigId != 0 { - n += 1 + sovEvents(uint64(m.MultisigId)) + if len(m.ValsetMembers) > 0 { + for _, e := range m.ValsetMembers { + l = e.Size() + n += 1 + l + sovEvents(uint64(l)) + } } - if m.Nonce != 0 { - n += 1 + sovEvents(uint64(m.Nonce)) + l = m.RewardAmount.Size() + n += 1 + l + sovEvents(uint64(l)) + l = len(m.RewardToken) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) } return n } @@ -1731,7 +2206,15 @@ func (m *EventSetOrchestratorAddresses) Size() (n int) { } var l int _ = l - l = len(m.SetOperatorAddress) + l = len(m.ValidatorAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.OrchestratorAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.OperatorEthAddress) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -1744,7 +2227,10 @@ func (m *EventValsetConfirm) Size() (n int) { } var l int _ = l - l = len(m.ValsetConfirmKey) + if m.ValsetNonce != 0 { + n += 1 + sovEvents(uint64(m.ValsetNonce)) + } + l = len(m.OrchestratorAddress) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -1760,10 +2246,22 @@ func (m *EventSendToEth) Size() (n int) { if m.OutgoingTxId != 0 { n += 1 + sovEvents(uint64(m.OutgoingTxId)) } + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.Receiver) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.Amount.Size() + n += 1 + l + sovEvents(uint64(l)) + l = m.BridgeFee.Size() + n += 1 + l + sovEvents(uint64(l)) return n } -func (m *EventRequestBatch) Size() (n int) { +func (m *EventConfirmBatch) Size() (n int) { if m == nil { return 0 } @@ -1772,16 +2270,27 @@ func (m *EventRequestBatch) Size() (n int) { if m.BatchNonce != 0 { n += 1 + sovEvents(uint64(m.BatchNonce)) } + l = len(m.OrchestratorAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } return n } -func (m *EventConfirmBatch) Size() (n int) { +func (m *EventAttestationVote) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.BatchConfirmKey) + if m.EventNonce != 0 { + n += 1 + sovEvents(uint64(m.EventNonce)) + } + l = len(m.AttestationId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.Voter) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } @@ -1794,10 +2303,34 @@ func (m *EventDepositClaim) Size() (n int) { } var l int _ = l + if m.EventNonce != 0 { + n += 1 + sovEvents(uint64(m.EventNonce)) + } + if m.EventHeight != 0 { + n += 1 + sovEvents(uint64(m.EventHeight)) + } l = len(m.AttestationId) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } + l = len(m.EthereumSender) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.CosmosReceiver) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.TokenContract) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.Amount.Size() + n += 1 + l + sovEvents(uint64(l)) + l = len(m.OrchestratorAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } return n } @@ -1807,10 +2340,27 @@ func (m *EventWithdrawClaim) Size() (n int) { } var l int _ = l + if m.EventNonce != 0 { + n += 1 + sovEvents(uint64(m.EventNonce)) + } + if m.EventHeight != 0 { + n += 1 + sovEvents(uint64(m.EventHeight)) + } l = len(m.AttestationId) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } + if m.BatchNonce != 0 { + n += 1 + sovEvents(uint64(m.BatchNonce)) + } + l = len(m.TokenContract) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.OrchestratorAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } return n } @@ -1820,10 +2370,39 @@ func (m *EventERC20DeployedClaim) Size() (n int) { } var l int _ = l + if m.EventNonce != 0 { + n += 1 + sovEvents(uint64(m.EventNonce)) + } + if m.EventHeight != 0 { + n += 1 + sovEvents(uint64(m.EventHeight)) + } l = len(m.AttestationId) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } + l = len(m.CosmosDenom) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.TokenContract) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.Symbol) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.Decimals != 0 { + n += 1 + sovEvents(uint64(m.Decimals)) + } + l = len(m.OrchestratorAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } return n } @@ -1833,10 +2412,35 @@ func (m *EventValsetUpdateClaim) Size() (n int) { } var l int _ = l + if m.EventNonce != 0 { + n += 1 + sovEvents(uint64(m.EventNonce)) + } + if m.EventHeight != 0 { + n += 1 + sovEvents(uint64(m.EventHeight)) + } l = len(m.AttestationId) if l > 0 { n += 1 + l + sovEvents(uint64(l)) } + if m.ValsetNonce != 0 { + n += 1 + sovEvents(uint64(m.ValsetNonce)) + } + if len(m.ValsetMembers) > 0 { + for _, e := range m.ValsetMembers { + l = e.Size() + n += 1 + l + sovEvents(uint64(l)) + } + } + l = m.RewardAmount.Size() + n += 1 + l + sovEvents(uint64(l)) + l = len(m.RewardToken) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.OrchestratorAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } return n } @@ -2149,7 +2753,7 @@ func (m *EventBridgeWithdrawCanceled) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventBridgeWithdrawalReceived) Unmarshal(dAtA []byte) error { +func (m *EventOutgoingBatch) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2172,15 +2776,15 @@ func (m *EventBridgeWithdrawalReceived) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventBridgeWithdrawalReceived: wiretype end group for non-group") + return fmt.Errorf("proto: EventOutgoingBatch: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventBridgeWithdrawalReceived: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventOutgoingBatch: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BridgeContract", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2208,13 +2812,13 @@ func (m *EventBridgeWithdrawalReceived) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.BridgeContract = string(dAtA[iNdEx:postIndex]) + m.Denom = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BridgeChainId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) } - m.BridgeChainId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2224,16 +2828,29 @@ func (m *EventBridgeWithdrawalReceived) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BridgeChainId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OutgoingTxId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BatchNonce", wireType) } - m.OutgoingTxId = 0 + m.BatchNonce = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2243,16 +2860,16 @@ func (m *EventBridgeWithdrawalReceived) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.OutgoingTxId |= uint64(b&0x7F) << shift + m.BatchNonce |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BatchTimeout", wireType) } - m.Nonce = 0 + m.BatchTimeout = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2262,11 +2879,87 @@ func (m *EventBridgeWithdrawalReceived) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Nonce |= uint64(b&0x7F) << shift + m.BatchTimeout |= uint64(b&0x7F) << shift if b < 0x80 { break } } + case 5: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.BatchTxIds = append(m.BatchTxIds, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.BatchTxIds) == 0 { + m.BatchTxIds = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.BatchTxIds = append(m.BatchTxIds, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field BatchTxIds", wireType) + } default: iNdEx = preIndex skippy, err := skipEvents(dAtA[iNdEx:]) @@ -2288,7 +2981,7 @@ func (m *EventBridgeWithdrawalReceived) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventOutgoingBatch) Unmarshal(dAtA []byte) error { +func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2311,10 +3004,10 @@ func (m *EventOutgoingBatch) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventOutgoingBatch: wiretype end group for non-group") + return fmt.Errorf("proto: EventOutgoingBatchCanceled: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventOutgoingBatch: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventOutgoingBatchCanceled: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2427,7 +3120,7 @@ func (m *EventOutgoingBatch) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error { +func (m *EventValsetUpdateRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2450,17 +3143,17 @@ func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventOutgoingBatchCanceled: wiretype end group for non-group") + return fmt.Errorf("proto: EventValsetUpdateRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventOutgoingBatchCanceled: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventValsetUpdateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BridgeContract", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ValsetNonce", wireType) } - var stringLen uint64 + m.ValsetNonce = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2470,29 +3163,16 @@ func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.ValsetNonce |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthEvents - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthEvents - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.BridgeContract = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BridgeChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ValsetHeight", wireType) } - m.BridgeChainId = 0 + m.ValsetHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2502,16 +3182,16 @@ func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BridgeChainId |= uint64(b&0x7F) << shift + m.ValsetHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BatchId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ValsetMembers", wireType) } - m.BatchId = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2521,16 +3201,31 @@ func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BatchId |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ValsetMembers = append(m.ValsetMembers, &BridgeValidator{}) + if err := m.ValsetMembers[len(m.ValsetMembers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RewardAmount", wireType) } - m.Nonce = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2540,11 +3235,58 @@ func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Nonce |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.RewardAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RewardToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RewardToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipEvents(dAtA[iNdEx:]) @@ -2566,7 +3308,7 @@ func (m *EventOutgoingBatchCanceled) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventMultisigUpdateRequest) Unmarshal(dAtA []byte) error { +func (m *EventSetOrchestratorAddresses) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2589,15 +3331,15 @@ func (m *EventMultisigUpdateRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventMultisigUpdateRequest: wiretype end group for non-group") + return fmt.Errorf("proto: EventSetOrchestratorAddresses: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventMultisigUpdateRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventSetOrchestratorAddresses: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BridgeContract", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2625,13 +3367,13 @@ func (m *EventMultisigUpdateRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.BridgeContract = string(dAtA[iNdEx:postIndex]) + m.ValidatorAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BridgeChainId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) } - m.BridgeChainId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2641,16 +3383,29 @@ func (m *EventMultisigUpdateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BridgeChainId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MultisigId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OperatorEthAddress", wireType) } - m.MultisigId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2660,30 +3415,24 @@ func (m *EventMultisigUpdateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MultisigId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents } - m.Nonce = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Nonce |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.OperatorEthAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipEvents(dAtA[iNdEx:]) @@ -2705,7 +3454,7 @@ func (m *EventMultisigUpdateRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventSetOrchestratorAddresses) Unmarshal(dAtA []byte) error { +func (m *EventValsetConfirm) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2728,17 +3477,36 @@ func (m *EventSetOrchestratorAddresses) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventSetOrchestratorAddresses: wiretype end group for non-group") + return fmt.Errorf("proto: EventValsetConfirm: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventSetOrchestratorAddresses: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventValsetConfirm: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ValsetNonce", wireType) + } + m.ValsetNonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ValsetNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SetOperatorAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2748,25 +3516,23 @@ func (m *EventSetOrchestratorAddresses) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - m.SetOperatorAddress = append(m.SetOperatorAddress[:0], dAtA[iNdEx:postIndex]...) - if m.SetOperatorAddress == nil { - m.SetOperatorAddress = []byte{} - } + m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -2789,7 +3555,7 @@ func (m *EventSetOrchestratorAddresses) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventValsetConfirm) Unmarshal(dAtA []byte) error { +func (m *EventSendToEth) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2812,17 +3578,36 @@ func (m *EventValsetConfirm) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventValsetConfirm: wiretype end group for non-group") + return fmt.Errorf("proto: EventSendToEth: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventValsetConfirm: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventSendToEth: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OutgoingTxId", wireType) + } + m.OutgoingTxId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.OutgoingTxId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ValsetConfirmKey", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2832,24 +3617,122 @@ func (m *EventValsetConfirm) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Receiver", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Receiver = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BridgeFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - m.ValsetConfirmKey = append(m.ValsetConfirmKey[:0], dAtA[iNdEx:postIndex]...) - if m.ValsetConfirmKey == nil { - m.ValsetConfirmKey = []byte{} + if err := m.BridgeFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -2873,7 +3756,7 @@ func (m *EventValsetConfirm) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventSendToEth) Unmarshal(dAtA []byte) error { +func (m *EventConfirmBatch) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2896,17 +3779,17 @@ func (m *EventSendToEth) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventSendToEth: wiretype end group for non-group") + return fmt.Errorf("proto: EventConfirmBatch: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventSendToEth: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventConfirmBatch: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OutgoingTxId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BatchNonce", wireType) } - m.OutgoingTxId = 0 + m.BatchNonce = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2916,11 +3799,43 @@ func (m *EventSendToEth) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.OutgoingTxId |= uint64(b&0x7F) << shift + m.BatchNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipEvents(dAtA[iNdEx:]) @@ -2942,7 +3857,7 @@ func (m *EventSendToEth) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventRequestBatch) Unmarshal(dAtA []byte) error { +func (m *EventAttestationVote) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2965,17 +3880,17 @@ func (m *EventRequestBatch) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventRequestBatch: wiretype end group for non-group") + return fmt.Errorf("proto: EventAttestationVote: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventRequestBatch: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventAttestationVote: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BatchNonce", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) } - m.BatchNonce = 0 + m.EventNonce = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -2985,64 +3900,14 @@ func (m *EventRequestBatch) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BatchNonce |= uint64(b&0x7F) << shift + m.EventNonce |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipEvents(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthEvents - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EventConfirmBatch) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EventConfirmBatch: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventConfirmBatch: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BatchConfirmKey", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -3069,66 +3934,16 @@ func (m *EventConfirmBatch) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.BatchConfirmKey = append(m.BatchConfirmKey[:0], dAtA[iNdEx:postIndex]...) - if m.BatchConfirmKey == nil { - m.BatchConfirmKey = []byte{} + m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...) + if m.AttestationId == nil { + m.AttestationId = []byte{} } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipEvents(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthEvents - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EventDepositClaim) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EventDepositClaim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventDepositClaim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Voter", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -3138,25 +3953,23 @@ func (m *EventDepositClaim) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...) - if m.AttestationId == nil { - m.AttestationId = []byte{} - } + m.Voter = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -3179,7 +3992,7 @@ func (m *EventDepositClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventWithdrawClaim) Unmarshal(dAtA []byte) error { +func (m *EventDepositClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3202,13 +4015,51 @@ func (m *EventWithdrawClaim) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventWithdrawClaim: wiretype end group for non-group") + return fmt.Errorf("proto: EventDepositClaim: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventWithdrawClaim: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventDepositClaim: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) + } + m.EventNonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventHeight", wireType) + } + m.EventHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType) } @@ -3242,61 +4093,43 @@ func (m *EventWithdrawClaim) Unmarshal(dAtA []byte) error { m.AttestationId = []byte{} } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipEvents(dAtA[iNdEx:]) - if err != nil { - return err + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EthereumSender", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthEvents + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EventERC20DeployedClaim) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EventERC20DeployedClaim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventERC20DeployedClaim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.EthereumSender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CosmosReceiver", wireType) } - var byteLen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -3306,36 +4139,638 @@ func (m *EventERC20DeployedClaim) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + byteLen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...) - if m.AttestationId == nil { - m.AttestationId = []byte{} - } + m.CosmosReceiver = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipEvents(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthEvents + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType) } - if (iNdEx + skippy) > l { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TokenContract = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventWithdrawClaim) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventWithdrawClaim: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventWithdrawClaim: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) + } + m.EventNonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventHeight", wireType) + } + m.EventHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...) + if m.AttestationId == nil { + m.AttestationId = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BatchNonce", wireType) + } + m.BatchNonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BatchNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TokenContract = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventERC20DeployedClaim) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventERC20DeployedClaim: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventERC20DeployedClaim: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) + } + m.EventNonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventHeight", wireType) + } + m.EventHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AttestationId = append(m.AttestationId[:0], dAtA[iNdEx:postIndex]...) + if m.AttestationId == nil { + m.AttestationId = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CosmosDenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CosmosDenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TokenContract", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TokenContract = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Symbol", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Symbol = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Decimals", wireType) + } + m.Decimals = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Decimals |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } iNdEx += skippy @@ -3377,6 +4812,44 @@ func (m *EventValsetUpdateClaim) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventNonce", wireType) + } + m.EventNonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventHeight", wireType) + } + m.EventHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AttestationId", wireType) } @@ -3410,6 +4883,157 @@ func (m *EventValsetUpdateClaim) Unmarshal(dAtA []byte) error { m.AttestationId = []byte{} } iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ValsetNonce", wireType) + } + m.ValsetNonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ValsetNonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ValsetMembers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ValsetMembers = append(m.ValsetMembers, &BridgeValidator{}) + if err := m.ValsetMembers[len(m.ValsetMembers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RewardAmount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.RewardAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RewardToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RewardToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipEvents(dAtA[iNdEx:]) From 7af3dff1e93e47c8e98d457b934a2bd941422b1d Mon Sep 17 00:00:00 2001 From: Albert Chon Date: Mon, 27 Dec 2021 07:07:48 -0500 Subject: [PATCH 3/5] re-gen --- chain/exchange/types/msgs.go | 35 ++- chain/oracle/types/oracle.pb.go | 491 ++++++++++++++++++++++++-------- 2 files changed, 394 insertions(+), 132 deletions(-) diff --git a/chain/exchange/types/msgs.go b/chain/exchange/types/msgs.go index 4b5ff3bf..b2c02aa4 100644 --- a/chain/exchange/types/msgs.go +++ b/chain/exchange/types/msgs.go @@ -971,22 +971,31 @@ func (msg MsgBatchUpdateOrders) ValidateBasic() error { return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, msg.Sender) } - subaccountAddress, ok := IsValidSubaccountID(msg.SubaccountId) - if !ok { - return sdkerrors.Wrap(ErrBadSubaccountID, msg.SubaccountId) - } - if !bytes.Equal(subaccountAddress.Bytes(), sender.Bytes()) { - return sdkerrors.Wrap(ErrBadSubaccountID, msg.Sender) - } + hasCancelAllMarketId := len(msg.SpotMarketIdsToCancelAll) > 0 || len(msg.DerivativeMarketIdsToCancelAll) > 0 + hasSubaccountIdForCancelAll := msg.SubaccountId != "" - hasDuplicateSpotMarketIds := HasDuplicatesHexHash(msg.SpotMarketIdsToCancelAll) - if hasDuplicateSpotMarketIds { - return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains duplicate cancel all spot market ids") + if hasCancelAllMarketId && !hasSubaccountIdForCancelAll { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains cancel all market id but no subaccount id") } - hasDuplicateDerivativesMarketIds := HasDuplicatesHexHash(msg.DerivativeMarketIdsToCancelAll) - if hasDuplicateDerivativesMarketIds { - return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains duplicate cancel all derivative market ids") + if hasSubaccountIdForCancelAll { + subaccountAddress, ok := IsValidSubaccountID(msg.SubaccountId) + if !ok { + return sdkerrors.Wrap(ErrBadSubaccountID, msg.SubaccountId) + } + if !bytes.Equal(subaccountAddress.Bytes(), sender.Bytes()) { + return sdkerrors.Wrap(ErrBadSubaccountID, msg.Sender) + } + + hasDuplicateSpotMarketIds := HasDuplicatesHexHash(msg.SpotMarketIdsToCancelAll) + if hasDuplicateSpotMarketIds { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains duplicate cancel all spot market ids") + } + + hasDuplicateDerivativesMarketIds := HasDuplicatesHexHash(msg.DerivativeMarketIdsToCancelAll) + if hasDuplicateDerivativesMarketIds { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains duplicate cancel all derivative market ids") + } } hasDuplicateSpotOrderToCancel := HasDuplicatesOrder(msg.SpotOrdersToCancel) diff --git a/chain/oracle/types/oracle.pb.go b/chain/oracle/types/oracle.pb.go index d3cfca37..933c7cce 100644 --- a/chain/oracle/types/oracle.pb.go +++ b/chain/oracle/types/oracle.pb.go @@ -174,6 +174,59 @@ func (m *ChainlinkPriceState) GetPriceState() PriceState { return PriceState{} } +type SetChainlinkPriceEvent struct { + FeedId string `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"` + Answer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=answer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"answer"` + Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (m *SetChainlinkPriceEvent) Reset() { *m = SetChainlinkPriceEvent{} } +func (m *SetChainlinkPriceEvent) String() string { return proto.CompactTextString(m) } +func (*SetChainlinkPriceEvent) ProtoMessage() {} +func (*SetChainlinkPriceEvent) Descriptor() ([]byte, []int) { + return fileDescriptor_1c8fbf1e7a765423, []int{2} +} +func (m *SetChainlinkPriceEvent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetChainlinkPriceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetChainlinkPriceEvent.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetChainlinkPriceEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetChainlinkPriceEvent.Merge(m, src) +} +func (m *SetChainlinkPriceEvent) XXX_Size() int { + return m.Size() +} +func (m *SetChainlinkPriceEvent) XXX_DiscardUnknown() { + xxx_messageInfo_SetChainlinkPriceEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_SetChainlinkPriceEvent proto.InternalMessageInfo + +func (m *SetChainlinkPriceEvent) GetFeedId() string { + if m != nil { + return m.FeedId + } + return "" +} + +func (m *SetChainlinkPriceEvent) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp + } + return 0 +} + type BandPriceState struct { Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"` Rate github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=rate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rate"` @@ -186,7 +239,7 @@ func (m *BandPriceState) Reset() { *m = BandPriceState{} } func (m *BandPriceState) String() string { return proto.CompactTextString(m) } func (*BandPriceState) ProtoMessage() {} func (*BandPriceState) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{2} + return fileDescriptor_1c8fbf1e7a765423, []int{3} } func (m *BandPriceState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -256,7 +309,7 @@ func (m *SetBandPriceEvent) Reset() { *m = SetBandPriceEvent{} } func (m *SetBandPriceEvent) String() string { return proto.CompactTextString(m) } func (*SetBandPriceEvent) ProtoMessage() {} func (*SetBandPriceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{3} + return fileDescriptor_1c8fbf1e7a765423, []int{4} } func (m *SetBandPriceEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -326,7 +379,7 @@ func (m *SetBandIBCPriceEvent) Reset() { *m = SetBandIBCPriceEvent{} } func (m *SetBandIBCPriceEvent) String() string { return proto.CompactTextString(m) } func (*SetBandIBCPriceEvent) ProtoMessage() {} func (*SetBandIBCPriceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{4} + return fileDescriptor_1c8fbf1e7a765423, []int{5} } func (m *SetBandIBCPriceEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -399,7 +452,7 @@ func (m *EventBandIBCAckSuccess) Reset() { *m = EventBandIBCAckSuccess{} func (m *EventBandIBCAckSuccess) String() string { return proto.CompactTextString(m) } func (*EventBandIBCAckSuccess) ProtoMessage() {} func (*EventBandIBCAckSuccess) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{5} + return fileDescriptor_1c8fbf1e7a765423, []int{6} } func (m *EventBandIBCAckSuccess) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -451,7 +504,7 @@ func (m *EventBandIBCAckError) Reset() { *m = EventBandIBCAckError{} } func (m *EventBandIBCAckError) String() string { return proto.CompactTextString(m) } func (*EventBandIBCAckError) ProtoMessage() {} func (*EventBandIBCAckError) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{6} + return fileDescriptor_1c8fbf1e7a765423, []int{7} } func (m *EventBandIBCAckError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -502,7 +555,7 @@ func (m *EventBandIBCResponseTimeout) Reset() { *m = EventBandIBCRespons func (m *EventBandIBCResponseTimeout) String() string { return proto.CompactTextString(m) } func (*EventBandIBCResponseTimeout) ProtoMessage() {} func (*EventBandIBCResponseTimeout) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{7} + return fileDescriptor_1c8fbf1e7a765423, []int{8} } func (m *EventBandIBCResponseTimeout) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -550,7 +603,7 @@ func (m *GetReferenceData) Reset() { *m = GetReferenceData{} } func (m *GetReferenceData) String() string { return proto.CompactTextString(m) } func (*GetReferenceData) ProtoMessage() {} func (*GetReferenceData) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{8} + return fileDescriptor_1c8fbf1e7a765423, []int{9} } func (m *GetReferenceData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -617,7 +670,7 @@ func (m *GrantBandOraclePrivilegeProposal) Reset() { *m = GrantBandOracl func (m *GrantBandOraclePrivilegeProposal) String() string { return proto.CompactTextString(m) } func (*GrantBandOraclePrivilegeProposal) ProtoMessage() {} func (*GrantBandOraclePrivilegeProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{9} + return fileDescriptor_1c8fbf1e7a765423, []int{10} } func (m *GrantBandOraclePrivilegeProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -656,7 +709,7 @@ func (m *RevokeBandOraclePrivilegeProposal) Reset() { *m = RevokeBandOra func (m *RevokeBandOraclePrivilegeProposal) String() string { return proto.CompactTextString(m) } func (*RevokeBandOraclePrivilegeProposal) ProtoMessage() {} func (*RevokeBandOraclePrivilegeProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{10} + return fileDescriptor_1c8fbf1e7a765423, []int{11} } func (m *RevokeBandOraclePrivilegeProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -697,7 +750,7 @@ func (m *GrantPriceFeederPrivilegeProposal) Reset() { *m = GrantPriceFee func (m *GrantPriceFeederPrivilegeProposal) String() string { return proto.CompactTextString(m) } func (*GrantPriceFeederPrivilegeProposal) ProtoMessage() {} func (*GrantPriceFeederPrivilegeProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{11} + return fileDescriptor_1c8fbf1e7a765423, []int{12} } func (m *GrantPriceFeederPrivilegeProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -738,7 +791,7 @@ func (m *RevokePriceFeederPrivilegeProposal) Reset() { *m = RevokePriceF func (m *RevokePriceFeederPrivilegeProposal) String() string { return proto.CompactTextString(m) } func (*RevokePriceFeederPrivilegeProposal) ProtoMessage() {} func (*RevokePriceFeederPrivilegeProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{12} + return fileDescriptor_1c8fbf1e7a765423, []int{13} } func (m *RevokePriceFeederPrivilegeProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -778,7 +831,7 @@ func (m *PriceFeedState) Reset() { *m = PriceFeedState{} } func (m *PriceFeedState) String() string { return proto.CompactTextString(m) } func (*PriceFeedState) ProtoMessage() {} func (*PriceFeedState) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{13} + return fileDescriptor_1c8fbf1e7a765423, []int{14} } func (m *PriceFeedState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -844,7 +897,7 @@ func (m *PriceFeedInfo) Reset() { *m = PriceFeedInfo{} } func (m *PriceFeedInfo) String() string { return proto.CompactTextString(m) } func (*PriceFeedInfo) ProtoMessage() {} func (*PriceFeedInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{14} + return fileDescriptor_1c8fbf1e7a765423, []int{15} } func (m *PriceFeedInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -895,7 +948,7 @@ func (m *PriceFeedPrice) Reset() { *m = PriceFeedPrice{} } func (m *PriceFeedPrice) String() string { return proto.CompactTextString(m) } func (*PriceFeedPrice) ProtoMessage() {} func (*PriceFeedPrice) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{15} + return fileDescriptor_1c8fbf1e7a765423, []int{16} } func (m *PriceFeedPrice) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -936,7 +989,7 @@ func (m *SetPriceFeedPriceEvent) Reset() { *m = SetPriceFeedPriceEvent{} func (m *SetPriceFeedPriceEvent) String() string { return proto.CompactTextString(m) } func (*SetPriceFeedPriceEvent) ProtoMessage() {} func (*SetPriceFeedPriceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{16} + return fileDescriptor_1c8fbf1e7a765423, []int{17} } func (m *SetPriceFeedPriceEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1003,7 +1056,7 @@ func (m *CoinbasePriceState) Reset() { *m = CoinbasePriceState{} } func (m *CoinbasePriceState) String() string { return proto.CompactTextString(m) } func (*CoinbasePriceState) ProtoMessage() {} func (*CoinbasePriceState) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{17} + return fileDescriptor_1c8fbf1e7a765423, []int{18} } func (m *CoinbasePriceState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1077,7 +1130,7 @@ func (m *SetCoinbasePriceEvent) Reset() { *m = SetCoinbasePriceEvent{} } func (m *SetCoinbasePriceEvent) String() string { return proto.CompactTextString(m) } func (*SetCoinbasePriceEvent) ProtoMessage() {} func (*SetCoinbasePriceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{18} + return fileDescriptor_1c8fbf1e7a765423, []int{19} } func (m *SetCoinbasePriceEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1130,7 +1183,7 @@ func (m *PriceState) Reset() { *m = PriceState{} } func (m *PriceState) String() string { return proto.CompactTextString(m) } func (*PriceState) ProtoMessage() {} func (*PriceState) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{19} + return fileDescriptor_1c8fbf1e7a765423, []int{20} } func (m *PriceState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1176,7 +1229,7 @@ func (m *AuthorizeBandOracleRequestProposal) Reset() { *m = AuthorizeBan func (m *AuthorizeBandOracleRequestProposal) String() string { return proto.CompactTextString(m) } func (*AuthorizeBandOracleRequestProposal) ProtoMessage() {} func (*AuthorizeBandOracleRequestProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{20} + return fileDescriptor_1c8fbf1e7a765423, []int{21} } func (m *AuthorizeBandOracleRequestProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1216,7 +1269,7 @@ func (m *UpdateBandOracleRequestProposal) Reset() { *m = UpdateBandOracl func (m *UpdateBandOracleRequestProposal) String() string { return proto.CompactTextString(m) } func (*UpdateBandOracleRequestProposal) ProtoMessage() {} func (*UpdateBandOracleRequestProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{21} + return fileDescriptor_1c8fbf1e7a765423, []int{22} } func (m *UpdateBandOracleRequestProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1255,7 +1308,7 @@ func (m *EnableBandIBCProposal) Reset() { *m = EnableBandIBCProposal{} } func (m *EnableBandIBCProposal) String() string { return proto.CompactTextString(m) } func (*EnableBandIBCProposal) ProtoMessage() {} func (*EnableBandIBCProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{22} + return fileDescriptor_1c8fbf1e7a765423, []int{23} } func (m *EnableBandIBCProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1310,7 +1363,7 @@ func (m *BandOracleRequest) Reset() { *m = BandOracleRequest{} } func (m *BandOracleRequest) String() string { return proto.CompactTextString(m) } func (*BandOracleRequest) ProtoMessage() {} func (*BandOracleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{23} + return fileDescriptor_1c8fbf1e7a765423, []int{24} } func (m *BandOracleRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1412,7 +1465,7 @@ func (m *BandIBCParams) Reset() { *m = BandIBCParams{} } func (m *BandIBCParams) String() string { return proto.CompactTextString(m) } func (*BandIBCParams) ProtoMessage() {} func (*BandIBCParams) Descriptor() ([]byte, []int) { - return fileDescriptor_1c8fbf1e7a765423, []int{24} + return fileDescriptor_1c8fbf1e7a765423, []int{25} } func (m *BandIBCParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1480,6 +1533,7 @@ func init() { proto.RegisterEnum("injective.oracle.v1beta1.OracleType", OracleType_name, OracleType_value) proto.RegisterType((*Params)(nil), "injective.oracle.v1beta1.Params") proto.RegisterType((*ChainlinkPriceState)(nil), "injective.oracle.v1beta1.ChainlinkPriceState") + proto.RegisterType((*SetChainlinkPriceEvent)(nil), "injective.oracle.v1beta1.SetChainlinkPriceEvent") proto.RegisterType((*BandPriceState)(nil), "injective.oracle.v1beta1.BandPriceState") proto.RegisterType((*SetBandPriceEvent)(nil), "injective.oracle.v1beta1.SetBandPriceEvent") proto.RegisterType((*SetBandIBCPriceEvent)(nil), "injective.oracle.v1beta1.SetBandIBCPriceEvent") @@ -1510,102 +1564,103 @@ func init() { } var fileDescriptor_1c8fbf1e7a765423 = []byte{ - // 1514 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0xbf, 0x6f, 0x1b, 0xc7, - 0x12, 0xd6, 0x92, 0x14, 0x45, 0x8e, 0x2c, 0xe9, 0x74, 0x96, 0xfd, 0xf8, 0xec, 0xf7, 0x48, 0x9a, - 0x78, 0xcf, 0x21, 0x9c, 0x98, 0xf4, 0x8f, 0x2a, 0xee, 0x4c, 0x49, 0x16, 0x08, 0x1b, 0x08, 0x73, - 0xb4, 0x0c, 0x24, 0xcd, 0x61, 0x79, 0x37, 0x92, 0x36, 0x3c, 0xde, 0xd1, 0xb7, 0x4b, 0x26, 0x72, - 0x95, 0x74, 0x29, 0x13, 0xa4, 0x0e, 0x60, 0xa4, 0x4c, 0x52, 0x04, 0x48, 0x99, 0xfc, 0x01, 0x06, - 0x82, 0x00, 0x2e, 0x03, 0x17, 0x4e, 0x22, 0x37, 0x2e, 0x93, 0x3a, 0x4d, 0xb0, 0xb7, 0xcb, 0xe3, - 0x91, 0xb6, 0x1c, 0x09, 0x14, 0x10, 0xa4, 0xe2, 0xee, 0xcc, 0xec, 0xec, 0xf7, 0xcd, 0xce, 0xee, - 0xcc, 0x11, 0xfe, 0xcf, 0xfc, 0xf7, 0xd0, 0x11, 0x6c, 0x88, 0xf5, 0x20, 0xa4, 0x8e, 0x87, 0xf5, - 0xe1, 0xd5, 0x0e, 0x0a, 0x7a, 0x55, 0x4f, 0x6b, 0xfd, 0x30, 0x10, 0x81, 0x59, 0x88, 0xcd, 0x6a, - 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9, 0x74, 0xdb, 0x03, - 0xc7, 0x41, 0xce, 0xa5, 0x57, 0xea, 0x74, 0xed, 0x10, 0xf9, 0xc0, 0x13, 0x9a, 0x77, 0x9e, 0x3a, - 0x5d, 0x2b, 0x12, 0x4c, 0x7a, 0x4d, 0x4d, 0x79, 0x6d, 0xc1, 0xda, 0x94, 0xd7, 0xcd, 0x30, 0x0c, - 0x42, 0xb9, 0x48, 0xfa, 0x44, 0x39, 0xd1, 0x2e, 0x73, 0x34, 0xa1, 0x3c, 0xdc, 0xe3, 0x0d, 0x38, - 0x9f, 0xf4, 0x68, 0x21, 0xef, 0x07, 0x3e, 0x8f, 0xf8, 0x07, 0x83, 0x29, 0x34, 0x64, 0x6a, 0xed, - 0xf7, 0x04, 0x8c, 0x2d, 0x14, 0x16, 0xee, 0x60, 0x88, 0xbe, 0x83, 0x1b, 0x54, 0x50, 0xf3, 0x12, - 0xac, 0xca, 0x97, 0xcc, 0xbe, 0x3f, 0x08, 0x04, 0xda, 0x13, 0x57, 0x76, 0x45, 0x2a, 0xde, 0x96, - 0xf2, 0xb6, 0x4a, 0xd0, 0x8b, 0xb0, 0x92, 0xb0, 0x1d, 0x5f, 0x63, 0x6b, 0x29, 0xb6, 0xb4, 0xe4, - 0xfd, 0xac, 0x82, 0xe1, 0x51, 0x2e, 0xec, 0x41, 0xdf, 0xa5, 0x02, 0x6d, 0xa9, 0x54, 0x39, 0x6d, - 0x2d, 0x4b, 0xf9, 0x76, 0x24, 0x6e, 0x50, 0x8e, 0x72, 0xf7, 0xa4, 0x65, 0xe4, 0x38, 0x3a, 0xda, - 0xbc, 0xb5, 0x32, 0x36, 0x8d, 0x3c, 0x57, 0x3e, 0x24, 0x50, 0xde, 0x0a, 0xa9, 0xe2, 0xfe, 0x56, - 0x74, 0x3f, 0x5b, 0x21, 0x1b, 0x32, 0x0f, 0x77, 0xb1, 0x15, 0x06, 0xfd, 0x80, 0x53, 0xcf, 0x5c, - 0x83, 0x79, 0xc1, 0x84, 0x87, 0x9a, 0x82, 0x9a, 0x98, 0x65, 0x58, 0x74, 0x91, 0x3b, 0x21, 0xeb, - 0x0b, 0x16, 0xf8, 0x1a, 0x74, 0x52, 0x64, 0x9e, 0x83, 0x9c, 0xce, 0x65, 0x9d, 0xa8, 0x56, 0x3c, - 0xbf, 0x91, 0xfb, 0xf8, 0x61, 0x69, 0xee, 0xf9, 0xc3, 0xd2, 0x5c, 0xe5, 0x23, 0x02, 0x17, 0x2c, - 0x1c, 0x06, 0x5d, 0xfc, 0xfb, 0x30, 0x7c, 0x45, 0xe0, 0x42, 0x14, 0x86, 0xe8, 0x62, 0xde, 0x42, - 0x74, 0x31, 0x3c, 0x39, 0x0c, 0x26, 0x64, 0x12, 0xc7, 0x15, 0x8d, 0xa5, 0xaf, 0xe4, 0xc1, 0xa8, - 0xc9, 0x04, 0xda, 0xf9, 0x43, 0xd1, 0x7e, 0x4d, 0xa0, 0xa2, 0x22, 0xf6, 0x8f, 0x80, 0xfb, 0x39, - 0x81, 0xe5, 0x18, 0xa8, 0x2a, 0x64, 0xa3, 0x2d, 0xc8, 0xcb, 0xb6, 0x48, 0x25, 0xb7, 0xd8, 0x9c, - 0x2c, 0x2a, 0xe9, 0xa3, 0x17, 0x95, 0x64, 0x39, 0x99, 0x40, 0x9a, 0x99, 0x44, 0x5a, 0x79, 0x13, - 0x96, 0x62, 0x78, 0x4d, 0x7f, 0x27, 0x38, 0x3a, 0xba, 0xca, 0xbd, 0x04, 0xb3, 0x68, 0x30, 0xae, - 0x37, 0x64, 0x86, 0x7a, 0x53, 0xf9, 0x82, 0xc0, 0xd9, 0x36, 0x8a, 0x49, 0xdf, 0x7f, 0x55, 0x2f, - 0x46, 0xb0, 0x53, 0x2f, 0x83, 0x9d, 0x4e, 0x06, 0x35, 0x06, 0x99, 0x99, 0x05, 0xe4, 0x77, 0x04, - 0xcc, 0xf5, 0x80, 0xf9, 0x72, 0xa3, 0x44, 0x93, 0x62, 0x42, 0xa6, 0xcb, 0xfc, 0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, 0xa8, - 0xb5, 0x2f, 0xf6, 0x8c, 0xbc, 0xb9, 0x08, 0x0b, 0x3a, 0xc4, 0x06, 0x34, 0x76, 0x1e, 0x1d, 0x14, - 0xc9, 0xe3, 0x83, 0x22, 0xf9, 0xe5, 0xa0, 0x48, 0x3e, 0x79, 0x56, 0x9c, 0x7b, 0xfc, 0xac, 0x38, - 0xf7, 0xd3, 0xb3, 0xe2, 0xdc, 0xbb, 0x77, 0x12, 0x09, 0xd0, 0x1c, 0xdd, 0xa0, 0x3b, 0xb4, 0xc3, - 0xeb, 0xf1, 0x7d, 0xba, 0xec, 0x04, 0x21, 0x26, 0xa7, 0x12, 0x56, 0xbd, 0x17, 0xb8, 0x03, 0x0f, - 0xf9, 0xe8, 0xff, 0x9a, 0x28, 0x55, 0x3a, 0xd9, 0xe8, 0x7f, 0x95, 0xeb, 0x7f, 0x06, 0x00, 0x00, - 0xff, 0xff, 0xc6, 0xb5, 0xcd, 0x44, 0xd0, 0x11, 0x00, 0x00, + // 1524 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0xcf, 0x6f, 0x1b, 0xd5, + 0x13, 0xcf, 0xb3, 0x1d, 0xc7, 0x9e, 0x34, 0xc9, 0x66, 0x9b, 0xf6, 0xeb, 0x6f, 0x0b, 0xb6, 0x6b, + 0x41, 0xb1, 0x0a, 0xb5, 0xfb, 0xe3, 0x44, 0x6f, 0x75, 0x92, 0x46, 0x56, 0x2b, 0x61, 0x36, 0x4d, + 0x25, 0xb8, 0xac, 0x9e, 0x77, 0x27, 0xc9, 0xc3, 0xeb, 0x5d, 0x77, 0xdf, 0xda, 0x90, 0x9e, 0xe0, + 0xc6, 0x11, 0xc4, 0x81, 0x13, 0x52, 0xc5, 0x11, 0x38, 0x20, 0x71, 0x84, 0x3f, 0xa0, 0x12, 0x42, + 0xea, 0x11, 0xf5, 0x50, 0x20, 0xbd, 0xf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4b, 0xef, 0x36, 0x5f, + 0x81, 0x7c, 0xc4, 0xba, 0xc8, 0x23, 0xda, 0xed, 0x15, 0xd2, 0x65, 0x52, 0xcd, 0x58, 0x23, 0x81, + 0x79, 0x13, 0xe6, 0x7b, 0x02, 0x8c, 0xcd, 0x05, 0x9a, 0x42, 0xa6, 0x4c, 0xaa, 0xf3, 0x57, 0x5e, + 0xab, 0x1d, 0x14, 0x8c, 0xda, 0x08, 0x79, 0x23, 0x23, 0x00, 0x59, 0xd0, 0x8b, 0x25, 0x95, 0x2f, + 0x09, 0x9c, 0xde, 0xc4, 0x68, 0x9c, 0xe6, 0xfa, 0x00, 0xfd, 0xe8, 0x25, 0xd3, 0xac, 0xfc, 0x4d, + 0x60, 0xb1, 0x41, 0x7d, 0x37, 0x11, 0xf8, 0xd3, 0x90, 0xe5, 0x7b, 0xdd, 0x76, 0xe0, 0x0d, 0x01, + 0xa9, 0x95, 0xd9, 0x80, 0x4c, 0x28, 0x42, 0x71, 0x74, 0x38, 0x4d, 0x3f, 0xb2, 0xe4, 0x5e, 0xf3, + 0x1c, 0x9c, 0x08, 0x91, 0x07, 0xde, 0x00, 0x6d, 0x81, 0x41, 0xe3, 0x99, 0xd7, 0xb2, 0xdb, 0xac, + 0x8b, 0xe6, 0xab, 0x00, 0x21, 0xde, 0xed, 0x23, 0x8f, 0xec, 0xe6, 0x9a, 0x8c, 0x7b, 0xc6, 0xca, + 0x6b, 0x49, 0x73, 0x6d, 0x32, 0x2f, 0xb3, 0x53, 0xe5, 0xe5, 0x17, 0x02, 0xcb, 0x9b, 0x18, 0xc5, + 0x01, 0x50, 0x29, 0x29, 0xc0, 0x5c, 0x88, 0x1e, 0xdd, 0xc3, 0x50, 0x47, 0x60, 0xb8, 0x4c, 0x84, + 0x26, 0x35, 0x16, 0x9a, 0x35, 0x98, 0x95, 0x5e, 0x25, 0x9f, 0xa3, 0xa7, 0x4a, 0x6d, 0x7e, 0x26, + 0x38, 0x99, 0x17, 0x06, 0x87, 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8, 0xd2, 0x12, 0xf7, 0xb3, 0x0a, + 0x86, 0x47, 0x79, 0x64, 0xf7, 0x7b, 0x2e, 0x8d, 0xd0, 0x16, 0x4a, 0x55, 0xd3, 0xd6, 0xa2, 0x90, + 0x6f, 0x49, 0x71, 0x83, 0x72, 0x14, 0xa7, 0x27, 0x2d, 0xa5, 0x63, 0x99, 0xda, 0xbc, 0xb5, 0x34, + 0x32, 0x95, 0x9e, 0x2b, 0x1f, 0x13, 0x28, 0x6f, 0x84, 0x54, 0x71, 0x7f, 0x47, 0xde, 0xcf, 0x56, + 0xc8, 0x06, 0xcc, 0xc3, 0x1d, 0x6c, 0x85, 0x41, 0x2f, 0xe0, 0xd4, 0x33, 0x57, 0x60, 0x36, 0x62, + 0x91, 0x87, 0x9a, 0x82, 0x5a, 0x98, 0x65, 0x98, 0x77, 0x91, 0x3b, 0x21, 0xeb, 0x45, 0x2c, 0xf0, + 0x35, 0xe8, 0xa4, 0xc8, 0x3c, 0x03, 0x39, 0x5d, 0xcb, 0xba, 0x50, 0xad, 0x78, 0x7d, 0x2d, 0xf7, + 0xe9, 0xfd, 0xd2, 0xcc, 0xd3, 0xfb, 0xa5, 0x99, 0xca, 0x27, 0x04, 0xce, 0x59, 0x38, 0x08, 0x3a, + 0xf8, 0xf2, 0x30, 0x7c, 0x4b, 0xe0, 0x9c, 0x0c, 0x83, 0xbc, 0x98, 0x37, 0x10, 0x5d, 0x0c, 0x8f, + 0x0f, 0x83, 0x09, 0x99, 0x44, 0xba, 0xe4, 0xb7, 0xf0, 0x95, 0x4c, 0x8c, 0x5a, 0x8c, 0xa1, 0x9d, + 0x3d, 0x10, 0xed, 0x77, 0x04, 0x2a, 0x2a, 0x62, 0xff, 0x09, 0xb8, 0x5f, 0x11, 0x58, 0x8c, 0x81, + 0xaa, 0x46, 0x36, 0x3c, 0x82, 0x3c, 0xef, 0x88, 0x54, 0xf2, 0x88, 0xf5, 0xf1, 0xa6, 0x92, 0x3e, + 0x7c, 0x53, 0x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, 0x7e, 0xcb, 0xe7, 0x3d, 0x74, 0xd8, 0x36, 0x43, 0xd7, 0x98, + 0x31, 0x73, 0x90, 0x11, 0xdc, 0x0d, 0x62, 0x2e, 0x40, 0x3e, 0x6e, 0xc5, 0x46, 0xca, 0x3c, 0x01, + 0xb9, 0x61, 0xdb, 0x30, 0xd2, 0x42, 0x19, 0xff, 0xf7, 0xc0, 0xc8, 0x98, 0x79, 0x98, 0xb5, 0xe8, + 0xbd, 0x20, 0x34, 0x66, 0xcd, 0x39, 0x48, 0xaf, 0x31, 0x6a, 0x64, 0x85, 0xa7, 0xeb, 0xad, 0xe6, + 0x55, 0x63, 0x4e, 0x88, 0xb6, 0xba, 0xd4, 0xc8, 0x09, 0x51, 0x6b, 0x2f, 0xda, 0x35, 0xf2, 0xe6, + 0x3c, 0xcc, 0xe9, 0x10, 0x1b, 0xd0, 0xd8, 0x7e, 0xb0, 0x5f, 0x24, 0x0f, 0xf7, 0x8b, 0xe4, 0xf7, + 0xfd, 0x22, 0xf9, 0xec, 0x49, 0x71, 0xe6, 0xe1, 0x93, 0xe2, 0xcc, 0xaf, 0x4f, 0x8a, 0x33, 0xef, + 0xdf, 0x4a, 0x14, 0x40, 0x73, 0x78, 0x83, 0x6e, 0xd1, 0x36, 0xaf, 0xc7, 0xf7, 0xe9, 0xa2, 0x13, + 0x84, 0x98, 0x5c, 0x0a, 0x58, 0xf5, 0x6e, 0xe0, 0xf6, 0x3d, 0xe4, 0xc3, 0xff, 0x24, 0xc9, 0x52, + 0x69, 0x67, 0xe5, 0x7f, 0x7c, 0xae, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x49, 0xe5, 0x49, 0x0c, + 0x6a, 0x12, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { @@ -1707,6 +1762,51 @@ func (m *ChainlinkPriceState) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *SetChainlinkPriceEvent) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SetChainlinkPriceEvent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SetChainlinkPriceEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Timestamp != 0 { + i = encodeVarintOracle(dAtA, i, uint64(m.Timestamp)) + i-- + dAtA[i] = 0x18 + } + { + size := m.Answer.Size() + i -= size + if _, err := m.Answer.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintOracle(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.FeedId) > 0 { + i -= len(m.FeedId) + copy(dAtA[i:], m.FeedId) + i = encodeVarintOracle(dAtA, i, uint64(len(m.FeedId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *BandPriceState) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2908,6 +3008,24 @@ func (m *ChainlinkPriceState) Size() (n int) { return n } +func (m *SetChainlinkPriceEvent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FeedId) + if l > 0 { + n += 1 + l + sovOracle(uint64(l)) + } + l = m.Answer.Size() + n += 1 + l + sovOracle(uint64(l)) + if m.Timestamp != 0 { + n += 1 + sovOracle(uint64(m.Timestamp)) + } + return n +} + func (m *BandPriceState) Size() (n int) { if m == nil { return 0 @@ -3656,6 +3774,141 @@ func (m *ChainlinkPriceState) Unmarshal(dAtA []byte) error { } return nil } +func (m *SetChainlinkPriceEvent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOracle + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetChainlinkPriceEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetChainlinkPriceEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeedId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOracle + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOracle + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOracle + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeedId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Answer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOracle + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthOracle + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthOracle + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Answer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) + } + m.Timestamp = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowOracle + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Timestamp |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipOracle(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthOracle + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *BandPriceState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 From 6a96b6eb96a68fba350fe6bc699f2b3213767c63 Mon Sep 17 00:00:00 2001 From: Albert Chon Date: Mon, 27 Dec 2021 07:13:18 -0500 Subject: [PATCH 4/5] re-gen --- chain/exchange/types/common_utils.go | 30 ++++++++++++++++++---------- chain/exchange/types/msgs.go | 23 +++++++++++++++------ chain/exchange/types/proposal.go | 28 ++++++++++++++++++++++++-- 3 files changed, 62 insertions(+), 19 deletions(-) diff --git a/chain/exchange/types/common_utils.go b/chain/exchange/types/common_utils.go index 3f8f1827..deb1f694 100644 --- a/chain/exchange/types/common_utils.go +++ b/chain/exchange/types/common_utils.go @@ -4,6 +4,8 @@ import ( "bytes" "math/big" "reflect" + "regexp" + "strings" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" @@ -85,29 +87,35 @@ func StringInSlice(a string, list *[]string) bool { } func IsValidSubaccountID(subaccountID string) (*common.Address, bool) { - if len(subaccountID) != 66 { + if !IsHexHash(subaccountID) { return nil, false } subaccountIdBytes := common.FromHex(subaccountID) - - if len(subaccountIdBytes) != common.HashLength { - return nil, false - } addressBytes := subaccountIdBytes[:common.AddressLength] - if !common.IsHexAddress(common.Bytes2Hex(addressBytes)) { - return nil, false - } address := common.BytesToAddress(addressBytes) return &address, true } func IsValidOrderHash(orderHash string) bool { - if len(orderHash) != 66 { + return IsHexHash(orderHash) +} + +// IsHexHash verifies whether a string can represent a valid hex-encoded hash or not. +func IsHexHash(s string) bool { + if !isHexString(s) { return false } - orderHashBytes := common.FromHex(orderHash) - return len(orderHashBytes) == common.HashLength + if strings.HasPrefix(s, "0x") { + return len(s) == 2*common.HashLength+2 + } + + return len(s) == 2*common.HashLength +} + +func isHexString(str string) bool { + isMatched, _ := regexp.MatchString("^(0x)?[0-9a-fA-F]+$", str) + return isMatched } func BreachesMinimumTickSize(value sdk.Dec, minTickSize sdk.Dec) bool { diff --git a/chain/exchange/types/msgs.go b/chain/exchange/types/msgs.go index b2c02aa4..64b9fb22 100644 --- a/chain/exchange/types/msgs.go +++ b/chain/exchange/types/msgs.go @@ -34,7 +34,7 @@ var ( ) func (o *SpotOrder) ValidateBasic(senderAddr sdk.AccAddress) error { - if o.MarketId == "" { + if !IsHexHash(o.MarketId) { return sdkerrors.Wrap(ErrMarketInvalid, o.MarketId) } switch o.OrderType { @@ -75,7 +75,7 @@ func (o *OrderInfo) ValidateBasic(senderAddr sdk.AccAddress) error { } func (o *DerivativeOrder) ValidateBasic(senderAddr sdk.AccAddress) error { - if o.MarketId == "" { + if !IsHexHash(o.MarketId) { return sdkerrors.Wrap(ErrMarketInvalid, o.MarketId) } switch o.OrderType { @@ -101,7 +101,7 @@ func (o *DerivativeOrder) ValidateBasic(senderAddr sdk.AccAddress) error { } func (o *OrderData) ValidateBasic(senderAddr sdk.AccAddress) error { - if o.MarketId == "" { + if !IsHexHash(o.MarketId) { return sdkerrors.Wrap(ErrMarketInvalid, o.MarketId) } @@ -878,9 +878,10 @@ func (msg *MsgIncreasePositionMargin) ValidateBasic() error { return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, msg.Sender) } - if msg.MarketId == "" { + if !IsHexHash(msg.MarketId) { return sdkerrors.Wrap(ErrMarketInvalid, msg.MarketId) } + if !msg.Amount.IsPositive() { return sdkerrors.Wrap(sdkerrors.ErrInvalidCoins, msg.Amount.String()) } @@ -928,7 +929,7 @@ func (msg *MsgLiquidatePosition) ValidateBasic() error { return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, msg.Sender) } - if msg.MarketId == "" { + if !IsHexHash(msg.MarketId) { return sdkerrors.Wrap(ErrMarketInvalid, msg.MarketId) } @@ -975,7 +976,11 @@ func (msg MsgBatchUpdateOrders) ValidateBasic() error { hasSubaccountIdForCancelAll := msg.SubaccountId != "" if hasCancelAllMarketId && !hasSubaccountIdForCancelAll { - return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains cancel all market id but no subaccount id") + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains cancel all marketIDs but no subaccountID") + } + + if hasSubaccountIdForCancelAll && !hasCancelAllMarketId { + return sdkerrors.Wrap(ErrInvalidBatchMsgUpdate, "msg contains subaccountID but no cancel all marketIDs") } if hasSubaccountIdForCancelAll { @@ -1011,6 +1016,9 @@ func (msg MsgBatchUpdateOrders) ValidateBasic() error { if len(msg.SpotMarketIdsToCancelAll) > 0 && len(msg.SpotOrdersToCancel) > 0 { seen := make(map[common.Hash]struct{}) for _, marketID := range msg.SpotMarketIdsToCancelAll { + if !IsHexHash(marketID) { + return sdkerrors.Wrap(ErrMarketInvalid, marketID) + } seen[common.HexToHash(marketID)] = struct{}{} } @@ -1024,6 +1032,9 @@ func (msg MsgBatchUpdateOrders) ValidateBasic() error { if len(msg.DerivativeMarketIdsToCancelAll) > 0 && len(msg.DerivativeOrdersToCancel) > 0 { seen := make(map[common.Hash]struct{}) for _, marketID := range msg.DerivativeMarketIdsToCancelAll { + if !IsHexHash(marketID) { + return sdkerrors.Wrap(ErrMarketInvalid, marketID) + } seen[common.HexToHash(marketID)] = struct{}{} } diff --git a/chain/exchange/types/proposal.go b/chain/exchange/types/proposal.go index 302bc1a9..ec40a649 100644 --- a/chain/exchange/types/proposal.go +++ b/chain/exchange/types/proposal.go @@ -211,7 +211,7 @@ func (p *SpotMarketParamUpdateProposal) ProposalType() string { // ValidateBasic returns ValidateBasic result of this proposal. func (p *SpotMarketParamUpdateProposal) ValidateBasic() error { - if p.MarketId == "" { + if !IsHexHash(p.MarketId) { return sdkerrors.Wrap(ErrMarketInvalid, p.MarketId) } if p.MakerFeeRate == nil && p.TakerFeeRate == nil && p.RelayerFeeShareRate == nil && p.MinPriceTickSize == nil && p.MinQuantityTickSize == nil && p.Status == MarketStatus_Unspecified { @@ -403,7 +403,7 @@ func (p *DerivativeMarketParamUpdateProposal) ProposalType() string { // ValidateBasic returns ValidateBasic result of this proposal. func (p *DerivativeMarketParamUpdateProposal) ValidateBasic() error { - if p.MarketId == "" { + if !IsHexHash(p.MarketId) { return sdkerrors.Wrap(ErrMarketInvalid, p.MarketId) } if p.MakerFeeRate == nil && @@ -916,6 +916,18 @@ func (t *TradingRewardCampaignBoostInfo) ValidateBasic() error { return sdkerrors.Wrap(ErrInvalidTradingRewardCampaign, "boosted spot market ids is not matching spot market multipliers") } + for _, marketID := range t.BoostedSpotMarketIds { + if !IsHexHash(marketID) { + return sdkerrors.Wrap(ErrMarketInvalid, marketID) + } + } + + for _, marketID := range t.BoostedDerivativeMarketIds { + if !IsHexHash(marketID) { + return sdkerrors.Wrap(ErrMarketInvalid, marketID) + } + } + if len(t.BoostedDerivativeMarketIds) != len(t.DerivativeMarketMultipliers) { return sdkerrors.Wrap(ErrInvalidTradingRewardCampaign, "boosted derivative market ids is not matching derivative market multipliers") } @@ -971,6 +983,12 @@ func (c *TradingRewardCampaignInfo) ValidateBasic() error { } } + for _, marketID := range c.DisqualifiedMarketIds { + if !IsHexHash(marketID) { + return sdkerrors.Wrap(ErrMarketInvalid, marketID) + } + } + hasDuplicatesInDisqualifiedMarkets := c != nil && HasDuplicates(c.DisqualifiedMarketIds) if hasDuplicatesInDisqualifiedMarkets { return sdkerrors.Wrap(ErrInvalidTradingRewardCampaign, "campaign contains duplicate disqualified market ids") @@ -1061,6 +1079,12 @@ func (p *FeeDiscountProposal) ValidateBasic() error { return sdkerrors.Wrap(ErrInvalidFeeDiscountSchedule, "new fee discount schedule cannot have duplicate quote denoms") } + for _, marketID := range p.Schedule.DisqualifiedMarketIds { + if !IsHexHash(marketID) { + return sdkerrors.Wrap(ErrMarketInvalid, marketID) + } + } + if HasDuplicates(p.Schedule.DisqualifiedMarketIds) { return sdkerrors.Wrap(ErrInvalidFeeDiscountSchedule, "new fee discount schedule cannot have duplicate disqualified market ids") } From 57771d5d0c5580290309c5f97a1d817ea8b17adb Mon Sep 17 00:00:00 2001 From: Albert Chon Date: Mon, 27 Dec 2021 07:15:22 -0500 Subject: [PATCH 5/5] chore: bump cosmos-sdk and ibc-go --- go.mod | 8 ++++---- go.sum | 24 +++++++++++------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/go.mod b/go.mod index beafb9aa..3559ef09 100644 --- a/go.mod +++ b/go.mod @@ -11,8 +11,8 @@ require ( github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce github.com/bugsnag/panicwrap v1.2.0 // indirect github.com/cespare/cp v1.1.1 // indirect - github.com/cosmos/cosmos-sdk v0.44.3 - github.com/cosmos/ibc-go/v2 v2.0.0 + github.com/cosmos/cosmos-sdk v0.44.5 + github.com/cosmos/ibc-go/v2 v2.0.2 github.com/deckarep/golang-set v1.7.1 // indirect github.com/ethereum/go-ethereum v1.9.25 github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 // indirect @@ -35,8 +35,8 @@ require ( github.com/tyler-smith/go-bip39 v1.0.2 github.com/xlab/suplog v1.3.1 golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 - google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c - google.golang.org/grpc v1.40.0 + google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71 + google.golang.org/grpc v1.42.0 google.golang.org/protobuf v1.27.1 gopkg.in/yaml.v2 v2.4.0 ) diff --git a/go.sum b/go.sum index f6ab4adc..676b52ae 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,3 @@ -bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= @@ -179,7 +178,6 @@ github.com/confio/ics23/go v0.6.6 h1:pkOy18YxxJ/r0XFDCnrl4Bjv6h4LkBSpLS6F38mrKL8 github.com/confio/ics23/go v0.6.6/go.mod h1:E45NqnlpxGnpfTWL/xauN7MRwEE28T4Dd4uraToOaKg= github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -191,9 +189,11 @@ github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7 github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cosmos/btcutil v1.0.4 h1:n7C2ngKXo7UC9gNyMNLbzqz7Asuf+7Qv4gnX/rOdQ44= +github.com/cosmos/btcutil v1.0.4/go.mod h1:Ffqc8Hn6TJUdDgHBwIZLtrLQC1KdJ9jGJl/TvgUaxbU= github.com/cosmos/cosmos-sdk v0.43.0/go.mod h1:ctcrTEAhei9s8O3KSNvL0dxe+fVQGp07QyRb/7H9JYE= -github.com/cosmos/cosmos-sdk v0.44.3 h1:F71n1jCqPi4F0wXg8AU4AUdUF8llw0x3D3o6aLt/j2A= -github.com/cosmos/cosmos-sdk v0.44.3/go.mod h1:bA3+VenaR/l/vDiYzaiwbWvRPWHMBX2jG0ygiFtiBp0= +github.com/cosmos/cosmos-sdk v0.44.5 h1:t5h+KPzZb0Zsag1RP1DCMQlyJyIQqJcqSPJrbUCDGHY= +github.com/cosmos/cosmos-sdk v0.44.5/go.mod h1:maUA6m2TBxOJZkbwl0eRtEBgTX37kcaiOWU5t1HEGaY= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= @@ -201,12 +201,12 @@ github.com/cosmos/iavl v0.15.0-rc3.0.20201009144442-230e9bdf52cd/go.mod h1:3xOIa github.com/cosmos/iavl v0.15.0-rc5/go.mod h1:WqoPL9yPTQ85QBMT45OOUzPxG/U/JcJoN7uMjgxke/I= github.com/cosmos/iavl v0.15.3/go.mod h1:OLjQiAQ4fGD2KDZooyJG9yz+p2ao2IAYSbke8mVvSA4= github.com/cosmos/iavl v0.16.0/go.mod h1:2A8O/Jz9YwtjqXMO0CjnnbTYEEaovE8jWcwrakH3PoE= -github.com/cosmos/iavl v0.17.1 h1:b/Cl8h1PRMvsu24+TYNlKchIu7W6tmxIBGe6E9u2Ybw= -github.com/cosmos/iavl v0.17.1/go.mod h1:7aisPZK8yCpQdy3PMvKeO+bhq1NwDjUwjzxwwROUxFk= +github.com/cosmos/iavl v0.17.3 h1:s2N819a2olOmiauVa0WAhoIJq9EhSXE9HDBAoR9k+8Y= +github.com/cosmos/iavl v0.17.3/go.mod h1:prJoErZFABYZGDHka1R6Oay4z9PrNeFFiMKHDAMOi4w= github.com/cosmos/ibc-go v1.0.0 h1:RtIRERSENyApp6WK7Germ3/wq8xvHxfsqfW/Xh+CJ2o= github.com/cosmos/ibc-go v1.0.0/go.mod h1:2wHKQUa+BLJMEyN635KrHfmTTwSNHBtXcqdY8JWGuXA= -github.com/cosmos/ibc-go/v2 v2.0.0 h1:BMRg73JcdV9wGPI51j89ihm7VBZQsDLkqQ+tmzdeA9Y= -github.com/cosmos/ibc-go/v2 v2.0.0/go.mod h1:n53VhNSUxCtMLysvgyNhwrGHL8OW+318LMjtSmaVe9Q= +github.com/cosmos/ibc-go/v2 v2.0.2 h1:y7eUgggMEVe43wHLw9XrGbeaTWtfkJYMoL3m6YW4fIY= +github.com/cosmos/ibc-go/v2 v2.0.2/go.mod h1:XUmW7wmubCRhIEAGtMGS+5IjiSSmcAwihoN/yPGd6Kk= github.com/cosmos/ledger-cosmos-go v0.11.1 h1:9JIYsGnXP613pb2vPjFeMMjBI5lEDsEaF6oYorTy6J4= github.com/cosmos/ledger-cosmos-go v0.11.1/go.mod h1:J8//BsAGTo3OC/vDLjMRFLW6q0WAaXvHnVc7ZmE8iUY= github.com/cosmos/ledger-go v0.9.2 h1:Nnao/dLwaVTk1Q5U9THldpUMMXU94BOTWPddSmVB6pI= @@ -258,7 +258,6 @@ github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFP github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= -github.com/enigmampc/btcutil v1.0.3-0.20200723161021-e2fb6adb2a25 h1:2vLKys4RBU4pn2T/hjXMbvwTr1Cvy5THHrQkbeY9HRk= github.com/enigmampc/btcutil v1.0.3-0.20200723161021-e2fb6adb2a25/go.mod h1:hTr8+TLQmkUkgcuh3mcr5fjrT9c64ZzsBCdCEC6UppY= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= @@ -657,7 +656,6 @@ github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWEr github.com/openconfig/gnmi v0.0.0-20190823184014-89b2bf29312c/go.mod h1:t+O9It+LKzfOAhKTT5O0ehDix+MTqbtT0T9t+7zzOvc= github.com/openconfig/reference v0.0.0-20190727015836-8dfd928c9696/go.mod h1:ym2A+zigScwkSEb/cVQB0/ZMpU3rqiH6X7WRRsxgOGw= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= @@ -874,7 +872,6 @@ github.com/tendermint/tendermint v0.34.0-rc6/go.mod h1:ugzyZO5foutZImv0Iyx/gOFCX github.com/tendermint/tendermint v0.34.0/go.mod h1:Aj3PIipBFSNO21r+Lq3TtzQ+uKESxkbA3yo/INM4QwQ= github.com/tendermint/tendermint v0.34.10/go.mod h1:aeHL7alPh4uTBIJQ8mgFEE8VwJLXI1VD3rVOmH2Mcy0= github.com/tendermint/tendermint v0.34.11/go.mod h1:aeHL7alPh4uTBIJQ8mgFEE8VwJLXI1VD3rVOmH2Mcy0= -github.com/tendermint/tendermint v0.34.13/go.mod h1:6RVVRBqwtKhA+H59APKumO+B7Nye4QXSFc6+TYxAxCI= github.com/tendermint/tendermint v0.34.14 h1:GCXmlS8Bqd2Ix3TQCpwYLUNHe+Y+QyJsm5YE+S/FkPo= github.com/tendermint/tendermint v0.34.14/go.mod h1:FrwVm3TvsVicI9Z7FlucHV6Znfd5KBc/Lpp69cCwtk0= github.com/tendermint/tm-db v0.6.2/go.mod h1:GYtQ67SUvATOcoY8/+x6ylk8Qo02BQyLrAs+yAcLvGI= @@ -975,7 +972,6 @@ golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 h1:HWj/xjIHfjYU5nVXpTM0s39J9CbLn7Cc5a7IC5rwsMQ= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1252,6 +1248,7 @@ golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1335,8 +1332,9 @@ google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c h1:wtujag7C+4D6KMoulW9YauvK2lgdvCMS260jsqqBXr0= google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71 h1:z+ErRPu0+KS02Td3fOAgdX+lnPDh/VyaABEJPD4JRQs= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/grpc v1.33.2 h1:EQyQC3sa8M+p6Ulc8yy9SWSS2GVwyRc83gAbG8lrl4o= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=