From 403fc9bd40d0dc3e6fc710e95f5ca42301585687 Mon Sep 17 00:00:00 2001 From: Jonathan Fung <121899091+jonfung-dydx@users.noreply.github.com> Date: Mon, 5 Aug 2024 11:11:56 -0400 Subject: [PATCH] FNS protos - add taker order in stream update oneof (#2021) --- .../src/codegen/dydxprotocol/clob/query.ts | 18 +- proto/dydxprotocol/clob/query.proto | 7 +- protocol/x/clob/types/query.pb.go | 310 +++++++++++------- 3 files changed, 215 insertions(+), 120 deletions(-) diff --git a/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/query.ts b/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/query.ts index 5377900d5b..4097359e36 100644 --- a/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/query.ts +++ b/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/query.ts @@ -287,6 +287,7 @@ export interface StreamOrderbookUpdatesResponseSDKType { export interface StreamUpdate { orderbookUpdate?: StreamOrderbookUpdate; orderFill?: StreamOrderbookFill; + takerOrder?: StreamTakerOrder; /** Block height of the update. */ blockHeight: number; @@ -302,6 +303,7 @@ export interface StreamUpdate { export interface StreamUpdateSDKType { orderbook_update?: StreamOrderbookUpdateSDKType; order_fill?: StreamOrderbookFillSDKType; + taker_order?: StreamTakerOrderSDKType; /** Block height of the update. */ block_height: number; @@ -1284,6 +1286,7 @@ function createBaseStreamUpdate(): StreamUpdate { return { orderbookUpdate: undefined, orderFill: undefined, + takerOrder: undefined, blockHeight: 0, execMode: 0 }; @@ -1299,12 +1302,16 @@ export const StreamUpdate = { StreamOrderbookFill.encode(message.orderFill, writer.uint32(18).fork()).ldelim(); } + if (message.takerOrder !== undefined) { + StreamTakerOrder.encode(message.takerOrder, writer.uint32(26).fork()).ldelim(); + } + if (message.blockHeight !== 0) { - writer.uint32(24).uint32(message.blockHeight); + writer.uint32(32).uint32(message.blockHeight); } if (message.execMode !== 0) { - writer.uint32(32).uint32(message.execMode); + writer.uint32(40).uint32(message.execMode); } return writer; @@ -1328,10 +1335,14 @@ export const StreamUpdate = { break; case 3: - message.blockHeight = reader.uint32(); + message.takerOrder = StreamTakerOrder.decode(reader, reader.uint32()); break; case 4: + message.blockHeight = reader.uint32(); + break; + + case 5: message.execMode = reader.uint32(); break; @@ -1348,6 +1359,7 @@ export const StreamUpdate = { const message = createBaseStreamUpdate(); message.orderbookUpdate = object.orderbookUpdate !== undefined && object.orderbookUpdate !== null ? StreamOrderbookUpdate.fromPartial(object.orderbookUpdate) : undefined; message.orderFill = object.orderFill !== undefined && object.orderFill !== null ? StreamOrderbookFill.fromPartial(object.orderFill) : undefined; + message.takerOrder = object.takerOrder !== undefined && object.takerOrder !== null ? StreamTakerOrder.fromPartial(object.takerOrder) : undefined; message.blockHeight = object.blockHeight ?? 0; message.execMode = object.execMode ?? 0; return message; diff --git a/proto/dydxprotocol/clob/query.proto b/proto/dydxprotocol/clob/query.proto index 1642ad15cf..a00be1aaa1 100644 --- a/proto/dydxprotocol/clob/query.proto +++ b/proto/dydxprotocol/clob/query.proto @@ -178,17 +178,18 @@ message StreamOrderbookUpdatesResponse { // GRPC stream. message StreamUpdate { // Contains one of an StreamOrderbookUpdate, - // StreamOrderbookFill. + // StreamOrderbookFill, StreamTakerOrderStatus. oneof update_message { StreamOrderbookUpdate orderbook_update = 1; StreamOrderbookFill order_fill = 2; + StreamTakerOrder taker_order = 3; } // Block height of the update. - uint32 block_height = 3; + uint32 block_height = 4; // Exec mode of the update. - uint32 exec_mode = 4; + uint32 exec_mode = 5; } // StreamOrderbookUpdate provides information on an orderbook update. Used in diff --git a/protocol/x/clob/types/query.pb.go b/protocol/x/clob/types/query.pb.go index ebbe6e5f4d..287d4c1e48 100644 --- a/protocol/x/clob/types/query.pb.go +++ b/protocol/x/clob/types/query.pb.go @@ -863,17 +863,18 @@ func (m *StreamOrderbookUpdatesResponse) GetUpdates() []StreamUpdate { // GRPC stream. type StreamUpdate struct { // Contains one of an StreamOrderbookUpdate, - // StreamOrderbookFill. + // StreamOrderbookFill, StreamTakerOrderStatus. // // Types that are valid to be assigned to UpdateMessage: // // *StreamUpdate_OrderbookUpdate // *StreamUpdate_OrderFill + // *StreamUpdate_TakerOrder UpdateMessage isStreamUpdate_UpdateMessage `protobuf_oneof:"update_message"` // Block height of the update. - BlockHeight uint32 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` + BlockHeight uint32 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Exec mode of the update. - ExecMode uint32 `protobuf:"varint,4,opt,name=exec_mode,json=execMode,proto3" json:"exec_mode,omitempty"` + ExecMode uint32 `protobuf:"varint,5,opt,name=exec_mode,json=execMode,proto3" json:"exec_mode,omitempty"` } func (m *StreamUpdate) Reset() { *m = StreamUpdate{} } @@ -921,9 +922,13 @@ type StreamUpdate_OrderbookUpdate struct { type StreamUpdate_OrderFill struct { OrderFill *StreamOrderbookFill `protobuf:"bytes,2,opt,name=order_fill,json=orderFill,proto3,oneof" json:"order_fill,omitempty"` } +type StreamUpdate_TakerOrder struct { + TakerOrder *StreamTakerOrder `protobuf:"bytes,3,opt,name=taker_order,json=takerOrder,proto3,oneof" json:"taker_order,omitempty"` +} func (*StreamUpdate_OrderbookUpdate) isStreamUpdate_UpdateMessage() {} func (*StreamUpdate_OrderFill) isStreamUpdate_UpdateMessage() {} +func (*StreamUpdate_TakerOrder) isStreamUpdate_UpdateMessage() {} func (m *StreamUpdate) GetUpdateMessage() isStreamUpdate_UpdateMessage { if m != nil { @@ -946,6 +951,13 @@ func (m *StreamUpdate) GetOrderFill() *StreamOrderbookFill { return nil } +func (m *StreamUpdate) GetTakerOrder() *StreamTakerOrder { + if x, ok := m.GetUpdateMessage().(*StreamUpdate_TakerOrder); ok { + return x.TakerOrder + } + return nil +} + func (m *StreamUpdate) GetBlockHeight() uint32 { if m != nil { return m.BlockHeight @@ -965,6 +977,7 @@ func (*StreamUpdate) XXX_OneofWrappers() []interface{} { return []interface{}{ (*StreamUpdate_OrderbookUpdate)(nil), (*StreamUpdate_OrderFill)(nil), + (*StreamUpdate_TakerOrder)(nil), } } @@ -1297,105 +1310,106 @@ func init() { func init() { proto.RegisterFile("dydxprotocol/clob/query.proto", fileDescriptor_3365c195b25c5bc0) } var fileDescriptor_3365c195b25c5bc0 = []byte{ - // 1557 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0x5e, 0x6f, 0xd2, 0x36, 0x79, 0xdb, 0xb4, 0xe9, 0xa4, 0x69, 0xb7, 0x9b, 0x74, 0x93, 0x1a, - 0x9a, 0x26, 0x29, 0x5d, 0x27, 0x69, 0x55, 0x95, 0x06, 0x15, 0x25, 0x81, 0x36, 0x95, 0x1a, 0x9a, - 0xba, 0x69, 0x1b, 0x41, 0x25, 0x6b, 0xd6, 0x9e, 0x38, 0x56, 0x6c, 0xcf, 0xc6, 0x1e, 0xaf, 0x12, - 0x21, 0x04, 0xe2, 0xd0, 0x0b, 0x20, 0x21, 0x71, 0xe0, 0x80, 0xc4, 0x85, 0x33, 0x12, 0x17, 0x8e, - 0x08, 0xb8, 0xf5, 0x58, 0x89, 0x0b, 0x07, 0x84, 0x50, 0xcb, 0x99, 0xbf, 0x01, 0x79, 0x66, 0xbc, - 0xd9, 0x1f, 0xf6, 0x26, 0xcd, 0x65, 0xd7, 0x7e, 0xf3, 0xbd, 0x6f, 0xbe, 0xf7, 0xe6, 0xcd, 0xcc, - 0x33, 0x9c, 0xb7, 0x76, 0xad, 0x9d, 0x5a, 0x40, 0x19, 0x35, 0xa9, 0xab, 0x99, 0x2e, 0xad, 0x6a, - 0xdb, 0x11, 0x09, 0x76, 0x2b, 0xdc, 0x86, 0x4e, 0x35, 0x0f, 0x57, 0xe2, 0xe1, 0xd2, 0x69, 0x9b, - 0xda, 0x94, 0x9b, 0xb4, 0xf8, 0x49, 0x00, 0x4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2, 0xeb, 0x70, 0x94, 0xe7, 0x30, 0xbe, 0x1f, 0xe3, - 0x48, 0x8a, 0x59, 0x47, 0x86, 0x54, 0x2a, 0xd1, 0x71, 0xba, 0x9b, 0xb6, 0x6d, 0x58, 0xec, 0x19, - 0xef, 0x99, 0xec, 0xd5, 0x0b, 0x7b, 0xfb, 0x36, 0x54, 0x9f, 0xe5, 0x61, 0x50, 0xe8, 0x5d, 0xc3, - 0x5b, 0x24, 0xe0, 0x2c, 0x68, 0x06, 0x8e, 0x70, 0x06, 0xa9, 0x33, 0x73, 0xba, 0xe5, 0x9c, 0x2e, - 0x80, 0x68, 0x1d, 0x4e, 0x35, 0xed, 0x22, 0x43, 0x78, 0xe7, 0x33, 0x0f, 0x1f, 0x31, 0x63, 0xd3, - 0x8e, 0x4c, 0xe8, 0x06, 0xdd, 0x36, 0x1b, 0x7a, 0x02, 0x88, 0xc5, 0xca, 0x04, 0xa7, 0x11, 0x32, - 0xcc, 0xa2, 0x90, 0x17, 0x4e, 0x37, 0xea, 0xbd, 0x60, 0x1e, 0x72, 0x07, 0x7d, 0x90, 0xb5, 0x59, - 0x16, 0x07, 0xa0, 0xd0, 0x44, 0xac, 0xfe, 0xa4, 0xc0, 0x99, 0x74, 0xdf, 0x38, 0x8d, 0x2d, 0x93, - 0x8b, 0xbb, 0xba, 0x40, 0x9b, 0x20, 0x57, 0x00, 0x05, 0xc4, 0xc3, 0x8e, 0xef, 0xf8, 0xb6, 0xb1, - 0x1d, 0x61, 0x9f, 0x45, 0x5e, 0x28, 0xcf, 0xc9, 0x53, 0x8d, 0x91, 0x07, 0x72, 0x00, 0xbd, 0x07, - 0x65, 0x5a, 0x63, 0x8e, 0xe7, 0x84, 0xcc, 0x31, 0xb1, 0xeb, 0xee, 0xf2, 0x9d, 0x45, 0xac, 0x3d, - 0x57, 0x71, 0xc3, 0x8f, 0xb6, 0xa2, 0x6e, 0x73, 0x50, 0xc2, 0x32, 0xf7, 0x3d, 0xc0, 0x11, 0x7e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 0xa5, 0xb7, 0x0f, 0xe1, 0x29, 0x95, 0x57, 0xb8, 0xf2, 0x49, 0x34, 0xa1, - 0x1d, 0xe8, 0x3b, 0x1f, 0xf9, 0x30, 0xd0, 0xd2, 0x38, 0xa2, 0xb7, 0xb2, 0xe6, 0x4e, 0x6b, 0x5d, - 0x4b, 0x57, 0x0e, 0x88, 0x96, 0xea, 0x72, 0xe8, 0xd3, 0xe4, 0x44, 0x6d, 0xef, 0x80, 0xd0, 0xcc, - 0x41, 0xbb, 0x91, 0xa4, 0xdf, 0x2a, 0xcd, 0xbe, 0x86, 0x87, 0x10, 0x30, 0xa3, 0x2c, 0xae, 0x3e, - 0x7f, 0x59, 0x56, 0x5e, 0xbc, 0x2c, 0x2b, 0xff, 0xbc, 0x2c, 0x2b, 0x5f, 0xbf, 0x2a, 0xe7, 0x5e, - 0xbc, 0x2a, 0xe7, 0xfe, 0x7c, 0x55, 0xce, 0x7d, 0x78, 0xdd, 0x76, 0xd8, 0x66, 0x54, 0xad, 0x98, - 0xd4, 0x6b, 0x4d, 0x5e, 0xfd, 0xda, 0x15, 0xde, 0x0c, 0x68, 0x0d, 0xcb, 0x8e, 0x48, 0x28, 0xdb, - 0xad, 0x91, 0xb0, 0x7a, 0x94, 0x9b, 0xaf, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x10, 0x44, - 0xf0, 0xb2, 0x12, 0x00, 0x00, + // 1578 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0xcf, 0x4f, 0x1b, 0x47, + 0x14, 0xf6, 0x1a, 0x92, 0xc0, 0x73, 0x7e, 0x90, 0x21, 0x24, 0x8e, 0x21, 0x86, 0x6c, 0x1a, 0x02, + 0xa4, 0xf1, 0x02, 0x89, 0xa2, 0x34, 0x54, 0xa9, 0x80, 0x96, 0x10, 0x29, 0x34, 0x64, 0x43, 0x12, + 0xd4, 0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 0x2d, 0x93, 0xb9, 0xfa, + 0x16, 0xc7, 0x54, 0x46, 0x23, 0xdd, 0x30, 0xa1, 0x5f, 0x15, 0x28, 0x66, 0x4d, 0x84, 0x68, 0xf6, + 0x8d, 0xc6, 0x47, 0x81, 0xf1, 0xfa, 0x21, 0x46, 0x4e, 0xf5, 0x36, 0xc7, 0x7a, 0xe3, 0xb6, 0x32, + 0xa5, 0x6a, 0x5a, 0xea, 0x57, 0x36, 0xc3, 0xa3, 0x26, 0x31, 0x18, 0x15, 0xff, 0x6b, 0x2d, 0x20, + 0x7f, 0x57, 0x60, 0xa4, 0xdb, 0x70, 0x86, 0xe6, 0xb2, 0xb2, 0x76, 0x80, 0xd1, 0xb2, 0xf4, 0xee, + 0xe1, 0x8c, 0x65, 0x5c, 0xe3, 0x3c, 0xae, 0x31, 0x54, 0xd6, 0xba, 0x7e, 0x4d, 0x46, 0xbf, 0x28, + 0x30, 0xdc, 0x65, 0x32, 0x43, 0xb7, 0xb3, 0x50, 0xec, 0x3f, 0x53, 0x96, 0xe6, 0x0e, 0x65, 0x2b, + 0x03, 0xb8, 0xcc, 0x03, 0x18, 0x45, 0x17, 0xba, 0xfe, 0x76, 0x80, 0x7e, 0x53, 0xe0, 0x7c, 0xe6, + 0x74, 0x83, 0x6e, 0x65, 0x21, 0xd8, 0x6f, 0x74, 0x2a, 0xbd, 0x73, 0x08, 0x4b, 0x89, 0xbc, 0xc2, + 0x91, 0x4f, 0xa0, 0x71, 0xed, 0x40, 0xbf, 0x17, 0x20, 0x0f, 0x4e, 0x24, 0x06, 0x50, 0xf4, 0x76, + 0xd6, 0xd9, 0x69, 0x23, 0x70, 0xe9, 0xda, 0x01, 0xb5, 0x25, 0xba, 0x1c, 0xfa, 0x2c, 0xee, 0xa8, + 0xed, 0x93, 0x14, 0x9a, 0x3e, 0xe8, 0x54, 0x13, 0xcf, 0x6d, 0xa5, 0x99, 0x37, 0xb0, 0x10, 0x00, + 0xa6, 0x95, 0x85, 0xd5, 0x17, 0xaf, 0xca, 0xca, 0xcb, 0x57, 0x65, 0xe5, 0x9f, 0x57, 0x65, 0xe5, + 0xeb, 0xd7, 0xe5, 0xdc, 0xcb, 0xd7, 0xe5, 0xdc, 0x9f, 0xaf, 0xcb, 0xb9, 0x8f, 0x6e, 0x5a, 0x36, + 0xdb, 0x0c, 0xab, 0x95, 0x1a, 0x75, 0x93, 0xc9, 0x6b, 0xdc, 0xb8, 0xc6, 0x87, 0x01, 0xad, 0x29, + 0xd9, 0x11, 0x09, 0x65, 0xbb, 0x75, 0x12, 0x54, 0x8f, 0x72, 0xf1, 0xf5, 0xff, 0x03, 0x00, 0x00, + 0xff, 0xff, 0xe3, 0x8b, 0xbe, 0xb6, 0xfa, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2394,12 +2408,12 @@ func (m *StreamUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { if m.ExecMode != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.ExecMode)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x28 } if m.BlockHeight != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.BlockHeight)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x20 } if m.UpdateMessage != nil { { @@ -2455,6 +2469,27 @@ func (m *StreamUpdate_OrderFill) MarshalToSizedBuffer(dAtA []byte) (int, error) } return len(dAtA) - i, nil } +func (m *StreamUpdate_TakerOrder) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StreamUpdate_TakerOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.TakerOrder != nil { + { + size, err := m.TakerOrder.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + return len(dAtA) - i, nil +} func (m *StreamOrderbookUpdate) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2523,20 +2558,20 @@ func (m *StreamOrderbookFill) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if len(m.FillAmounts) > 0 { - dAtA16 := make([]byte, len(m.FillAmounts)*10) - var j15 int + dAtA17 := make([]byte, len(m.FillAmounts)*10) + var j16 int for _, num := range m.FillAmounts { for num >= 1<<7 { - dAtA16[j15] = uint8(uint64(num)&0x7f | 0x80) + dAtA17[j16] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j15++ + j16++ } - dAtA16[j15] = uint8(num) - j15++ + dAtA17[j16] = uint8(num) + j16++ } - i -= j15 - copy(dAtA[i:], dAtA16[:j15]) - i = encodeVarintQuery(dAtA, i, uint64(j15)) + i -= j16 + copy(dAtA[i:], dAtA17[:j16]) + i = encodeVarintQuery(dAtA, i, uint64(j16)) i-- dAtA[i] = 0x1a } @@ -2970,6 +3005,18 @@ func (m *StreamUpdate_OrderFill) Size() (n int) { } return n } +func (m *StreamUpdate_TakerOrder) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TakerOrder != nil { + l = m.TakerOrder.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} func (m *StreamOrderbookUpdate) Size() (n int) { if m == nil { return 0 @@ -4655,6 +4702,41 @@ func (m *StreamUpdate) Unmarshal(dAtA []byte) error { m.UpdateMessage = &StreamUpdate_OrderFill{v} iNdEx = postIndex case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TakerOrder", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &StreamTakerOrder{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.UpdateMessage = &StreamUpdate_TakerOrder{v} + iNdEx = postIndex + case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) } @@ -4673,7 +4755,7 @@ func (m *StreamUpdate) Unmarshal(dAtA []byte) error { break } } - case 4: + case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field ExecMode", wireType) }