@@ -3,8 +3,6 @@ package feeabstraction.feeabs.v1beta1;
3
3
4
4
import "gogoproto/gogo.proto" ;
5
5
import "google/api/annotations.proto" ;
6
- import "feeabstraction/feeabs/v1beta1/params.proto" ;
7
- import "feeabstraction/feeabs/v1beta1/osmosisibc.proto" ;
8
6
import "feeabstraction/feeabs/v1beta1/proposal.proto" ;
9
7
import "cosmos/base/v1beta1/coin.proto" ;
10
8
@@ -24,21 +22,25 @@ service Query {
24
22
option (google.api.http ).get = "/fee-abstraction/feeabs/v1/module-balances" ;
25
23
}
26
24
25
+ // HostChainConfig
27
26
rpc HostChainConfig (QueryHostChainConfigRequest )
28
27
returns (QueryHostChainConfigResponse ) {
29
28
option (google.api.http ).get =
30
29
"/fee-abstraction/feeabs/v1/host-chain-config/{ibc_denom}" ;
31
30
}
32
31
32
+ // AllHostChainConfig
33
33
rpc AllHostChainConfig (AllQueryHostChainConfigRequest )
34
34
returns (AllQueryHostChainConfigResponse ) {
35
35
option (google.api.http ).get =
36
36
"/fee-abstraction/feeabs/v1/all-host-chain-config" ;
37
37
}
38
38
}
39
39
40
+ // QueryHostChainConfigRequest
40
41
message QueryHostChainConfigRequest { string ibc_denom = 1 ; }
41
42
43
+ // QueryHostChainConfigResponse
42
44
message QueryHostChainConfigResponse {
43
45
HostChainFeeAbsConfig host_chain_config = 1 [
44
46
(gogoproto.moretags ) = "yaml:\"host_chain_config\"" ,
@@ -50,6 +52,7 @@ message QueryHostChainConfigResponse {
50
52
// RPC method.
51
53
message QueryOsmosisArithmeticTwapRequest { string ibc_denom = 1 ; }
52
54
55
+ // QueryOsmosisArithmeticTwapResponse
53
56
message QueryOsmosisArithmeticTwapResponse {
54
57
string arithmetic_twap = 1 [
55
58
(gogoproto.customtype ) = "cosmossdk.io/math.LegacyDec" ,
@@ -62,6 +65,7 @@ message QueryOsmosisArithmeticTwapResponse {
62
65
// method.
63
66
message QueryFeeabsModuleBalacesRequest {}
64
67
68
+ // QueryFeeabsModuleBalacesResponse
65
69
message QueryFeeabsModuleBalacesResponse {
66
70
repeated cosmos.base.v1beta1.Coin balances = 1 [
67
71
(gogoproto.nullable ) = false ,
@@ -71,8 +75,10 @@ message QueryFeeabsModuleBalacesResponse {
71
75
string address = 2 ;
72
76
}
73
77
78
+ // AllQueryHostChainConfigRequest
74
79
message AllQueryHostChainConfigRequest {}
75
80
81
+ // AllQueryHostChainConfigResponse
76
82
message AllQueryHostChainConfigResponse {
77
83
repeated HostChainFeeAbsConfig all_host_chain_config = 1 [
78
84
(gogoproto.moretags ) = "yaml:\"all_host_chain_config\"" ,
0 commit comments