Skip to content

Commit

Permalink
Remove protos that are not used currently
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Sep 12, 2024
1 parent 0a4fe0a commit d0ad414
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 1,851 deletions.
282 changes: 0 additions & 282 deletions gen/openapiv2/eigenlayer/sidecar/v1/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,102 +16,6 @@
"application/json"
],
"paths": {
"/v1/available-rewards": {
"post": {
"operationId": "Rpc_GetAvailableRewards",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1GetAvailableRewardsResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1GetAvailableRewardsRequest"
}
}
],
"tags": [
"Rpc"
]
}
},
"/v1/available-rewards-tokens": {
"post": {
"operationId": "Rpc_GetAvailableRewardsTokens",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1GetAvailableRewardsTokensResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1GetAvailableRewardsTokensRequest"
}
}
],
"tags": [
"Rpc"
]
}
},
"/v1/claim-proof": {
"post": {
"operationId": "Rpc_GenerateClaimProof",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1GenerateClaimProofResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1GenerateClaimProofRequest"
}
}
],
"tags": [
"Rpc"
]
}
},
"/v1/latest-block": {
"post": {
"operationId": "Rpc_GetBlockHeight",
Expand Down Expand Up @@ -144,45 +48,6 @@
]
}
},
"/v1/rewards-roots/{blockNumber}": {
"post": {
"operationId": "Rpc_GetRewardsRoot",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1GetRewardsRootResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "blockNumber",
"in": "path",
"required": true,
"type": "string",
"format": "uint64"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/RpcGetRewardsRootBody"
}
}
],
"tags": [
"Rpc"
]
}
},
"/v1/state-roots/{blockNumber}": {
"post": {
"operationId": "Rpc_GetStateRoot",
Expand Down Expand Up @@ -224,9 +89,6 @@
}
},
"definitions": {
"RpcGetRewardsRootBody": {
"type": "object"
},
"RpcGetStateRootBody": {
"type": "object"
},
Expand Down Expand Up @@ -258,78 +120,6 @@
}
}
},
"v1EarnerLeaf": {
"type": "object",
"properties": {
"earner": {
"type": "string"
},
"earnerTokenRoot": {
"type": "string"
}
}
},
"v1GenerateClaimProofRequest": {
"type": "object",
"properties": {
"earnerAddress": {
"type": "string"
},
"tokens": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"v1GenerateClaimProofResponse": {
"type": "object",
"properties": {
"proof": {
"$ref": "#/definitions/v1Proof"
}
}
},
"v1GetAvailableRewardsRequest": {
"type": "object",
"properties": {
"earnerAddress": {
"type": "string"
}
}
},
"v1GetAvailableRewardsResponse": {
"type": "object",
"properties": {
"rewards": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/v1Reward"
}
}
}
},
"v1GetAvailableRewardsTokensRequest": {
"type": "object",
"properties": {
"earnerAddress": {
"type": "string"
}
}
},
"v1GetAvailableRewardsTokensResponse": {
"type": "object",
"properties": {
"tokens": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"v1GetBlockHeightRequest": {
"type": "object"
},
Expand All @@ -345,14 +135,6 @@
}
}
},
"v1GetRewardsRootResponse": {
"type": "object",
"properties": {
"rewardsRoot": {
"type": "string"
}
}
},
"v1GetStateRootResponse": {
"type": "object",
"properties": {
Expand All @@ -367,70 +149,6 @@
"type": "string"
}
}
},
"v1Proof": {
"type": "object",
"properties": {
"root": {
"type": "string"
},
"rootIndex": {
"type": "integer",
"format": "int64"
},
"earnerIndex": {
"type": "integer",
"format": "int64"
},
"earnerTreeProof": {
"type": "string"
},
"earnerLeaf": {
"$ref": "#/definitions/v1EarnerLeaf"
},
"leafIndices": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
}
},
"tokenTreeProofs": {
"type": "array",
"items": {
"type": "string"
}
},
"tokenLeaves": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/v1TokenLeaf"
}
}
}
},
"v1Reward": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"amount": {
"type": "string"
}
}
},
"v1TokenLeaf": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"cumulativeEarnings": {
"type": "string"
}
}
}
}
}
Loading

0 comments on commit d0ad414

Please sign in to comment.