From aab5fa3d09acd510bb8c8f0b24010fdaa582bb66 Mon Sep 17 00:00:00 2001 From: Chenyao Yu <4844716+chenyaoy@users.noreply.github.com> Date: Mon, 20 May 2024 13:36:32 -0400 Subject: [PATCH] rename to LongTermOrderReplacementV1 --- .../dydxprotocol/indexer/events/events.ts | 32 ++-- .../dydxprotocol/indexer/events/events.proto | 6 +- protocol/indexer/events/events.pb.go | 161 +++++++++--------- 3 files changed, 100 insertions(+), 99 deletions(-) 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 e28e353651..f774738477 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 @@ -625,7 +625,7 @@ export interface StatefulOrderEventV1 { conditionalOrderPlacement?: StatefulOrderEventV1_ConditionalOrderPlacementV1; conditionalOrderTriggered?: StatefulOrderEventV1_ConditionalOrderTriggeredV1; longTermOrderPlacement?: StatefulOrderEventV1_LongTermOrderPlacementV1; - orderReplace?: StatefulOrderEventV1_StatefulOrderReplacementV1; + orderReplace?: StatefulOrderEventV1_LongTermOrderReplacementV1; } /** * StatefulOrderEvent message contains information about a change to a stateful @@ -641,7 +641,7 @@ export interface StatefulOrderEventV1SDKType { conditional_order_placement?: StatefulOrderEventV1_ConditionalOrderPlacementV1SDKType; conditional_order_triggered?: StatefulOrderEventV1_ConditionalOrderTriggeredV1SDKType; long_term_order_placement?: StatefulOrderEventV1_LongTermOrderPlacementV1SDKType; - order_replace?: StatefulOrderEventV1_StatefulOrderReplacementV1SDKType; + order_replace?: StatefulOrderEventV1_LongTermOrderReplacementV1SDKType; } /** * A stateful order placement contains an order. @@ -719,14 +719,14 @@ export interface StatefulOrderEventV1_LongTermOrderPlacementV1 { export interface StatefulOrderEventV1_LongTermOrderPlacementV1SDKType { order?: IndexerOrderSDKType; } -/** A stateful order placement contains an order. */ +/** A long term order placement contains an order. */ -export interface StatefulOrderEventV1_StatefulOrderReplacementV1 { +export interface StatefulOrderEventV1_LongTermOrderReplacementV1 { order?: IndexerOrder; } -/** A stateful order placement contains an order. */ +/** A long term order placement contains an order. */ -export interface StatefulOrderEventV1_StatefulOrderReplacementV1SDKType { +export interface StatefulOrderEventV1_LongTermOrderReplacementV1SDKType { order?: IndexerOrderSDKType; } /** @@ -2435,7 +2435,7 @@ export const StatefulOrderEventV1 = { } if (message.orderReplace !== undefined) { - StatefulOrderEventV1_StatefulOrderReplacementV1.encode(message.orderReplace, writer.uint32(66).fork()).ldelim(); + StatefulOrderEventV1_LongTermOrderReplacementV1.encode(message.orderReplace, writer.uint32(66).fork()).ldelim(); } return writer; @@ -2471,7 +2471,7 @@ export const StatefulOrderEventV1 = { break; case 8: - message.orderReplace = StatefulOrderEventV1_StatefulOrderReplacementV1.decode(reader, reader.uint32()); + message.orderReplace = StatefulOrderEventV1_LongTermOrderReplacementV1.decode(reader, reader.uint32()); break; default: @@ -2490,7 +2490,7 @@ export const StatefulOrderEventV1 = { message.conditionalOrderPlacement = object.conditionalOrderPlacement !== undefined && object.conditionalOrderPlacement !== null ? StatefulOrderEventV1_ConditionalOrderPlacementV1.fromPartial(object.conditionalOrderPlacement) : undefined; message.conditionalOrderTriggered = object.conditionalOrderTriggered !== undefined && object.conditionalOrderTriggered !== null ? StatefulOrderEventV1_ConditionalOrderTriggeredV1.fromPartial(object.conditionalOrderTriggered) : undefined; message.longTermOrderPlacement = object.longTermOrderPlacement !== undefined && object.longTermOrderPlacement !== null ? StatefulOrderEventV1_LongTermOrderPlacementV1.fromPartial(object.longTermOrderPlacement) : undefined; - message.orderReplace = object.orderReplace !== undefined && object.orderReplace !== null ? StatefulOrderEventV1_StatefulOrderReplacementV1.fromPartial(object.orderReplace) : undefined; + message.orderReplace = object.orderReplace !== undefined && object.orderReplace !== null ? StatefulOrderEventV1_LongTermOrderReplacementV1.fromPartial(object.orderReplace) : undefined; return message; } @@ -2731,14 +2731,14 @@ export const StatefulOrderEventV1_LongTermOrderPlacementV1 = { }; -function createBaseStatefulOrderEventV1_StatefulOrderReplacementV1(): StatefulOrderEventV1_StatefulOrderReplacementV1 { +function createBaseStatefulOrderEventV1_LongTermOrderReplacementV1(): StatefulOrderEventV1_LongTermOrderReplacementV1 { return { order: undefined }; } -export const StatefulOrderEventV1_StatefulOrderReplacementV1 = { - encode(message: StatefulOrderEventV1_StatefulOrderReplacementV1, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { +export const StatefulOrderEventV1_LongTermOrderReplacementV1 = { + encode(message: StatefulOrderEventV1_LongTermOrderReplacementV1, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { if (message.order !== undefined) { IndexerOrder.encode(message.order, writer.uint32(10).fork()).ldelim(); } @@ -2746,10 +2746,10 @@ export const StatefulOrderEventV1_StatefulOrderReplacementV1 = { return writer; }, - decode(input: _m0.Reader | Uint8Array, length?: number): StatefulOrderEventV1_StatefulOrderReplacementV1 { + decode(input: _m0.Reader | Uint8Array, length?: number): StatefulOrderEventV1_LongTermOrderReplacementV1 { const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStatefulOrderEventV1_StatefulOrderReplacementV1(); + const message = createBaseStatefulOrderEventV1_LongTermOrderReplacementV1(); while (reader.pos < end) { const tag = reader.uint32(); @@ -2768,8 +2768,8 @@ export const StatefulOrderEventV1_StatefulOrderReplacementV1 = { return message; }, - fromPartial(object: DeepPartial): StatefulOrderEventV1_StatefulOrderReplacementV1 { - const message = createBaseStatefulOrderEventV1_StatefulOrderReplacementV1(); + fromPartial(object: DeepPartial): StatefulOrderEventV1_LongTermOrderReplacementV1 { + const message = createBaseStatefulOrderEventV1_LongTermOrderReplacementV1(); message.order = object.order !== undefined && object.order !== null ? IndexerOrder.fromPartial(object.order) : undefined; return message; } diff --git a/proto/dydxprotocol/indexer/events/events.proto b/proto/dydxprotocol/indexer/events/events.proto index 90c4ca005d..ea846482f9 100644 --- a/proto/dydxprotocol/indexer/events/events.proto +++ b/proto/dydxprotocol/indexer/events/events.proto @@ -249,7 +249,7 @@ message StatefulOrderEventV1 { ConditionalOrderPlacementV1 conditional_order_placement = 5; ConditionalOrderTriggeredV1 conditional_order_triggered = 6; LongTermOrderPlacementV1 long_term_order_placement = 7; - StatefulOrderReplacementV1 order_replace = 8; + LongTermOrderReplacementV1 order_replace = 8; } // A stateful order placement contains an order. @@ -282,8 +282,8 @@ message StatefulOrderEventV1 { dydxprotocol.indexer.protocol.v1.IndexerOrder order = 1; } - // A stateful order placement contains an order. - message StatefulOrderReplacementV1 { + // A long term order placement contains an order. + message LongTermOrderReplacementV1 { dydxprotocol.indexer.protocol.v1.IndexerOrder order = 1; } } diff --git a/protocol/indexer/events/events.pb.go b/protocol/indexer/events/events.pb.go index 2fd7fd00e6..b4e0ae3fb3 100644 --- a/protocol/indexer/events/events.pb.go +++ b/protocol/indexer/events/events.pb.go @@ -1187,7 +1187,7 @@ type StatefulOrderEventV1_LongTermOrderPlacement struct { LongTermOrderPlacement *StatefulOrderEventV1_LongTermOrderPlacementV1 `protobuf:"bytes,7,opt,name=long_term_order_placement,json=longTermOrderPlacement,proto3,oneof" json:"long_term_order_placement,omitempty"` } type StatefulOrderEventV1_OrderReplace struct { - OrderReplace *StatefulOrderEventV1_StatefulOrderReplacementV1 `protobuf:"bytes,8,opt,name=order_replace,json=orderReplace,proto3,oneof" json:"order_replace,omitempty"` + OrderReplace *StatefulOrderEventV1_LongTermOrderReplacementV1 `protobuf:"bytes,8,opt,name=order_replace,json=orderReplace,proto3,oneof" json:"order_replace,omitempty"` } func (*StatefulOrderEventV1_OrderPlace) isStatefulOrderEventV1_Event() {} @@ -1240,7 +1240,7 @@ func (m *StatefulOrderEventV1) GetLongTermOrderPlacement() *StatefulOrderEventV1 return nil } -func (m *StatefulOrderEventV1) GetOrderReplace() *StatefulOrderEventV1_StatefulOrderReplacementV1 { +func (m *StatefulOrderEventV1) GetOrderReplace() *StatefulOrderEventV1_LongTermOrderReplacementV1 { if x, ok := m.GetEvent().(*StatefulOrderEventV1_OrderReplace); ok { return x.OrderReplace } @@ -1516,27 +1516,27 @@ func (m *StatefulOrderEventV1_LongTermOrderPlacementV1) GetOrder() *types.Indexe return nil } -// A stateful order placement contains an order. -type StatefulOrderEventV1_StatefulOrderReplacementV1 struct { +// A long term order placement contains an order. +type StatefulOrderEventV1_LongTermOrderReplacementV1 struct { Order *types.IndexerOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"` } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) Reset() { - *m = StatefulOrderEventV1_StatefulOrderReplacementV1{} +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) Reset() { + *m = StatefulOrderEventV1_LongTermOrderReplacementV1{} } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) String() string { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) String() string { return proto.CompactTextString(m) } -func (*StatefulOrderEventV1_StatefulOrderReplacementV1) ProtoMessage() {} -func (*StatefulOrderEventV1_StatefulOrderReplacementV1) Descriptor() ([]byte, []int) { +func (*StatefulOrderEventV1_LongTermOrderReplacementV1) ProtoMessage() {} +func (*StatefulOrderEventV1_LongTermOrderReplacementV1) Descriptor() ([]byte, []int) { return fileDescriptor_6331dfb59c6fd2bb, []int{13, 5} } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) XXX_Unmarshal(b []byte) error { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_StatefulOrderEventV1_StatefulOrderReplacementV1.Marshal(b, m, deterministic) + return xxx_messageInfo_StatefulOrderEventV1_LongTermOrderReplacementV1.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1546,19 +1546,19 @@ func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) XXX_Marshal(b []byte, return b[:n], nil } } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatefulOrderEventV1_StatefulOrderReplacementV1.Merge(m, src) +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatefulOrderEventV1_LongTermOrderReplacementV1.Merge(m, src) } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) XXX_Size() int { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) XXX_Size() int { return m.Size() } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) XXX_DiscardUnknown() { - xxx_messageInfo_StatefulOrderEventV1_StatefulOrderReplacementV1.DiscardUnknown(m) +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) XXX_DiscardUnknown() { + xxx_messageInfo_StatefulOrderEventV1_LongTermOrderReplacementV1.DiscardUnknown(m) } -var xxx_messageInfo_StatefulOrderEventV1_StatefulOrderReplacementV1 proto.InternalMessageInfo +var xxx_messageInfo_StatefulOrderEventV1_LongTermOrderReplacementV1 proto.InternalMessageInfo -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) GetOrder() *types.IndexerOrder { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) GetOrder() *types.IndexerOrder { if m != nil { return m.Order } @@ -2549,7 +2549,7 @@ func init() { proto.RegisterType((*StatefulOrderEventV1_ConditionalOrderPlacementV1)(nil), "dydxprotocol.indexer.events.StatefulOrderEventV1.ConditionalOrderPlacementV1") proto.RegisterType((*StatefulOrderEventV1_ConditionalOrderTriggeredV1)(nil), "dydxprotocol.indexer.events.StatefulOrderEventV1.ConditionalOrderTriggeredV1") proto.RegisterType((*StatefulOrderEventV1_LongTermOrderPlacementV1)(nil), "dydxprotocol.indexer.events.StatefulOrderEventV1.LongTermOrderPlacementV1") - proto.RegisterType((*StatefulOrderEventV1_StatefulOrderReplacementV1)(nil), "dydxprotocol.indexer.events.StatefulOrderEventV1.StatefulOrderReplacementV1") + proto.RegisterType((*StatefulOrderEventV1_LongTermOrderReplacementV1)(nil), "dydxprotocol.indexer.events.StatefulOrderEventV1.LongTermOrderReplacementV1") proto.RegisterType((*AssetCreateEventV1)(nil), "dydxprotocol.indexer.events.AssetCreateEventV1") proto.RegisterType((*PerpetualMarketCreateEventV1)(nil), "dydxprotocol.indexer.events.PerpetualMarketCreateEventV1") proto.RegisterType((*PerpetualMarketCreateEventV2)(nil), "dydxprotocol.indexer.events.PerpetualMarketCreateEventV2") @@ -2568,7 +2568,7 @@ func init() { } var fileDescriptor_6331dfb59c6fd2bb = []byte{ - // 2304 bytes of a gzipped FileDescriptorProto + // 2305 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x6f, 0x23, 0x49, 0x15, 0x8f, 0xed, 0x8e, 0xe3, 0x3c, 0xc7, 0x19, 0xa7, 0xc6, 0xc9, 0x38, 0x09, 0x64, 0x86, 0x96, 0x90, 0x46, 0xb3, 0xbb, 0xce, 0x24, 0xec, 0xa2, 0xd5, 0x1e, 0x10, 0x71, 0x3e, 0x36, 0x8e, 0x92, @@ -2662,57 +2662,58 @@ var fileDescriptor_6331dfb59c6fd2bb = []byte{ 0x24, 0x24, 0xb6, 0xba, 0xc9, 0xaf, 0xc1, 0xa2, 0xe3, 0x18, 0x72, 0xb0, 0x45, 0x09, 0x1b, 0xfd, 0x30, 0x05, 0x8b, 0x8e, 0xef, 0x35, 0xcd, 0x88, 0x84, 0x6e, 0x9f, 0x87, 0xa6, 0xde, 0x34, 0x2d, 0xf6, 0x7d, 0xaf, 0x79, 0x4c, 0x42, 0x77, 0x80, 0x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+ 0x00, } func (m *FundingUpdateV1) Marshal() (dAtA []byte, err error) { @@ -3837,7 +3838,7 @@ func (m *StatefulOrderEventV1_LongTermOrderPlacementV1) MarshalToSizedBuffer(dAt return len(dAtA) - i, nil } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) Marshal() (dAtA []byte, err error) { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3847,12 +3848,12 @@ func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) Marshal() (dAtA []byte return dAtA[:n], nil } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) MarshalTo(dAtA []byte) (int, error) { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4945,7 +4946,7 @@ func (m *StatefulOrderEventV1_LongTermOrderPlacementV1) Size() (n int) { return n } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) Size() (n int) { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) Size() (n int) { if m == nil { return 0 } @@ -7377,7 +7378,7 @@ func (m *StatefulOrderEventV1) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &StatefulOrderEventV1_StatefulOrderReplacementV1{} + v := &StatefulOrderEventV1_LongTermOrderReplacementV1{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7853,7 +7854,7 @@ func (m *StatefulOrderEventV1_LongTermOrderPlacementV1) Unmarshal(dAtA []byte) e } return nil } -func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) Unmarshal(dAtA []byte) error { +func (m *StatefulOrderEventV1_LongTermOrderReplacementV1) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7876,10 +7877,10 @@ func (m *StatefulOrderEventV1_StatefulOrderReplacementV1) Unmarshal(dAtA []byte) fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StatefulOrderReplacementV1: wiretype end group for non-group") + return fmt.Errorf("proto: LongTermOrderReplacementV1: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StatefulOrderReplacementV1: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LongTermOrderReplacementV1: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: