From d34ee63f5f2d9612b56772c525033ea31cd0c5a0 Mon Sep 17 00:00:00 2001 From: Sean McGary Date: Tue, 4 Feb 2025 15:09:53 -0600 Subject: [PATCH 1/2] feat: add GetEigenStateChanges to get EigenState changes at a block height --- .../sidecar/v1/eigenState/eigenState.pb.ts | 106 ++ .../v1/ethereumTypes/ethereumTypes.pb.ts | 35 + .../eigenlayer/sidecar/v1/events/events.pb.ts | 14 +- .../sidecar/v1/protocol/protocol.pb.ts | 12 + gen/openapiv2/apidocs.swagger.json | 208 ++- .../sidecar/v1/eigenState/eigenState.pb.go | 1438 +++++++++++++++++ .../v1/ethereumTypes/ethereumTypes.pb.go | 483 ++++++ .../eigenlayer/sidecar/v1/events/events.pb.go | 198 +-- .../sidecar/v1/protocol/protocol.pb.go | 545 ++++--- .../sidecar/v1/protocol/protocol.pb.gw.go | 54 + .../sidecar/v1/protocol/protocol_grpc.pb.go | 44 +- .../v1/{eventTypes => eigenState}/__init__.py | 0 .../eigenState_pb2.py | 10 +- .../eigenState_pb2_grpc.py | 0 .../sidecar/v1/ethereumTypes/__init__.py | 0 .../v1/ethereumTypes/ethereumTypes_pb2.py | 43 + .../ethereumTypes_pb2_grpc.py | 0 .../v1/eventTypes/ethereumTypes_pb2.py | 43 - .../sidecar/v1/events/events_pb2.py | 26 +- .../sidecar/v1/protocol/protocol_pb2.py | 57 +- .../sidecar/v1/protocol/protocol_pb2_grpc.py | 43 + .../eigenState.proto | 4 +- .../ethereumTypes.proto | 4 +- .../eigenlayer/sidecar/v1/events/events.proto | 14 +- .../sidecar/v1/protocol/protocol.proto | 16 + 25 files changed, 2924 insertions(+), 473 deletions(-) create mode 100644 gen/api-ts/eigenlayer/sidecar/v1/eigenState/eigenState.pb.ts create mode 100644 gen/api-ts/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.pb.ts create mode 100644 gen/protos/eigenlayer/sidecar/v1/eigenState/eigenState.pb.go create mode 100644 gen/protos/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.pb.go rename gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/{eventTypes => eigenState}/__init__.py (100%) rename gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/{eventTypes => eigenState}/eigenState_pb2.py (76%) rename gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/{eventTypes => eigenState}/eigenState_pb2_grpc.py (100%) create mode 100644 gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/__init__.py create mode 100644 gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes_pb2.py rename gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/{eventTypes => ethereumTypes}/ethereumTypes_pb2_grpc.py (100%) delete mode 100644 gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/ethereumTypes_pb2.py rename protos/eigenlayer/sidecar/v1/{eventTypes => eigenState}/eigenState.proto (96%) rename protos/eigenlayer/sidecar/v1/{eventTypes => ethereumTypes}/ethereumTypes.proto (90%) diff --git a/gen/api-ts/eigenlayer/sidecar/v1/eigenState/eigenState.pb.ts b/gen/api-ts/eigenlayer/sidecar/v1/eigenState/eigenState.pb.ts new file mode 100644 index 0000000..9b11d4c --- /dev/null +++ b/gen/api-ts/eigenlayer/sidecar/v1/eigenState/eigenState.pb.ts @@ -0,0 +1,106 @@ +/* eslint-disable */ +// @ts-nocheck +/* +* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY +*/ + +import * as GoogleProtobufTimestamp from "../../../../google/protobuf/timestamp.pb" + +type Absent = { [k in Exclude]?: undefined }; +type OneOf = + | { [k in keyof T]?: undefined } + | ( + keyof T extends infer K ? + (K extends string & keyof T ? { [k in K]: T[K] } & Absent + : never) + : never); + +export enum RewardSubmissionRewardType { + AVS = "AVS", + ALL_STAKERS = "ALL_STAKERS", + ALL_EARNERS = "ALL_EARNERS", +} + +export type StateRoot = { + ethBlockNumber?: string + ethBlockHash?: string + stateRoot?: string +} + +export type TransactionMetadata = { + logIndex?: string + transactionHash?: string + blockHeight?: string +} + +export type AvsOperatorStateChange = { + avs?: string + operator?: string + registered?: boolean + transactionMetadata?: TransactionMetadata +} + +export type OperatorShareDelta = { + operator?: string + staker?: string + strategy?: string + shares?: string + blockTime?: GoogleProtobufTimestamp.Timestamp + blockDate?: string + transactionMetadata?: TransactionMetadata +} + +export type RewardSubmission = { + avs?: string + rewardHash?: string + token?: string + amount?: string + strategy?: string + strategyIndex?: string + multiplier?: string + startTimestamp?: GoogleProtobufTimestamp.Timestamp + endTimestamp?: GoogleProtobufTimestamp.Timestamp + duration?: string + rewardType?: RewardSubmissionRewardType + transactionMetadata?: TransactionMetadata +} + +export type StakerDelegationChange = { + staker?: string + operator?: string + delegated?: boolean + transactionMetadata?: TransactionMetadata +} + +export type StakerShareDelta = { + staker?: string + strategy?: string + shares?: string + strategyIndex?: string + blockTime?: GoogleProtobufTimestamp.Timestamp + blockDate?: string + transactionMetadata?: TransactionMetadata +} + +export type SubmittedDistributionRoot = { + root?: string + rootIndex?: string + rewardsCalculationEnd?: GoogleProtobufTimestamp.Timestamp + rewardsCalculationEndUnit?: string + activatedAt?: GoogleProtobufTimestamp.Timestamp + activatedAtUnit?: string + createdAtBlockNumber?: string + transactionMetadata?: TransactionMetadata +} + +export type DisabledDistributionRoot = { + rootIndex?: string + transactionMetadata?: TransactionMetadata +} + + +type BaseEigenStateChange = { +} + +export type EigenStateChange = BaseEigenStateChange + & OneOf<{ avsOperatorStateChange: AvsOperatorStateChange; operatorShareDelta: OperatorShareDelta; rewardSubmission: RewardSubmission; stakerDelegationChange: StakerDelegationChange; stakerShareDelta: StakerShareDelta; submittedDistributionRoot: SubmittedDistributionRoot; disabledDistributionRoot: DisabledDistributionRoot }> \ No newline at end of file diff --git a/gen/api-ts/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.pb.ts b/gen/api-ts/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.pb.ts new file mode 100644 index 0000000..ab91d1b --- /dev/null +++ b/gen/api-ts/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.pb.ts @@ -0,0 +1,35 @@ +/* eslint-disable */ +// @ts-nocheck +/* +* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY +*/ + +import * as GoogleProtobufTimestamp from "../../../../google/protobuf/timestamp.pb" +export type TransactionLog = { + transactionHash?: string + transactionIndex?: string + logIndex?: string + blockNumber?: string + address?: string + eventName?: string + arguments?: Uint8Array + outputData?: Uint8Array +} + +export type Transaction = { + transactionHash?: string + transactionIndex?: string + blockNumber?: string + fromAddress?: string + toAddress?: string + contractAddress?: string + logs?: TransactionLog[] +} + +export type Block = { + blockNumber?: string + blockHash?: string + parentHash?: string + blockTime?: GoogleProtobufTimestamp.Timestamp + transactions?: Transaction[] +} \ No newline at end of file diff --git a/gen/api-ts/eigenlayer/sidecar/v1/events/events.pb.ts b/gen/api-ts/eigenlayer/sidecar/v1/events/events.pb.ts index 5967297..34ff28e 100644 --- a/gen/api-ts/eigenlayer/sidecar/v1/events/events.pb.ts +++ b/gen/api-ts/eigenlayer/sidecar/v1/events/events.pb.ts @@ -5,15 +5,15 @@ */ import * as fm from "../../../../fetch.pb" -import * as EigenlayerSidecarV1EventTypesEigenState from "../eventTypes/eigenState.pb" -import * as EigenlayerSidecarV1EventTypesEthereumTypes from "../eventTypes/ethereumTypes.pb" +import * as EigenlayerSidecarV1EigenStateEigenState from "../eigenState/eigenState.pb" +import * as EigenlayerSidecarV1EthereumTypesEthereumTypes from "../ethereumTypes/ethereumTypes.pb" export type StreamEigenStateChangesRequest = { } export type StreamEigenStateChangesResponse = { blockNumber?: string - stateRoot?: EigenlayerSidecarV1EventTypesEigenState.StateRoot - changes?: EigenlayerSidecarV1EventTypesEigenState.EigenStateChange[] + stateRoot?: EigenlayerSidecarV1EigenStateEigenState.StateRoot + changes?: EigenlayerSidecarV1EigenStateEigenState.EigenStateChange[] } export type StreamIndexedBlocksRequest = { @@ -21,9 +21,9 @@ export type StreamIndexedBlocksRequest = { } export type StreamIndexedBlocksResponse = { - block?: EigenlayerSidecarV1EventTypesEthereumTypes.Block - stateRoot?: EigenlayerSidecarV1EventTypesEigenState.StateRoot - changes?: EigenlayerSidecarV1EventTypesEigenState.EigenStateChange[] + block?: EigenlayerSidecarV1EthereumTypesEthereumTypes.Block + stateRoot?: EigenlayerSidecarV1EigenStateEigenState.StateRoot + changes?: EigenlayerSidecarV1EigenStateEigenState.EigenStateChange[] } export class Events { diff --git a/gen/api-ts/eigenlayer/sidecar/v1/protocol/protocol.pb.ts b/gen/api-ts/eigenlayer/sidecar/v1/protocol/protocol.pb.ts index 99e1e2f..dab027e 100644 --- a/gen/api-ts/eigenlayer/sidecar/v1/protocol/protocol.pb.ts +++ b/gen/api-ts/eigenlayer/sidecar/v1/protocol/protocol.pb.ts @@ -6,6 +6,7 @@ import * as fm from "../../../../fetch.pb" import * as EigenlayerSidecarV1CommonTypes from "../common/types.pb" +import * as EigenlayerSidecarV1EigenStateEigenState from "../eigenState/eigenState.pb" type Absent = { [k in Exclude]?: undefined }; type OneOf = @@ -92,6 +93,14 @@ export type GetStakerSharesResponse = { shares?: StakerShare[] } +export type GetEigenStateChangesRequest = { + blockHeight?: string +} + +export type GetEigenStateChangesResponse = { + changes?: EigenlayerSidecarV1EigenStateEigenState.EigenStateChange[] +} + export class Protocol { static GetRegisteredAvsForOperator(req: GetRegisteredAvsForOperatorRequest, initReq?: fm.InitReq): Promise { return fm.fetchReq(`/protocol/v1/operators/${req["operatorAddress"]}/registered-avs?${fm.renderURLSearchParams(req, ["operatorAddress"])}`, {...initReq, method: "GET"}) @@ -108,4 +117,7 @@ export class Protocol { static GetStakerShares(req: GetStakerSharesRequest, initReq?: fm.InitReq): Promise { return fm.fetchReq(`/protocol/v1/stakers/${req["stakerAddress"]}/shares?${fm.renderURLSearchParams(req, ["stakerAddress"])}`, {...initReq, method: "GET"}) } + static GetEigenStateChanges(req: GetEigenStateChangesRequest, entityNotifier?: fm.NotifyStreamEntityArrival, initReq?: fm.InitReq): Promise { + return fm.fetchStreamingRequest(`/protocol/v1/eigen-state-changes`, entityNotifier, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)}) + } } \ No newline at end of file diff --git a/gen/openapiv2/apidocs.swagger.json b/gen/openapiv2/apidocs.swagger.json index d395de1..20a359b 100644 --- a/gen/openapiv2/apidocs.swagger.json +++ b/gen/openapiv2/apidocs.swagger.json @@ -191,6 +191,47 @@ ] } }, + "/protocol/v1/eigen-state-changes": { + "post": { + "operationId": "Protocol_GetEigenStateChanges", + "responses": { + "200": { + "description": "A successful response.(streaming responses)", + "schema": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/protocolGetEigenStateChangesResponse" + }, + "error": { + "$ref": "#/definitions/rpcStatus" + } + }, + "title": "Stream result of protocolGetEigenStateChangesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/protocolGetEigenStateChangesRequest" + } + } + ], + "tags": [ + "Protocol" + ] + } + }, "/protocol/v1/operators/{operatorAddress}/delegated-stakers": { "get": { "summary": "GetDelegatedStakersForOperator returns the list of stakers that have delegated to an operator.\nBlockHeight is optional, otherwise latest is used.", @@ -1162,7 +1203,7 @@ } } }, - "eventTypesAvsOperatorStateChange": { + "eigenStateAvsOperatorStateChange": { "type": "object", "properties": { "avs": { @@ -1175,37 +1216,11 @@ "type": "boolean" }, "transactionMetadata": { - "$ref": "#/definitions/eventTypesTransactionMetadata" + "$ref": "#/definitions/eigenStateTransactionMetadata" } } }, - "eventTypesBlock": { - "type": "object", - "properties": { - "blockNumber": { - "type": "string", - "format": "uint64" - }, - "blockHash": { - "type": "string" - }, - "parentHash": { - "type": "string" - }, - "blockTime": { - "type": "string", - "format": "date-time" - }, - "transactions": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/eventTypesTransaction" - } - } - } - }, - "eventTypesDisabledDistributionRoot": { + "eigenStateDisabledDistributionRoot": { "type": "object", "properties": { "rootIndex": { @@ -1213,37 +1228,37 @@ "format": "uint64" }, "transactionMetadata": { - "$ref": "#/definitions/eventTypesTransactionMetadata" + "$ref": "#/definitions/eigenStateTransactionMetadata" } } }, - "eventTypesEigenStateChange": { + "eigenStateEigenStateChange": { "type": "object", "properties": { "avsOperatorStateChange": { - "$ref": "#/definitions/eventTypesAvsOperatorStateChange" + "$ref": "#/definitions/eigenStateAvsOperatorStateChange" }, "operatorShareDelta": { - "$ref": "#/definitions/eventTypesOperatorShareDelta" + "$ref": "#/definitions/eigenStateOperatorShareDelta" }, "rewardSubmission": { - "$ref": "#/definitions/eventTypesRewardSubmission" + "$ref": "#/definitions/eigenStateRewardSubmission" }, "stakerDelegationChange": { - "$ref": "#/definitions/eventTypesStakerDelegationChange" + "$ref": "#/definitions/eigenStateStakerDelegationChange" }, "stakerShareDelta": { - "$ref": "#/definitions/eventTypesStakerShareDelta" + "$ref": "#/definitions/eigenStateStakerShareDelta" }, "submittedDistributionRoot": { - "$ref": "#/definitions/eventTypesSubmittedDistributionRoot" + "$ref": "#/definitions/eigenStateSubmittedDistributionRoot" }, "disabledDistributionRoot": { - "$ref": "#/definitions/eventTypesDisabledDistributionRoot" + "$ref": "#/definitions/eigenStateDisabledDistributionRoot" } } }, - "eventTypesOperatorShareDelta": { + "eigenStateOperatorShareDelta": { "type": "object", "properties": { "operator": { @@ -1266,11 +1281,11 @@ "type": "string" }, "transactionMetadata": { - "$ref": "#/definitions/eventTypesTransactionMetadata" + "$ref": "#/definitions/eigenStateTransactionMetadata" } } }, - "eventTypesRewardSubmission": { + "eigenStateRewardSubmission": { "type": "object", "properties": { "avs": { @@ -1311,11 +1326,11 @@ "$ref": "#/definitions/RewardSubmissionRewardType" }, "transactionMetadata": { - "$ref": "#/definitions/eventTypesTransactionMetadata" + "$ref": "#/definitions/eigenStateTransactionMetadata" } } }, - "eventTypesStakerDelegationChange": { + "eigenStateStakerDelegationChange": { "type": "object", "properties": { "staker": { @@ -1328,11 +1343,11 @@ "type": "boolean" }, "transactionMetadata": { - "$ref": "#/definitions/eventTypesTransactionMetadata" + "$ref": "#/definitions/eigenStateTransactionMetadata" } } }, - "eventTypesStakerShareDelta": { + "eigenStateStakerShareDelta": { "type": "object", "properties": { "staker": { @@ -1356,11 +1371,11 @@ "type": "string" }, "transactionMetadata": { - "$ref": "#/definitions/eventTypesTransactionMetadata" + "$ref": "#/definitions/eigenStateTransactionMetadata" } } }, - "eventTypesStateRoot": { + "eigenStateStateRoot": { "type": "object", "properties": { "ethBlockNumber": { @@ -1375,7 +1390,7 @@ } } }, - "eventTypesSubmittedDistributionRoot": { + "eigenStateSubmittedDistributionRoot": { "type": "object", "properties": { "root": { @@ -1404,11 +1419,53 @@ "format": "uint64" }, "transactionMetadata": { - "$ref": "#/definitions/eventTypesTransactionMetadata" + "$ref": "#/definitions/eigenStateTransactionMetadata" + } + } + }, + "eigenStateTransactionMetadata": { + "type": "object", + "properties": { + "logIndex": { + "type": "string", + "format": "uint64" + }, + "transactionHash": { + "type": "string" + }, + "blockHeight": { + "type": "string", + "format": "uint64" + } + } + }, + "ethereumTypesBlock": { + "type": "object", + "properties": { + "blockNumber": { + "type": "string", + "format": "uint64" + }, + "blockHash": { + "type": "string" + }, + "parentHash": { + "type": "string" + }, + "blockTime": { + "type": "string", + "format": "date-time" + }, + "transactions": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/ethereumTypesTransaction" + } } } }, - "eventTypesTransaction": { + "ethereumTypesTransaction": { "type": "object", "properties": { "transactionHash": { @@ -1435,12 +1492,12 @@ "type": "array", "items": { "type": "object", - "$ref": "#/definitions/eventTypesTransactionLog" + "$ref": "#/definitions/ethereumTypesTransactionLog" } } } }, - "eventTypesTransactionLog": { + "ethereumTypesTransactionLog": { "type": "object", "properties": { "transactionHash": { @@ -1474,22 +1531,6 @@ } } }, - "eventTypesTransactionMetadata": { - "type": "object", - "properties": { - "logIndex": { - "type": "string", - "format": "uint64" - }, - "transactionHash": { - "type": "string" - }, - "blockHeight": { - "type": "string", - "format": "uint64" - } - } - }, "eventsStreamEigenStateChangesRequest": { "type": "object" }, @@ -1501,13 +1542,13 @@ "format": "uint64" }, "stateRoot": { - "$ref": "#/definitions/eventTypesStateRoot" + "$ref": "#/definitions/eigenStateStateRoot" }, "changes": { "type": "array", "items": { "type": "object", - "$ref": "#/definitions/eventTypesEigenStateChange" + "$ref": "#/definitions/eigenStateEigenStateChange" } } } @@ -1525,16 +1566,16 @@ "type": "object", "properties": { "block": { - "$ref": "#/definitions/eventTypesBlock" + "$ref": "#/definitions/ethereumTypesBlock" }, "stateRoot": { - "$ref": "#/definitions/eventTypesStateRoot" + "$ref": "#/definitions/eigenStateStateRoot" }, "changes": { "type": "array", "items": { "type": "object", - "$ref": "#/definitions/eventTypesEigenStateChange" + "$ref": "#/definitions/eigenStateEigenStateChange" } } } @@ -1589,6 +1630,27 @@ } } }, + "protocolGetEigenStateChangesRequest": { + "type": "object", + "properties": { + "blockHeight": { + "type": "string", + "format": "uint64" + } + } + }, + "protocolGetEigenStateChangesResponse": { + "type": "object", + "properties": { + "changes": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/eigenStateEigenStateChange" + } + } + } + }, "protocolGetOperatorDelegatedStakeForStrategyResponse": { "type": "object", "properties": { diff --git a/gen/protos/eigenlayer/sidecar/v1/eigenState/eigenState.pb.go b/gen/protos/eigenlayer/sidecar/v1/eigenState/eigenState.pb.go new file mode 100644 index 0000000..0953007 --- /dev/null +++ b/gen/protos/eigenlayer/sidecar/v1/eigenState/eigenState.pb.go @@ -0,0 +1,1438 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: eigenlayer/sidecar/v1/eigenState/eigenState.proto + +package eigenState + +import ( + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type RewardSubmission_RewardType int32 + +const ( + RewardSubmission_AVS RewardSubmission_RewardType = 0 + RewardSubmission_ALL_STAKERS RewardSubmission_RewardType = 1 + RewardSubmission_ALL_EARNERS RewardSubmission_RewardType = 2 +) + +// Enum value maps for RewardSubmission_RewardType. +var ( + RewardSubmission_RewardType_name = map[int32]string{ + 0: "AVS", + 1: "ALL_STAKERS", + 2: "ALL_EARNERS", + } + RewardSubmission_RewardType_value = map[string]int32{ + "AVS": 0, + "ALL_STAKERS": 1, + "ALL_EARNERS": 2, + } +) + +func (x RewardSubmission_RewardType) Enum() *RewardSubmission_RewardType { + p := new(RewardSubmission_RewardType) + *p = x + return p +} + +func (x RewardSubmission_RewardType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RewardSubmission_RewardType) Descriptor() protoreflect.EnumDescriptor { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_enumTypes[0].Descriptor() +} + +func (RewardSubmission_RewardType) Type() protoreflect.EnumType { + return &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_enumTypes[0] +} + +func (x RewardSubmission_RewardType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RewardSubmission_RewardType.Descriptor instead. +func (RewardSubmission_RewardType) EnumDescriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{4, 0} +} + +type StateRoot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EthBlockNumber uint64 `protobuf:"varint,1,opt,name=eth_block_number,json=ethBlockNumber,proto3" json:"eth_block_number,omitempty"` + EthBlockHash string `protobuf:"bytes,2,opt,name=eth_block_hash,json=ethBlockHash,proto3" json:"eth_block_hash,omitempty"` + StateRoot string `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` +} + +func (x *StateRoot) Reset() { + *x = StateRoot{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StateRoot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StateRoot) ProtoMessage() {} + +func (x *StateRoot) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StateRoot.ProtoReflect.Descriptor instead. +func (*StateRoot) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{0} +} + +func (x *StateRoot) GetEthBlockNumber() uint64 { + if x != nil { + return x.EthBlockNumber + } + return 0 +} + +func (x *StateRoot) GetEthBlockHash() string { + if x != nil { + return x.EthBlockHash + } + return "" +} + +func (x *StateRoot) GetStateRoot() string { + if x != nil { + return x.StateRoot + } + return "" +} + +type TransactionMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LogIndex uint64 `protobuf:"varint,4,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` + TransactionHash string `protobuf:"bytes,5,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` + BlockHeight uint64 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *TransactionMetadata) Reset() { + *x = TransactionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionMetadata) ProtoMessage() {} + +func (x *TransactionMetadata) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionMetadata.ProtoReflect.Descriptor instead. +func (*TransactionMetadata) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{1} +} + +func (x *TransactionMetadata) GetLogIndex() uint64 { + if x != nil { + return x.LogIndex + } + return 0 +} + +func (x *TransactionMetadata) GetTransactionHash() string { + if x != nil { + return x.TransactionHash + } + return "" +} + +func (x *TransactionMetadata) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type AvsOperatorStateChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Avs string `protobuf:"bytes,1,opt,name=avs,proto3" json:"avs,omitempty"` + Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` + Registered bool `protobuf:"varint,3,opt,name=registered,proto3" json:"registered,omitempty"` + TransactionMetadata *TransactionMetadata `protobuf:"bytes,4,opt,name=transaction_metadata,json=transactionMetadata,proto3" json:"transaction_metadata,omitempty"` +} + +func (x *AvsOperatorStateChange) Reset() { + *x = AvsOperatorStateChange{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AvsOperatorStateChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AvsOperatorStateChange) ProtoMessage() {} + +func (x *AvsOperatorStateChange) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AvsOperatorStateChange.ProtoReflect.Descriptor instead. +func (*AvsOperatorStateChange) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{2} +} + +func (x *AvsOperatorStateChange) GetAvs() string { + if x != nil { + return x.Avs + } + return "" +} + +func (x *AvsOperatorStateChange) GetOperator() string { + if x != nil { + return x.Operator + } + return "" +} + +func (x *AvsOperatorStateChange) GetRegistered() bool { + if x != nil { + return x.Registered + } + return false +} + +func (x *AvsOperatorStateChange) GetTransactionMetadata() *TransactionMetadata { + if x != nil { + return x.TransactionMetadata + } + return nil +} + +type OperatorShareDelta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` + Staker string `protobuf:"bytes,2,opt,name=staker,proto3" json:"staker,omitempty"` + Strategy string `protobuf:"bytes,3,opt,name=strategy,proto3" json:"strategy,omitempty"` + Shares string `protobuf:"bytes,4,opt,name=shares,proto3" json:"shares,omitempty"` + BlockTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` + BlockDate string `protobuf:"bytes,6,opt,name=block_date,json=blockDate,proto3" json:"block_date,omitempty"` + TransactionMetadata *TransactionMetadata `protobuf:"bytes,7,opt,name=transaction_metadata,json=transactionMetadata,proto3" json:"transaction_metadata,omitempty"` +} + +func (x *OperatorShareDelta) Reset() { + *x = OperatorShareDelta{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OperatorShareDelta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OperatorShareDelta) ProtoMessage() {} + +func (x *OperatorShareDelta) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OperatorShareDelta.ProtoReflect.Descriptor instead. +func (*OperatorShareDelta) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{3} +} + +func (x *OperatorShareDelta) GetOperator() string { + if x != nil { + return x.Operator + } + return "" +} + +func (x *OperatorShareDelta) GetStaker() string { + if x != nil { + return x.Staker + } + return "" +} + +func (x *OperatorShareDelta) GetStrategy() string { + if x != nil { + return x.Strategy + } + return "" +} + +func (x *OperatorShareDelta) GetShares() string { + if x != nil { + return x.Shares + } + return "" +} + +func (x *OperatorShareDelta) GetBlockTime() *timestamppb.Timestamp { + if x != nil { + return x.BlockTime + } + return nil +} + +func (x *OperatorShareDelta) GetBlockDate() string { + if x != nil { + return x.BlockDate + } + return "" +} + +func (x *OperatorShareDelta) GetTransactionMetadata() *TransactionMetadata { + if x != nil { + return x.TransactionMetadata + } + return nil +} + +type RewardSubmission struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Avs string `protobuf:"bytes,1,opt,name=avs,proto3" json:"avs,omitempty"` + RewardHash string `protobuf:"bytes,2,opt,name=reward_hash,json=rewardHash,proto3" json:"reward_hash,omitempty"` + Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` + Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` + Strategy string `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"` + StrategyIndex uint64 `protobuf:"varint,6,opt,name=strategy_index,json=strategyIndex,proto3" json:"strategy_index,omitempty"` + Multiplier string `protobuf:"bytes,7,opt,name=multiplier,proto3" json:"multiplier,omitempty"` + StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"` + EndTimestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"` + Duration uint64 `protobuf:"varint,10,opt,name=duration,proto3" json:"duration,omitempty"` + RewardType RewardSubmission_RewardType `protobuf:"varint,11,opt,name=reward_type,json=rewardType,proto3,enum=eigenlayer.sidecar.v1.eigenState.RewardSubmission_RewardType" json:"reward_type,omitempty"` + TransactionMetadata *TransactionMetadata `protobuf:"bytes,12,opt,name=transaction_metadata,json=transactionMetadata,proto3" json:"transaction_metadata,omitempty"` +} + +func (x *RewardSubmission) Reset() { + *x = RewardSubmission{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RewardSubmission) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RewardSubmission) ProtoMessage() {} + +func (x *RewardSubmission) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RewardSubmission.ProtoReflect.Descriptor instead. +func (*RewardSubmission) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{4} +} + +func (x *RewardSubmission) GetAvs() string { + if x != nil { + return x.Avs + } + return "" +} + +func (x *RewardSubmission) GetRewardHash() string { + if x != nil { + return x.RewardHash + } + return "" +} + +func (x *RewardSubmission) GetToken() string { + if x != nil { + return x.Token + } + return "" +} + +func (x *RewardSubmission) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +func (x *RewardSubmission) GetStrategy() string { + if x != nil { + return x.Strategy + } + return "" +} + +func (x *RewardSubmission) GetStrategyIndex() uint64 { + if x != nil { + return x.StrategyIndex + } + return 0 +} + +func (x *RewardSubmission) GetMultiplier() string { + if x != nil { + return x.Multiplier + } + return "" +} + +func (x *RewardSubmission) GetStartTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.StartTimestamp + } + return nil +} + +func (x *RewardSubmission) GetEndTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.EndTimestamp + } + return nil +} + +func (x *RewardSubmission) GetDuration() uint64 { + if x != nil { + return x.Duration + } + return 0 +} + +func (x *RewardSubmission) GetRewardType() RewardSubmission_RewardType { + if x != nil { + return x.RewardType + } + return RewardSubmission_AVS +} + +func (x *RewardSubmission) GetTransactionMetadata() *TransactionMetadata { + if x != nil { + return x.TransactionMetadata + } + return nil +} + +type StakerDelegationChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Staker string `protobuf:"bytes,1,opt,name=staker,proto3" json:"staker,omitempty"` + Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` + Delegated bool `protobuf:"varint,3,opt,name=delegated,proto3" json:"delegated,omitempty"` + TransactionMetadata *TransactionMetadata `protobuf:"bytes,4,opt,name=transaction_metadata,json=transactionMetadata,proto3" json:"transaction_metadata,omitempty"` +} + +func (x *StakerDelegationChange) Reset() { + *x = StakerDelegationChange{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StakerDelegationChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StakerDelegationChange) ProtoMessage() {} + +func (x *StakerDelegationChange) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StakerDelegationChange.ProtoReflect.Descriptor instead. +func (*StakerDelegationChange) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{5} +} + +func (x *StakerDelegationChange) GetStaker() string { + if x != nil { + return x.Staker + } + return "" +} + +func (x *StakerDelegationChange) GetOperator() string { + if x != nil { + return x.Operator + } + return "" +} + +func (x *StakerDelegationChange) GetDelegated() bool { + if x != nil { + return x.Delegated + } + return false +} + +func (x *StakerDelegationChange) GetTransactionMetadata() *TransactionMetadata { + if x != nil { + return x.TransactionMetadata + } + return nil +} + +type StakerShareDelta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Staker string `protobuf:"bytes,1,opt,name=staker,proto3" json:"staker,omitempty"` + Strategy string `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"` + Shares string `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"` + StrategyIndex uint64 `protobuf:"varint,4,opt,name=strategy_index,json=strategyIndex,proto3" json:"strategy_index,omitempty"` + BlockTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` + BlockDate string `protobuf:"bytes,6,opt,name=block_date,json=blockDate,proto3" json:"block_date,omitempty"` + TransactionMetadata *TransactionMetadata `protobuf:"bytes,7,opt,name=transaction_metadata,json=transactionMetadata,proto3" json:"transaction_metadata,omitempty"` +} + +func (x *StakerShareDelta) Reset() { + *x = StakerShareDelta{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StakerShareDelta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StakerShareDelta) ProtoMessage() {} + +func (x *StakerShareDelta) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StakerShareDelta.ProtoReflect.Descriptor instead. +func (*StakerShareDelta) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{6} +} + +func (x *StakerShareDelta) GetStaker() string { + if x != nil { + return x.Staker + } + return "" +} + +func (x *StakerShareDelta) GetStrategy() string { + if x != nil { + return x.Strategy + } + return "" +} + +func (x *StakerShareDelta) GetShares() string { + if x != nil { + return x.Shares + } + return "" +} + +func (x *StakerShareDelta) GetStrategyIndex() uint64 { + if x != nil { + return x.StrategyIndex + } + return 0 +} + +func (x *StakerShareDelta) GetBlockTime() *timestamppb.Timestamp { + if x != nil { + return x.BlockTime + } + return nil +} + +func (x *StakerShareDelta) GetBlockDate() string { + if x != nil { + return x.BlockDate + } + return "" +} + +func (x *StakerShareDelta) GetTransactionMetadata() *TransactionMetadata { + if x != nil { + return x.TransactionMetadata + } + return nil +} + +type SubmittedDistributionRoot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` + RootIndex uint64 `protobuf:"varint,2,opt,name=root_index,json=rootIndex,proto3" json:"root_index,omitempty"` + RewardsCalculationEnd *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=rewards_calculation_end,json=rewardsCalculationEnd,proto3" json:"rewards_calculation_end,omitempty"` + RewardsCalculationEndUnit string `protobuf:"bytes,4,opt,name=rewards_calculation_end_unit,json=rewardsCalculationEndUnit,proto3" json:"rewards_calculation_end_unit,omitempty"` + ActivatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=activated_at,json=activatedAt,proto3" json:"activated_at,omitempty"` + ActivatedAtUnit string `protobuf:"bytes,6,opt,name=activated_at_unit,json=activatedAtUnit,proto3" json:"activated_at_unit,omitempty"` + CreatedAtBlockNumber uint64 `protobuf:"varint,7,opt,name=created_at_block_number,json=createdAtBlockNumber,proto3" json:"created_at_block_number,omitempty"` + TransactionMetadata *TransactionMetadata `protobuf:"bytes,8,opt,name=transaction_metadata,json=transactionMetadata,proto3" json:"transaction_metadata,omitempty"` +} + +func (x *SubmittedDistributionRoot) Reset() { + *x = SubmittedDistributionRoot{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubmittedDistributionRoot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubmittedDistributionRoot) ProtoMessage() {} + +func (x *SubmittedDistributionRoot) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SubmittedDistributionRoot.ProtoReflect.Descriptor instead. +func (*SubmittedDistributionRoot) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{7} +} + +func (x *SubmittedDistributionRoot) GetRoot() string { + if x != nil { + return x.Root + } + return "" +} + +func (x *SubmittedDistributionRoot) GetRootIndex() uint64 { + if x != nil { + return x.RootIndex + } + return 0 +} + +func (x *SubmittedDistributionRoot) GetRewardsCalculationEnd() *timestamppb.Timestamp { + if x != nil { + return x.RewardsCalculationEnd + } + return nil +} + +func (x *SubmittedDistributionRoot) GetRewardsCalculationEndUnit() string { + if x != nil { + return x.RewardsCalculationEndUnit + } + return "" +} + +func (x *SubmittedDistributionRoot) GetActivatedAt() *timestamppb.Timestamp { + if x != nil { + return x.ActivatedAt + } + return nil +} + +func (x *SubmittedDistributionRoot) GetActivatedAtUnit() string { + if x != nil { + return x.ActivatedAtUnit + } + return "" +} + +func (x *SubmittedDistributionRoot) GetCreatedAtBlockNumber() uint64 { + if x != nil { + return x.CreatedAtBlockNumber + } + return 0 +} + +func (x *SubmittedDistributionRoot) GetTransactionMetadata() *TransactionMetadata { + if x != nil { + return x.TransactionMetadata + } + return nil +} + +type DisabledDistributionRoot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RootIndex uint64 `protobuf:"varint,1,opt,name=root_index,json=rootIndex,proto3" json:"root_index,omitempty"` + TransactionMetadata *TransactionMetadata `protobuf:"bytes,2,opt,name=transaction_metadata,json=transactionMetadata,proto3" json:"transaction_metadata,omitempty"` +} + +func (x *DisabledDistributionRoot) Reset() { + *x = DisabledDistributionRoot{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisabledDistributionRoot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisabledDistributionRoot) ProtoMessage() {} + +func (x *DisabledDistributionRoot) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisabledDistributionRoot.ProtoReflect.Descriptor instead. +func (*DisabledDistributionRoot) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{8} +} + +func (x *DisabledDistributionRoot) GetRootIndex() uint64 { + if x != nil { + return x.RootIndex + } + return 0 +} + +func (x *DisabledDistributionRoot) GetTransactionMetadata() *TransactionMetadata { + if x != nil { + return x.TransactionMetadata + } + return nil +} + +type EigenStateChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Change: + // + // *EigenStateChange_AvsOperatorStateChange + // *EigenStateChange_OperatorShareDelta + // *EigenStateChange_RewardSubmission + // *EigenStateChange_StakerDelegationChange + // *EigenStateChange_StakerShareDelta + // *EigenStateChange_SubmittedDistributionRoot + // *EigenStateChange_DisabledDistributionRoot + Change isEigenStateChange_Change `protobuf_oneof:"change"` +} + +func (x *EigenStateChange) Reset() { + *x = EigenStateChange{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EigenStateChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EigenStateChange) ProtoMessage() {} + +func (x *EigenStateChange) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EigenStateChange.ProtoReflect.Descriptor instead. +func (*EigenStateChange) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP(), []int{9} +} + +func (m *EigenStateChange) GetChange() isEigenStateChange_Change { + if m != nil { + return m.Change + } + return nil +} + +func (x *EigenStateChange) GetAvsOperatorStateChange() *AvsOperatorStateChange { + if x, ok := x.GetChange().(*EigenStateChange_AvsOperatorStateChange); ok { + return x.AvsOperatorStateChange + } + return nil +} + +func (x *EigenStateChange) GetOperatorShareDelta() *OperatorShareDelta { + if x, ok := x.GetChange().(*EigenStateChange_OperatorShareDelta); ok { + return x.OperatorShareDelta + } + return nil +} + +func (x *EigenStateChange) GetRewardSubmission() *RewardSubmission { + if x, ok := x.GetChange().(*EigenStateChange_RewardSubmission); ok { + return x.RewardSubmission + } + return nil +} + +func (x *EigenStateChange) GetStakerDelegationChange() *StakerDelegationChange { + if x, ok := x.GetChange().(*EigenStateChange_StakerDelegationChange); ok { + return x.StakerDelegationChange + } + return nil +} + +func (x *EigenStateChange) GetStakerShareDelta() *StakerShareDelta { + if x, ok := x.GetChange().(*EigenStateChange_StakerShareDelta); ok { + return x.StakerShareDelta + } + return nil +} + +func (x *EigenStateChange) GetSubmittedDistributionRoot() *SubmittedDistributionRoot { + if x, ok := x.GetChange().(*EigenStateChange_SubmittedDistributionRoot); ok { + return x.SubmittedDistributionRoot + } + return nil +} + +func (x *EigenStateChange) GetDisabledDistributionRoot() *DisabledDistributionRoot { + if x, ok := x.GetChange().(*EigenStateChange_DisabledDistributionRoot); ok { + return x.DisabledDistributionRoot + } + return nil +} + +type isEigenStateChange_Change interface { + isEigenStateChange_Change() +} + +type EigenStateChange_AvsOperatorStateChange struct { + AvsOperatorStateChange *AvsOperatorStateChange `protobuf:"bytes,1,opt,name=avs_operator_state_change,json=avsOperatorStateChange,proto3,oneof"` +} + +type EigenStateChange_OperatorShareDelta struct { + OperatorShareDelta *OperatorShareDelta `protobuf:"bytes,2,opt,name=operator_share_delta,json=operatorShareDelta,proto3,oneof"` +} + +type EigenStateChange_RewardSubmission struct { + RewardSubmission *RewardSubmission `protobuf:"bytes,3,opt,name=reward_submission,json=rewardSubmission,proto3,oneof"` +} + +type EigenStateChange_StakerDelegationChange struct { + StakerDelegationChange *StakerDelegationChange `protobuf:"bytes,4,opt,name=staker_delegation_change,json=stakerDelegationChange,proto3,oneof"` +} + +type EigenStateChange_StakerShareDelta struct { + StakerShareDelta *StakerShareDelta `protobuf:"bytes,5,opt,name=staker_share_delta,json=stakerShareDelta,proto3,oneof"` +} + +type EigenStateChange_SubmittedDistributionRoot struct { + SubmittedDistributionRoot *SubmittedDistributionRoot `protobuf:"bytes,6,opt,name=submitted_distribution_root,json=submittedDistributionRoot,proto3,oneof"` +} + +type EigenStateChange_DisabledDistributionRoot struct { + DisabledDistributionRoot *DisabledDistributionRoot `protobuf:"bytes,7,opt,name=disabled_distribution_root,json=disabledDistributionRoot,proto3,oneof"` +} + +func (*EigenStateChange_AvsOperatorStateChange) isEigenStateChange_Change() {} + +func (*EigenStateChange_OperatorShareDelta) isEigenStateChange_Change() {} + +func (*EigenStateChange_RewardSubmission) isEigenStateChange_Change() {} + +func (*EigenStateChange_StakerDelegationChange) isEigenStateChange_Change() {} + +func (*EigenStateChange_StakerShareDelta) isEigenStateChange_Change() {} + +func (*EigenStateChange_SubmittedDistributionRoot) isEigenStateChange_Change() {} + +func (*EigenStateChange_DisabledDistributionRoot) isEigenStateChange_Change() {} + +var File_eigenlayer_sidecar_v1_eigenState_eigenState_proto protoreflect.FileDescriptor + +var file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDesc = []byte{ + 0x0a, 0x31, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, + 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, + 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, + 0x74, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x65, 0x74, 0x68, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x65, + 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x74, 0x68, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, + 0x22, 0x80, 0x01, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6c, 0x6f, 0x67, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, + 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x22, 0xd0, 0x01, 0x0a, 0x16, 0x41, 0x76, 0x73, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x61, 0x76, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x76, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x14, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x69, 0x67, + 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, + 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc0, 0x02, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x1a, 0x0a, + 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x6b, 0x65, + 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x65, 0x12, + 0x68, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, + 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, + 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xfb, 0x04, 0x0a, 0x10, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, + 0x0a, 0x03, 0x61, 0x76, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x76, 0x73, + 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x69, 0x65, 0x72, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x69, + 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x3f, 0x0a, 0x0d, 0x65, 0x6e, 0x64, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x65, 0x6e, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5e, 0x0a, 0x0b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x77, + 0x61, 0x72, 0x64, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, + 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x68, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, + 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x37, + 0x0a, 0x0a, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, + 0x41, 0x56, 0x53, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x4c, 0x4c, 0x5f, 0x53, 0x54, 0x41, + 0x4b, 0x45, 0x52, 0x53, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x4c, 0x4c, 0x5f, 0x45, 0x41, + 0x52, 0x4e, 0x45, 0x52, 0x53, 0x10, 0x02, 0x22, 0xd4, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x61, 0x6b, + 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, + 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc9, + 0x02, 0x0a, 0x10, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x44, 0x65, + 0x6c, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, + 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, + 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x39, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x61, 0x74, 0x65, + 0x12, 0x68, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, + 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, + 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xef, 0x03, 0x0a, 0x19, 0x53, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x1d, 0x0a, 0x0a, + 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x52, 0x0a, 0x17, 0x72, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x5f, 0x63, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x15, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x73, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x12, + 0x3f, 0x0a, 0x1c, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x5f, 0x63, 0x61, 0x6c, 0x63, 0x75, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x43, 0x61, + 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x55, 0x6e, 0x69, 0x74, + 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x2a, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, + 0x75, 0x6e, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x12, 0x68, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x35, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa3, 0x01, 0x0a, + 0x18, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x6f, + 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x72, + 0x6f, 0x6f, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x68, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, + 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x13, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x22, 0xb5, 0x06, 0x0a, 0x10, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x75, 0x0a, 0x19, 0x61, 0x76, 0x73, 0x5f, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x69, 0x67, + 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, + 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x76, + 0x73, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x16, 0x61, 0x76, 0x73, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x68, + 0x0a, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x65, + 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, + 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x44, 0x65, 0x6c, + 0x74, 0x61, 0x48, 0x00, 0x52, 0x12, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x61, 0x0a, 0x11, 0x72, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x53, 0x75, 0x62, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x10, 0x72, 0x65, 0x77, 0x61, 0x72, + 0x64, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x74, 0x0a, 0x18, 0x73, + 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, + 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, + 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x16, 0x73, 0x74, 0x61, 0x6b, 0x65, + 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x12, 0x62, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, + 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, + 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, + 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x74, + 0x61, 0x48, 0x00, 0x52, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x7d, 0x0a, 0x1b, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, + 0x65, 0x64, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x65, 0x69, 0x67, + 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, + 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x75, + 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x19, 0x73, 0x75, 0x62, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x64, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x7a, 0x0a, 0x1a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, + 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, + 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, + 0x42, 0x08, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0xab, 0x02, 0x0a, 0x24, 0x63, + 0x6f, 0x6d, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x42, 0x0f, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, 0x73, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0xa2, 0x02, 0x04, 0x45, 0x53, 0x56, 0x45, 0xaa, 0x02, 0x20, + 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x64, 0x65, 0x63, + 0x61, 0x72, 0x2e, 0x56, 0x31, 0x2e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0xca, 0x02, 0x20, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0xe2, 0x02, 0x2c, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x5c, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x45, 0x69, 0x67, 0x65, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x23, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x3a, + 0x3a, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x45, 0x69, + 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescOnce sync.Once + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescData = file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDesc +) + +func file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescGZIP() []byte { + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescOnce.Do(func() { + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescData = protoimpl.X.CompressGZIP(file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescData) + }) + return file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDescData +} + +var file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_goTypes = []any{ + (RewardSubmission_RewardType)(0), // 0: eigenlayer.sidecar.v1.eigenState.RewardSubmission.RewardType + (*StateRoot)(nil), // 1: eigenlayer.sidecar.v1.eigenState.StateRoot + (*TransactionMetadata)(nil), // 2: eigenlayer.sidecar.v1.eigenState.TransactionMetadata + (*AvsOperatorStateChange)(nil), // 3: eigenlayer.sidecar.v1.eigenState.AvsOperatorStateChange + (*OperatorShareDelta)(nil), // 4: eigenlayer.sidecar.v1.eigenState.OperatorShareDelta + (*RewardSubmission)(nil), // 5: eigenlayer.sidecar.v1.eigenState.RewardSubmission + (*StakerDelegationChange)(nil), // 6: eigenlayer.sidecar.v1.eigenState.StakerDelegationChange + (*StakerShareDelta)(nil), // 7: eigenlayer.sidecar.v1.eigenState.StakerShareDelta + (*SubmittedDistributionRoot)(nil), // 8: eigenlayer.sidecar.v1.eigenState.SubmittedDistributionRoot + (*DisabledDistributionRoot)(nil), // 9: eigenlayer.sidecar.v1.eigenState.DisabledDistributionRoot + (*EigenStateChange)(nil), // 10: eigenlayer.sidecar.v1.eigenState.EigenStateChange + (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp +} +var file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_depIdxs = []int32{ + 2, // 0: eigenlayer.sidecar.v1.eigenState.AvsOperatorStateChange.transaction_metadata:type_name -> eigenlayer.sidecar.v1.eigenState.TransactionMetadata + 11, // 1: eigenlayer.sidecar.v1.eigenState.OperatorShareDelta.block_time:type_name -> google.protobuf.Timestamp + 2, // 2: eigenlayer.sidecar.v1.eigenState.OperatorShareDelta.transaction_metadata:type_name -> eigenlayer.sidecar.v1.eigenState.TransactionMetadata + 11, // 3: eigenlayer.sidecar.v1.eigenState.RewardSubmission.start_timestamp:type_name -> google.protobuf.Timestamp + 11, // 4: eigenlayer.sidecar.v1.eigenState.RewardSubmission.end_timestamp:type_name -> google.protobuf.Timestamp + 0, // 5: eigenlayer.sidecar.v1.eigenState.RewardSubmission.reward_type:type_name -> eigenlayer.sidecar.v1.eigenState.RewardSubmission.RewardType + 2, // 6: eigenlayer.sidecar.v1.eigenState.RewardSubmission.transaction_metadata:type_name -> eigenlayer.sidecar.v1.eigenState.TransactionMetadata + 2, // 7: eigenlayer.sidecar.v1.eigenState.StakerDelegationChange.transaction_metadata:type_name -> eigenlayer.sidecar.v1.eigenState.TransactionMetadata + 11, // 8: eigenlayer.sidecar.v1.eigenState.StakerShareDelta.block_time:type_name -> google.protobuf.Timestamp + 2, // 9: eigenlayer.sidecar.v1.eigenState.StakerShareDelta.transaction_metadata:type_name -> eigenlayer.sidecar.v1.eigenState.TransactionMetadata + 11, // 10: eigenlayer.sidecar.v1.eigenState.SubmittedDistributionRoot.rewards_calculation_end:type_name -> google.protobuf.Timestamp + 11, // 11: eigenlayer.sidecar.v1.eigenState.SubmittedDistributionRoot.activated_at:type_name -> google.protobuf.Timestamp + 2, // 12: eigenlayer.sidecar.v1.eigenState.SubmittedDistributionRoot.transaction_metadata:type_name -> eigenlayer.sidecar.v1.eigenState.TransactionMetadata + 2, // 13: eigenlayer.sidecar.v1.eigenState.DisabledDistributionRoot.transaction_metadata:type_name -> eigenlayer.sidecar.v1.eigenState.TransactionMetadata + 3, // 14: eigenlayer.sidecar.v1.eigenState.EigenStateChange.avs_operator_state_change:type_name -> eigenlayer.sidecar.v1.eigenState.AvsOperatorStateChange + 4, // 15: eigenlayer.sidecar.v1.eigenState.EigenStateChange.operator_share_delta:type_name -> eigenlayer.sidecar.v1.eigenState.OperatorShareDelta + 5, // 16: eigenlayer.sidecar.v1.eigenState.EigenStateChange.reward_submission:type_name -> eigenlayer.sidecar.v1.eigenState.RewardSubmission + 6, // 17: eigenlayer.sidecar.v1.eigenState.EigenStateChange.staker_delegation_change:type_name -> eigenlayer.sidecar.v1.eigenState.StakerDelegationChange + 7, // 18: eigenlayer.sidecar.v1.eigenState.EigenStateChange.staker_share_delta:type_name -> eigenlayer.sidecar.v1.eigenState.StakerShareDelta + 8, // 19: eigenlayer.sidecar.v1.eigenState.EigenStateChange.submitted_distribution_root:type_name -> eigenlayer.sidecar.v1.eigenState.SubmittedDistributionRoot + 9, // 20: eigenlayer.sidecar.v1.eigenState.EigenStateChange.disabled_distribution_root:type_name -> eigenlayer.sidecar.v1.eigenState.DisabledDistributionRoot + 21, // [21:21] is the sub-list for method output_type + 21, // [21:21] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name +} + +func init() { file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_init() } +func file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_init() { + if File_eigenlayer_sidecar_v1_eigenState_eigenState_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*StateRoot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*TransactionMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*AvsOperatorStateChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[3].Exporter = func(v any, i int) any { + switch v := v.(*OperatorShareDelta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[4].Exporter = func(v any, i int) any { + switch v := v.(*RewardSubmission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[5].Exporter = func(v any, i int) any { + switch v := v.(*StakerDelegationChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[6].Exporter = func(v any, i int) any { + switch v := v.(*StakerShareDelta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[7].Exporter = func(v any, i int) any { + switch v := v.(*SubmittedDistributionRoot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[8].Exporter = func(v any, i int) any { + switch v := v.(*DisabledDistributionRoot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[9].Exporter = func(v any, i int) any { + switch v := v.(*EigenStateChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes[9].OneofWrappers = []any{ + (*EigenStateChange_AvsOperatorStateChange)(nil), + (*EigenStateChange_OperatorShareDelta)(nil), + (*EigenStateChange_RewardSubmission)(nil), + (*EigenStateChange_StakerDelegationChange)(nil), + (*EigenStateChange_StakerShareDelta)(nil), + (*EigenStateChange_SubmittedDistributionRoot)(nil), + (*EigenStateChange_DisabledDistributionRoot)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_goTypes, + DependencyIndexes: file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_depIdxs, + EnumInfos: file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_enumTypes, + MessageInfos: file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_msgTypes, + }.Build() + File_eigenlayer_sidecar_v1_eigenState_eigenState_proto = out.File + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_rawDesc = nil + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_goTypes = nil + file_eigenlayer_sidecar_v1_eigenState_eigenState_proto_depIdxs = nil +} diff --git a/gen/protos/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.pb.go b/gen/protos/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.pb.go new file mode 100644 index 0000000..f168564 --- /dev/null +++ b/gen/protos/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.pb.go @@ -0,0 +1,483 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.34.2 +// protoc (unknown) +// source: eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto + +package ethereumTypes + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + _ "google.golang.org/protobuf/types/known/structpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TransactionLog struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransactionHash string `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` + TransactionIndex uint64 `protobuf:"varint,2,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` + LogIndex uint64 `protobuf:"varint,3,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` + BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` + Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` + EventName string `protobuf:"bytes,6,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"` + Arguments []byte `protobuf:"bytes,7,opt,name=arguments,proto3" json:"arguments,omitempty"` + OutputData []byte `protobuf:"bytes,8,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` +} + +func (x *TransactionLog) Reset() { + *x = TransactionLog{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionLog) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionLog) ProtoMessage() {} + +func (x *TransactionLog) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionLog.ProtoReflect.Descriptor instead. +func (*TransactionLog) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescGZIP(), []int{0} +} + +func (x *TransactionLog) GetTransactionHash() string { + if x != nil { + return x.TransactionHash + } + return "" +} + +func (x *TransactionLog) GetTransactionIndex() uint64 { + if x != nil { + return x.TransactionIndex + } + return 0 +} + +func (x *TransactionLog) GetLogIndex() uint64 { + if x != nil { + return x.LogIndex + } + return 0 +} + +func (x *TransactionLog) GetBlockNumber() uint64 { + if x != nil { + return x.BlockNumber + } + return 0 +} + +func (x *TransactionLog) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *TransactionLog) GetEventName() string { + if x != nil { + return x.EventName + } + return "" +} + +func (x *TransactionLog) GetArguments() []byte { + if x != nil { + return x.Arguments + } + return nil +} + +func (x *TransactionLog) GetOutputData() []byte { + if x != nil { + return x.OutputData + } + return nil +} + +type Transaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransactionHash string `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"` + TransactionIndex uint64 `protobuf:"varint,2,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` + BlockNumber uint64 `protobuf:"varint,3,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` + FromAddress string `protobuf:"bytes,4,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + ToAddress string `protobuf:"bytes,5,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + ContractAddress string `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + Logs []*TransactionLog `protobuf:"bytes,7,rep,name=logs,proto3" json:"logs,omitempty"` +} + +func (x *Transaction) Reset() { + *x = Transaction{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Transaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transaction) ProtoMessage() {} + +func (x *Transaction) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Transaction.ProtoReflect.Descriptor instead. +func (*Transaction) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescGZIP(), []int{1} +} + +func (x *Transaction) GetTransactionHash() string { + if x != nil { + return x.TransactionHash + } + return "" +} + +func (x *Transaction) GetTransactionIndex() uint64 { + if x != nil { + return x.TransactionIndex + } + return 0 +} + +func (x *Transaction) GetBlockNumber() uint64 { + if x != nil { + return x.BlockNumber + } + return 0 +} + +func (x *Transaction) GetFromAddress() string { + if x != nil { + return x.FromAddress + } + return "" +} + +func (x *Transaction) GetToAddress() string { + if x != nil { + return x.ToAddress + } + return "" +} + +func (x *Transaction) GetContractAddress() string { + if x != nil { + return x.ContractAddress + } + return "" +} + +func (x *Transaction) GetLogs() []*TransactionLog { + if x != nil { + return x.Logs + } + return nil +} + +type Block struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` + BlockHash string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` + ParentHash string `protobuf:"bytes,3,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` + BlockTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` + Transactions []*Transaction `protobuf:"bytes,5,rep,name=transactions,proto3" json:"transactions,omitempty"` +} + +func (x *Block) Reset() { + *x = Block{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Block) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Block) ProtoMessage() {} + +func (x *Block) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Block.ProtoReflect.Descriptor instead. +func (*Block) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescGZIP(), []int{2} +} + +func (x *Block) GetBlockNumber() uint64 { + if x != nil { + return x.BlockNumber + } + return 0 +} + +func (x *Block) GetBlockHash() string { + if x != nil { + return x.BlockHash + } + return "" +} + +func (x *Block) GetParentHash() string { + if x != nil { + return x.ParentHash + } + return "" +} + +func (x *Block) GetBlockTime() *timestamppb.Timestamp { + if x != nil { + return x.BlockTime + } + return nil +} + +func (x *Block) GetTransactions() []*Transaction { + if x != nil { + return x.Transactions + } + return nil +} + +var File_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto protoreflect.FileDescriptor + +var file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDesc = []byte{ + 0x0a, 0x37, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, + 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x65, 0x69, 0x67, 0x65, 0x6e, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, + 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x02, + 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, + 0x12, 0x29, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2b, 0x0a, 0x11, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6c, 0x6f, 0x67, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, + 0x22, 0xbe, 0x02, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x29, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2b, 0x0a, 0x11, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x66, + 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, + 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, + 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, + 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, + 0x73, 0x22, 0xfb, 0x01, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, + 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, + 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x39, + 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0c, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, + 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, + 0xc0, 0x02, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x12, 0x45, 0x74, 0x68, + 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, + 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, + 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, + 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, + 0x79, 0x70, 0x65, 0x73, 0xa2, 0x02, 0x04, 0x45, 0x53, 0x56, 0x45, 0xaa, 0x02, 0x23, 0x45, 0x69, + 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, + 0x2e, 0x56, 0x31, 0x2e, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, + 0x73, 0xca, 0x02, 0x23, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, + 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0xe2, 0x02, 0x2f, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, + 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x26, 0x45, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x3a, 0x3a, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x3a, + 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescOnce sync.Once + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescData = file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDesc +) + +func file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescGZIP() []byte { + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescOnce.Do(func() { + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescData = protoimpl.X.CompressGZIP(file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescData) + }) + return file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDescData +} + +var file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_goTypes = []any{ + (*TransactionLog)(nil), // 0: eigenlayer.sidecar.v1.ethereumTypes.TransactionLog + (*Transaction)(nil), // 1: eigenlayer.sidecar.v1.ethereumTypes.Transaction + (*Block)(nil), // 2: eigenlayer.sidecar.v1.ethereumTypes.Block + (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp +} +var file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_depIdxs = []int32{ + 0, // 0: eigenlayer.sidecar.v1.ethereumTypes.Transaction.logs:type_name -> eigenlayer.sidecar.v1.ethereumTypes.TransactionLog + 3, // 1: eigenlayer.sidecar.v1.ethereumTypes.Block.block_time:type_name -> google.protobuf.Timestamp + 1, // 2: eigenlayer.sidecar.v1.ethereumTypes.Block.transactions:type_name -> eigenlayer.sidecar.v1.ethereumTypes.Transaction + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_init() } +func file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_init() { + if File_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[0].Exporter = func(v any, i int) any { + switch v := v.(*TransactionLog); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[1].Exporter = func(v any, i int) any { + switch v := v.(*Transaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes[2].Exporter = func(v any, i int) any { + switch v := v.(*Block); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_goTypes, + DependencyIndexes: file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_depIdxs, + MessageInfos: file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_msgTypes, + }.Build() + File_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto = out.File + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_rawDesc = nil + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_goTypes = nil + file_eigenlayer_sidecar_v1_ethereumTypes_ethereumTypes_proto_depIdxs = nil +} diff --git a/gen/protos/eigenlayer/sidecar/v1/events/events.pb.go b/gen/protos/eigenlayer/sidecar/v1/events/events.pb.go index 7dde150..324fd06 100644 --- a/gen/protos/eigenlayer/sidecar/v1/events/events.pb.go +++ b/gen/protos/eigenlayer/sidecar/v1/events/events.pb.go @@ -7,7 +7,8 @@ package events import ( - eventTypes "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eventTypes" + eigenState "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eigenState" + ethereumTypes "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/ethereumTypes" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -66,8 +67,8 @@ type StreamEigenStateChangesResponse struct { unknownFields protoimpl.UnknownFields BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` - StateRoot *eventTypes.StateRoot `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` - Changes []*eventTypes.EigenStateChange `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes,omitempty"` + StateRoot *eigenState.StateRoot `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` + Changes []*eigenState.EigenStateChange `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes,omitempty"` } func (x *StreamEigenStateChangesResponse) Reset() { @@ -109,14 +110,14 @@ func (x *StreamEigenStateChangesResponse) GetBlockNumber() uint64 { return 0 } -func (x *StreamEigenStateChangesResponse) GetStateRoot() *eventTypes.StateRoot { +func (x *StreamEigenStateChangesResponse) GetStateRoot() *eigenState.StateRoot { if x != nil { return x.StateRoot } return nil } -func (x *StreamEigenStateChangesResponse) GetChanges() []*eventTypes.EigenStateChange { +func (x *StreamEigenStateChangesResponse) GetChanges() []*eigenState.EigenStateChange { if x != nil { return x.Changes } @@ -176,9 +177,9 @@ type StreamIndexedBlocksResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Block *eventTypes.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` - StateRoot *eventTypes.StateRoot `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` - Changes []*eventTypes.EigenStateChange `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes,omitempty"` + Block *ethereumTypes.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` + StateRoot *eigenState.StateRoot `protobuf:"bytes,2,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` + Changes []*eigenState.EigenStateChange `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes,omitempty"` } func (x *StreamIndexedBlocksResponse) Reset() { @@ -213,21 +214,21 @@ func (*StreamIndexedBlocksResponse) Descriptor() ([]byte, []int) { return file_eigenlayer_sidecar_v1_events_events_proto_rawDescGZIP(), []int{3} } -func (x *StreamIndexedBlocksResponse) GetBlock() *eventTypes.Block { +func (x *StreamIndexedBlocksResponse) GetBlock() *ethereumTypes.Block { if x != nil { return x.Block } return nil } -func (x *StreamIndexedBlocksResponse) GetStateRoot() *eventTypes.StateRoot { +func (x *StreamIndexedBlocksResponse) GetStateRoot() *eigenState.StateRoot { if x != nil { return x.StateRoot } return nil } -func (x *StreamIndexedBlocksResponse) GetChanges() []*eventTypes.EigenStateChange { +func (x *StreamIndexedBlocksResponse) GetChanges() []*eigenState.EigenStateChange { if x != nil { return x.Changes } @@ -245,91 +246,92 @@ var file_eigenlayer_sidecar_v1_events_events_proto_rawDesc = []byte{ 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x65, 0x69, 0x67, 0x65, + 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, - 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x65, 0x74, 0x68, - 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x20, 0x0a, 0x1e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0xde, 0x01, 0x0a, 0x1f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x69, 0x67, + 0x31, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x20, 0x0a, 0x1e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, - 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x0a, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, - 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, - 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x73, 0x22, 0x50, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xf6, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xde, 0x01, 0x0a, 0x1f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x0a, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x09, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x69, 0x67, + 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x07, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x50, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0xf9, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x4a, 0x0a, 0x0a, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, + 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x09, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x69, 0x67, 0x65, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x73, 0x32, 0x91, 0x03, 0x0a, 0x06, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0xca, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3c, 0x2e, 0x65, 0x69, + 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, + 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, + 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, + 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2d, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x2d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x30, 0x01, 0x12, 0xb9, 0x01, 0x0a, + 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x38, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x4a, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, - 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, - 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, - 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, - 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x32, 0x91, - 0x03, 0x0a, 0x06, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0xca, 0x01, 0x0a, 0x17, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3c, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x69, 0x67, 0x65, 0x6e, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3d, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, - 0x2d, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2d, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x73, 0x30, 0x01, 0x12, 0xb9, 0x01, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x38, + 0x6e, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, + 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, - 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, - 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x2d, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x2d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, - 0x30, 0x01, 0x42, 0x8f, 0x02, 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, - 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, 0x73, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0xa2, 0x02, 0x04, 0x45, 0x53, 0x56, 0x45, 0xaa, 0x02, 0x1c, 0x45, 0x69, 0x67, 0x65, - 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x56, - 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0xca, 0x02, 0x1c, 0x45, 0x69, 0x67, 0x65, 0x6e, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, - 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0xe2, 0x02, 0x28, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x1f, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x3a, - 0x3a, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2d, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x2d, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x30, 0x01, 0x42, 0x8f, 0x02, 0x0a, 0x20, 0x63, 0x6f, 0x6d, + 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, + 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x0b, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, + 0x62, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, + 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0xa2, 0x02, 0x04, 0x45, 0x53, 0x56, 0x45, 0xaa, + 0x02, 0x1c, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x64, + 0x65, 0x63, 0x61, 0x72, 0x2e, 0x56, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0xca, 0x02, + 0x1c, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, 0x64, 0x65, + 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0xe2, 0x02, 0x28, + 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, 0x64, 0x65, 0x63, + 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x45, 0x69, 0x67, 0x65, 0x6e, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x3a, 0x3a, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x3a, 0x3a, + 0x56, 0x31, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -350,16 +352,16 @@ var file_eigenlayer_sidecar_v1_events_events_proto_goTypes = []any{ (*StreamEigenStateChangesResponse)(nil), // 1: eigenlayer.sidecar.v1.events.StreamEigenStateChangesResponse (*StreamIndexedBlocksRequest)(nil), // 2: eigenlayer.sidecar.v1.events.StreamIndexedBlocksRequest (*StreamIndexedBlocksResponse)(nil), // 3: eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse - (*eventTypes.StateRoot)(nil), // 4: eigenlayer.sidecar.v1.eventTypes.StateRoot - (*eventTypes.EigenStateChange)(nil), // 5: eigenlayer.sidecar.v1.eventTypes.EigenStateChange - (*eventTypes.Block)(nil), // 6: eigenlayer.sidecar.v1.eventTypes.Block + (*eigenState.StateRoot)(nil), // 4: eigenlayer.sidecar.v1.eigenState.StateRoot + (*eigenState.EigenStateChange)(nil), // 5: eigenlayer.sidecar.v1.eigenState.EigenStateChange + (*ethereumTypes.Block)(nil), // 6: eigenlayer.sidecar.v1.ethereumTypes.Block } var file_eigenlayer_sidecar_v1_events_events_proto_depIdxs = []int32{ - 4, // 0: eigenlayer.sidecar.v1.events.StreamEigenStateChangesResponse.state_root:type_name -> eigenlayer.sidecar.v1.eventTypes.StateRoot - 5, // 1: eigenlayer.sidecar.v1.events.StreamEigenStateChangesResponse.changes:type_name -> eigenlayer.sidecar.v1.eventTypes.EigenStateChange - 6, // 2: eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse.block:type_name -> eigenlayer.sidecar.v1.eventTypes.Block - 4, // 3: eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse.state_root:type_name -> eigenlayer.sidecar.v1.eventTypes.StateRoot - 5, // 4: eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse.changes:type_name -> eigenlayer.sidecar.v1.eventTypes.EigenStateChange + 4, // 0: eigenlayer.sidecar.v1.events.StreamEigenStateChangesResponse.state_root:type_name -> eigenlayer.sidecar.v1.eigenState.StateRoot + 5, // 1: eigenlayer.sidecar.v1.events.StreamEigenStateChangesResponse.changes:type_name -> eigenlayer.sidecar.v1.eigenState.EigenStateChange + 6, // 2: eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse.block:type_name -> eigenlayer.sidecar.v1.ethereumTypes.Block + 4, // 3: eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse.state_root:type_name -> eigenlayer.sidecar.v1.eigenState.StateRoot + 5, // 4: eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse.changes:type_name -> eigenlayer.sidecar.v1.eigenState.EigenStateChange 0, // 5: eigenlayer.sidecar.v1.events.Events.StreamEigenStateChanges:input_type -> eigenlayer.sidecar.v1.events.StreamEigenStateChangesRequest 2, // 6: eigenlayer.sidecar.v1.events.Events.StreamIndexedBlocks:input_type -> eigenlayer.sidecar.v1.events.StreamIndexedBlocksRequest 1, // 7: eigenlayer.sidecar.v1.events.Events.StreamEigenStateChanges:output_type -> eigenlayer.sidecar.v1.events.StreamEigenStateChangesResponse diff --git a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.go b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.go index 2f54111..d21c042 100644 --- a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.go +++ b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.go @@ -8,6 +8,7 @@ package protocol import ( common "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/common" + eigenState "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eigenState" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -637,6 +638,100 @@ func (x *GetStakerSharesResponse) GetShares() []*StakerShare { return nil } +type GetEigenStateChangesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (x *GetEigenStateChangesRequest) Reset() { + *x = GetEigenStateChangesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetEigenStateChangesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetEigenStateChangesRequest) ProtoMessage() {} + +func (x *GetEigenStateChangesRequest) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetEigenStateChangesRequest.ProtoReflect.Descriptor instead. +func (*GetEigenStateChangesRequest) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDescGZIP(), []int{11} +} + +func (x *GetEigenStateChangesRequest) GetBlockHeight() uint64 { + if x != nil { + return x.BlockHeight + } + return 0 +} + +type GetEigenStateChangesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Changes []*eigenState.EigenStateChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` +} + +func (x *GetEigenStateChangesResponse) Reset() { + *x = GetEigenStateChangesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetEigenStateChangesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetEigenStateChangesResponse) ProtoMessage() {} + +func (x *GetEigenStateChangesResponse) ProtoReflect() protoreflect.Message { + mi := &file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetEigenStateChangesResponse.ProtoReflect.Descriptor instead. +func (*GetEigenStateChangesResponse) Descriptor() ([]byte, []int) { + return file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDescGZIP(), []int{12} +} + +func (x *GetEigenStateChangesResponse) GetChanges() []*eigenState.EigenStateChange { + if x != nil { + return x.Changes + } + return nil +} + var File_eigenlayer_sidecar_v1_protocol_protocol_proto protoreflect.FileDescriptor var file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDesc = []byte{ @@ -645,12 +740,29 @@ var file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDesc = []byte{ 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, - 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x65, - 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, - 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, 0x46, 0x6f, 0x72, 0x4f, + 0x31, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, + 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x28, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, + 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x22, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, 0x46, + 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0c, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x4a, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x61, 0x76, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x76, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, @@ -658,191 +770,200 @@ var file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDesc = []byte{ 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x22, 0x4a, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x76, 0x73, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0c, 0x61, 0x76, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x8e, - 0x01, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, - 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0f, - 0x0a, 0x0d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, - 0x5a, 0x0a, 0x29, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x12, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x2b, - 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x53, 0x74, 0x72, 0x61, - 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x6b, 0x0a, 0x2c, 0x47, 0x65, - 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, - 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x76, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x76, 0x73, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0xe9, 0x01, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x44, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x46, - 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0c, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x88, 0x01, 0x01, 0x12, 0x4d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0xad, 0x01, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, - 0x0a, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x09, 0x6e, 0x65, 0x78, - 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, - 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, - 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, - 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, - 0x61, 0x67, 0x65, 0x22, 0x78, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, - 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, - 0x0e, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x41, 0x64, 0x64, + 0x68, 0x74, 0x22, 0x5a, 0x0a, 0x29, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2d, 0x0a, 0x12, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0xbc, + 0x01, 0x0a, 0x2b, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x53, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, + 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, - 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xab, 0x01, - 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x61, - 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, - 0x73, 0x12, 0x2e, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0f, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x88, 0x01, - 0x01, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x76, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x76, 0x73, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5e, 0x0a, 0x17, 0x47, - 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, - 0x61, 0x72, 0x65, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x32, 0xcf, 0x09, 0x0a, 0x08, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0xe8, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x6b, 0x0a, + 0x2c, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x53, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x76, 0x73, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x76, + 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0xe9, 0x01, 0x0a, 0x25, 0x47, + 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x72, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x26, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x12, 0x4d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x69, + 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xad, 0x01, 0x0a, 0x26, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x46, 0x6f, + 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x74, 0x61, + 0x6b, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x09, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, + 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x65, 0x78, + 0x74, 0x50, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x65, 0x78, + 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x22, 0x78, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, + 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, + 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x22, 0xab, 0x01, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x76, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x76, 0x73, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5e, + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, + 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x22, 0x40, + 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, + 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x22, 0x6c, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, + 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x32, 0x92, + 0x0b, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0xe8, 0x01, 0x0a, 0x1b, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, + 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x42, 0x2e, 0x65, 0x69, + 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, 0x46, 0x6f, 0x72, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x42, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x65, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x43, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, + 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, + 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x65, 0x64, 0x2d, 0x61, 0x76, 0x73, 0x12, 0x80, 0x02, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, + 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x48, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, 0x46, 0x6f, + 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, + 0x67, 0x69, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x49, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x12, 0x38, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x65, 0x22, 0x46, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x12, 0x3e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x2d, - 0x61, 0x76, 0x73, 0x12, 0x80, 0x02, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x46, 0x6f, - 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x48, 0x2e, 0x65, 0x69, 0x67, 0x65, - 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, - 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, - 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x49, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x64, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x12, 0x3e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x7b, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x7d, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x73, 0x74, 0x72, 0x61, - 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x12, 0xa2, 0x02, 0x0a, 0x24, 0x47, 0x65, 0x74, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, - 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, - 0x4b, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, + 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x12, 0xa2, 0x02, 0x0a, 0x24, 0x47, 0x65, + 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, + 0x67, 0x79, 0x12, 0x4b, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, + 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, + 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x4c, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x53, 0x74, 0x72, - 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4c, 0x2e, 0x65, - 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, - 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, - 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x59, 0x12, 0x57, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, - 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, - 0x67, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x64, 0x65, 0x6c, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x12, 0xf4, 0x01, 0x0a, 0x1e, - 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, - 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x45, - 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, - 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, - 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5f, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x12, 0x57, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x7b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, - 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x73, 0x74, 0x61, 0x6b, 0x65, - 0x72, 0x73, 0x12, 0xb8, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, - 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x36, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, + 0x2f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x64, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x12, 0xf4, + 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x45, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, + 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x46, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x46, 0x6f, 0x72, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x2f, 0x7b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x7d, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x73, 0x74, + 0x61, 0x6b, 0x65, 0x72, 0x73, 0x12, 0xb8, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12, 0x36, 0x2e, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x37, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, + 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, + 0x12, 0xc0, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3b, 0x2e, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x69, + 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, - 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, - 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, - 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, - 0x2c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, - 0x61, 0x6b, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x42, 0x9d, 0x02, - 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, - 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0xa2, 0x02, 0x04, 0x45, 0x53, 0x56, 0x50, 0xaa, 0x02, 0x1e, 0x45, 0x69, 0x67, - 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, - 0x56, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0xca, 0x02, 0x1e, 0x45, 0x69, - 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, - 0x5c, 0x56, 0x31, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0xe2, 0x02, 0x2a, 0x45, - 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, - 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x45, 0x69, 0x67, 0x65, - 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x3a, 0x3a, 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x3a, - 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x69, 0x67, 0x65, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, + 0x20, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x69, + 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x30, 0x01, 0x42, 0x9d, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x69, 0x67, 0x65, + 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, + 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0xa2, 0x02, 0x04, 0x45, 0x53, 0x56, 0x50, + 0xaa, 0x02, 0x1e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x56, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0xca, 0x02, 0x1e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, + 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0xe2, 0x02, 0x2a, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, + 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x21, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x3a, 0x3a, 0x53, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -857,7 +978,7 @@ func file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDescGZIP() []byte { return file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDescData } -var file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 13) var file_eigenlayer_sidecar_v1_protocol_protocol_proto_goTypes = []any{ (*GetRegisteredAvsForOperatorRequest)(nil), // 0: eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorRequest (*GetRegisteredAvsForOperatorResponse)(nil), // 1: eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorResponse @@ -870,27 +991,33 @@ var file_eigenlayer_sidecar_v1_protocol_protocol_proto_goTypes = []any{ (*GetStakerSharesRequest)(nil), // 8: eigenlayer.sidecar.v1.protocol.GetStakerSharesRequest (*StakerShare)(nil), // 9: eigenlayer.sidecar.v1.protocol.StakerShare (*GetStakerSharesResponse)(nil), // 10: eigenlayer.sidecar.v1.protocol.GetStakerSharesResponse - (*common.Pagination)(nil), // 11: eigenlayer.sidecar.v1.common.Pagination + (*GetEigenStateChangesRequest)(nil), // 11: eigenlayer.sidecar.v1.protocol.GetEigenStateChangesRequest + (*GetEigenStateChangesResponse)(nil), // 12: eigenlayer.sidecar.v1.protocol.GetEigenStateChangesResponse + (*common.Pagination)(nil), // 13: eigenlayer.sidecar.v1.common.Pagination + (*eigenState.EigenStateChange)(nil), // 14: eigenlayer.sidecar.v1.eigenState.EigenStateChange } var file_eigenlayer_sidecar_v1_protocol_protocol_proto_depIdxs = []int32{ - 11, // 0: eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorRequest.pagination:type_name -> eigenlayer.sidecar.v1.common.Pagination - 11, // 1: eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorResponse.next_page:type_name -> eigenlayer.sidecar.v1.common.Pagination + 13, // 0: eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorRequest.pagination:type_name -> eigenlayer.sidecar.v1.common.Pagination + 13, // 1: eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorResponse.next_page:type_name -> eigenlayer.sidecar.v1.common.Pagination 9, // 2: eigenlayer.sidecar.v1.protocol.GetStakerSharesResponse.shares:type_name -> eigenlayer.sidecar.v1.protocol.StakerShare - 0, // 3: eigenlayer.sidecar.v1.protocol.Protocol.GetRegisteredAvsForOperator:input_type -> eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorRequest - 2, // 4: eigenlayer.sidecar.v1.protocol.Protocol.GetDelegatedStrategiesForOperator:input_type -> eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorRequest - 4, // 5: eigenlayer.sidecar.v1.protocol.Protocol.GetOperatorDelegatedStakeForStrategy:input_type -> eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyRequest - 6, // 6: eigenlayer.sidecar.v1.protocol.Protocol.GetDelegatedStakersForOperator:input_type -> eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorRequest - 8, // 7: eigenlayer.sidecar.v1.protocol.Protocol.GetStakerShares:input_type -> eigenlayer.sidecar.v1.protocol.GetStakerSharesRequest - 1, // 8: eigenlayer.sidecar.v1.protocol.Protocol.GetRegisteredAvsForOperator:output_type -> eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorResponse - 3, // 9: eigenlayer.sidecar.v1.protocol.Protocol.GetDelegatedStrategiesForOperator:output_type -> eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorResponse - 5, // 10: eigenlayer.sidecar.v1.protocol.Protocol.GetOperatorDelegatedStakeForStrategy:output_type -> eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyResponse - 7, // 11: eigenlayer.sidecar.v1.protocol.Protocol.GetDelegatedStakersForOperator:output_type -> eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorResponse - 10, // 12: eigenlayer.sidecar.v1.protocol.Protocol.GetStakerShares:output_type -> eigenlayer.sidecar.v1.protocol.GetStakerSharesResponse - 8, // [8:13] is the sub-list for method output_type - 3, // [3:8] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 14, // 3: eigenlayer.sidecar.v1.protocol.GetEigenStateChangesResponse.changes:type_name -> eigenlayer.sidecar.v1.eigenState.EigenStateChange + 0, // 4: eigenlayer.sidecar.v1.protocol.Protocol.GetRegisteredAvsForOperator:input_type -> eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorRequest + 2, // 5: eigenlayer.sidecar.v1.protocol.Protocol.GetDelegatedStrategiesForOperator:input_type -> eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorRequest + 4, // 6: eigenlayer.sidecar.v1.protocol.Protocol.GetOperatorDelegatedStakeForStrategy:input_type -> eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyRequest + 6, // 7: eigenlayer.sidecar.v1.protocol.Protocol.GetDelegatedStakersForOperator:input_type -> eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorRequest + 8, // 8: eigenlayer.sidecar.v1.protocol.Protocol.GetStakerShares:input_type -> eigenlayer.sidecar.v1.protocol.GetStakerSharesRequest + 11, // 9: eigenlayer.sidecar.v1.protocol.Protocol.GetEigenStateChanges:input_type -> eigenlayer.sidecar.v1.protocol.GetEigenStateChangesRequest + 1, // 10: eigenlayer.sidecar.v1.protocol.Protocol.GetRegisteredAvsForOperator:output_type -> eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorResponse + 3, // 11: eigenlayer.sidecar.v1.protocol.Protocol.GetDelegatedStrategiesForOperator:output_type -> eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorResponse + 5, // 12: eigenlayer.sidecar.v1.protocol.Protocol.GetOperatorDelegatedStakeForStrategy:output_type -> eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyResponse + 7, // 13: eigenlayer.sidecar.v1.protocol.Protocol.GetDelegatedStakersForOperator:output_type -> eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorResponse + 10, // 14: eigenlayer.sidecar.v1.protocol.Protocol.GetStakerShares:output_type -> eigenlayer.sidecar.v1.protocol.GetStakerSharesResponse + 12, // 15: eigenlayer.sidecar.v1.protocol.Protocol.GetEigenStateChanges:output_type -> eigenlayer.sidecar.v1.protocol.GetEigenStateChangesResponse + 10, // [10:16] is the sub-list for method output_type + 4, // [4:10] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name } func init() { file_eigenlayer_sidecar_v1_protocol_protocol_proto_init() } @@ -1031,6 +1158,30 @@ func file_eigenlayer_sidecar_v1_protocol_protocol_proto_init() { return nil } } + file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes[11].Exporter = func(v any, i int) any { + switch v := v.(*GetEigenStateChangesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes[12].Exporter = func(v any, i int) any { + switch v := v.(*GetEigenStateChangesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes[0].OneofWrappers = []any{} file_eigenlayer_sidecar_v1_protocol_protocol_proto_msgTypes[2].OneofWrappers = []any{} @@ -1045,7 +1196,7 @@ func file_eigenlayer_sidecar_v1_protocol_protocol_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDesc, NumEnums: 0, - NumMessages: 11, + NumMessages: 13, NumExtensions: 0, NumServices: 1, }, diff --git a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.gw.go b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.gw.go index 65f710c..6b9858f 100644 --- a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.gw.go +++ b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.gw.go @@ -401,6 +401,27 @@ func local_request_Protocol_GetStakerShares_0(ctx context.Context, marshaler run } +func request_Protocol_GetEigenStateChanges_0(ctx context.Context, marshaler runtime.Marshaler, client ProtocolClient, req *http.Request, pathParams map[string]string) (Protocol_GetEigenStateChangesClient, runtime.ServerMetadata, error) { + var protoReq GetEigenStateChangesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + stream, err := client.GetEigenStateChanges(ctx, &protoReq) + if err != nil { + return nil, metadata, err + } + header, err := stream.Header() + if err != nil { + return nil, metadata, err + } + metadata.HeaderMD = header + return stream, metadata, nil + +} + // RegisterProtocolHandlerServer registers the http handlers for service Protocol to "mux". // UnaryRPC :call ProtocolServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -533,6 +554,13 @@ func RegisterProtocolHandlerServer(ctx context.Context, mux *runtime.ServeMux, s }) + mux.Handle("POST", pattern_Protocol_GetEigenStateChanges_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") + _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + }) + return nil } @@ -684,6 +712,28 @@ func RegisterProtocolHandlerClient(ctx context.Context, mux *runtime.ServeMux, c }) + mux.Handle("POST", pattern_Protocol_GetEigenStateChanges_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/eigenlayer.sidecar.v1.protocol.Protocol/GetEigenStateChanges", runtime.WithHTTPPathPattern("/protocol/v1/eigen-state-changes")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Protocol_GetEigenStateChanges_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_Protocol_GetEigenStateChanges_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -697,6 +747,8 @@ var ( pattern_Protocol_GetDelegatedStakersForOperator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"protocol", "v1", "operators", "operator_address", "delegated-stakers"}, "")) pattern_Protocol_GetStakerShares_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"protocol", "v1", "stakers", "staker_address", "shares"}, "")) + + pattern_Protocol_GetEigenStateChanges_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"protocol", "v1", "eigen-state-changes"}, "")) ) var ( @@ -709,4 +761,6 @@ var ( forward_Protocol_GetDelegatedStakersForOperator_0 = runtime.ForwardResponseMessage forward_Protocol_GetStakerShares_0 = runtime.ForwardResponseMessage + + forward_Protocol_GetEigenStateChanges_0 = runtime.ForwardResponseStream ) diff --git a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol_grpc.pb.go b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol_grpc.pb.go index 35580f4..db2da7a 100644 --- a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol_grpc.pb.go +++ b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol_grpc.pb.go @@ -24,6 +24,7 @@ const ( Protocol_GetOperatorDelegatedStakeForStrategy_FullMethodName = "/eigenlayer.sidecar.v1.protocol.Protocol/GetOperatorDelegatedStakeForStrategy" Protocol_GetDelegatedStakersForOperator_FullMethodName = "/eigenlayer.sidecar.v1.protocol.Protocol/GetDelegatedStakersForOperator" Protocol_GetStakerShares_FullMethodName = "/eigenlayer.sidecar.v1.protocol.Protocol/GetStakerShares" + Protocol_GetEigenStateChanges_FullMethodName = "/eigenlayer.sidecar.v1.protocol.Protocol/GetEigenStateChanges" ) // ProtocolClient is the client API for Protocol service. @@ -43,6 +44,7 @@ type ProtocolClient interface { // GetStakerShares returns the shares of a staker, and optionally, the operator operator they've delegated to and // the AVS the operator has registered with. GetStakerShares(ctx context.Context, in *GetStakerSharesRequest, opts ...grpc.CallOption) (*GetStakerSharesResponse, error) + GetEigenStateChanges(ctx context.Context, in *GetEigenStateChangesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetEigenStateChangesResponse], error) } type protocolClient struct { @@ -103,6 +105,25 @@ func (c *protocolClient) GetStakerShares(ctx context.Context, in *GetStakerShare return out, nil } +func (c *protocolClient) GetEigenStateChanges(ctx context.Context, in *GetEigenStateChangesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetEigenStateChangesResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &Protocol_ServiceDesc.Streams[0], Protocol_GetEigenStateChanges_FullMethodName, cOpts...) + if err != nil { + return nil, err + } + x := &grpc.GenericClientStream[GetEigenStateChangesRequest, GetEigenStateChangesResponse]{ClientStream: stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Protocol_GetEigenStateChangesClient = grpc.ServerStreamingClient[GetEigenStateChangesResponse] + // ProtocolServer is the server API for Protocol service. // All implementations should embed UnimplementedProtocolServer // for forward compatibility. @@ -120,6 +141,7 @@ type ProtocolServer interface { // GetStakerShares returns the shares of a staker, and optionally, the operator operator they've delegated to and // the AVS the operator has registered with. GetStakerShares(context.Context, *GetStakerSharesRequest) (*GetStakerSharesResponse, error) + GetEigenStateChanges(*GetEigenStateChangesRequest, grpc.ServerStreamingServer[GetEigenStateChangesResponse]) error } // UnimplementedProtocolServer should be embedded to have @@ -144,6 +166,9 @@ func (UnimplementedProtocolServer) GetDelegatedStakersForOperator(context.Contex func (UnimplementedProtocolServer) GetStakerShares(context.Context, *GetStakerSharesRequest) (*GetStakerSharesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetStakerShares not implemented") } +func (UnimplementedProtocolServer) GetEigenStateChanges(*GetEigenStateChangesRequest, grpc.ServerStreamingServer[GetEigenStateChangesResponse]) error { + return status.Errorf(codes.Unimplemented, "method GetEigenStateChanges not implemented") +} func (UnimplementedProtocolServer) testEmbeddedByValue() {} // UnsafeProtocolServer may be embedded to opt out of forward compatibility for this service. @@ -254,6 +279,17 @@ func _Protocol_GetStakerShares_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Protocol_GetEigenStateChanges_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetEigenStateChangesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(ProtocolServer).GetEigenStateChanges(m, &grpc.GenericServerStream[GetEigenStateChangesRequest, GetEigenStateChangesResponse]{ServerStream: stream}) +} + +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type Protocol_GetEigenStateChangesServer = grpc.ServerStreamingServer[GetEigenStateChangesResponse] + // Protocol_ServiceDesc is the grpc.ServiceDesc for Protocol service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -282,6 +318,12 @@ var Protocol_ServiceDesc = grpc.ServiceDesc{ Handler: _Protocol_GetStakerShares_Handler, }, }, - Streams: []grpc.StreamDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetEigenStateChanges", + Handler: _Protocol_GetEigenStateChanges_Handler, + ServerStreams: true, + }, + }, Metadata: "eigenlayer/sidecar/v1/protocol/protocol.proto", } diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/__init__.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eigenState/__init__.py similarity index 100% rename from gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/__init__.py rename to gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eigenState/__init__.py diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/eigenState_pb2.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eigenState/eigenState_pb2.py similarity index 76% rename from gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/eigenState_pb2.py rename to gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eigenState/eigenState_pb2.py index 653ccf6..b16cf1e 100644 --- a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/eigenState_pb2.py +++ b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eigenState/eigenState_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE -# source: eigenlayer/sidecar/v1/eventTypes/eigenState.proto +# source: eigenlayer/sidecar/v1/eigenState/eigenState.proto # Protobuf Python Version: 5.29.3 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor @@ -15,7 +15,7 @@ 29, 3, '', - 'eigenlayer/sidecar/v1/eventTypes/eigenState.proto' + 'eigenlayer/sidecar/v1/eigenState/eigenState.proto' ) # @@protoc_insertion_point(imports) @@ -26,14 +26,14 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1eigenlayer/sidecar/v1/eventTypes/eigenState.proto\x12 eigenlayer.sidecar.v1.eventTypes\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"z\n\tStateRoot\x12(\n\x10\x65th_block_number\x18\x01 \x01(\x04R\x0e\x65thBlockNumber\x12$\n\x0e\x65th_block_hash\x18\x02 \x01(\tR\x0c\x65thBlockHash\x12\x1d\n\nstate_root\x18\x03 \x01(\tR\tstateRoot\"\x80\x01\n\x13TransactionMetadata\x12\x1b\n\tlog_index\x18\x04 \x01(\x04R\x08logIndex\x12)\n\x10transaction_hash\x18\x05 \x01(\tR\x0ftransactionHash\x12!\n\x0c\x62lock_height\x18\x06 \x01(\x04R\x0b\x62lockHeight\"\xd0\x01\n\x16\x41vsOperatorStateChange\x12\x10\n\x03\x61vs\x18\x01 \x01(\tR\x03\x61vs\x12\x1a\n\x08operator\x18\x02 \x01(\tR\x08operator\x12\x1e\n\nregistered\x18\x03 \x01(\x08R\nregistered\x12h\n\x14transaction_metadata\x18\x04 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eventTypes.TransactionMetadataR\x13transactionMetadata\"\xc0\x02\n\x12OperatorShareDelta\x12\x1a\n\x08operator\x18\x01 \x01(\tR\x08operator\x12\x16\n\x06staker\x18\x02 \x01(\tR\x06staker\x12\x1a\n\x08strategy\x18\x03 \x01(\tR\x08strategy\x12\x16\n\x06shares\x18\x04 \x01(\tR\x06shares\x12\x39\n\nblock_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tblockTime\x12\x1d\n\nblock_date\x18\x06 \x01(\tR\tblockDate\x12h\n\x14transaction_metadata\x18\x07 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eventTypes.TransactionMetadataR\x13transactionMetadata\"\xfb\x04\n\x10RewardSubmission\x12\x10\n\x03\x61vs\x18\x01 \x01(\tR\x03\x61vs\x12\x1f\n\x0breward_hash\x18\x02 \x01(\tR\nrewardHash\x12\x14\n\x05token\x18\x03 \x01(\tR\x05token\x12\x16\n\x06\x61mount\x18\x04 \x01(\tR\x06\x61mount\x12\x1a\n\x08strategy\x18\x05 \x01(\tR\x08strategy\x12%\n\x0estrategy_index\x18\x06 \x01(\x04R\rstrategyIndex\x12\x1e\n\nmultiplier\x18\x07 \x01(\tR\nmultiplier\x12\x43\n\x0fstart_timestamp\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0estartTimestamp\x12?\n\rend_timestamp\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0c\x65ndTimestamp\x12\x1a\n\x08\x64uration\x18\n \x01(\x04R\x08\x64uration\x12^\n\x0breward_type\x18\x0b \x01(\x0e\x32=.eigenlayer.sidecar.v1.eventTypes.RewardSubmission.RewardTypeR\nrewardType\x12h\n\x14transaction_metadata\x18\x0c \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eventTypes.TransactionMetadataR\x13transactionMetadata\"7\n\nRewardType\x12\x07\n\x03\x41VS\x10\x00\x12\x0f\n\x0b\x41LL_STAKERS\x10\x01\x12\x0f\n\x0b\x41LL_EARNERS\x10\x02\"\xd4\x01\n\x16StakerDelegationChange\x12\x16\n\x06staker\x18\x01 \x01(\tR\x06staker\x12\x1a\n\x08operator\x18\x02 \x01(\tR\x08operator\x12\x1c\n\tdelegated\x18\x03 \x01(\x08R\tdelegated\x12h\n\x14transaction_metadata\x18\x04 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eventTypes.TransactionMetadataR\x13transactionMetadata\"\xc9\x02\n\x10StakerShareDelta\x12\x16\n\x06staker\x18\x01 \x01(\tR\x06staker\x12\x1a\n\x08strategy\x18\x02 \x01(\tR\x08strategy\x12\x16\n\x06shares\x18\x03 \x01(\tR\x06shares\x12%\n\x0estrategy_index\x18\x04 \x01(\x04R\rstrategyIndex\x12\x39\n\nblock_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tblockTime\x12\x1d\n\nblock_date\x18\x06 \x01(\tR\tblockDate\x12h\n\x14transaction_metadata\x18\x07 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eventTypes.TransactionMetadataR\x13transactionMetadata\"\xef\x03\n\x19SubmittedDistributionRoot\x12\x12\n\x04root\x18\x01 \x01(\tR\x04root\x12\x1d\n\nroot_index\x18\x02 \x01(\x04R\trootIndex\x12R\n\x17rewards_calculation_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x15rewardsCalculationEnd\x12?\n\x1crewards_calculation_end_unit\x18\x04 \x01(\tR\x19rewardsCalculationEndUnit\x12=\n\x0c\x61\x63tivated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x61\x63tivatedAt\x12*\n\x11\x61\x63tivated_at_unit\x18\x06 \x01(\tR\x0f\x61\x63tivatedAtUnit\x12\x35\n\x17\x63reated_at_block_number\x18\x07 \x01(\x04R\x14\x63reatedAtBlockNumber\x12h\n\x14transaction_metadata\x18\x08 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eventTypes.TransactionMetadataR\x13transactionMetadata\"\xa3\x01\n\x18\x44isabledDistributionRoot\x12\x1d\n\nroot_index\x18\x01 \x01(\x04R\trootIndex\x12h\n\x14transaction_metadata\x18\x02 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eventTypes.TransactionMetadataR\x13transactionMetadata\"\xb5\x06\n\x10\x45igenStateChange\x12u\n\x19\x61vs_operator_state_change\x18\x01 \x01(\x0b\x32\x38.eigenlayer.sidecar.v1.eventTypes.AvsOperatorStateChangeH\x00R\x16\x61vsOperatorStateChange\x12h\n\x14operator_share_delta\x18\x02 \x01(\x0b\x32\x34.eigenlayer.sidecar.v1.eventTypes.OperatorShareDeltaH\x00R\x12operatorShareDelta\x12\x61\n\x11reward_submission\x18\x03 \x01(\x0b\x32\x32.eigenlayer.sidecar.v1.eventTypes.RewardSubmissionH\x00R\x10rewardSubmission\x12t\n\x18staker_delegation_change\x18\x04 \x01(\x0b\x32\x38.eigenlayer.sidecar.v1.eventTypes.StakerDelegationChangeH\x00R\x16stakerDelegationChange\x12\x62\n\x12staker_share_delta\x18\x05 \x01(\x0b\x32\x32.eigenlayer.sidecar.v1.eventTypes.StakerShareDeltaH\x00R\x10stakerShareDelta\x12}\n\x1bsubmitted_distribution_root\x18\x06 \x01(\x0b\x32;.eigenlayer.sidecar.v1.eventTypes.SubmittedDistributionRootH\x00R\x19submittedDistributionRoot\x12z\n\x1a\x64isabled_distribution_root\x18\x07 \x01(\x0b\x32:.eigenlayer.sidecar.v1.eventTypes.DisabledDistributionRootH\x00R\x18\x64isabledDistributionRootB\x08\n\x06\x63hangeB\xab\x02\n$com.eigenlayer.sidecar.v1.eventTypesB\x0f\x45igenStateProtoP\x01ZNgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eventTypes\xa2\x02\x04\x45SVE\xaa\x02 Eigenlayer.Sidecar.V1.EventTypes\xca\x02 Eigenlayer\\Sidecar\\V1\\EventTypes\xe2\x02,Eigenlayer\\Sidecar\\V1\\EventTypes\\GPBMetadata\xea\x02#Eigenlayer::Sidecar::V1::EventTypesb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1eigenlayer/sidecar/v1/eigenState/eigenState.proto\x12 eigenlayer.sidecar.v1.eigenState\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"z\n\tStateRoot\x12(\n\x10\x65th_block_number\x18\x01 \x01(\x04R\x0e\x65thBlockNumber\x12$\n\x0e\x65th_block_hash\x18\x02 \x01(\tR\x0c\x65thBlockHash\x12\x1d\n\nstate_root\x18\x03 \x01(\tR\tstateRoot\"\x80\x01\n\x13TransactionMetadata\x12\x1b\n\tlog_index\x18\x04 \x01(\x04R\x08logIndex\x12)\n\x10transaction_hash\x18\x05 \x01(\tR\x0ftransactionHash\x12!\n\x0c\x62lock_height\x18\x06 \x01(\x04R\x0b\x62lockHeight\"\xd0\x01\n\x16\x41vsOperatorStateChange\x12\x10\n\x03\x61vs\x18\x01 \x01(\tR\x03\x61vs\x12\x1a\n\x08operator\x18\x02 \x01(\tR\x08operator\x12\x1e\n\nregistered\x18\x03 \x01(\x08R\nregistered\x12h\n\x14transaction_metadata\x18\x04 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eigenState.TransactionMetadataR\x13transactionMetadata\"\xc0\x02\n\x12OperatorShareDelta\x12\x1a\n\x08operator\x18\x01 \x01(\tR\x08operator\x12\x16\n\x06staker\x18\x02 \x01(\tR\x06staker\x12\x1a\n\x08strategy\x18\x03 \x01(\tR\x08strategy\x12\x16\n\x06shares\x18\x04 \x01(\tR\x06shares\x12\x39\n\nblock_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tblockTime\x12\x1d\n\nblock_date\x18\x06 \x01(\tR\tblockDate\x12h\n\x14transaction_metadata\x18\x07 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eigenState.TransactionMetadataR\x13transactionMetadata\"\xfb\x04\n\x10RewardSubmission\x12\x10\n\x03\x61vs\x18\x01 \x01(\tR\x03\x61vs\x12\x1f\n\x0breward_hash\x18\x02 \x01(\tR\nrewardHash\x12\x14\n\x05token\x18\x03 \x01(\tR\x05token\x12\x16\n\x06\x61mount\x18\x04 \x01(\tR\x06\x61mount\x12\x1a\n\x08strategy\x18\x05 \x01(\tR\x08strategy\x12%\n\x0estrategy_index\x18\x06 \x01(\x04R\rstrategyIndex\x12\x1e\n\nmultiplier\x18\x07 \x01(\tR\nmultiplier\x12\x43\n\x0fstart_timestamp\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0estartTimestamp\x12?\n\rend_timestamp\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0c\x65ndTimestamp\x12\x1a\n\x08\x64uration\x18\n \x01(\x04R\x08\x64uration\x12^\n\x0breward_type\x18\x0b \x01(\x0e\x32=.eigenlayer.sidecar.v1.eigenState.RewardSubmission.RewardTypeR\nrewardType\x12h\n\x14transaction_metadata\x18\x0c \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eigenState.TransactionMetadataR\x13transactionMetadata\"7\n\nRewardType\x12\x07\n\x03\x41VS\x10\x00\x12\x0f\n\x0b\x41LL_STAKERS\x10\x01\x12\x0f\n\x0b\x41LL_EARNERS\x10\x02\"\xd4\x01\n\x16StakerDelegationChange\x12\x16\n\x06staker\x18\x01 \x01(\tR\x06staker\x12\x1a\n\x08operator\x18\x02 \x01(\tR\x08operator\x12\x1c\n\tdelegated\x18\x03 \x01(\x08R\tdelegated\x12h\n\x14transaction_metadata\x18\x04 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eigenState.TransactionMetadataR\x13transactionMetadata\"\xc9\x02\n\x10StakerShareDelta\x12\x16\n\x06staker\x18\x01 \x01(\tR\x06staker\x12\x1a\n\x08strategy\x18\x02 \x01(\tR\x08strategy\x12\x16\n\x06shares\x18\x03 \x01(\tR\x06shares\x12%\n\x0estrategy_index\x18\x04 \x01(\x04R\rstrategyIndex\x12\x39\n\nblock_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tblockTime\x12\x1d\n\nblock_date\x18\x06 \x01(\tR\tblockDate\x12h\n\x14transaction_metadata\x18\x07 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eigenState.TransactionMetadataR\x13transactionMetadata\"\xef\x03\n\x19SubmittedDistributionRoot\x12\x12\n\x04root\x18\x01 \x01(\tR\x04root\x12\x1d\n\nroot_index\x18\x02 \x01(\x04R\trootIndex\x12R\n\x17rewards_calculation_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x15rewardsCalculationEnd\x12?\n\x1crewards_calculation_end_unit\x18\x04 \x01(\tR\x19rewardsCalculationEndUnit\x12=\n\x0c\x61\x63tivated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x61\x63tivatedAt\x12*\n\x11\x61\x63tivated_at_unit\x18\x06 \x01(\tR\x0f\x61\x63tivatedAtUnit\x12\x35\n\x17\x63reated_at_block_number\x18\x07 \x01(\x04R\x14\x63reatedAtBlockNumber\x12h\n\x14transaction_metadata\x18\x08 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eigenState.TransactionMetadataR\x13transactionMetadata\"\xa3\x01\n\x18\x44isabledDistributionRoot\x12\x1d\n\nroot_index\x18\x01 \x01(\x04R\trootIndex\x12h\n\x14transaction_metadata\x18\x02 \x01(\x0b\x32\x35.eigenlayer.sidecar.v1.eigenState.TransactionMetadataR\x13transactionMetadata\"\xb5\x06\n\x10\x45igenStateChange\x12u\n\x19\x61vs_operator_state_change\x18\x01 \x01(\x0b\x32\x38.eigenlayer.sidecar.v1.eigenState.AvsOperatorStateChangeH\x00R\x16\x61vsOperatorStateChange\x12h\n\x14operator_share_delta\x18\x02 \x01(\x0b\x32\x34.eigenlayer.sidecar.v1.eigenState.OperatorShareDeltaH\x00R\x12operatorShareDelta\x12\x61\n\x11reward_submission\x18\x03 \x01(\x0b\x32\x32.eigenlayer.sidecar.v1.eigenState.RewardSubmissionH\x00R\x10rewardSubmission\x12t\n\x18staker_delegation_change\x18\x04 \x01(\x0b\x32\x38.eigenlayer.sidecar.v1.eigenState.StakerDelegationChangeH\x00R\x16stakerDelegationChange\x12\x62\n\x12staker_share_delta\x18\x05 \x01(\x0b\x32\x32.eigenlayer.sidecar.v1.eigenState.StakerShareDeltaH\x00R\x10stakerShareDelta\x12}\n\x1bsubmitted_distribution_root\x18\x06 \x01(\x0b\x32;.eigenlayer.sidecar.v1.eigenState.SubmittedDistributionRootH\x00R\x19submittedDistributionRoot\x12z\n\x1a\x64isabled_distribution_root\x18\x07 \x01(\x0b\x32:.eigenlayer.sidecar.v1.eigenState.DisabledDistributionRootH\x00R\x18\x64isabledDistributionRootB\x08\n\x06\x63hangeB\xab\x02\n$com.eigenlayer.sidecar.v1.eigenStateB\x0f\x45igenStateProtoP\x01ZNgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eigenState\xa2\x02\x04\x45SVE\xaa\x02 Eigenlayer.Sidecar.V1.EigenState\xca\x02 Eigenlayer\\Sidecar\\V1\\EigenState\xe2\x02,Eigenlayer\\Sidecar\\V1\\EigenState\\GPBMetadata\xea\x02#Eigenlayer::Sidecar::V1::EigenStateb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'eigenlayer.sidecar.v1.eventTypes.eigenState_pb2', _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'eigenlayer.sidecar.v1.eigenState.eigenState_pb2', _globals) if not _descriptor._USE_C_DESCRIPTORS: _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n$com.eigenlayer.sidecar.v1.eventTypesB\017EigenStateProtoP\001ZNgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eventTypes\242\002\004ESVE\252\002 Eigenlayer.Sidecar.V1.EventTypes\312\002 Eigenlayer\\Sidecar\\V1\\EventTypes\342\002,Eigenlayer\\Sidecar\\V1\\EventTypes\\GPBMetadata\352\002#Eigenlayer::Sidecar::V1::EventTypes' + _globals['DESCRIPTOR']._serialized_options = b'\n$com.eigenlayer.sidecar.v1.eigenStateB\017EigenStateProtoP\001ZNgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eigenState\242\002\004ESVE\252\002 Eigenlayer.Sidecar.V1.EigenState\312\002 Eigenlayer\\Sidecar\\V1\\EigenState\342\002,Eigenlayer\\Sidecar\\V1\\EigenState\\GPBMetadata\352\002#Eigenlayer::Sidecar::V1::EigenState' _globals['_STATEROOT']._serialized_start=150 _globals['_STATEROOT']._serialized_end=272 _globals['_TRANSACTIONMETADATA']._serialized_start=275 diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/eigenState_pb2_grpc.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eigenState/eigenState_pb2_grpc.py similarity index 100% rename from gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/eigenState_pb2_grpc.py rename to gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eigenState/eigenState_pb2_grpc.py diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/__init__.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes_pb2.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes_pb2.py new file mode 100644 index 0000000..ebeddf3 --- /dev/null +++ b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes_pb2.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# NO CHECKED-IN PROTOBUF GENCODE +# source: eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto +# Protobuf Python Version: 5.29.3 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import runtime_version as _runtime_version +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +_runtime_version.ValidateProtobufRuntimeVersion( + _runtime_version.Domain.PUBLIC, + 5, + 29, + 3, + '', + 'eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto' +) +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto\x12#eigenlayer.sidecar.v1.ethereumTypes\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xa0\x02\n\x0eTransactionLog\x12)\n\x10transaction_hash\x18\x01 \x01(\tR\x0ftransactionHash\x12+\n\x11transaction_index\x18\x02 \x01(\x04R\x10transactionIndex\x12\x1b\n\tlog_index\x18\x03 \x01(\x04R\x08logIndex\x12!\n\x0c\x62lock_number\x18\x04 \x01(\x04R\x0b\x62lockNumber\x12\x18\n\x07\x61\x64\x64ress\x18\x05 \x01(\tR\x07\x61\x64\x64ress\x12\x1d\n\nevent_name\x18\x06 \x01(\tR\teventName\x12\x1c\n\targuments\x18\x07 \x01(\x0cR\targuments\x12\x1f\n\x0boutput_data\x18\x08 \x01(\x0cR\noutputData\"\xbe\x02\n\x0bTransaction\x12)\n\x10transaction_hash\x18\x01 \x01(\tR\x0ftransactionHash\x12+\n\x11transaction_index\x18\x02 \x01(\x04R\x10transactionIndex\x12!\n\x0c\x62lock_number\x18\x03 \x01(\x04R\x0b\x62lockNumber\x12!\n\x0c\x66rom_address\x18\x04 \x01(\tR\x0b\x66romAddress\x12\x1d\n\nto_address\x18\x05 \x01(\tR\ttoAddress\x12)\n\x10\x63ontract_address\x18\x06 \x01(\tR\x0f\x63ontractAddress\x12G\n\x04logs\x18\x07 \x03(\x0b\x32\x33.eigenlayer.sidecar.v1.ethereumTypes.TransactionLogR\x04logs\"\xfb\x01\n\x05\x42lock\x12!\n\x0c\x62lock_number\x18\x01 \x01(\x04R\x0b\x62lockNumber\x12\x1d\n\nblock_hash\x18\x02 \x01(\tR\tblockHash\x12\x1f\n\x0bparent_hash\x18\x03 \x01(\tR\nparentHash\x12\x39\n\nblock_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tblockTime\x12T\n\x0ctransactions\x18\x05 \x03(\x0b\x32\x30.eigenlayer.sidecar.v1.ethereumTypes.TransactionR\x0ctransactionsB\xc0\x02\n\'com.eigenlayer.sidecar.v1.ethereumTypesB\x12\x45thereumTypesProtoP\x01ZQgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/ethereumTypes\xa2\x02\x04\x45SVE\xaa\x02#Eigenlayer.Sidecar.V1.EthereumTypes\xca\x02#Eigenlayer\\Sidecar\\V1\\EthereumTypes\xe2\x02/Eigenlayer\\Sidecar\\V1\\EthereumTypes\\GPBMetadata\xea\x02&Eigenlayer::Sidecar::V1::EthereumTypesb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'eigenlayer.sidecar.v1.ethereumTypes.ethereumTypes_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'\n\'com.eigenlayer.sidecar.v1.ethereumTypesB\022EthereumTypesProtoP\001ZQgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/ethereumTypes\242\002\004ESVE\252\002#Eigenlayer.Sidecar.V1.EthereumTypes\312\002#Eigenlayer\\Sidecar\\V1\\EthereumTypes\342\002/Eigenlayer\\Sidecar\\V1\\EthereumTypes\\GPBMetadata\352\002&Eigenlayer::Sidecar::V1::EthereumTypes' + _globals['_TRANSACTIONLOG']._serialized_start=160 + _globals['_TRANSACTIONLOG']._serialized_end=448 + _globals['_TRANSACTION']._serialized_start=451 + _globals['_TRANSACTION']._serialized_end=769 + _globals['_BLOCK']._serialized_start=772 + _globals['_BLOCK']._serialized_end=1023 +# @@protoc_insertion_point(module_scope) diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/ethereumTypes_pb2_grpc.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes_pb2_grpc.py similarity index 100% rename from gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/ethereumTypes_pb2_grpc.py rename to gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes_pb2_grpc.py diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/ethereumTypes_pb2.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/ethereumTypes_pb2.py deleted file mode 100644 index ad242e2..0000000 --- a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/eventTypes/ethereumTypes_pb2.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# NO CHECKED-IN PROTOBUF GENCODE -# source: eigenlayer/sidecar/v1/eventTypes/ethereumTypes.proto -# Protobuf Python Version: 5.29.3 -"""Generated protocol buffer code.""" -from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pool as _descriptor_pool -from google.protobuf import runtime_version as _runtime_version -from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder -_runtime_version.ValidateProtobufRuntimeVersion( - _runtime_version.Domain.PUBLIC, - 5, - 29, - 3, - '', - 'eigenlayer/sidecar/v1/eventTypes/ethereumTypes.proto' -) -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 - - -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4eigenlayer/sidecar/v1/eventTypes/ethereumTypes.proto\x12 eigenlayer.sidecar.v1.eventTypes\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xa0\x02\n\x0eTransactionLog\x12)\n\x10transaction_hash\x18\x01 \x01(\tR\x0ftransactionHash\x12+\n\x11transaction_index\x18\x02 \x01(\x04R\x10transactionIndex\x12\x1b\n\tlog_index\x18\x03 \x01(\x04R\x08logIndex\x12!\n\x0c\x62lock_number\x18\x04 \x01(\x04R\x0b\x62lockNumber\x12\x18\n\x07\x61\x64\x64ress\x18\x05 \x01(\tR\x07\x61\x64\x64ress\x12\x1d\n\nevent_name\x18\x06 \x01(\tR\teventName\x12\x1c\n\targuments\x18\x07 \x01(\x0cR\targuments\x12\x1f\n\x0boutput_data\x18\x08 \x01(\x0cR\noutputData\"\xbb\x02\n\x0bTransaction\x12)\n\x10transaction_hash\x18\x01 \x01(\tR\x0ftransactionHash\x12+\n\x11transaction_index\x18\x02 \x01(\x04R\x10transactionIndex\x12!\n\x0c\x62lock_number\x18\x03 \x01(\x04R\x0b\x62lockNumber\x12!\n\x0c\x66rom_address\x18\x04 \x01(\tR\x0b\x66romAddress\x12\x1d\n\nto_address\x18\x05 \x01(\tR\ttoAddress\x12)\n\x10\x63ontract_address\x18\x06 \x01(\tR\x0f\x63ontractAddress\x12\x44\n\x04logs\x18\x07 \x03(\x0b\x32\x30.eigenlayer.sidecar.v1.eventTypes.TransactionLogR\x04logs\"\xf8\x01\n\x05\x42lock\x12!\n\x0c\x62lock_number\x18\x01 \x01(\x04R\x0b\x62lockNumber\x12\x1d\n\nblock_hash\x18\x02 \x01(\tR\tblockHash\x12\x1f\n\x0bparent_hash\x18\x03 \x01(\tR\nparentHash\x12\x39\n\nblock_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tblockTime\x12Q\n\x0ctransactions\x18\x05 \x03(\x0b\x32-.eigenlayer.sidecar.v1.eventTypes.TransactionR\x0ctransactionsB\xae\x02\n$com.eigenlayer.sidecar.v1.eventTypesB\x12\x45thereumTypesProtoP\x01ZNgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eventTypes\xa2\x02\x04\x45SVE\xaa\x02 Eigenlayer.Sidecar.V1.EventTypes\xca\x02 Eigenlayer\\Sidecar\\V1\\EventTypes\xe2\x02,Eigenlayer\\Sidecar\\V1\\EventTypes\\GPBMetadata\xea\x02#Eigenlayer::Sidecar::V1::EventTypesb\x06proto3') - -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'eigenlayer.sidecar.v1.eventTypes.ethereumTypes_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: - _globals['DESCRIPTOR']._loaded_options = None - _globals['DESCRIPTOR']._serialized_options = b'\n$com.eigenlayer.sidecar.v1.eventTypesB\022EthereumTypesProtoP\001ZNgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eventTypes\242\002\004ESVE\252\002 Eigenlayer.Sidecar.V1.EventTypes\312\002 Eigenlayer\\Sidecar\\V1\\EventTypes\342\002,Eigenlayer\\Sidecar\\V1\\EventTypes\\GPBMetadata\352\002#Eigenlayer::Sidecar::V1::EventTypes' - _globals['_TRANSACTIONLOG']._serialized_start=154 - _globals['_TRANSACTIONLOG']._serialized_end=442 - _globals['_TRANSACTION']._serialized_start=445 - _globals['_TRANSACTION']._serialized_end=760 - _globals['_BLOCK']._serialized_start=763 - _globals['_BLOCK']._serialized_end=1011 -# @@protoc_insertion_point(module_scope) diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/events/events_pb2.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/events/events_pb2.py index 4d78436..fe67e66 100644 --- a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/events/events_pb2.py +++ b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/events/events_pb2.py @@ -23,11 +23,11 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from eigenlayer.sidecar.v1.eventTypes import eigenState_pb2 as eigenlayer_dot_sidecar_dot_v1_dot_eventTypes_dot_eigenState__pb2 -from eigenlayer.sidecar.v1.eventTypes import ethereumTypes_pb2 as eigenlayer_dot_sidecar_dot_v1_dot_eventTypes_dot_ethereumTypes__pb2 +from eigenlayer.sidecar.v1.eigenState import eigenState_pb2 as eigenlayer_dot_sidecar_dot_v1_dot_eigenState_dot_eigenState__pb2 +from eigenlayer.sidecar.v1.ethereumTypes import ethereumTypes_pb2 as eigenlayer_dot_sidecar_dot_v1_dot_ethereumTypes_dot_ethereumTypes__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)eigenlayer/sidecar/v1/events/events.proto\x12\x1c\x65igenlayer.sidecar.v1.events\x1a\x1cgoogle/api/annotations.proto\x1a\x31\x65igenlayer/sidecar/v1/eventTypes/eigenState.proto\x1a\x34\x65igenlayer/sidecar/v1/eventTypes/ethereumTypes.proto\" \n\x1eStreamEigenStateChangesRequest\"\xde\x01\n\x1fStreamEigenStateChangesResponse\x12!\n\x0c\x62lock_number\x18\x01 \x01(\x04R\x0b\x62lockNumber\x12J\n\nstate_root\x18\x02 \x01(\x0b\x32+.eigenlayer.sidecar.v1.eventTypes.StateRootR\tstateRoot\x12L\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\x32.eigenlayer.sidecar.v1.eventTypes.EigenStateChangeR\x07\x63hanges\"P\n\x1aStreamIndexedBlocksRequest\x12\x32\n\x15include_state_changes\x18\x01 \x01(\x08R\x13includeStateChanges\"\xf6\x01\n\x1bStreamIndexedBlocksResponse\x12=\n\x05\x62lock\x18\x01 \x01(\x0b\x32\'.eigenlayer.sidecar.v1.eventTypes.BlockR\x05\x62lock\x12J\n\nstate_root\x18\x02 \x01(\x0b\x32+.eigenlayer.sidecar.v1.eventTypes.StateRootR\tstateRoot\x12L\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\x32.eigenlayer.sidecar.v1.eventTypes.EigenStateChangeR\x07\x63hanges2\x91\x03\n\x06\x45vents\x12\xca\x01\n\x17StreamEigenStateChanges\x12<.eigenlayer.sidecar.v1.events.StreamEigenStateChangesRequest\x1a=.eigenlayer.sidecar.v1.events.StreamEigenStateChangesResponse\"0\x82\xd3\xe4\x93\x02*\"%/events/v1/stream-eigen-state-changes:\x01*0\x01\x12\xb9\x01\n\x13StreamIndexedBlocks\x12\x38.eigenlayer.sidecar.v1.events.StreamIndexedBlocksRequest\x1a\x39.eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse\"+\x82\xd3\xe4\x93\x02%\" /events/v1/stream-indexed-blocks:\x01*0\x01\x42\x8f\x02\n com.eigenlayer.sidecar.v1.eventsB\x0b\x45ventsProtoP\x01ZJgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/events\xa2\x02\x04\x45SVE\xaa\x02\x1c\x45igenlayer.Sidecar.V1.Events\xca\x02\x1c\x45igenlayer\\Sidecar\\V1\\Events\xe2\x02(Eigenlayer\\Sidecar\\V1\\Events\\GPBMetadata\xea\x02\x1f\x45igenlayer::Sidecar::V1::Eventsb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)eigenlayer/sidecar/v1/events/events.proto\x12\x1c\x65igenlayer.sidecar.v1.events\x1a\x1cgoogle/api/annotations.proto\x1a\x31\x65igenlayer/sidecar/v1/eigenState/eigenState.proto\x1a\x37\x65igenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto\" \n\x1eStreamEigenStateChangesRequest\"\xde\x01\n\x1fStreamEigenStateChangesResponse\x12!\n\x0c\x62lock_number\x18\x01 \x01(\x04R\x0b\x62lockNumber\x12J\n\nstate_root\x18\x02 \x01(\x0b\x32+.eigenlayer.sidecar.v1.eigenState.StateRootR\tstateRoot\x12L\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\x32.eigenlayer.sidecar.v1.eigenState.EigenStateChangeR\x07\x63hanges\"P\n\x1aStreamIndexedBlocksRequest\x12\x32\n\x15include_state_changes\x18\x01 \x01(\x08R\x13includeStateChanges\"\xf9\x01\n\x1bStreamIndexedBlocksResponse\x12@\n\x05\x62lock\x18\x01 \x01(\x0b\x32*.eigenlayer.sidecar.v1.ethereumTypes.BlockR\x05\x62lock\x12J\n\nstate_root\x18\x02 \x01(\x0b\x32+.eigenlayer.sidecar.v1.eigenState.StateRootR\tstateRoot\x12L\n\x07\x63hanges\x18\x03 \x03(\x0b\x32\x32.eigenlayer.sidecar.v1.eigenState.EigenStateChangeR\x07\x63hanges2\x91\x03\n\x06\x45vents\x12\xca\x01\n\x17StreamEigenStateChanges\x12<.eigenlayer.sidecar.v1.events.StreamEigenStateChangesRequest\x1a=.eigenlayer.sidecar.v1.events.StreamEigenStateChangesResponse\"0\x82\xd3\xe4\x93\x02*\"%/events/v1/stream-eigen-state-changes:\x01*0\x01\x12\xb9\x01\n\x13StreamIndexedBlocks\x12\x38.eigenlayer.sidecar.v1.events.StreamIndexedBlocksRequest\x1a\x39.eigenlayer.sidecar.v1.events.StreamIndexedBlocksResponse\"+\x82\xd3\xe4\x93\x02%\" /events/v1/stream-indexed-blocks:\x01*0\x01\x42\x8f\x02\n com.eigenlayer.sidecar.v1.eventsB\x0b\x45ventsProtoP\x01ZJgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/events\xa2\x02\x04\x45SVE\xaa\x02\x1c\x45igenlayer.Sidecar.V1.Events\xca\x02\x1c\x45igenlayer\\Sidecar\\V1\\Events\xe2\x02(Eigenlayer\\Sidecar\\V1\\Events\\GPBMetadata\xea\x02\x1f\x45igenlayer::Sidecar::V1::Eventsb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -39,14 +39,14 @@ _globals['_EVENTS'].methods_by_name['StreamEigenStateChanges']._serialized_options = b'\202\323\344\223\002*\"%/events/v1/stream-eigen-state-changes:\001*' _globals['_EVENTS'].methods_by_name['StreamIndexedBlocks']._loaded_options = None _globals['_EVENTS'].methods_by_name['StreamIndexedBlocks']._serialized_options = b'\202\323\344\223\002%\" /events/v1/stream-indexed-blocks:\001*' - _globals['_STREAMEIGENSTATECHANGESREQUEST']._serialized_start=210 - _globals['_STREAMEIGENSTATECHANGESREQUEST']._serialized_end=242 - _globals['_STREAMEIGENSTATECHANGESRESPONSE']._serialized_start=245 - _globals['_STREAMEIGENSTATECHANGESRESPONSE']._serialized_end=467 - _globals['_STREAMINDEXEDBLOCKSREQUEST']._serialized_start=469 - _globals['_STREAMINDEXEDBLOCKSREQUEST']._serialized_end=549 - _globals['_STREAMINDEXEDBLOCKSRESPONSE']._serialized_start=552 - _globals['_STREAMINDEXEDBLOCKSRESPONSE']._serialized_end=798 - _globals['_EVENTS']._serialized_start=801 - _globals['_EVENTS']._serialized_end=1202 + _globals['_STREAMEIGENSTATECHANGESREQUEST']._serialized_start=213 + _globals['_STREAMEIGENSTATECHANGESREQUEST']._serialized_end=245 + _globals['_STREAMEIGENSTATECHANGESRESPONSE']._serialized_start=248 + _globals['_STREAMEIGENSTATECHANGESRESPONSE']._serialized_end=470 + _globals['_STREAMINDEXEDBLOCKSREQUEST']._serialized_start=472 + _globals['_STREAMINDEXEDBLOCKSREQUEST']._serialized_end=552 + _globals['_STREAMINDEXEDBLOCKSRESPONSE']._serialized_start=555 + _globals['_STREAMINDEXEDBLOCKSRESPONSE']._serialized_end=804 + _globals['_EVENTS']._serialized_start=807 + _globals['_EVENTS']._serialized_end=1208 # @@protoc_insertion_point(module_scope) diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2.py index 1bb651c..6fd68b8 100644 --- a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2.py +++ b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2.py @@ -22,11 +22,12 @@ _sym_db = _symbol_database.Default() +from eigenlayer.sidecar.v1.eigenState import eigenState_pb2 as eigenlayer_dot_sidecar_dot_v1_dot_eigenState_dot_eigenState__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from eigenlayer.sidecar.v1.common import types_pb2 as eigenlayer_dot_sidecar_dot_v1_dot_common_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-eigenlayer/sidecar/v1/protocol/protocol.proto\x12\x1e\x65igenlayer.sidecar.v1.protocol\x1a\x1cgoogle/api/annotations.proto\x1a(eigenlayer/sidecar/v1/common/types.proto\"\x88\x01\n\"GetRegisteredAvsForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"J\n#GetRegisteredAvsForOperatorResponse\x12#\n\ravs_addresses\x18\x01 \x03(\tR\x0c\x61vsAddresses\"\x8e\x01\n(GetDelegatedStrategiesForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"Z\n)GetDelegatedStrategiesForOperatorResponse\x12-\n\x12strategy_addresses\x18\x01 \x03(\tR\x11strategyAddresses\"\xbc\x01\n+GetOperatorDelegatedStakeForStrategyRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12)\n\x10strategy_address\x18\x02 \x01(\tR\x0fstrategyAddress\x12&\n\x0c\x62lock_height\x18\x03 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"k\n,GetOperatorDelegatedStakeForStrategyResponse\x12\x16\n\x06shares\x18\x01 \x01(\tR\x06shares\x12#\n\ravs_addresses\x18\x02 \x03(\tR\x0c\x61vsAddresses\"\xe9\x01\n%GetDelegatedStakersForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x12M\n\npagination\x18\x03 \x01(\x0b\x32(.eigenlayer.sidecar.v1.common.PaginationH\x01R\npagination\x88\x01\x01\x42\x0f\n\r_block_heightB\r\n\x0b_pagination\"\xad\x01\n&GetDelegatedStakersForOperatorResponse\x12)\n\x10staker_addresses\x18\x01 \x03(\tR\x0fstakerAddresses\x12J\n\tnext_page\x18\x02 \x01(\x0b\x32(.eigenlayer.sidecar.v1.common.PaginationH\x00R\x08nextPage\x88\x01\x01\x42\x0c\n\n_next_page\"x\n\x16GetStakerSharesRequest\x12%\n\x0estaker_address\x18\x01 \x01(\tR\rstakerAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"\xab\x01\n\x0bStakerShare\x12\x1a\n\x08strategy\x18\x01 \x01(\tR\x08strategy\x12\x16\n\x06shares\x18\x02 \x01(\tR\x06shares\x12.\n\x10operator_address\x18\x03 \x01(\tH\x00R\x0foperatorAddress\x88\x01\x01\x12#\n\ravs_addresses\x18\x04 \x03(\tR\x0c\x61vsAddressesB\x13\n\x11_operator_address\"^\n\x17GetStakerSharesResponse\x12\x43\n\x06shares\x18\x01 \x03(\x0b\x32+.eigenlayer.sidecar.v1.protocol.StakerShareR\x06shares2\xcf\t\n\x08Protocol\x12\xe8\x01\n\x1bGetRegisteredAvsForOperator\x12\x42.eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorRequest\x1a\x43.eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/protocol/v1/operators/{operator_address}/registered-avs\x12\x80\x02\n!GetDelegatedStrategiesForOperator\x12H.eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorRequest\x1aI.eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorResponse\"F\x82\xd3\xe4\x93\x02@\x12>/protocol/v1/operators/{operator_address}/delegated-strategies\x12\xa2\x02\n$GetOperatorDelegatedStakeForStrategy\x12K.eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyRequest\x1aL.eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/protocol/v1/operators/{operator_address}/strategies/{strategy_address}/delegated-stake\x12\xf4\x01\n\x1eGetDelegatedStakersForOperator\x12\x45.eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorRequest\x1a\x46.eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorResponse\"C\x82\xd3\xe4\x93\x02=\x12;/protocol/v1/operators/{operator_address}/delegated-stakers\x12\xb8\x01\n\x0fGetStakerShares\x12\x36.eigenlayer.sidecar.v1.protocol.GetStakerSharesRequest\x1a\x37.eigenlayer.sidecar.v1.protocol.GetStakerSharesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/protocol/v1/stakers/{staker_address}/sharesB\x9d\x02\n\"com.eigenlayer.sidecar.v1.protocolB\rProtocolProtoP\x01ZLgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/protocol\xa2\x02\x04\x45SVP\xaa\x02\x1e\x45igenlayer.Sidecar.V1.Protocol\xca\x02\x1e\x45igenlayer\\Sidecar\\V1\\Protocol\xe2\x02*Eigenlayer\\Sidecar\\V1\\Protocol\\GPBMetadata\xea\x02!Eigenlayer::Sidecar::V1::Protocolb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-eigenlayer/sidecar/v1/protocol/protocol.proto\x12\x1e\x65igenlayer.sidecar.v1.protocol\x1a\x31\x65igenlayer/sidecar/v1/eigenState/eigenState.proto\x1a\x1cgoogle/api/annotations.proto\x1a(eigenlayer/sidecar/v1/common/types.proto\"\x88\x01\n\"GetRegisteredAvsForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"J\n#GetRegisteredAvsForOperatorResponse\x12#\n\ravs_addresses\x18\x01 \x03(\tR\x0c\x61vsAddresses\"\x8e\x01\n(GetDelegatedStrategiesForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"Z\n)GetDelegatedStrategiesForOperatorResponse\x12-\n\x12strategy_addresses\x18\x01 \x03(\tR\x11strategyAddresses\"\xbc\x01\n+GetOperatorDelegatedStakeForStrategyRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12)\n\x10strategy_address\x18\x02 \x01(\tR\x0fstrategyAddress\x12&\n\x0c\x62lock_height\x18\x03 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"k\n,GetOperatorDelegatedStakeForStrategyResponse\x12\x16\n\x06shares\x18\x01 \x01(\tR\x06shares\x12#\n\ravs_addresses\x18\x02 \x03(\tR\x0c\x61vsAddresses\"\xe9\x01\n%GetDelegatedStakersForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x12M\n\npagination\x18\x03 \x01(\x0b\x32(.eigenlayer.sidecar.v1.common.PaginationH\x01R\npagination\x88\x01\x01\x42\x0f\n\r_block_heightB\r\n\x0b_pagination\"\xad\x01\n&GetDelegatedStakersForOperatorResponse\x12)\n\x10staker_addresses\x18\x01 \x03(\tR\x0fstakerAddresses\x12J\n\tnext_page\x18\x02 \x01(\x0b\x32(.eigenlayer.sidecar.v1.common.PaginationH\x00R\x08nextPage\x88\x01\x01\x42\x0c\n\n_next_page\"x\n\x16GetStakerSharesRequest\x12%\n\x0estaker_address\x18\x01 \x01(\tR\rstakerAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"\xab\x01\n\x0bStakerShare\x12\x1a\n\x08strategy\x18\x01 \x01(\tR\x08strategy\x12\x16\n\x06shares\x18\x02 \x01(\tR\x06shares\x12.\n\x10operator_address\x18\x03 \x01(\tH\x00R\x0foperatorAddress\x88\x01\x01\x12#\n\ravs_addresses\x18\x04 \x03(\tR\x0c\x61vsAddressesB\x13\n\x11_operator_address\"^\n\x17GetStakerSharesResponse\x12\x43\n\x06shares\x18\x01 \x03(\x0b\x32+.eigenlayer.sidecar.v1.protocol.StakerShareR\x06shares\"@\n\x1bGetEigenStateChangesRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\"l\n\x1cGetEigenStateChangesResponse\x12L\n\x07\x63hanges\x18\x01 \x03(\x0b\x32\x32.eigenlayer.sidecar.v1.eigenState.EigenStateChangeR\x07\x63hanges2\x92\x0b\n\x08Protocol\x12\xe8\x01\n\x1bGetRegisteredAvsForOperator\x12\x42.eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorRequest\x1a\x43.eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/protocol/v1/operators/{operator_address}/registered-avs\x12\x80\x02\n!GetDelegatedStrategiesForOperator\x12H.eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorRequest\x1aI.eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorResponse\"F\x82\xd3\xe4\x93\x02@\x12>/protocol/v1/operators/{operator_address}/delegated-strategies\x12\xa2\x02\n$GetOperatorDelegatedStakeForStrategy\x12K.eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyRequest\x1aL.eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/protocol/v1/operators/{operator_address}/strategies/{strategy_address}/delegated-stake\x12\xf4\x01\n\x1eGetDelegatedStakersForOperator\x12\x45.eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorRequest\x1a\x46.eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorResponse\"C\x82\xd3\xe4\x93\x02=\x12;/protocol/v1/operators/{operator_address}/delegated-stakers\x12\xb8\x01\n\x0fGetStakerShares\x12\x36.eigenlayer.sidecar.v1.protocol.GetStakerSharesRequest\x1a\x37.eigenlayer.sidecar.v1.protocol.GetStakerSharesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/protocol/v1/stakers/{staker_address}/shares\x12\xc0\x01\n\x14GetEigenStateChanges\x12;.eigenlayer.sidecar.v1.protocol.GetEigenStateChangesRequest\x1a<.eigenlayer.sidecar.v1.protocol.GetEigenStateChangesResponse\"+\x82\xd3\xe4\x93\x02%\" /protocol/v1/eigen-state-changes:\x01*0\x01\x42\x9d\x02\n\"com.eigenlayer.sidecar.v1.protocolB\rProtocolProtoP\x01ZLgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/protocol\xa2\x02\x04\x45SVP\xaa\x02\x1e\x45igenlayer.Sidecar.V1.Protocol\xca\x02\x1e\x45igenlayer\\Sidecar\\V1\\Protocol\xe2\x02*Eigenlayer\\Sidecar\\V1\\Protocol\\GPBMetadata\xea\x02!Eigenlayer::Sidecar::V1::Protocolb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -44,28 +45,34 @@ _globals['_PROTOCOL'].methods_by_name['GetDelegatedStakersForOperator']._serialized_options = b'\202\323\344\223\002=\022;/protocol/v1/operators/{operator_address}/delegated-stakers' _globals['_PROTOCOL'].methods_by_name['GetStakerShares']._loaded_options = None _globals['_PROTOCOL'].methods_by_name['GetStakerShares']._serialized_options = b'\202\323\344\223\002.\022,/protocol/v1/stakers/{staker_address}/shares' - _globals['_GETREGISTEREDAVSFOROPERATORREQUEST']._serialized_start=154 - _globals['_GETREGISTEREDAVSFOROPERATORREQUEST']._serialized_end=290 - _globals['_GETREGISTEREDAVSFOROPERATORRESPONSE']._serialized_start=292 - _globals['_GETREGISTEREDAVSFOROPERATORRESPONSE']._serialized_end=366 - _globals['_GETDELEGATEDSTRATEGIESFOROPERATORREQUEST']._serialized_start=369 - _globals['_GETDELEGATEDSTRATEGIESFOROPERATORREQUEST']._serialized_end=511 - _globals['_GETDELEGATEDSTRATEGIESFOROPERATORRESPONSE']._serialized_start=513 - _globals['_GETDELEGATEDSTRATEGIESFOROPERATORRESPONSE']._serialized_end=603 - _globals['_GETOPERATORDELEGATEDSTAKEFORSTRATEGYREQUEST']._serialized_start=606 - _globals['_GETOPERATORDELEGATEDSTAKEFORSTRATEGYREQUEST']._serialized_end=794 - _globals['_GETOPERATORDELEGATEDSTAKEFORSTRATEGYRESPONSE']._serialized_start=796 - _globals['_GETOPERATORDELEGATEDSTAKEFORSTRATEGYRESPONSE']._serialized_end=903 - _globals['_GETDELEGATEDSTAKERSFOROPERATORREQUEST']._serialized_start=906 - _globals['_GETDELEGATEDSTAKERSFOROPERATORREQUEST']._serialized_end=1139 - _globals['_GETDELEGATEDSTAKERSFOROPERATORRESPONSE']._serialized_start=1142 - _globals['_GETDELEGATEDSTAKERSFOROPERATORRESPONSE']._serialized_end=1315 - _globals['_GETSTAKERSHARESREQUEST']._serialized_start=1317 - _globals['_GETSTAKERSHARESREQUEST']._serialized_end=1437 - _globals['_STAKERSHARE']._serialized_start=1440 - _globals['_STAKERSHARE']._serialized_end=1611 - _globals['_GETSTAKERSHARESRESPONSE']._serialized_start=1613 - _globals['_GETSTAKERSHARESRESPONSE']._serialized_end=1707 - _globals['_PROTOCOL']._serialized_start=1710 - _globals['_PROTOCOL']._serialized_end=2941 + _globals['_PROTOCOL'].methods_by_name['GetEigenStateChanges']._loaded_options = None + _globals['_PROTOCOL'].methods_by_name['GetEigenStateChanges']._serialized_options = b'\202\323\344\223\002%\" /protocol/v1/eigen-state-changes:\001*' + _globals['_GETREGISTEREDAVSFOROPERATORREQUEST']._serialized_start=205 + _globals['_GETREGISTEREDAVSFOROPERATORREQUEST']._serialized_end=341 + _globals['_GETREGISTEREDAVSFOROPERATORRESPONSE']._serialized_start=343 + _globals['_GETREGISTEREDAVSFOROPERATORRESPONSE']._serialized_end=417 + _globals['_GETDELEGATEDSTRATEGIESFOROPERATORREQUEST']._serialized_start=420 + _globals['_GETDELEGATEDSTRATEGIESFOROPERATORREQUEST']._serialized_end=562 + _globals['_GETDELEGATEDSTRATEGIESFOROPERATORRESPONSE']._serialized_start=564 + _globals['_GETDELEGATEDSTRATEGIESFOROPERATORRESPONSE']._serialized_end=654 + _globals['_GETOPERATORDELEGATEDSTAKEFORSTRATEGYREQUEST']._serialized_start=657 + _globals['_GETOPERATORDELEGATEDSTAKEFORSTRATEGYREQUEST']._serialized_end=845 + _globals['_GETOPERATORDELEGATEDSTAKEFORSTRATEGYRESPONSE']._serialized_start=847 + _globals['_GETOPERATORDELEGATEDSTAKEFORSTRATEGYRESPONSE']._serialized_end=954 + _globals['_GETDELEGATEDSTAKERSFOROPERATORREQUEST']._serialized_start=957 + _globals['_GETDELEGATEDSTAKERSFOROPERATORREQUEST']._serialized_end=1190 + _globals['_GETDELEGATEDSTAKERSFOROPERATORRESPONSE']._serialized_start=1193 + _globals['_GETDELEGATEDSTAKERSFOROPERATORRESPONSE']._serialized_end=1366 + _globals['_GETSTAKERSHARESREQUEST']._serialized_start=1368 + _globals['_GETSTAKERSHARESREQUEST']._serialized_end=1488 + _globals['_STAKERSHARE']._serialized_start=1491 + _globals['_STAKERSHARE']._serialized_end=1662 + _globals['_GETSTAKERSHARESRESPONSE']._serialized_start=1664 + _globals['_GETSTAKERSHARESRESPONSE']._serialized_end=1758 + _globals['_GETEIGENSTATECHANGESREQUEST']._serialized_start=1760 + _globals['_GETEIGENSTATECHANGESREQUEST']._serialized_end=1824 + _globals['_GETEIGENSTATECHANGESRESPONSE']._serialized_start=1826 + _globals['_GETEIGENSTATECHANGESRESPONSE']._serialized_end=1934 + _globals['_PROTOCOL']._serialized_start=1937 + _globals['_PROTOCOL']._serialized_end=3363 # @@protoc_insertion_point(module_scope) diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2_grpc.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2_grpc.py index 033b0f4..c2e4c20 100644 --- a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2_grpc.py +++ b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2_grpc.py @@ -39,6 +39,11 @@ def __init__(self, channel): request_serializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetStakerSharesRequest.SerializeToString, response_deserializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetStakerSharesResponse.FromString, _registered_method=True) + self.GetEigenStateChanges = channel.unary_stream( + '/eigenlayer.sidecar.v1.protocol.Protocol/GetEigenStateChanges', + request_serializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesRequest.SerializeToString, + response_deserializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesResponse.FromString, + _registered_method=True) class ProtocolServicer(object): @@ -82,6 +87,12 @@ def GetStakerShares(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def GetEigenStateChanges(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_ProtocolServicer_to_server(servicer, server): rpc_method_handlers = { @@ -110,6 +121,11 @@ def add_ProtocolServicer_to_server(servicer, server): request_deserializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetStakerSharesRequest.FromString, response_serializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetStakerSharesResponse.SerializeToString, ), + 'GetEigenStateChanges': grpc.unary_stream_rpc_method_handler( + servicer.GetEigenStateChanges, + request_deserializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesRequest.FromString, + response_serializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'eigenlayer.sidecar.v1.protocol.Protocol', rpc_method_handlers) @@ -255,3 +271,30 @@ def GetStakerShares(request, timeout, metadata, _registered_method=True) + + @staticmethod + def GetEigenStateChanges(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/eigenlayer.sidecar.v1.protocol.Protocol/GetEigenStateChanges', + eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesRequest.SerializeToString, + eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/protos/eigenlayer/sidecar/v1/eventTypes/eigenState.proto b/protos/eigenlayer/sidecar/v1/eigenState/eigenState.proto similarity index 96% rename from protos/eigenlayer/sidecar/v1/eventTypes/eigenState.proto rename to protos/eigenlayer/sidecar/v1/eigenState/eigenState.proto index 0677477..6d7ce19 100644 --- a/protos/eigenlayer/sidecar/v1/eventTypes/eigenState.proto +++ b/protos/eigenlayer/sidecar/v1/eigenState/eigenState.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package eigenlayer.sidecar.v1.eventTypes; +package eigenlayer.sidecar.v1.eigenState; -option go_package = "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eventTypes"; +option go_package = "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eigenState"; import "google/api/annotations.proto"; import "google/protobuf/timestamp.proto"; diff --git a/protos/eigenlayer/sidecar/v1/eventTypes/ethereumTypes.proto b/protos/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto similarity index 90% rename from protos/eigenlayer/sidecar/v1/eventTypes/ethereumTypes.proto rename to protos/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto index e316ee5..53994b4 100644 --- a/protos/eigenlayer/sidecar/v1/eventTypes/ethereumTypes.proto +++ b/protos/eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package eigenlayer.sidecar.v1.eventTypes; +package eigenlayer.sidecar.v1.ethereumTypes; -option go_package = "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/eventTypes"; +option go_package = "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/ethereumTypes"; import "google/protobuf/timestamp.proto"; import "google/protobuf/struct.proto"; diff --git a/protos/eigenlayer/sidecar/v1/events/events.proto b/protos/eigenlayer/sidecar/v1/events/events.proto index b639588..926d992 100644 --- a/protos/eigenlayer/sidecar/v1/events/events.proto +++ b/protos/eigenlayer/sidecar/v1/events/events.proto @@ -5,15 +5,15 @@ package eigenlayer.sidecar.v1.events; option go_package = "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/events"; import "google/api/annotations.proto"; -import "eigenlayer/sidecar/v1/eventTypes/eigenState.proto"; -import "eigenlayer/sidecar/v1/eventTypes/ethereumTypes.proto"; +import "eigenlayer/sidecar/v1/eigenState/eigenState.proto"; +import "eigenlayer/sidecar/v1/ethereumTypes/ethereumTypes.proto"; message StreamEigenStateChangesRequest {} message StreamEigenStateChangesResponse { uint64 block_number = 1; - eigenlayer.sidecar.v1.eventTypes.StateRoot state_root = 2; - repeated eigenlayer.sidecar.v1.eventTypes.EigenStateChange changes = 3; + eigenlayer.sidecar.v1.eigenState.StateRoot state_root = 2; + repeated eigenlayer.sidecar.v1.eigenState.EigenStateChange changes = 3; } @@ -22,9 +22,9 @@ message StreamIndexedBlocksRequest { bool include_state_changes = 1; } message StreamIndexedBlocksResponse { - eigenlayer.sidecar.v1.eventTypes.Block block = 1; - eigenlayer.sidecar.v1.eventTypes.StateRoot state_root = 2; - repeated eigenlayer.sidecar.v1.eventTypes.EigenStateChange changes = 3; + eigenlayer.sidecar.v1.ethereumTypes.Block block = 1; + eigenlayer.sidecar.v1.eigenState.StateRoot state_root = 2; + repeated eigenlayer.sidecar.v1.eigenState.EigenStateChange changes = 3; } service Events { diff --git a/protos/eigenlayer/sidecar/v1/protocol/protocol.proto b/protos/eigenlayer/sidecar/v1/protocol/protocol.proto index 88e838e..f0350ff 100644 --- a/protos/eigenlayer/sidecar/v1/protocol/protocol.proto +++ b/protos/eigenlayer/sidecar/v1/protocol/protocol.proto @@ -4,6 +4,7 @@ package eigenlayer.sidecar.v1.protocol; option go_package = "github.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/protocol"; +import "eigenlayer/sidecar/v1/eigenState/eigenState.proto"; import "google/api/annotations.proto"; import "eigenlayer/sidecar/v1/common/types.proto"; @@ -67,6 +68,14 @@ message GetStakerSharesResponse { repeated StakerShare shares = 1; } +message GetEigenStateChangesRequest { + uint64 block_height = 1; +} + +message GetEigenStateChangesResponse { + repeated eigenlayer.sidecar.v1.eigenState.EigenStateChange changes = 1; +} + service Protocol { // GetRegisteredAvsForOperator returns the list of registered AVs for a given operator @@ -107,4 +116,11 @@ service Protocol { get: "/protocol/v1/stakers/{staker_address}/shares" }; } + + rpc GetEigenStateChanges(GetEigenStateChangesRequest) returns (stream GetEigenStateChangesResponse) { + option (google.api.http) = { + post: "/protocol/v1/eigen-state-changes" + body: "*" + }; + } } From 5477dff7df6c58acc873f691ce62e1a6f73e45f6 Mon Sep 17 00:00:00 2001 From: Sean McGary Date: Tue, 4 Feb 2025 15:19:07 -0600 Subject: [PATCH 2/2] GetEigenStateChanges returns a message not a stream --- .../sidecar/v1/protocol/protocol.pb.ts | 4 +- gen/openapiv2/apidocs.swagger.json | 13 +---- .../sidecar/v1/protocol/protocol.pb.go | 42 +++++++------- .../sidecar/v1/protocol/protocol.pb.gw.go | 55 ++++++++++++------ .../sidecar/v1/protocol/protocol_grpc.pb.go | 56 +++++++++---------- .../sidecar/v1/protocol/protocol_pb2.py | 4 +- .../sidecar/v1/protocol/protocol_pb2_grpc.py | 6 +- .../sidecar/v1/protocol/protocol.proto | 2 +- 8 files changed, 96 insertions(+), 86 deletions(-) diff --git a/gen/api-ts/eigenlayer/sidecar/v1/protocol/protocol.pb.ts b/gen/api-ts/eigenlayer/sidecar/v1/protocol/protocol.pb.ts index dab027e..d07fcb0 100644 --- a/gen/api-ts/eigenlayer/sidecar/v1/protocol/protocol.pb.ts +++ b/gen/api-ts/eigenlayer/sidecar/v1/protocol/protocol.pb.ts @@ -117,7 +117,7 @@ export class Protocol { static GetStakerShares(req: GetStakerSharesRequest, initReq?: fm.InitReq): Promise { return fm.fetchReq(`/protocol/v1/stakers/${req["stakerAddress"]}/shares?${fm.renderURLSearchParams(req, ["stakerAddress"])}`, {...initReq, method: "GET"}) } - static GetEigenStateChanges(req: GetEigenStateChangesRequest, entityNotifier?: fm.NotifyStreamEntityArrival, initReq?: fm.InitReq): Promise { - return fm.fetchStreamingRequest(`/protocol/v1/eigen-state-changes`, entityNotifier, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)}) + static GetEigenStateChanges(req: GetEigenStateChangesRequest, initReq?: fm.InitReq): Promise { + return fm.fetchReq(`/protocol/v1/eigen-state-changes`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)}) } } \ No newline at end of file diff --git a/gen/openapiv2/apidocs.swagger.json b/gen/openapiv2/apidocs.swagger.json index 20a359b..21c8110 100644 --- a/gen/openapiv2/apidocs.swagger.json +++ b/gen/openapiv2/apidocs.swagger.json @@ -196,18 +196,9 @@ "operationId": "Protocol_GetEigenStateChanges", "responses": { "200": { - "description": "A successful response.(streaming responses)", + "description": "A successful response.", "schema": { - "type": "object", - "properties": { - "result": { - "$ref": "#/definitions/protocolGetEigenStateChangesResponse" - }, - "error": { - "$ref": "#/definitions/rpcStatus" - } - }, - "title": "Stream result of protocolGetEigenStateChangesResponse" + "$ref": "#/definitions/protocolGetEigenStateChangesResponse" } }, "default": { diff --git a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.go b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.go index d21c042..ece2922 100644 --- a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.go +++ b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.go @@ -855,7 +855,7 @@ var file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDesc = []byte{ 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x32, 0x92, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x32, 0x90, 0x0b, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0xe8, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x41, 0x76, 0x73, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x42, 0x2e, 0x65, 0x69, @@ -933,7 +933,7 @@ var file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDesc = []byte{ 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, - 0x12, 0xc0, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, + 0x12, 0xbe, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x3b, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x69, @@ -945,25 +945,25 @@ var file_eigenlayer_sidecar_v1_protocol_protocol_proto_rawDesc = []byte{ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x30, 0x01, 0x42, 0x9d, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x69, 0x67, 0x65, - 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, - 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, - 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x61, 0x70, 0x69, 0x73, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0xa2, 0x02, 0x04, 0x45, 0x53, 0x56, 0x50, - 0xaa, 0x02, 0x1e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x69, - 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x56, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0xca, 0x02, 0x1e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, - 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0xe2, 0x02, 0x2a, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, - 0x53, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x21, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x3a, 0x3a, 0x53, 0x69, - 0x64, 0x65, 0x63, 0x61, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x42, 0x9d, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x2e, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x61, 0x79, 0x72, 0x2d, 0x4c, 0x61, 0x62, 0x73, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2d, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x65, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x2f, 0x73, 0x69, 0x64, 0x65, 0x63, 0x61, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0xa2, 0x02, 0x04, 0x45, 0x53, 0x56, 0x50, 0xaa, 0x02, + 0x1e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x53, 0x69, 0x64, 0x65, + 0x63, 0x61, 0x72, 0x2e, 0x56, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0xca, + 0x02, 0x1e, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, 0x64, + 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0xe2, 0x02, 0x2a, 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5c, 0x53, 0x69, + 0x64, 0x65, 0x63, 0x61, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, + 0x45, 0x69, 0x67, 0x65, 0x6e, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x3a, 0x3a, 0x53, 0x69, 0x64, 0x65, + 0x63, 0x61, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.gw.go b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.gw.go index 6b9858f..c3edbd7 100644 --- a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.gw.go +++ b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol.pb.gw.go @@ -401,7 +401,7 @@ func local_request_Protocol_GetStakerShares_0(ctx context.Context, marshaler run } -func request_Protocol_GetEigenStateChanges_0(ctx context.Context, marshaler runtime.Marshaler, client ProtocolClient, req *http.Request, pathParams map[string]string) (Protocol_GetEigenStateChangesClient, runtime.ServerMetadata, error) { +func request_Protocol_GetEigenStateChanges_0(ctx context.Context, marshaler runtime.Marshaler, client ProtocolClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetEigenStateChangesRequest var metadata runtime.ServerMetadata @@ -409,16 +409,21 @@ func request_Protocol_GetEigenStateChanges_0(ctx context.Context, marshaler runt return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - stream, err := client.GetEigenStateChanges(ctx, &protoReq) - if err != nil { - return nil, metadata, err - } - header, err := stream.Header() - if err != nil { - return nil, metadata, err + msg, err := client.GetEigenStateChanges(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Protocol_GetEigenStateChanges_0(ctx context.Context, marshaler runtime.Marshaler, server ProtocolServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetEigenStateChangesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - metadata.HeaderMD = header - return stream, metadata, nil + + msg, err := server.GetEigenStateChanges(ctx, &protoReq) + return msg, metadata, err } @@ -555,10 +560,28 @@ func RegisterProtocolHandlerServer(ctx context.Context, mux *runtime.ServeMux, s }) mux.Handle("POST", pattern_Protocol_GetEigenStateChanges_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport") - _, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/eigenlayer.sidecar.v1.protocol.Protocol/GetEigenStateChanges", runtime.WithHTTPPathPattern("/protocol/v1/eigen-state-changes")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Protocol_GetEigenStateChanges_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_Protocol_GetEigenStateChanges_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -730,7 +753,7 @@ func RegisterProtocolHandlerClient(ctx context.Context, mux *runtime.ServeMux, c return } - forward_Protocol_GetEigenStateChanges_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...) + forward_Protocol_GetEigenStateChanges_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -762,5 +785,5 @@ var ( forward_Protocol_GetStakerShares_0 = runtime.ForwardResponseMessage - forward_Protocol_GetEigenStateChanges_0 = runtime.ForwardResponseStream + forward_Protocol_GetEigenStateChanges_0 = runtime.ForwardResponseMessage ) diff --git a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol_grpc.pb.go b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol_grpc.pb.go index db2da7a..08a73df 100644 --- a/gen/protos/eigenlayer/sidecar/v1/protocol/protocol_grpc.pb.go +++ b/gen/protos/eigenlayer/sidecar/v1/protocol/protocol_grpc.pb.go @@ -44,7 +44,7 @@ type ProtocolClient interface { // GetStakerShares returns the shares of a staker, and optionally, the operator operator they've delegated to and // the AVS the operator has registered with. GetStakerShares(ctx context.Context, in *GetStakerSharesRequest, opts ...grpc.CallOption) (*GetStakerSharesResponse, error) - GetEigenStateChanges(ctx context.Context, in *GetEigenStateChangesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetEigenStateChangesResponse], error) + GetEigenStateChanges(ctx context.Context, in *GetEigenStateChangesRequest, opts ...grpc.CallOption) (*GetEigenStateChangesResponse, error) } type protocolClient struct { @@ -105,25 +105,16 @@ func (c *protocolClient) GetStakerShares(ctx context.Context, in *GetStakerShare return out, nil } -func (c *protocolClient) GetEigenStateChanges(ctx context.Context, in *GetEigenStateChangesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetEigenStateChangesResponse], error) { +func (c *protocolClient) GetEigenStateChanges(ctx context.Context, in *GetEigenStateChangesRequest, opts ...grpc.CallOption) (*GetEigenStateChangesResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &Protocol_ServiceDesc.Streams[0], Protocol_GetEigenStateChanges_FullMethodName, cOpts...) + out := new(GetEigenStateChangesResponse) + err := c.cc.Invoke(ctx, Protocol_GetEigenStateChanges_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } - x := &grpc.GenericClientStream[GetEigenStateChangesRequest, GetEigenStateChangesResponse]{ClientStream: stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil + return out, nil } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type Protocol_GetEigenStateChangesClient = grpc.ServerStreamingClient[GetEigenStateChangesResponse] - // ProtocolServer is the server API for Protocol service. // All implementations should embed UnimplementedProtocolServer // for forward compatibility. @@ -141,7 +132,7 @@ type ProtocolServer interface { // GetStakerShares returns the shares of a staker, and optionally, the operator operator they've delegated to and // the AVS the operator has registered with. GetStakerShares(context.Context, *GetStakerSharesRequest) (*GetStakerSharesResponse, error) - GetEigenStateChanges(*GetEigenStateChangesRequest, grpc.ServerStreamingServer[GetEigenStateChangesResponse]) error + GetEigenStateChanges(context.Context, *GetEigenStateChangesRequest) (*GetEigenStateChangesResponse, error) } // UnimplementedProtocolServer should be embedded to have @@ -166,8 +157,8 @@ func (UnimplementedProtocolServer) GetDelegatedStakersForOperator(context.Contex func (UnimplementedProtocolServer) GetStakerShares(context.Context, *GetStakerSharesRequest) (*GetStakerSharesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetStakerShares not implemented") } -func (UnimplementedProtocolServer) GetEigenStateChanges(*GetEigenStateChangesRequest, grpc.ServerStreamingServer[GetEigenStateChangesResponse]) error { - return status.Errorf(codes.Unimplemented, "method GetEigenStateChanges not implemented") +func (UnimplementedProtocolServer) GetEigenStateChanges(context.Context, *GetEigenStateChangesRequest) (*GetEigenStateChangesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetEigenStateChanges not implemented") } func (UnimplementedProtocolServer) testEmbeddedByValue() {} @@ -279,17 +270,24 @@ func _Protocol_GetStakerShares_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } -func _Protocol_GetEigenStateChanges_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetEigenStateChangesRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func _Protocol_GetEigenStateChanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetEigenStateChangesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ProtocolServer).GetEigenStateChanges(ctx, in) } - return srv.(ProtocolServer).GetEigenStateChanges(m, &grpc.GenericServerStream[GetEigenStateChangesRequest, GetEigenStateChangesResponse]{ServerStream: stream}) + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Protocol_GetEigenStateChanges_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ProtocolServer).GetEigenStateChanges(ctx, req.(*GetEigenStateChangesRequest)) + } + return interceptor(ctx, in, info, handler) } -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type Protocol_GetEigenStateChangesServer = grpc.ServerStreamingServer[GetEigenStateChangesResponse] - // Protocol_ServiceDesc is the grpc.ServiceDesc for Protocol service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -317,13 +315,11 @@ var Protocol_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetStakerShares", Handler: _Protocol_GetStakerShares_Handler, }, - }, - Streams: []grpc.StreamDesc{ { - StreamName: "GetEigenStateChanges", - Handler: _Protocol_GetEigenStateChanges_Handler, - ServerStreams: true, + MethodName: "GetEigenStateChanges", + Handler: _Protocol_GetEigenStateChanges_Handler, }, }, + Streams: []grpc.StreamDesc{}, Metadata: "eigenlayer/sidecar/v1/protocol/protocol.proto", } diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2.py index 6fd68b8..5940a97 100644 --- a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2.py +++ b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2.py @@ -27,7 +27,7 @@ from eigenlayer.sidecar.v1.common import types_pb2 as eigenlayer_dot_sidecar_dot_v1_dot_common_dot_types__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-eigenlayer/sidecar/v1/protocol/protocol.proto\x12\x1e\x65igenlayer.sidecar.v1.protocol\x1a\x31\x65igenlayer/sidecar/v1/eigenState/eigenState.proto\x1a\x1cgoogle/api/annotations.proto\x1a(eigenlayer/sidecar/v1/common/types.proto\"\x88\x01\n\"GetRegisteredAvsForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"J\n#GetRegisteredAvsForOperatorResponse\x12#\n\ravs_addresses\x18\x01 \x03(\tR\x0c\x61vsAddresses\"\x8e\x01\n(GetDelegatedStrategiesForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"Z\n)GetDelegatedStrategiesForOperatorResponse\x12-\n\x12strategy_addresses\x18\x01 \x03(\tR\x11strategyAddresses\"\xbc\x01\n+GetOperatorDelegatedStakeForStrategyRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12)\n\x10strategy_address\x18\x02 \x01(\tR\x0fstrategyAddress\x12&\n\x0c\x62lock_height\x18\x03 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"k\n,GetOperatorDelegatedStakeForStrategyResponse\x12\x16\n\x06shares\x18\x01 \x01(\tR\x06shares\x12#\n\ravs_addresses\x18\x02 \x03(\tR\x0c\x61vsAddresses\"\xe9\x01\n%GetDelegatedStakersForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x12M\n\npagination\x18\x03 \x01(\x0b\x32(.eigenlayer.sidecar.v1.common.PaginationH\x01R\npagination\x88\x01\x01\x42\x0f\n\r_block_heightB\r\n\x0b_pagination\"\xad\x01\n&GetDelegatedStakersForOperatorResponse\x12)\n\x10staker_addresses\x18\x01 \x03(\tR\x0fstakerAddresses\x12J\n\tnext_page\x18\x02 \x01(\x0b\x32(.eigenlayer.sidecar.v1.common.PaginationH\x00R\x08nextPage\x88\x01\x01\x42\x0c\n\n_next_page\"x\n\x16GetStakerSharesRequest\x12%\n\x0estaker_address\x18\x01 \x01(\tR\rstakerAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"\xab\x01\n\x0bStakerShare\x12\x1a\n\x08strategy\x18\x01 \x01(\tR\x08strategy\x12\x16\n\x06shares\x18\x02 \x01(\tR\x06shares\x12.\n\x10operator_address\x18\x03 \x01(\tH\x00R\x0foperatorAddress\x88\x01\x01\x12#\n\ravs_addresses\x18\x04 \x03(\tR\x0c\x61vsAddressesB\x13\n\x11_operator_address\"^\n\x17GetStakerSharesResponse\x12\x43\n\x06shares\x18\x01 \x03(\x0b\x32+.eigenlayer.sidecar.v1.protocol.StakerShareR\x06shares\"@\n\x1bGetEigenStateChangesRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\"l\n\x1cGetEigenStateChangesResponse\x12L\n\x07\x63hanges\x18\x01 \x03(\x0b\x32\x32.eigenlayer.sidecar.v1.eigenState.EigenStateChangeR\x07\x63hanges2\x92\x0b\n\x08Protocol\x12\xe8\x01\n\x1bGetRegisteredAvsForOperator\x12\x42.eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorRequest\x1a\x43.eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/protocol/v1/operators/{operator_address}/registered-avs\x12\x80\x02\n!GetDelegatedStrategiesForOperator\x12H.eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorRequest\x1aI.eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorResponse\"F\x82\xd3\xe4\x93\x02@\x12>/protocol/v1/operators/{operator_address}/delegated-strategies\x12\xa2\x02\n$GetOperatorDelegatedStakeForStrategy\x12K.eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyRequest\x1aL.eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/protocol/v1/operators/{operator_address}/strategies/{strategy_address}/delegated-stake\x12\xf4\x01\n\x1eGetDelegatedStakersForOperator\x12\x45.eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorRequest\x1a\x46.eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorResponse\"C\x82\xd3\xe4\x93\x02=\x12;/protocol/v1/operators/{operator_address}/delegated-stakers\x12\xb8\x01\n\x0fGetStakerShares\x12\x36.eigenlayer.sidecar.v1.protocol.GetStakerSharesRequest\x1a\x37.eigenlayer.sidecar.v1.protocol.GetStakerSharesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/protocol/v1/stakers/{staker_address}/shares\x12\xc0\x01\n\x14GetEigenStateChanges\x12;.eigenlayer.sidecar.v1.protocol.GetEigenStateChangesRequest\x1a<.eigenlayer.sidecar.v1.protocol.GetEigenStateChangesResponse\"+\x82\xd3\xe4\x93\x02%\" /protocol/v1/eigen-state-changes:\x01*0\x01\x42\x9d\x02\n\"com.eigenlayer.sidecar.v1.protocolB\rProtocolProtoP\x01ZLgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/protocol\xa2\x02\x04\x45SVP\xaa\x02\x1e\x45igenlayer.Sidecar.V1.Protocol\xca\x02\x1e\x45igenlayer\\Sidecar\\V1\\Protocol\xe2\x02*Eigenlayer\\Sidecar\\V1\\Protocol\\GPBMetadata\xea\x02!Eigenlayer::Sidecar::V1::Protocolb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-eigenlayer/sidecar/v1/protocol/protocol.proto\x12\x1e\x65igenlayer.sidecar.v1.protocol\x1a\x31\x65igenlayer/sidecar/v1/eigenState/eigenState.proto\x1a\x1cgoogle/api/annotations.proto\x1a(eigenlayer/sidecar/v1/common/types.proto\"\x88\x01\n\"GetRegisteredAvsForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"J\n#GetRegisteredAvsForOperatorResponse\x12#\n\ravs_addresses\x18\x01 \x03(\tR\x0c\x61vsAddresses\"\x8e\x01\n(GetDelegatedStrategiesForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"Z\n)GetDelegatedStrategiesForOperatorResponse\x12-\n\x12strategy_addresses\x18\x01 \x03(\tR\x11strategyAddresses\"\xbc\x01\n+GetOperatorDelegatedStakeForStrategyRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12)\n\x10strategy_address\x18\x02 \x01(\tR\x0fstrategyAddress\x12&\n\x0c\x62lock_height\x18\x03 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"k\n,GetOperatorDelegatedStakeForStrategyResponse\x12\x16\n\x06shares\x18\x01 \x01(\tR\x06shares\x12#\n\ravs_addresses\x18\x02 \x03(\tR\x0c\x61vsAddresses\"\xe9\x01\n%GetDelegatedStakersForOperatorRequest\x12)\n\x10operator_address\x18\x01 \x01(\tR\x0foperatorAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x12M\n\npagination\x18\x03 \x01(\x0b\x32(.eigenlayer.sidecar.v1.common.PaginationH\x01R\npagination\x88\x01\x01\x42\x0f\n\r_block_heightB\r\n\x0b_pagination\"\xad\x01\n&GetDelegatedStakersForOperatorResponse\x12)\n\x10staker_addresses\x18\x01 \x03(\tR\x0fstakerAddresses\x12J\n\tnext_page\x18\x02 \x01(\x0b\x32(.eigenlayer.sidecar.v1.common.PaginationH\x00R\x08nextPage\x88\x01\x01\x42\x0c\n\n_next_page\"x\n\x16GetStakerSharesRequest\x12%\n\x0estaker_address\x18\x01 \x01(\tR\rstakerAddress\x12&\n\x0c\x62lock_height\x18\x02 \x01(\x04H\x00R\x0b\x62lockHeight\x88\x01\x01\x42\x0f\n\r_block_height\"\xab\x01\n\x0bStakerShare\x12\x1a\n\x08strategy\x18\x01 \x01(\tR\x08strategy\x12\x16\n\x06shares\x18\x02 \x01(\tR\x06shares\x12.\n\x10operator_address\x18\x03 \x01(\tH\x00R\x0foperatorAddress\x88\x01\x01\x12#\n\ravs_addresses\x18\x04 \x03(\tR\x0c\x61vsAddressesB\x13\n\x11_operator_address\"^\n\x17GetStakerSharesResponse\x12\x43\n\x06shares\x18\x01 \x03(\x0b\x32+.eigenlayer.sidecar.v1.protocol.StakerShareR\x06shares\"@\n\x1bGetEigenStateChangesRequest\x12!\n\x0c\x62lock_height\x18\x01 \x01(\x04R\x0b\x62lockHeight\"l\n\x1cGetEigenStateChangesResponse\x12L\n\x07\x63hanges\x18\x01 \x03(\x0b\x32\x32.eigenlayer.sidecar.v1.eigenState.EigenStateChangeR\x07\x63hanges2\x90\x0b\n\x08Protocol\x12\xe8\x01\n\x1bGetRegisteredAvsForOperator\x12\x42.eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorRequest\x1a\x43.eigenlayer.sidecar.v1.protocol.GetRegisteredAvsForOperatorResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/protocol/v1/operators/{operator_address}/registered-avs\x12\x80\x02\n!GetDelegatedStrategiesForOperator\x12H.eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorRequest\x1aI.eigenlayer.sidecar.v1.protocol.GetDelegatedStrategiesForOperatorResponse\"F\x82\xd3\xe4\x93\x02@\x12>/protocol/v1/operators/{operator_address}/delegated-strategies\x12\xa2\x02\n$GetOperatorDelegatedStakeForStrategy\x12K.eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyRequest\x1aL.eigenlayer.sidecar.v1.protocol.GetOperatorDelegatedStakeForStrategyResponse\"_\x82\xd3\xe4\x93\x02Y\x12W/protocol/v1/operators/{operator_address}/strategies/{strategy_address}/delegated-stake\x12\xf4\x01\n\x1eGetDelegatedStakersForOperator\x12\x45.eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorRequest\x1a\x46.eigenlayer.sidecar.v1.protocol.GetDelegatedStakersForOperatorResponse\"C\x82\xd3\xe4\x93\x02=\x12;/protocol/v1/operators/{operator_address}/delegated-stakers\x12\xb8\x01\n\x0fGetStakerShares\x12\x36.eigenlayer.sidecar.v1.protocol.GetStakerSharesRequest\x1a\x37.eigenlayer.sidecar.v1.protocol.GetStakerSharesResponse\"4\x82\xd3\xe4\x93\x02.\x12,/protocol/v1/stakers/{staker_address}/shares\x12\xbe\x01\n\x14GetEigenStateChanges\x12;.eigenlayer.sidecar.v1.protocol.GetEigenStateChangesRequest\x1a<.eigenlayer.sidecar.v1.protocol.GetEigenStateChangesResponse\"+\x82\xd3\xe4\x93\x02%\" /protocol/v1/eigen-state-changes:\x01*B\x9d\x02\n\"com.eigenlayer.sidecar.v1.protocolB\rProtocolProtoP\x01ZLgithub.com/Layr-Labs/protocol-apis/gen/protos/eigenlayer/sidecar/v1/protocol\xa2\x02\x04\x45SVP\xaa\x02\x1e\x45igenlayer.Sidecar.V1.Protocol\xca\x02\x1e\x45igenlayer\\Sidecar\\V1\\Protocol\xe2\x02*Eigenlayer\\Sidecar\\V1\\Protocol\\GPBMetadata\xea\x02!Eigenlayer::Sidecar::V1::Protocolb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -74,5 +74,5 @@ _globals['_GETEIGENSTATECHANGESRESPONSE']._serialized_start=1826 _globals['_GETEIGENSTATECHANGESRESPONSE']._serialized_end=1934 _globals['_PROTOCOL']._serialized_start=1937 - _globals['_PROTOCOL']._serialized_end=3363 + _globals['_PROTOCOL']._serialized_end=3361 # @@protoc_insertion_point(module_scope) diff --git a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2_grpc.py b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2_grpc.py index c2e4c20..4e7f021 100644 --- a/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2_grpc.py +++ b/gen/python/eigenlabs-protocol-apis/src/eigenlayer/sidecar/v1/protocol/protocol_pb2_grpc.py @@ -39,7 +39,7 @@ def __init__(self, channel): request_serializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetStakerSharesRequest.SerializeToString, response_deserializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetStakerSharesResponse.FromString, _registered_method=True) - self.GetEigenStateChanges = channel.unary_stream( + self.GetEigenStateChanges = channel.unary_unary( '/eigenlayer.sidecar.v1.protocol.Protocol/GetEigenStateChanges', request_serializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesRequest.SerializeToString, response_deserializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesResponse.FromString, @@ -121,7 +121,7 @@ def add_ProtocolServicer_to_server(servicer, server): request_deserializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetStakerSharesRequest.FromString, response_serializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetStakerSharesResponse.SerializeToString, ), - 'GetEigenStateChanges': grpc.unary_stream_rpc_method_handler( + 'GetEigenStateChanges': grpc.unary_unary_rpc_method_handler( servicer.GetEigenStateChanges, request_deserializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesRequest.FromString, response_serializer=eigenlayer_dot_sidecar_dot_v1_dot_protocol_dot_protocol__pb2.GetEigenStateChangesResponse.SerializeToString, @@ -283,7 +283,7 @@ def GetEigenStateChanges(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_stream( + return grpc.experimental.unary_unary( request, target, '/eigenlayer.sidecar.v1.protocol.Protocol/GetEigenStateChanges', diff --git a/protos/eigenlayer/sidecar/v1/protocol/protocol.proto b/protos/eigenlayer/sidecar/v1/protocol/protocol.proto index f0350ff..9c864f0 100644 --- a/protos/eigenlayer/sidecar/v1/protocol/protocol.proto +++ b/protos/eigenlayer/sidecar/v1/protocol/protocol.proto @@ -117,7 +117,7 @@ service Protocol { }; } - rpc GetEigenStateChanges(GetEigenStateChangesRequest) returns (stream GetEigenStateChangesResponse) { + rpc GetEigenStateChanges(GetEigenStateChangesRequest) returns (GetEigenStateChangesResponse) { option (google.api.http) = { post: "/protocol/v1/eigen-state-changes" body: "*"