@@ -17,10 +17,10 @@ service Query {
1717 option (google.api.http ).get = "/umee/uibc/v1/params" ;
1818 }
1919
20- // Quota queries the rate limits of ibc denoms .
21- // If denom is empty, returns quota for all tokens.
22- rpc Quota ( QueryQuota ) returns (QueryQuotaResponse ) {
23- option (google.api.http ).get = "/umee/uibc/v1/quota /{denom}" ;
20+ // Outflow returns IBC denom outflows in the current epoch .
21+ // If denom is empty, returns outflows of all tokens in the current epoch .
22+ rpc Outflows ( QueryOutflows ) returns (QueryOutflowsResponse ) {
23+ option (google.api.http ).get = "/umee/uibc/v1/outflows /{denom}" ;
2424 }
2525}
2626
@@ -34,14 +34,14 @@ message QueryParamsResponse {
3434 Params params = 1 [(gogoproto.nullable ) = false ];
3535}
3636
37- // QueryQuota defines request type for query the quota of denoms
38- message QueryQuota {
37+ // QueryOutflow defines request type for query the quota of denoms
38+ message QueryOutflows {
3939 string denom = 1 ;
4040}
4141
42- // QueryQuotaResponse defines response type of Query/Quota
43- message QueryQuotaResponse {
44- repeated cosmos.base.v1beta1.DecCoin quotas = 1 [
42+ // QueryOutflowResponse defines response type of Query/Outflow
43+ message QueryOutflowsResponse {
44+ repeated cosmos.base.v1beta1.DecCoin outflows = 1 [
4545 (gogoproto.castrepeated ) = "github.com/cosmos/cosmos-sdk/types.DecCoins" ,
4646 (gogoproto.nullable ) = false
4747 ];
0 commit comments