2024-09-25 19:45:28 -04:00
|
|
|
syntax = "proto3";
|
2024-11-26 22:05:50 -05:00
|
|
|
package dwn.v1;
|
2024-09-25 19:45:28 -04:00
|
|
|
|
|
|
|
import "google/api/annotations.proto";
|
2024-11-26 22:05:50 -05:00
|
|
|
import "dwn/v1/genesis.proto";
|
2024-09-25 19:45:28 -04:00
|
|
|
|
2024-11-26 22:05:50 -05:00
|
|
|
option go_package = "github.com/onsonr/sonr/x/dwn/types";
|
2024-09-25 19:45:28 -04:00
|
|
|
|
2024-10-21 11:30:52 -04:00
|
|
|
// ╭─────────────────────────────────────────────────────────╮
|
|
|
|
// │ RPC Query Service │
|
|
|
|
// ╰─────────────────────────────────────────────────────────╯
|
|
|
|
|
2024-09-25 19:45:28 -04:00
|
|
|
// Query provides defines the gRPC querier service.
|
|
|
|
service Query {
|
|
|
|
// Params queries all parameters of the module.
|
|
|
|
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
|
|
|
|
option (google.api.http).get = "/vault/v1/params";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-21 11:30:52 -04:00
|
|
|
// ╭──────────────────────────────────────────────────────────╮
|
|
|
|
// │ RPC Query Messages │
|
|
|
|
// ╰──────────────────────────────────────────────────────────╯
|
|
|
|
|
2024-09-25 19:45:28 -04:00
|
|
|
// 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;
|
|
|
|
}
|
2024-10-15 14:31:19 -04:00
|
|
|
|