Nabarun Gogoi
a8a59ad0c1
Some checks failed
Lint / Run golangci-lint (pull_request) Failing after 5m56s
Unit Tests / test-unit (pull_request) Successful in 2m4s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 7m57s
SDK Tests / sdk_tests (pull_request) Failing after 8m51s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 13m26s
Protobuf / lint (pull_request) Successful in 24s
Build / build (pull_request) Successful in 2m49s
Integration Tests / test-integration (pull_request) Successful in 2m33s
E2E Tests / test-e2e (pull_request) Successful in 3m50s
* Rename ethereum_address to nitro_address * Use camel case for variables in gql schema * Fix indentation in proto files * Fix proto lint errors --------- Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
35 lines
1.1 KiB
Protocol Buffer
35 lines
1.1 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cerc.onboarding.v1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "cosmos/base/query/v1beta1/pagination.proto";
|
|
import "cerc/onboarding/v1/onboarding.proto";
|
|
import "google/api/annotations.proto";
|
|
|
|
option go_package = "git.vdb.to/cerc-io/laconicd/x/onboarding";
|
|
|
|
// Query defines the gRPC querier service for onboarding module
|
|
service Query {
|
|
// Participants queries Participants list
|
|
rpc Participants(QueryParticipantsRequest)
|
|
returns (QueryParticipantsResponse) {
|
|
option (google.api.http).get = "/cerc/onboarding/v1/participants";
|
|
}
|
|
}
|
|
|
|
// QueryParticipantsRequest queries participants
|
|
message QueryParticipantsRequest {
|
|
// pagination defines an optional pagination for the request.
|
|
cosmos.base.query.v1beta1.PageRequest pagination = 1;
|
|
}
|
|
|
|
// QueryParticipantsResponse is response type for get the participants
|
|
message QueryParticipantsResponse {
|
|
repeated Participant participants = 1
|
|
[ (gogoproto.moretags) = "json:\"participants\" yaml:\"participants\"" ];
|
|
|
|
// pagination defines the pagination in the response.
|
|
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
|
}
|