mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-07 07:04:26 -08:00
scaffold auction-bids query
This commit is contained in:
@@ -31,6 +31,11 @@ service Query {
|
||||
option (google.api.http).get = "/cosmos-test/cosmostest/auction";
|
||||
}
|
||||
|
||||
// Queries a list of AuctionBids items.
|
||||
rpc AuctionBids(QueryAuctionBidsRequest) returns (QueryAuctionBidsResponse) {
|
||||
option (google.api.http).get = "/cosmos-test/cosmostest/auction_bids/{index}";
|
||||
}
|
||||
|
||||
// this line is used by starport scaffolding # 2
|
||||
}
|
||||
|
||||
@@ -66,4 +71,12 @@ message QueryAllAuctionResponse {
|
||||
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
||||
}
|
||||
|
||||
message QueryAuctionBidsRequest {
|
||||
string index = 1;
|
||||
}
|
||||
|
||||
message QueryAuctionBidsResponse {
|
||||
string bids = 1;
|
||||
}
|
||||
|
||||
// this line is used by starport scaffolding # 3
|
||||
|
||||
Reference in New Issue
Block a user