feat(oracle): add oracle module

This commit is contained in:
Prad Nukala
2024-09-26 18:14:18 -04:00
parent 779a45121b
commit 162e246307
42 changed files with 10113 additions and 52 deletions
+24
View File
@@ -0,0 +1,24 @@
syntax = "proto3";
package oracle.v1;
import "google/api/annotations.proto";
import "oracle/v1/genesis.proto";
option go_package = "github.com/onsonr/sonr/x/oracle/types";
// 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 = "/oracle/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;
}