diff --git a/indexer/packages/v4-protos/src/codegen/cosmos/base/v1beta1/coin.ts b/indexer/packages/v4-protos/src/codegen/cosmos/base/v1beta1/coin.ts index 53aa3bc871..dbf862242e 100644 --- a/indexer/packages/v4-protos/src/codegen/cosmos/base/v1beta1/coin.ts +++ b/indexer/packages/v4-protos/src/codegen/cosmos/base/v1beta1/coin.ts @@ -44,22 +44,34 @@ export interface DecCoinSDKType { denom: string; amount: string; } -/** IntProto defines a Protobuf wrapper around an Int object. */ +/** + * IntProto defines a Protobuf wrapper around an Int object. + * Deprecated: Prefer to use math.Int directly. It supports binary Marshal and Unmarshal. + */ export interface IntProto { int: string; } -/** IntProto defines a Protobuf wrapper around an Int object. */ +/** + * IntProto defines a Protobuf wrapper around an Int object. + * Deprecated: Prefer to use math.Int directly. It supports binary Marshal and Unmarshal. + */ export interface IntProtoSDKType { int: string; } -/** DecProto defines a Protobuf wrapper around a Dec object. */ +/** + * DecProto defines a Protobuf wrapper around a Dec object. + * Deprecated: Prefer to use math.LegacyDec directly. It supports binary Marshal and Unmarshal. + */ export interface DecProto { dec: string; } -/** DecProto defines a Protobuf wrapper around a Dec object. */ +/** + * DecProto defines a Protobuf wrapper around a Dec object. + * Deprecated: Prefer to use math.LegacyDec directly. It supports binary Marshal and Unmarshal. + */ export interface DecProtoSDKType { dec: string; diff --git a/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/events/events.ts b/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/events/events.ts index 4665d3fbc6..301302e51c 100644 --- a/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/events/events.ts +++ b/indexer/packages/v4-protos/src/codegen/dydxprotocol/indexer/events/events.ts @@ -1130,6 +1130,54 @@ export interface UpdatePerpetualEventV1SDKType { liquidity_tier: number; } +/** + * TradingRewardEventV1 is communicates all trading rewards for all accounts + * that receive trade rewards in the block. + */ + +export interface TradingRewardEventV1 { + /** The list of all trading rewards in the block. */ + tradingRewards: AddressTradingReward[]; +} +/** + * TradingRewardEventV1 is communicates all trading rewards for all accounts + * that receive trade rewards in the block. + */ + +export interface TradingRewardEventV1SDKType { + /** The list of all trading rewards in the block. */ + trading_rewards: AddressTradingRewardSDKType[]; +} +/** + * AddressTradingReward contains info on an instance of an address receiving a + * reward + */ + +export interface AddressTradingReward { + /** The address of the wallet that will receive the trading reward. */ + owner: string; + /** + * The trading rewards earned by the address above in denoms. 1e18 denoms is + * equivalent to a single coin. + */ + + denoms: Uint8Array; +} +/** + * AddressTradingReward contains info on an instance of an address receiving a + * reward + */ + +export interface AddressTradingRewardSDKType { + /** The address of the wallet that will receive the trading reward. */ + owner: string; + /** + * The trading rewards earned by the address above in denoms. 1e18 denoms is + * equivalent to a single coin. + */ + + denoms: Uint8Array; +} function createBaseFundingUpdateV1(): FundingUpdateV1 { return { @@ -2849,4 +2897,104 @@ export const UpdatePerpetualEventV1 = { return message; } +}; + +function createBaseTradingRewardEventV1(): TradingRewardEventV1 { + return { + tradingRewards: [] + }; +} + +export const TradingRewardEventV1 = { + encode(message: TradingRewardEventV1, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + for (const v of message.tradingRewards) { + AddressTradingReward.encode(v!, writer.uint32(10).fork()).ldelim(); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): TradingRewardEventV1 { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseTradingRewardEventV1(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.tradingRewards.push(AddressTradingReward.decode(reader, reader.uint32())); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: DeepPartial): TradingRewardEventV1 { + const message = createBaseTradingRewardEventV1(); + message.tradingRewards = object.tradingRewards?.map(e => AddressTradingReward.fromPartial(e)) || []; + return message; + } + +}; + +function createBaseAddressTradingReward(): AddressTradingReward { + return { + owner: "", + denoms: new Uint8Array() + }; +} + +export const AddressTradingReward = { + encode(message: AddressTradingReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { + if (message.owner !== "") { + writer.uint32(10).string(message.owner); + } + + if (message.denoms.length !== 0) { + writer.uint32(18).bytes(message.denoms); + } + + return writer; + }, + + decode(input: _m0.Reader | Uint8Array, length?: number): AddressTradingReward { + const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); + let end = length === undefined ? reader.len : reader.pos + length; + const message = createBaseAddressTradingReward(); + + while (reader.pos < end) { + const tag = reader.uint32(); + + switch (tag >>> 3) { + case 1: + message.owner = reader.string(); + break; + + case 2: + message.denoms = reader.bytes(); + break; + + default: + reader.skipType(tag & 7); + break; + } + } + + return message; + }, + + fromPartial(object: DeepPartial): AddressTradingReward { + const message = createBaseAddressTradingReward(); + message.owner = object.owner ?? ""; + message.denoms = object.denoms ?? new Uint8Array(); + return message; + } + }; \ No newline at end of file diff --git a/indexer/packages/v4-protos/src/codegen/google/api/http.ts b/indexer/packages/v4-protos/src/codegen/google/api/http.ts index 768ba17a22..ee95d17837 100644 --- a/indexer/packages/v4-protos/src/codegen/google/api/http.ts +++ b/indexer/packages/v4-protos/src/codegen/google/api/http.ts @@ -218,15 +218,18 @@ export interface HttpSDKType { * 1. Leaf request fields (recursive expansion nested messages in the request * message) are classified into three categories: * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They + * are passed via the HTTP * request body. * - All other fields are passed via the URL query parameters, and the * parameter name is the field path in the request message. A repeated * field can be represented as multiple query parameters under the same * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL + * query parameter, all fields * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP + * request body, all * fields are passed via URL path and URL query parameters. * * ### Path template syntax @@ -324,7 +327,8 @@ export interface HttpRule { /** * Selects a method to which this rule applies. * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. */ selector: string; /** @@ -551,15 +555,18 @@ export interface HttpRule { * 1. Leaf request fields (recursive expansion nested messages in the request * message) are classified into three categories: * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP + * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They + * are passed via the HTTP * request body. * - All other fields are passed via the URL query parameters, and the * parameter name is the field path in the request message. A repeated * field can be represented as multiple query parameters under the same * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields + * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL + * query parameter, all fields * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all + * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP + * request body, all * fields are passed via URL path and URL query parameters. * * ### Path template syntax @@ -657,7 +664,8 @@ export interface HttpRuleSDKType { /** * Selects a method to which this rule applies. * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + * Refer to [selector][google.api.DocumentationRule.selector] for syntax + * details. */ selector: string; /** diff --git a/proto/dydxprotocol/indexer/events/events.proto b/proto/dydxprotocol/indexer/events/events.proto index be1d96dd84..ed0f12c35b 100644 --- a/proto/dydxprotocol/indexer/events/events.proto +++ b/proto/dydxprotocol/indexer/events/events.proto @@ -430,3 +430,25 @@ message UpdatePerpetualEventV1 { // Defined in perpetuals.perpetual uint32 liquidity_tier = 5; } + +// TradingRewardEventV1 is communicates all trading rewards for all accounts +// that receive trade rewards in the block. +message TradingRewardEventV1 { + // The list of all trading rewards in the block. + repeated AddressTradingReward trading_rewards = 1; +} + +// AddressTradingReward contains info on an instance of an address receiving a +// reward +message AddressTradingReward { + // The address of the wallet that will receive the trading reward. + string owner = 1; + + // The trading rewards earned by the address above in denoms. 1e18 denoms is + // equivalent to a single coin. + bytes denoms = 2 [ + (gogoproto.customtype) = + "github.com/dydxprotocol/v4-chain/protocol/dtypes.SerializableInt", + (gogoproto.nullable) = false + ]; +} diff --git a/protocol/indexer/events/events.pb.go b/protocol/indexer/events/events.pb.go index 0ddbfd4bca..ec62df42db 100644 --- a/protocol/indexer/events/events.pb.go +++ b/protocol/indexer/events/events.pb.go @@ -2004,6 +2004,103 @@ func (m *UpdatePerpetualEventV1) GetLiquidityTier() uint32 { return 0 } +// TradingRewardEventV1 is communicates all trading rewards for all accounts +// that receive trade rewards in the block. +type TradingRewardEventV1 struct { + // The list of all trading rewards in the block. + TradingRewards []*AddressTradingReward `protobuf:"bytes,1,rep,name=trading_rewards,json=tradingRewards,proto3" json:"trading_rewards,omitempty"` +} + +func (m *TradingRewardEventV1) Reset() { *m = TradingRewardEventV1{} } +func (m *TradingRewardEventV1) String() string { return proto.CompactTextString(m) } +func (*TradingRewardEventV1) ProtoMessage() {} +func (*TradingRewardEventV1) Descriptor() ([]byte, []int) { + return fileDescriptor_6331dfb59c6fd2bb, []int{19} +} +func (m *TradingRewardEventV1) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TradingRewardEventV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TradingRewardEventV1.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 *TradingRewardEventV1) XXX_Merge(src proto.Message) { + xxx_messageInfo_TradingRewardEventV1.Merge(m, src) +} +func (m *TradingRewardEventV1) XXX_Size() int { + return m.Size() +} +func (m *TradingRewardEventV1) XXX_DiscardUnknown() { + xxx_messageInfo_TradingRewardEventV1.DiscardUnknown(m) +} + +var xxx_messageInfo_TradingRewardEventV1 proto.InternalMessageInfo + +func (m *TradingRewardEventV1) GetTradingRewards() []*AddressTradingReward { + if m != nil { + return m.TradingRewards + } + return nil +} + +// AddressTradingReward contains info on an instance of an address receiving a +// reward +type AddressTradingReward struct { + // The address of the wallet that will receive the trading reward. + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` + // The trading rewards earned by the address above in denoms. 1e18 denoms is + // equivalent to a single coin. + Denoms github_com_dydxprotocol_v4_chain_protocol_dtypes.SerializableInt `protobuf:"bytes,2,opt,name=denoms,proto3,customtype=github.com/dydxprotocol/v4-chain/protocol/dtypes.SerializableInt" json:"denoms"` +} + +func (m *AddressTradingReward) Reset() { *m = AddressTradingReward{} } +func (m *AddressTradingReward) String() string { return proto.CompactTextString(m) } +func (*AddressTradingReward) ProtoMessage() {} +func (*AddressTradingReward) Descriptor() ([]byte, []int) { + return fileDescriptor_6331dfb59c6fd2bb, []int{20} +} +func (m *AddressTradingReward) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AddressTradingReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AddressTradingReward.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 *AddressTradingReward) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddressTradingReward.Merge(m, src) +} +func (m *AddressTradingReward) XXX_Size() int { + return m.Size() +} +func (m *AddressTradingReward) XXX_DiscardUnknown() { + xxx_messageInfo_AddressTradingReward.DiscardUnknown(m) +} + +var xxx_messageInfo_AddressTradingReward proto.InternalMessageInfo + +func (m *AddressTradingReward) GetOwner() string { + if m != nil { + return m.Owner + } + return "" +} + func init() { proto.RegisterEnum("dydxprotocol.indexer.events.FundingEventV1_Type", FundingEventV1_Type_name, FundingEventV1_Type_value) proto.RegisterType((*FundingUpdateV1)(nil), "dydxprotocol.indexer.events.FundingUpdateV1") @@ -2030,6 +2127,8 @@ func init() { proto.RegisterType((*LiquidityTierUpsertEventV1)(nil), "dydxprotocol.indexer.events.LiquidityTierUpsertEventV1") proto.RegisterType((*UpdateClobPairEventV1)(nil), "dydxprotocol.indexer.events.UpdateClobPairEventV1") proto.RegisterType((*UpdatePerpetualEventV1)(nil), "dydxprotocol.indexer.events.UpdatePerpetualEventV1") + proto.RegisterType((*TradingRewardEventV1)(nil), "dydxprotocol.indexer.events.TradingRewardEventV1") + proto.RegisterType((*AddressTradingReward)(nil), "dydxprotocol.indexer.events.AddressTradingReward") } func init() { @@ -2037,132 +2136,137 @@ func init() { } var fileDescriptor_6331dfb59c6fd2bb = []byte{ - // 1997 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xcd, 0x6f, 0x23, 0x49, - 0x15, 0x8f, 0x3f, 0xe2, 0x38, 0x2f, 0x71, 0xc6, 0xae, 0x49, 0x32, 0x4e, 0x02, 0x99, 0xd0, 0x12, - 0x52, 0xb4, 0x1f, 0xce, 0x64, 0x18, 0xd0, 0x8a, 0x03, 0x22, 0x4e, 0x9c, 0x8d, 0x47, 0x49, 0xc6, - 0xb4, 0x9d, 0xd9, 0xdd, 0x01, 0x6d, 0x53, 0xe9, 0x2e, 0x3b, 0xa5, 0xf4, 0xd7, 0x76, 0x95, 0xc3, - 0x64, 0x24, 0xce, 0x70, 0x03, 0x89, 0x33, 0x07, 0x0e, 0x5c, 0x90, 0x38, 0x20, 0x71, 0xdd, 0x13, - 0x97, 0xbd, 0xb1, 0xe2, 0x02, 0xe2, 0x30, 0x42, 0x33, 0x07, 0xae, 0xfc, 0x09, 0xa8, 0x3e, 0xba, - 0x6d, 0xc7, 0x76, 0xc6, 0x33, 0xc9, 0x9e, 0xe2, 0x7a, 0xaf, 0xde, 0xef, 0x7d, 0x56, 0xbd, 0x57, - 0x1d, 0xd8, 0x74, 0x2e,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, 0xd1, 0x56, 0xcd, 0xaf, 0x5e, 0xad, 0xa7, 0xbe, 0x7e, 0xb5, 0x9e, 0xfa, - 0xcf, 0xab, 0xf5, 0xd4, 0x6f, 0x5f, 0xaf, 0x4f, 0x7d, 0xfd, 0x7a, 0x7d, 0xea, 0x5f, 0xaf, 0xd7, - 0xa7, 0x9e, 0x7d, 0x34, 0xf9, 0xd7, 0xe9, 0xc1, 0x7f, 0x23, 0x9c, 0xe6, 0x24, 0xe3, 0x7b, 0xff, - 0x0f, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x35, 0x70, 0xc0, 0x6c, 0x18, 0x00, 0x00, + // 2066 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xbd, 0x6f, 0x1b, 0xc9, + 0x15, 0x17, 0x3f, 0x44, 0x51, 0x4f, 0xa2, 0x4c, 0x8e, 0x69, 0x99, 0x92, 0x12, 0xd9, 0x59, 0x20, + 0x80, 0xe1, 0xbb, 0xa3, 0x2c, 0xc7, 0x09, 0x0e, 0x29, 0x82, 0x88, 0x12, 0x75, 0xa2, 0x61, 0xc9, + 0xcc, 0x92, 0xf2, 0xdd, 0x39, 0xc1, 0xed, 0x8d, 0x76, 0x87, 0xd4, 0xc0, 0xfb, 0x75, 0x33, 0x4b, + 0xd9, 0x32, 0x90, 0x3a, 0xa9, 0x92, 0x00, 0xa9, 0x53, 0xa4, 0x48, 0x13, 0x20, 0x45, 0x80, 0xb4, + 0x57, 0xa5, 0xb9, 0x2e, 0x87, 0x34, 0x09, 0x52, 0x18, 0x81, 0x5d, 0xa4, 0xcd, 0x9f, 0x70, 0x98, + 0x8f, 0x5d, 0x92, 0xe2, 0x87, 0x69, 0x5b, 0x57, 0x89, 0xf3, 0xde, 0xbc, 0xdf, 0xfb, 0x9c, 0x79, + 0x6f, 0x56, 0x70, 0xcb, 0x39, 0x77, 0x9e, 0x85, 0x2c, 0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0xa2, 0x65, 0x50, 0x6e, 0x33, 0xec, 0x50, 0xbf, 0x6b, 0x92, + 0xa7, 0x98, 0x39, 0xfd, 0x31, 0xfd, 0x4a, 0xa4, 0xe8, 0x16, 0x93, 0x8c, 0xf8, 0x03, 0xf2, 0xf6, + 0xd4, 0x81, 0x41, 0x7f, 0x21, 0x1a, 0x82, 0x34, 0x57, 0xa2, 0xc1, 0x25, 0x37, 0x7e, 0x93, 0x82, + 0xf2, 0xb8, 0x8d, 0xe2, 0x7d, 0x16, 0x3c, 0xf5, 0x49, 0xfc, 0x11, 0x50, 0x2d, 0xd0, 0xe7, 0x90, + 0x73, 0x88, 0x1f, 0x78, 0xaa, 0x74, 0x2e, 0xf3, 0xf3, 0xb9, 0xc6, 0xad, 0x99, 0x5f, 0xbd, 0xdc, + 0x4c, 0x7d, 0xfd, 0x72, 0x33, 0xf5, 0xdf, 0x97, 0x9b, 0xa9, 0xdf, 0xbd, 0xda, 0x9c, 0xfb, 0xfa, + 0xd5, 0xe6, 0xdc, 0xbf, 0x5f, 0x6d, 0xce, 0x3d, 0xfe, 0x70, 0x76, 0x1d, 0xc3, 0xff, 0x4b, 0x39, + 0xc9, 0x49, 0xc6, 0x0f, 0xbe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x34, 0xe9, 0x9c, 0xdb, 0x71, 0x19, + 0x00, 0x00, } func (m *FundingUpdateV1) Marshal() (dAtA []byte, err error) { @@ -3544,6 +3648,83 @@ func (m *UpdatePerpetualEventV1) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } +func (m *TradingRewardEventV1) 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 *TradingRewardEventV1) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TradingRewardEventV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.TradingRewards) > 0 { + for iNdEx := len(m.TradingRewards) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.TradingRewards[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *AddressTradingReward) 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 *AddressTradingReward) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AddressTradingReward) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Denoms.Size() + i -= size + if _, err := m.Denoms.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Owner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { offset -= sovEvents(v) base := offset @@ -4174,6 +4355,36 @@ func (m *UpdatePerpetualEventV1) Size() (n int) { return n } +func (m *TradingRewardEventV1) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.TradingRewards) > 0 { + for _, e := range m.TradingRewards { + l = e.Size() + n += 1 + l + sovEvents(uint64(l)) + } + } + return n +} + +func (m *AddressTradingReward) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Owner) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = m.Denoms.Size() + n += 1 + l + sovEvents(uint64(l)) + return n +} + func sovEvents(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -7645,6 +7856,205 @@ func (m *UpdatePerpetualEventV1) Unmarshal(dAtA []byte) error { } return nil } +func (m *TradingRewardEventV1) 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: TradingRewardEventV1: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TradingRewardEventV1: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingRewards", 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.TradingRewards = append(m.TradingRewards, &AddressTradingReward{}) + if err := m.TradingRewards[len(m.TradingRewards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + 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 *AddressTradingReward) 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: AddressTradingReward: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AddressTradingReward: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Owner", 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.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denoms", 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 + } + if err := m.Denoms.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + 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 skipEvents(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0