* rename x/builder -> x/auction * update proto / etc. * integratino fix --------- Co-authored-by: David Terpay <david.terpay@gmail.com>
27 lines
898 B
Protocol Buffer
27 lines
898 B
Protocol Buffer
syntax = "proto3";
|
|
package sdk.auction.v1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "google/api/annotations.proto";
|
|
import "cosmos/query/v1/query.proto";
|
|
import "sdk/auction/v1/genesis.proto";
|
|
|
|
option go_package = "github.com/skip-mev/block-sdk/x/auction/types";
|
|
|
|
// Query defines the x/auction querier service.
|
|
service Query {
|
|
// Params queries the parameters of the x/auction module.
|
|
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
|
|
option (cosmos.query.v1.module_query_safe) = true;
|
|
option (google.api.http).get = "/block-sdk/auction/v1/params";
|
|
}
|
|
}
|
|
|
|
// QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
message QueryParamsRequest {}
|
|
|
|
// QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
message QueryParamsResponse {
|
|
// params defines the parameters of the module.
|
|
Params params = 1 [ (gogoproto.nullable) = false ];
|
|
} |