Skip to content

Commit

Permalink
Merge pull request #44 from valorem-labs-inc/megsdevs/val-575-erc20-s…
Browse files Browse the repository at this point in the history
…pot-price-streaming

spot prices received individually down the stream
  • Loading branch information
0xAlcibiades authored Dec 28, 2023
2 parents 7b715fe + 01f010f commit 0556b95
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions proto/valorem/trade/v1/spot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ service Spot {
// stream of SpotPriceResponse: Continuously streams data about the spot prices
// of the requested tokens on their respective chains
// as updates are available.
rpc GetSpotPrice (SpotPriceRequest) returns (stream SpotPriceResponse);
rpc GetSpotPrice (SpotPriceRequest) returns (stream SpotPriceInfo);
}

// SpotPriceRequest encapsulates the details of the tokens for which
Expand All @@ -31,14 +31,6 @@ message SpotPriceRequest {
repeated SpotPriceInfo spot_price_info = 1;
}

// SpotPriceResponse provides the fetched spot prices for the tokens specified in the request.
message SpotPriceResponse {

// spot_price_info holds the data about the fetched spot prices for each of the
// tokens specified in the request.
repeated SpotPriceInfo spot_price_info = 1;
}

// SpotPriceInfo represents the details and the spot price (if available) for a single token
// on a particular blockchain.
message SpotPriceInfo {
Expand Down

0 comments on commit 0556b95

Please sign in to comment.