Some checks failed
Build SimApp / build (amd64) (push) Waiting to run
Build SimApp / build (arm64) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Build & Push / build (push) Waiting to run
Run Gosec / Gosec (push) Waiting to run
Lint / golangci-lint (push) Waiting to run
Checks dependencies and mocks generation / Check go mod tidy (push) Waiting to run
Checks dependencies and mocks generation / Check up to date mocks (push) Waiting to run
System Tests / setup (push) Waiting to run
System Tests / test-system (push) Blocked by required conditions
System Tests / test-system-legacy (push) Blocked by required conditions
Tests / Code Coverage / split-test-files (push) Waiting to run
Tests / Code Coverage / tests (00) (push) Blocked by required conditions
Tests / Code Coverage / tests (01) (push) Blocked by required conditions
Tests / Code Coverage / tests (02) (push) Blocked by required conditions
Tests / Code Coverage / tests (03) (push) Blocked by required conditions
Tests / Code Coverage / test-integration (push) Waiting to run
Tests / Code Coverage / test-e2e (push) Waiting to run
Tests / Code Coverage / repo-analysis (push) Blocked by required conditions
Tests / Code Coverage / test-sim-nondeterminism (push) Waiting to run
Tests / Code Coverage / test-clientv2 (push) Waiting to run
Tests / Code Coverage / test-core (push) Waiting to run
Tests / Code Coverage / test-depinject (push) Waiting to run
Tests / Code Coverage / test-errors (push) Waiting to run
Tests / Code Coverage / test-math (push) Waiting to run
Tests / Code Coverage / test-schema (push) Waiting to run
Tests / Code Coverage / test-collections (push) Waiting to run
Tests / Code Coverage / test-cosmovisor (push) Waiting to run
Tests / Code Coverage / test-confix (push) Waiting to run
Tests / Code Coverage / test-store (push) Waiting to run
Tests / Code Coverage / test-log (push) Waiting to run
Tests / Code Coverage / test-x-tx (push) Waiting to run
Tests / Code Coverage / test-x-nft (push) Waiting to run
Tests / Code Coverage / test-x-circuit (push) Waiting to run
Tests / Code Coverage / test-x-feegrant (push) Waiting to run
Tests / Code Coverage / test-x-evidence (push) Waiting to run
Tests / Code Coverage / test-x-upgrade (push) Waiting to run
Tests / Code Coverage / test-tools-benchmark (push) Waiting to run
Build & Push SDK Proto Builder / build (push) Has been cancelled
78 lines
No EOL
3 KiB
Protocol Buffer
78 lines
No EOL
3 KiB
Protocol Buffer
syntax = "proto3";
|
|
package cosmos.protocolpool.v1;
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/protocolpool/types";
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "google/api/annotations.proto";
|
|
import "cosmos/base/v1beta1/coin.proto";
|
|
import "cosmos_proto/cosmos.proto";
|
|
import "cosmos/protocolpool/v1/types.proto";
|
|
|
|
// Query defines the gRPC querier service for community pool module.
|
|
service Query {
|
|
// CommunityPool queries the community pool coins.
|
|
rpc CommunityPool(QueryCommunityPoolRequest) returns (QueryCommunityPoolResponse) {
|
|
option (google.api.http).get = "/cosmos/protocolpool/v1/community_pool";
|
|
}
|
|
|
|
// ContinuousFund queries a continuous fund by the recipient is is associated with.
|
|
rpc ContinuousFund(QueryContinuousFundRequest) returns (QueryContinuousFundResponse) {
|
|
option (google.api.http).get = "/cosmos/protocolpool/v1/continuous_funds/{recipient}";
|
|
}
|
|
|
|
// ContinuousFunds queries all continuous funds in the store.
|
|
rpc ContinuousFunds(QueryContinuousFundsRequest) returns (QueryContinuousFundsResponse) {
|
|
option (google.api.http).get = "/cosmos/protocolpool/v1/continuous_funds";
|
|
}
|
|
|
|
// Params returns the total set of x/protocolpool parameters.
|
|
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
|
|
option (google.api.http).get = "/cosmos/protocolpool/v1/params";
|
|
}
|
|
}
|
|
|
|
// QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
|
|
// method.
|
|
message QueryCommunityPoolRequest {}
|
|
|
|
// QueryCommunityPoolResponse is the response type for the Query/CommunityPool
|
|
// RPC method.
|
|
message QueryCommunityPoolResponse {
|
|
// pool defines community pool's coins.
|
|
repeated cosmos.base.v1beta1.Coin pool = 1
|
|
[(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false];
|
|
}
|
|
|
|
// QueryContinuousFundRequest is the request type for the Query/ContinuousFund
|
|
// RPC method.
|
|
message QueryContinuousFundRequest {
|
|
// recipient is the recipient address to query unclaimed budget amount for.
|
|
string recipient = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
|
}
|
|
|
|
// QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFund
|
|
// RPC method.
|
|
message QueryContinuousFundResponse {
|
|
// ContinuousFunds is the given continuous fund returned in the query.
|
|
ContinuousFund continuous_fund = 1 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// QueryContinuousFundRequest is the request type for the Query/ContinuousFunds
|
|
// RPC method.
|
|
message QueryContinuousFundsRequest {}
|
|
|
|
// QueryUnclaimedBudgetResponse is the response type for the Query/ContinuousFunds
|
|
// RPC method.
|
|
message QueryContinuousFundsResponse {
|
|
// ContinuousFunds defines all continuous funds in state.
|
|
repeated ContinuousFund continuous_funds = 1 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// QueryParamsRequest is the response type for the Query/Params RPC method.
|
|
message QueryParamsRequest {}
|
|
|
|
// QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
message QueryParamsResponse {
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
} |