@@ -3,8 +3,6 @@ package feeabstraction.feeabs.v1beta1;
33
44import "gogoproto/gogo.proto" ;
55import "google/api/annotations.proto" ;
6- import "feeabstraction/feeabs/v1beta1/params.proto" ;
7- import "feeabstraction/feeabs/v1beta1/osmosisibc.proto" ;
86import "feeabstraction/feeabs/v1beta1/proposal.proto" ;
97import "cosmos/base/v1beta1/coin.proto" ;
108
@@ -24,21 +22,25 @@ service Query {
2422 option (google.api.http ).get = "/fee-abstraction/feeabs/v1/module-balances" ;
2523 }
2624
25+ // HostChainConfig
2726 rpc HostChainConfig (QueryHostChainConfigRequest )
2827 returns (QueryHostChainConfigResponse ) {
2928 option (google.api.http ).get =
3029 "/fee-abstraction/feeabs/v1/host-chain-config/{ibc_denom}" ;
3130 }
3231
32+ // AllHostChainConfig
3333 rpc AllHostChainConfig (AllQueryHostChainConfigRequest )
3434 returns (AllQueryHostChainConfigResponse ) {
3535 option (google.api.http ).get =
3636 "/fee-abstraction/feeabs/v1/all-host-chain-config" ;
3737 }
3838}
3939
40+ // QueryHostChainConfigRequest
4041message QueryHostChainConfigRequest { string ibc_denom = 1 ; }
4142
43+ // QueryHostChainConfigResponse
4244message QueryHostChainConfigResponse {
4345 HostChainFeeAbsConfig host_chain_config = 1 [
4446 (gogoproto.moretags ) = "yaml:\"host_chain_config\"" ,
@@ -50,6 +52,7 @@ message QueryHostChainConfigResponse {
5052// RPC method.
5153message QueryOsmosisArithmeticTwapRequest { string ibc_denom = 1 ; }
5254
55+ // QueryOsmosisArithmeticTwapResponse
5356message QueryOsmosisArithmeticTwapResponse {
5457 string arithmetic_twap = 1 [
5558 (gogoproto.customtype ) = "cosmossdk.io/math.LegacyDec" ,
@@ -62,6 +65,7 @@ message QueryOsmosisArithmeticTwapResponse {
6265// method.
6366message QueryFeeabsModuleBalacesRequest {}
6467
68+ // QueryFeeabsModuleBalacesResponse
6569message QueryFeeabsModuleBalacesResponse {
6670 repeated cosmos.base.v1beta1.Coin balances = 1 [
6771 (gogoproto.nullable ) = false ,
@@ -71,8 +75,10 @@ message QueryFeeabsModuleBalacesResponse {
7175 string address = 2 ;
7276}
7377
78+ // AllQueryHostChainConfigRequest
7479message AllQueryHostChainConfigRequest {}
7580
81+ // AllQueryHostChainConfigResponse
7682message AllQueryHostChainConfigResponse {
7783 repeated HostChainFeeAbsConfig all_host_chain_config = 1 [
7884 (gogoproto.moretags ) = "yaml:\"all_host_chain_config\"" ,
0 commit comments