coreum-js 2.10.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/dist/main/client/index.d.ts +2 -1
  2. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +1 -1
  3. package/dist/main/coreum/asset/ft/v1/genesis.js +25 -12
  4. package/dist/main/coreum/asset/ft/v1/params.d.ts +1 -1
  5. package/dist/main/coreum/asset/ft/v1/params.js +14 -6
  6. package/dist/main/coreum/asset/ft/v1/query.d.ts +2 -2
  7. package/dist/main/coreum/asset/ft/v1/query.js +116 -54
  8. package/dist/main/coreum/asset/ft/v1/tx.d.ts +1 -1
  9. package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
  10. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
  11. package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
  12. package/dist/main/coreum/asset/nft/v1/params.js +14 -6
  13. package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
  14. package/dist/main/coreum/asset/nft/v1/query.js +49 -22
  15. package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
  16. package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
  17. package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
  18. package/dist/main/coreum/feemodel/v1/query.js +22 -11
  19. package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
  20. package/dist/main/coreum/nft/v1beta1/query.js +83 -39
  21. package/dist/main/cosmos/extensions/bank.d.ts +8 -8
  22. package/dist/main/cosmos/extensions/bank.js +2 -2
  23. package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
  24. package/dist/main/cosmos/extensions/distribution.js +1 -1
  25. package/dist/main/cosmos/extensions/gov.d.ts +21 -21
  26. package/dist/main/cosmos/extensions/gov.js +1 -1
  27. package/dist/main/cosmos/index.d.ts +12 -21
  28. package/dist/main/cosmos/index.js +50 -42
  29. package/dist/main/types/msgs.d.ts +4 -4
  30. package/dist/main/wasm/v1/authz.d.ts +1 -1
  31. package/dist/main/wasm/v1/authz.js +1 -1
  32. package/dist/main/wasm/v1/proposal.d.ts +1 -1
  33. package/dist/main/wasm/v1/proposal.js +1 -1
  34. package/dist/main/wasm/v1/tx.d.ts +1 -1
  35. package/dist/main/wasm/v1/tx.js +1 -1
  36. package/dist/module/client/index.d.ts +2 -1
  37. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
  38. package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
  39. package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
  40. package/dist/module/coreum/asset/ft/v1/params.js +14 -6
  41. package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
  42. package/dist/module/coreum/asset/ft/v1/query.js +116 -54
  43. package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
  44. package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
  45. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
  46. package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
  47. package/dist/module/coreum/asset/nft/v1/params.js +14 -6
  48. package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
  49. package/dist/module/coreum/asset/nft/v1/query.js +49 -22
  50. package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
  51. package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
  52. package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
  53. package/dist/module/coreum/feemodel/v1/query.js +22 -11
  54. package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
  55. package/dist/module/coreum/nft/v1beta1/query.js +83 -39
  56. package/dist/module/cosmos/extensions/bank.d.ts +8 -8
  57. package/dist/module/cosmos/extensions/bank.js +2 -2
  58. package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
  59. package/dist/module/cosmos/extensions/distribution.js +1 -1
  60. package/dist/module/cosmos/extensions/gov.d.ts +21 -21
  61. package/dist/module/cosmos/extensions/gov.js +1 -1
  62. package/dist/module/cosmos/index.d.ts +12 -21
  63. package/dist/module/cosmos/index.js +29 -19
  64. package/dist/module/types/msgs.d.ts +4 -4
  65. package/dist/module/wasm/v1/authz.d.ts +1 -1
  66. package/dist/module/wasm/v1/authz.js +1 -1
  67. package/dist/module/wasm/v1/proposal.d.ts +1 -1
  68. package/dist/module/wasm/v1/proposal.js +1 -1
  69. package/dist/module/wasm/v1/tx.d.ts +1 -1
  70. package/dist/module/wasm/v1/tx.js +1 -1
  71. package/package.json +9 -9
  72. package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
  73. package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
  74. package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
  75. package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
  76. package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
  77. package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
  78. package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  79. package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
  80. package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  81. package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
  82. package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
  83. package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
  84. package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
  85. package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
  86. package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
  87. package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
  88. package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
  89. package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
  90. package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  91. package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
  92. package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  93. package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
  94. package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
  95. package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
  96. package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
  97. package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
  98. package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  99. package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
  100. package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
  101. package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
  102. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  103. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
  104. package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  105. package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
  106. package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  107. package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
  108. package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  109. package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
  110. package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
  111. package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
  112. package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  113. package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
  114. package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  115. package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
  116. package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  117. package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
  118. package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  119. package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
  120. package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  121. package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
  122. package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  123. package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
  124. package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  125. package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
  126. package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
  127. package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
  128. package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  129. package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
  130. package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
  131. package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
  132. package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
  133. package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
  134. package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
  135. package/dist/main/cosmos/msg/v1/msg.js +0 -5
  136. package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
  137. package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
  138. package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  139. package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
  140. package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  141. package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
  142. package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
  143. package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
  144. package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  145. package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
  146. package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
  147. package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
  148. package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  149. package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
  150. package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  151. package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
  152. package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  153. package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
  154. package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  155. package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
  156. package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
  157. package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
  158. package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
  159. package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
  160. package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
  161. package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
  162. package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  163. package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
  164. package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  165. package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
  166. package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
  167. package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
  168. package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
  169. package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
  170. package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
  171. package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
  172. package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
  173. package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
  174. package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  175. package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
  176. package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  177. package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
  178. package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
  179. package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
  180. package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
  181. package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
  182. package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  183. package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
  184. package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
  185. package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
  186. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  187. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
  188. package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  189. package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
  190. package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  191. package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
  192. package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  193. package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
  194. package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
  195. package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
  196. package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  197. package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
  198. package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  199. package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
  200. package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  201. package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
  202. package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  203. package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
  204. package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  205. package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
  206. package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  207. package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
  208. package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  209. package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
  210. package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
  211. package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
  212. package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  213. package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
  214. package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
  215. package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
  216. package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
  217. package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
  218. package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
  219. package/dist/module/cosmos/msg/v1/msg.js +0 -2
  220. package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
  221. package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
  222. package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  223. package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
  224. package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  225. package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
  226. package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
  227. package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
  228. package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  229. package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
  230. package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
  231. package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
  232. package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  233. package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
  234. package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  235. package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
  236. package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  237. package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
  238. package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  239. package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
@@ -1,995 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { PageRequest, PageResponse } from "./pagination";
3
- import { DecCoin } from "../../base/v1beta1/coin";
4
- import { DelegationDelegatorReward, Params, ValidatorAccumulatedCommission, ValidatorOutstandingRewards, ValidatorSlashEvent } from "./distribution";
5
- export declare const protobufPackage = "cosmos.distribution.v1beta1";
6
- /** QueryParamsRequest is the request type for the Query/Params RPC method. */
7
- export interface QueryParamsRequest {
8
- }
9
- /** QueryParamsResponse is the response type for the Query/Params RPC method. */
10
- export interface QueryParamsResponse {
11
- /** params defines the parameters of the module. */
12
- params: Params | undefined;
13
- }
14
- /** QueryValidatorDistributionInfoRequest is the request type for the Query/ValidatorDistributionInfo RPC method. */
15
- export interface QueryValidatorDistributionInfoRequest {
16
- /** validator_address defines the validator address to query for. */
17
- validatorAddress: string;
18
- }
19
- /** QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method. */
20
- export interface QueryValidatorDistributionInfoResponse {
21
- /** operator_address defines the validator operator address. */
22
- operatorAddress: string;
23
- /** self_bond_rewards defines the self delegations rewards. */
24
- selfBondRewards: DecCoin[];
25
- /** commission defines the commission the validator received. */
26
- commission: DecCoin[];
27
- }
28
- /**
29
- * QueryValidatorOutstandingRewardsRequest is the request type for the
30
- * Query/ValidatorOutstandingRewards RPC method.
31
- */
32
- export interface QueryValidatorOutstandingRewardsRequest {
33
- /** validator_address defines the validator address to query for. */
34
- validatorAddress: string;
35
- }
36
- /**
37
- * QueryValidatorOutstandingRewardsResponse is the response type for the
38
- * Query/ValidatorOutstandingRewards RPC method.
39
- */
40
- export interface QueryValidatorOutstandingRewardsResponse {
41
- rewards: ValidatorOutstandingRewards | undefined;
42
- }
43
- /**
44
- * QueryValidatorCommissionRequest is the request type for the
45
- * Query/ValidatorCommission RPC method
46
- */
47
- export interface QueryValidatorCommissionRequest {
48
- /** validator_address defines the validator address to query for. */
49
- validatorAddress: string;
50
- }
51
- /**
52
- * QueryValidatorCommissionResponse is the response type for the
53
- * Query/ValidatorCommission RPC method
54
- */
55
- export interface QueryValidatorCommissionResponse {
56
- /** commission defines the commission the validator received. */
57
- commission: ValidatorAccumulatedCommission | undefined;
58
- }
59
- /**
60
- * QueryValidatorSlashesRequest is the request type for the
61
- * Query/ValidatorSlashes RPC method
62
- */
63
- export interface QueryValidatorSlashesRequest {
64
- /** validator_address defines the validator address to query for. */
65
- validatorAddress: string;
66
- /** starting_height defines the optional starting height to query the slashes. */
67
- startingHeight: number;
68
- /** starting_height defines the optional ending height to query the slashes. */
69
- endingHeight: number;
70
- /** pagination defines an optional pagination for the request. */
71
- pagination: PageRequest | undefined;
72
- }
73
- /**
74
- * QueryValidatorSlashesResponse is the response type for the
75
- * Query/ValidatorSlashes RPC method.
76
- */
77
- export interface QueryValidatorSlashesResponse {
78
- /** slashes defines the slashes the validator received. */
79
- slashes: ValidatorSlashEvent[];
80
- /** pagination defines the pagination in the response. */
81
- pagination: PageResponse | undefined;
82
- }
83
- /**
84
- * QueryDelegationRewardsRequest is the request type for the
85
- * Query/DelegationRewards RPC method.
86
- */
87
- export interface QueryDelegationRewardsRequest {
88
- /** delegator_address defines the delegator address to query for. */
89
- delegatorAddress: string;
90
- /** validator_address defines the validator address to query for. */
91
- validatorAddress: string;
92
- }
93
- /**
94
- * QueryDelegationRewardsResponse is the response type for the
95
- * Query/DelegationRewards RPC method.
96
- */
97
- export interface QueryDelegationRewardsResponse {
98
- /** rewards defines the rewards accrued by a delegation. */
99
- rewards: DecCoin[];
100
- }
101
- /**
102
- * QueryDelegationTotalRewardsRequest is the request type for the
103
- * Query/DelegationTotalRewards RPC method.
104
- */
105
- export interface QueryDelegationTotalRewardsRequest {
106
- /** delegator_address defines the delegator address to query for. */
107
- delegatorAddress: string;
108
- }
109
- /**
110
- * QueryDelegationTotalRewardsResponse is the response type for the
111
- * Query/DelegationTotalRewards RPC method.
112
- */
113
- export interface QueryDelegationTotalRewardsResponse {
114
- /** rewards defines all the rewards accrued by a delegator. */
115
- rewards: DelegationDelegatorReward[];
116
- /** total defines the sum of all the rewards. */
117
- total: DecCoin[];
118
- }
119
- /**
120
- * QueryDelegatorValidatorsRequest is the request type for the
121
- * Query/DelegatorValidators RPC method.
122
- */
123
- export interface QueryDelegatorValidatorsRequest {
124
- /** delegator_address defines the delegator address to query for. */
125
- delegatorAddress: string;
126
- }
127
- /**
128
- * QueryDelegatorValidatorsResponse is the response type for the
129
- * Query/DelegatorValidators RPC method.
130
- */
131
- export interface QueryDelegatorValidatorsResponse {
132
- /** validators defines the validators a delegator is delegating for. */
133
- validators: string[];
134
- }
135
- /**
136
- * QueryDelegatorWithdrawAddressRequest is the request type for the
137
- * Query/DelegatorWithdrawAddress RPC method.
138
- */
139
- export interface QueryDelegatorWithdrawAddressRequest {
140
- /** delegator_address defines the delegator address to query for. */
141
- delegatorAddress: string;
142
- }
143
- /**
144
- * QueryDelegatorWithdrawAddressResponse is the response type for the
145
- * Query/DelegatorWithdrawAddress RPC method.
146
- */
147
- export interface QueryDelegatorWithdrawAddressResponse {
148
- /** withdraw_address defines the delegator address to query for. */
149
- withdrawAddress: string;
150
- }
151
- /**
152
- * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC
153
- * method.
154
- */
155
- export interface QueryCommunityPoolRequest {
156
- }
157
- /**
158
- * QueryCommunityPoolResponse is the response type for the Query/CommunityPool
159
- * RPC method.
160
- */
161
- export interface QueryCommunityPoolResponse {
162
- /** pool defines community pool's coins. */
163
- pool: DecCoin[];
164
- }
165
- export declare const QueryParamsRequest: {
166
- encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
167
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
168
- fromJSON(_: any): QueryParamsRequest;
169
- toJSON(_: QueryParamsRequest): unknown;
170
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): QueryParamsRequest;
171
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): QueryParamsRequest;
172
- };
173
- export declare const QueryParamsResponse: {
174
- encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
175
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
176
- fromJSON(object: any): QueryParamsResponse;
177
- toJSON(message: QueryParamsResponse): unknown;
178
- create<I extends {
179
- params?: {
180
- communityTax?: string;
181
- baseProposerReward?: string;
182
- bonusProposerReward?: string;
183
- withdrawAddrEnabled?: boolean;
184
- };
185
- } & {
186
- params?: {
187
- communityTax?: string;
188
- baseProposerReward?: string;
189
- bonusProposerReward?: string;
190
- withdrawAddrEnabled?: boolean;
191
- } & {
192
- communityTax?: string;
193
- baseProposerReward?: string;
194
- bonusProposerReward?: string;
195
- withdrawAddrEnabled?: boolean;
196
- } & { [K in Exclude<keyof I["params"], keyof Params>]: never; };
197
- } & { [K_1 in Exclude<keyof I, "params">]: never; }>(base?: I): QueryParamsResponse;
198
- fromPartial<I_1 extends {
199
- params?: {
200
- communityTax?: string;
201
- baseProposerReward?: string;
202
- bonusProposerReward?: string;
203
- withdrawAddrEnabled?: boolean;
204
- };
205
- } & {
206
- params?: {
207
- communityTax?: string;
208
- baseProposerReward?: string;
209
- bonusProposerReward?: string;
210
- withdrawAddrEnabled?: boolean;
211
- } & {
212
- communityTax?: string;
213
- baseProposerReward?: string;
214
- bonusProposerReward?: string;
215
- withdrawAddrEnabled?: boolean;
216
- } & { [K_2 in Exclude<keyof I_1["params"], keyof Params>]: never; };
217
- } & { [K_3 in Exclude<keyof I_1, "params">]: never; }>(object: I_1): QueryParamsResponse;
218
- };
219
- export declare const QueryValidatorDistributionInfoRequest: {
220
- encode(message: QueryValidatorDistributionInfoRequest, writer?: _m0.Writer): _m0.Writer;
221
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDistributionInfoRequest;
222
- fromJSON(object: any): QueryValidatorDistributionInfoRequest;
223
- toJSON(message: QueryValidatorDistributionInfoRequest): unknown;
224
- create<I extends {
225
- validatorAddress?: string;
226
- } & {
227
- validatorAddress?: string;
228
- } & { [K in Exclude<keyof I, "validatorAddress">]: never; }>(base?: I): QueryValidatorDistributionInfoRequest;
229
- fromPartial<I_1 extends {
230
- validatorAddress?: string;
231
- } & {
232
- validatorAddress?: string;
233
- } & { [K_1 in Exclude<keyof I_1, "validatorAddress">]: never; }>(object: I_1): QueryValidatorDistributionInfoRequest;
234
- };
235
- export declare const QueryValidatorDistributionInfoResponse: {
236
- encode(message: QueryValidatorDistributionInfoResponse, writer?: _m0.Writer): _m0.Writer;
237
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDistributionInfoResponse;
238
- fromJSON(object: any): QueryValidatorDistributionInfoResponse;
239
- toJSON(message: QueryValidatorDistributionInfoResponse): unknown;
240
- create<I extends {
241
- operatorAddress?: string;
242
- selfBondRewards?: {
243
- denom?: string;
244
- amount?: string;
245
- }[];
246
- commission?: {
247
- denom?: string;
248
- amount?: string;
249
- }[];
250
- } & {
251
- operatorAddress?: string;
252
- selfBondRewards?: {
253
- denom?: string;
254
- amount?: string;
255
- }[] & ({
256
- denom?: string;
257
- amount?: string;
258
- } & {
259
- denom?: string;
260
- amount?: string;
261
- } & { [K in Exclude<keyof I["selfBondRewards"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["selfBondRewards"], keyof {
262
- denom?: string;
263
- amount?: string;
264
- }[]>]: never; };
265
- commission?: {
266
- denom?: string;
267
- amount?: string;
268
- }[] & ({
269
- denom?: string;
270
- amount?: string;
271
- } & {
272
- denom?: string;
273
- amount?: string;
274
- } & { [K_2 in Exclude<keyof I["commission"][number], keyof DecCoin>]: never; })[] & { [K_3 in Exclude<keyof I["commission"], keyof {
275
- denom?: string;
276
- amount?: string;
277
- }[]>]: never; };
278
- } & { [K_4 in Exclude<keyof I, keyof QueryValidatorDistributionInfoResponse>]: never; }>(base?: I): QueryValidatorDistributionInfoResponse;
279
- fromPartial<I_1 extends {
280
- operatorAddress?: string;
281
- selfBondRewards?: {
282
- denom?: string;
283
- amount?: string;
284
- }[];
285
- commission?: {
286
- denom?: string;
287
- amount?: string;
288
- }[];
289
- } & {
290
- operatorAddress?: string;
291
- selfBondRewards?: {
292
- denom?: string;
293
- amount?: string;
294
- }[] & ({
295
- denom?: string;
296
- amount?: string;
297
- } & {
298
- denom?: string;
299
- amount?: string;
300
- } & { [K_5 in Exclude<keyof I_1["selfBondRewards"][number], keyof DecCoin>]: never; })[] & { [K_6 in Exclude<keyof I_1["selfBondRewards"], keyof {
301
- denom?: string;
302
- amount?: string;
303
- }[]>]: never; };
304
- commission?: {
305
- denom?: string;
306
- amount?: string;
307
- }[] & ({
308
- denom?: string;
309
- amount?: string;
310
- } & {
311
- denom?: string;
312
- amount?: string;
313
- } & { [K_7 in Exclude<keyof I_1["commission"][number], keyof DecCoin>]: never; })[] & { [K_8 in Exclude<keyof I_1["commission"], keyof {
314
- denom?: string;
315
- amount?: string;
316
- }[]>]: never; };
317
- } & { [K_9 in Exclude<keyof I_1, keyof QueryValidatorDistributionInfoResponse>]: never; }>(object: I_1): QueryValidatorDistributionInfoResponse;
318
- };
319
- export declare const QueryValidatorOutstandingRewardsRequest: {
320
- encode(message: QueryValidatorOutstandingRewardsRequest, writer?: _m0.Writer): _m0.Writer;
321
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest;
322
- fromJSON(object: any): QueryValidatorOutstandingRewardsRequest;
323
- toJSON(message: QueryValidatorOutstandingRewardsRequest): unknown;
324
- create<I extends {
325
- validatorAddress?: string;
326
- } & {
327
- validatorAddress?: string;
328
- } & { [K in Exclude<keyof I, "validatorAddress">]: never; }>(base?: I): QueryValidatorOutstandingRewardsRequest;
329
- fromPartial<I_1 extends {
330
- validatorAddress?: string;
331
- } & {
332
- validatorAddress?: string;
333
- } & { [K_1 in Exclude<keyof I_1, "validatorAddress">]: never; }>(object: I_1): QueryValidatorOutstandingRewardsRequest;
334
- };
335
- export declare const QueryValidatorOutstandingRewardsResponse: {
336
- encode(message: QueryValidatorOutstandingRewardsResponse, writer?: _m0.Writer): _m0.Writer;
337
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse;
338
- fromJSON(object: any): QueryValidatorOutstandingRewardsResponse;
339
- toJSON(message: QueryValidatorOutstandingRewardsResponse): unknown;
340
- create<I extends {
341
- rewards?: {
342
- rewards?: {
343
- denom?: string;
344
- amount?: string;
345
- }[];
346
- };
347
- } & {
348
- rewards?: {
349
- rewards?: {
350
- denom?: string;
351
- amount?: string;
352
- }[];
353
- } & {
354
- rewards?: {
355
- denom?: string;
356
- amount?: string;
357
- }[] & ({
358
- denom?: string;
359
- amount?: string;
360
- } & {
361
- denom?: string;
362
- amount?: string;
363
- } & { [K in Exclude<keyof I["rewards"]["rewards"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["rewards"]["rewards"], keyof {
364
- denom?: string;
365
- amount?: string;
366
- }[]>]: never; };
367
- } & { [K_2 in Exclude<keyof I["rewards"], "rewards">]: never; };
368
- } & { [K_3 in Exclude<keyof I, "rewards">]: never; }>(base?: I): QueryValidatorOutstandingRewardsResponse;
369
- fromPartial<I_1 extends {
370
- rewards?: {
371
- rewards?: {
372
- denom?: string;
373
- amount?: string;
374
- }[];
375
- };
376
- } & {
377
- rewards?: {
378
- rewards?: {
379
- denom?: string;
380
- amount?: string;
381
- }[];
382
- } & {
383
- rewards?: {
384
- denom?: string;
385
- amount?: string;
386
- }[] & ({
387
- denom?: string;
388
- amount?: string;
389
- } & {
390
- denom?: string;
391
- amount?: string;
392
- } & { [K_4 in Exclude<keyof I_1["rewards"]["rewards"][number], keyof DecCoin>]: never; })[] & { [K_5 in Exclude<keyof I_1["rewards"]["rewards"], keyof {
393
- denom?: string;
394
- amount?: string;
395
- }[]>]: never; };
396
- } & { [K_6 in Exclude<keyof I_1["rewards"], "rewards">]: never; };
397
- } & { [K_7 in Exclude<keyof I_1, "rewards">]: never; }>(object: I_1): QueryValidatorOutstandingRewardsResponse;
398
- };
399
- export declare const QueryValidatorCommissionRequest: {
400
- encode(message: QueryValidatorCommissionRequest, writer?: _m0.Writer): _m0.Writer;
401
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest;
402
- fromJSON(object: any): QueryValidatorCommissionRequest;
403
- toJSON(message: QueryValidatorCommissionRequest): unknown;
404
- create<I extends {
405
- validatorAddress?: string;
406
- } & {
407
- validatorAddress?: string;
408
- } & { [K in Exclude<keyof I, "validatorAddress">]: never; }>(base?: I): QueryValidatorCommissionRequest;
409
- fromPartial<I_1 extends {
410
- validatorAddress?: string;
411
- } & {
412
- validatorAddress?: string;
413
- } & { [K_1 in Exclude<keyof I_1, "validatorAddress">]: never; }>(object: I_1): QueryValidatorCommissionRequest;
414
- };
415
- export declare const QueryValidatorCommissionResponse: {
416
- encode(message: QueryValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer;
417
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse;
418
- fromJSON(object: any): QueryValidatorCommissionResponse;
419
- toJSON(message: QueryValidatorCommissionResponse): unknown;
420
- create<I extends {
421
- commission?: {
422
- commission?: {
423
- denom?: string;
424
- amount?: string;
425
- }[];
426
- };
427
- } & {
428
- commission?: {
429
- commission?: {
430
- denom?: string;
431
- amount?: string;
432
- }[];
433
- } & {
434
- commission?: {
435
- denom?: string;
436
- amount?: string;
437
- }[] & ({
438
- denom?: string;
439
- amount?: string;
440
- } & {
441
- denom?: string;
442
- amount?: string;
443
- } & { [K in Exclude<keyof I["commission"]["commission"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["commission"]["commission"], keyof {
444
- denom?: string;
445
- amount?: string;
446
- }[]>]: never; };
447
- } & { [K_2 in Exclude<keyof I["commission"], "commission">]: never; };
448
- } & { [K_3 in Exclude<keyof I, "commission">]: never; }>(base?: I): QueryValidatorCommissionResponse;
449
- fromPartial<I_1 extends {
450
- commission?: {
451
- commission?: {
452
- denom?: string;
453
- amount?: string;
454
- }[];
455
- };
456
- } & {
457
- commission?: {
458
- commission?: {
459
- denom?: string;
460
- amount?: string;
461
- }[];
462
- } & {
463
- commission?: {
464
- denom?: string;
465
- amount?: string;
466
- }[] & ({
467
- denom?: string;
468
- amount?: string;
469
- } & {
470
- denom?: string;
471
- amount?: string;
472
- } & { [K_4 in Exclude<keyof I_1["commission"]["commission"][number], keyof DecCoin>]: never; })[] & { [K_5 in Exclude<keyof I_1["commission"]["commission"], keyof {
473
- denom?: string;
474
- amount?: string;
475
- }[]>]: never; };
476
- } & { [K_6 in Exclude<keyof I_1["commission"], "commission">]: never; };
477
- } & { [K_7 in Exclude<keyof I_1, "commission">]: never; }>(object: I_1): QueryValidatorCommissionResponse;
478
- };
479
- export declare const QueryValidatorSlashesRequest: {
480
- encode(message: QueryValidatorSlashesRequest, writer?: _m0.Writer): _m0.Writer;
481
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest;
482
- fromJSON(object: any): QueryValidatorSlashesRequest;
483
- toJSON(message: QueryValidatorSlashesRequest): unknown;
484
- create<I extends {
485
- validatorAddress?: string;
486
- startingHeight?: number;
487
- endingHeight?: number;
488
- pagination?: {
489
- key?: Uint8Array;
490
- offset?: number;
491
- limit?: number;
492
- countTotal?: boolean;
493
- reverse?: boolean;
494
- };
495
- } & {
496
- validatorAddress?: string;
497
- startingHeight?: number;
498
- endingHeight?: number;
499
- pagination?: {
500
- key?: Uint8Array;
501
- offset?: number;
502
- limit?: number;
503
- countTotal?: boolean;
504
- reverse?: boolean;
505
- } & {
506
- key?: Uint8Array;
507
- offset?: number;
508
- limit?: number;
509
- countTotal?: boolean;
510
- reverse?: boolean;
511
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
512
- } & { [K_1 in Exclude<keyof I, keyof QueryValidatorSlashesRequest>]: never; }>(base?: I): QueryValidatorSlashesRequest;
513
- fromPartial<I_1 extends {
514
- validatorAddress?: string;
515
- startingHeight?: number;
516
- endingHeight?: number;
517
- pagination?: {
518
- key?: Uint8Array;
519
- offset?: number;
520
- limit?: number;
521
- countTotal?: boolean;
522
- reverse?: boolean;
523
- };
524
- } & {
525
- validatorAddress?: string;
526
- startingHeight?: number;
527
- endingHeight?: number;
528
- pagination?: {
529
- key?: Uint8Array;
530
- offset?: number;
531
- limit?: number;
532
- countTotal?: boolean;
533
- reverse?: boolean;
534
- } & {
535
- key?: Uint8Array;
536
- offset?: number;
537
- limit?: number;
538
- countTotal?: boolean;
539
- reverse?: boolean;
540
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
541
- } & { [K_3 in Exclude<keyof I_1, keyof QueryValidatorSlashesRequest>]: never; }>(object: I_1): QueryValidatorSlashesRequest;
542
- };
543
- export declare const QueryValidatorSlashesResponse: {
544
- encode(message: QueryValidatorSlashesResponse, writer?: _m0.Writer): _m0.Writer;
545
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse;
546
- fromJSON(object: any): QueryValidatorSlashesResponse;
547
- toJSON(message: QueryValidatorSlashesResponse): unknown;
548
- create<I extends {
549
- slashes?: {
550
- validatorPeriod?: number;
551
- fraction?: string;
552
- }[];
553
- pagination?: {
554
- nextKey?: Uint8Array;
555
- total?: number;
556
- };
557
- } & {
558
- slashes?: {
559
- validatorPeriod?: number;
560
- fraction?: string;
561
- }[] & ({
562
- validatorPeriod?: number;
563
- fraction?: string;
564
- } & {
565
- validatorPeriod?: number;
566
- fraction?: string;
567
- } & { [K in Exclude<keyof I["slashes"][number], keyof ValidatorSlashEvent>]: never; })[] & { [K_1 in Exclude<keyof I["slashes"], keyof {
568
- validatorPeriod?: number;
569
- fraction?: string;
570
- }[]>]: never; };
571
- pagination?: {
572
- nextKey?: Uint8Array;
573
- total?: number;
574
- } & {
575
- nextKey?: Uint8Array;
576
- total?: number;
577
- } & { [K_2 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
578
- } & { [K_3 in Exclude<keyof I, keyof QueryValidatorSlashesResponse>]: never; }>(base?: I): QueryValidatorSlashesResponse;
579
- fromPartial<I_1 extends {
580
- slashes?: {
581
- validatorPeriod?: number;
582
- fraction?: string;
583
- }[];
584
- pagination?: {
585
- nextKey?: Uint8Array;
586
- total?: number;
587
- };
588
- } & {
589
- slashes?: {
590
- validatorPeriod?: number;
591
- fraction?: string;
592
- }[] & ({
593
- validatorPeriod?: number;
594
- fraction?: string;
595
- } & {
596
- validatorPeriod?: number;
597
- fraction?: string;
598
- } & { [K_4 in Exclude<keyof I_1["slashes"][number], keyof ValidatorSlashEvent>]: never; })[] & { [K_5 in Exclude<keyof I_1["slashes"], keyof {
599
- validatorPeriod?: number;
600
- fraction?: string;
601
- }[]>]: never; };
602
- pagination?: {
603
- nextKey?: Uint8Array;
604
- total?: number;
605
- } & {
606
- nextKey?: Uint8Array;
607
- total?: number;
608
- } & { [K_6 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
609
- } & { [K_7 in Exclude<keyof I_1, keyof QueryValidatorSlashesResponse>]: never; }>(object: I_1): QueryValidatorSlashesResponse;
610
- };
611
- export declare const QueryDelegationRewardsRequest: {
612
- encode(message: QueryDelegationRewardsRequest, writer?: _m0.Writer): _m0.Writer;
613
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest;
614
- fromJSON(object: any): QueryDelegationRewardsRequest;
615
- toJSON(message: QueryDelegationRewardsRequest): unknown;
616
- create<I extends {
617
- delegatorAddress?: string;
618
- validatorAddress?: string;
619
- } & {
620
- delegatorAddress?: string;
621
- validatorAddress?: string;
622
- } & { [K in Exclude<keyof I, keyof QueryDelegationRewardsRequest>]: never; }>(base?: I): QueryDelegationRewardsRequest;
623
- fromPartial<I_1 extends {
624
- delegatorAddress?: string;
625
- validatorAddress?: string;
626
- } & {
627
- delegatorAddress?: string;
628
- validatorAddress?: string;
629
- } & { [K_1 in Exclude<keyof I_1, keyof QueryDelegationRewardsRequest>]: never; }>(object: I_1): QueryDelegationRewardsRequest;
630
- };
631
- export declare const QueryDelegationRewardsResponse: {
632
- encode(message: QueryDelegationRewardsResponse, writer?: _m0.Writer): _m0.Writer;
633
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse;
634
- fromJSON(object: any): QueryDelegationRewardsResponse;
635
- toJSON(message: QueryDelegationRewardsResponse): unknown;
636
- create<I extends {
637
- rewards?: {
638
- denom?: string;
639
- amount?: string;
640
- }[];
641
- } & {
642
- rewards?: {
643
- denom?: string;
644
- amount?: string;
645
- }[] & ({
646
- denom?: string;
647
- amount?: string;
648
- } & {
649
- denom?: string;
650
- amount?: string;
651
- } & { [K in Exclude<keyof I["rewards"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["rewards"], keyof {
652
- denom?: string;
653
- amount?: string;
654
- }[]>]: never; };
655
- } & { [K_2 in Exclude<keyof I, "rewards">]: never; }>(base?: I): QueryDelegationRewardsResponse;
656
- fromPartial<I_1 extends {
657
- rewards?: {
658
- denom?: string;
659
- amount?: string;
660
- }[];
661
- } & {
662
- rewards?: {
663
- denom?: string;
664
- amount?: string;
665
- }[] & ({
666
- denom?: string;
667
- amount?: string;
668
- } & {
669
- denom?: string;
670
- amount?: string;
671
- } & { [K_3 in Exclude<keyof I_1["rewards"][number], keyof DecCoin>]: never; })[] & { [K_4 in Exclude<keyof I_1["rewards"], keyof {
672
- denom?: string;
673
- amount?: string;
674
- }[]>]: never; };
675
- } & { [K_5 in Exclude<keyof I_1, "rewards">]: never; }>(object: I_1): QueryDelegationRewardsResponse;
676
- };
677
- export declare const QueryDelegationTotalRewardsRequest: {
678
- encode(message: QueryDelegationTotalRewardsRequest, writer?: _m0.Writer): _m0.Writer;
679
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest;
680
- fromJSON(object: any): QueryDelegationTotalRewardsRequest;
681
- toJSON(message: QueryDelegationTotalRewardsRequest): unknown;
682
- create<I extends {
683
- delegatorAddress?: string;
684
- } & {
685
- delegatorAddress?: string;
686
- } & { [K in Exclude<keyof I, "delegatorAddress">]: never; }>(base?: I): QueryDelegationTotalRewardsRequest;
687
- fromPartial<I_1 extends {
688
- delegatorAddress?: string;
689
- } & {
690
- delegatorAddress?: string;
691
- } & { [K_1 in Exclude<keyof I_1, "delegatorAddress">]: never; }>(object: I_1): QueryDelegationTotalRewardsRequest;
692
- };
693
- export declare const QueryDelegationTotalRewardsResponse: {
694
- encode(message: QueryDelegationTotalRewardsResponse, writer?: _m0.Writer): _m0.Writer;
695
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse;
696
- fromJSON(object: any): QueryDelegationTotalRewardsResponse;
697
- toJSON(message: QueryDelegationTotalRewardsResponse): unknown;
698
- create<I extends {
699
- rewards?: {
700
- validatorAddress?: string;
701
- reward?: {
702
- denom?: string;
703
- amount?: string;
704
- }[];
705
- }[];
706
- total?: {
707
- denom?: string;
708
- amount?: string;
709
- }[];
710
- } & {
711
- rewards?: {
712
- validatorAddress?: string;
713
- reward?: {
714
- denom?: string;
715
- amount?: string;
716
- }[];
717
- }[] & ({
718
- validatorAddress?: string;
719
- reward?: {
720
- denom?: string;
721
- amount?: string;
722
- }[];
723
- } & {
724
- validatorAddress?: string;
725
- reward?: {
726
- denom?: string;
727
- amount?: string;
728
- }[] & ({
729
- denom?: string;
730
- amount?: string;
731
- } & {
732
- denom?: string;
733
- amount?: string;
734
- } & { [K in Exclude<keyof I["rewards"][number]["reward"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["rewards"][number]["reward"], keyof {
735
- denom?: string;
736
- amount?: string;
737
- }[]>]: never; };
738
- } & { [K_2 in Exclude<keyof I["rewards"][number], keyof DelegationDelegatorReward>]: never; })[] & { [K_3 in Exclude<keyof I["rewards"], keyof {
739
- validatorAddress?: string;
740
- reward?: {
741
- denom?: string;
742
- amount?: string;
743
- }[];
744
- }[]>]: never; };
745
- total?: {
746
- denom?: string;
747
- amount?: string;
748
- }[] & ({
749
- denom?: string;
750
- amount?: string;
751
- } & {
752
- denom?: string;
753
- amount?: string;
754
- } & { [K_4 in Exclude<keyof I["total"][number], keyof DecCoin>]: never; })[] & { [K_5 in Exclude<keyof I["total"], keyof {
755
- denom?: string;
756
- amount?: string;
757
- }[]>]: never; };
758
- } & { [K_6 in Exclude<keyof I, keyof QueryDelegationTotalRewardsResponse>]: never; }>(base?: I): QueryDelegationTotalRewardsResponse;
759
- fromPartial<I_1 extends {
760
- rewards?: {
761
- validatorAddress?: string;
762
- reward?: {
763
- denom?: string;
764
- amount?: string;
765
- }[];
766
- }[];
767
- total?: {
768
- denom?: string;
769
- amount?: string;
770
- }[];
771
- } & {
772
- rewards?: {
773
- validatorAddress?: string;
774
- reward?: {
775
- denom?: string;
776
- amount?: string;
777
- }[];
778
- }[] & ({
779
- validatorAddress?: string;
780
- reward?: {
781
- denom?: string;
782
- amount?: string;
783
- }[];
784
- } & {
785
- validatorAddress?: string;
786
- reward?: {
787
- denom?: string;
788
- amount?: string;
789
- }[] & ({
790
- denom?: string;
791
- amount?: string;
792
- } & {
793
- denom?: string;
794
- amount?: string;
795
- } & { [K_7 in Exclude<keyof I_1["rewards"][number]["reward"][number], keyof DecCoin>]: never; })[] & { [K_8 in Exclude<keyof I_1["rewards"][number]["reward"], keyof {
796
- denom?: string;
797
- amount?: string;
798
- }[]>]: never; };
799
- } & { [K_9 in Exclude<keyof I_1["rewards"][number], keyof DelegationDelegatorReward>]: never; })[] & { [K_10 in Exclude<keyof I_1["rewards"], keyof {
800
- validatorAddress?: string;
801
- reward?: {
802
- denom?: string;
803
- amount?: string;
804
- }[];
805
- }[]>]: never; };
806
- total?: {
807
- denom?: string;
808
- amount?: string;
809
- }[] & ({
810
- denom?: string;
811
- amount?: string;
812
- } & {
813
- denom?: string;
814
- amount?: string;
815
- } & { [K_11 in Exclude<keyof I_1["total"][number], keyof DecCoin>]: never; })[] & { [K_12 in Exclude<keyof I_1["total"], keyof {
816
- denom?: string;
817
- amount?: string;
818
- }[]>]: never; };
819
- } & { [K_13 in Exclude<keyof I_1, keyof QueryDelegationTotalRewardsResponse>]: never; }>(object: I_1): QueryDelegationTotalRewardsResponse;
820
- };
821
- export declare const QueryDelegatorValidatorsRequest: {
822
- encode(message: QueryDelegatorValidatorsRequest, writer?: _m0.Writer): _m0.Writer;
823
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest;
824
- fromJSON(object: any): QueryDelegatorValidatorsRequest;
825
- toJSON(message: QueryDelegatorValidatorsRequest): unknown;
826
- create<I extends {
827
- delegatorAddress?: string;
828
- } & {
829
- delegatorAddress?: string;
830
- } & { [K in Exclude<keyof I, "delegatorAddress">]: never; }>(base?: I): QueryDelegatorValidatorsRequest;
831
- fromPartial<I_1 extends {
832
- delegatorAddress?: string;
833
- } & {
834
- delegatorAddress?: string;
835
- } & { [K_1 in Exclude<keyof I_1, "delegatorAddress">]: never; }>(object: I_1): QueryDelegatorValidatorsRequest;
836
- };
837
- export declare const QueryDelegatorValidatorsResponse: {
838
- encode(message: QueryDelegatorValidatorsResponse, writer?: _m0.Writer): _m0.Writer;
839
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse;
840
- fromJSON(object: any): QueryDelegatorValidatorsResponse;
841
- toJSON(message: QueryDelegatorValidatorsResponse): unknown;
842
- create<I extends {
843
- validators?: string[];
844
- } & {
845
- validators?: string[] & string[] & { [K in Exclude<keyof I["validators"], keyof string[]>]: never; };
846
- } & { [K_1 in Exclude<keyof I, "validators">]: never; }>(base?: I): QueryDelegatorValidatorsResponse;
847
- fromPartial<I_1 extends {
848
- validators?: string[];
849
- } & {
850
- validators?: string[] & string[] & { [K_2 in Exclude<keyof I_1["validators"], keyof string[]>]: never; };
851
- } & { [K_3 in Exclude<keyof I_1, "validators">]: never; }>(object: I_1): QueryDelegatorValidatorsResponse;
852
- };
853
- export declare const QueryDelegatorWithdrawAddressRequest: {
854
- encode(message: QueryDelegatorWithdrawAddressRequest, writer?: _m0.Writer): _m0.Writer;
855
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest;
856
- fromJSON(object: any): QueryDelegatorWithdrawAddressRequest;
857
- toJSON(message: QueryDelegatorWithdrawAddressRequest): unknown;
858
- create<I extends {
859
- delegatorAddress?: string;
860
- } & {
861
- delegatorAddress?: string;
862
- } & { [K in Exclude<keyof I, "delegatorAddress">]: never; }>(base?: I): QueryDelegatorWithdrawAddressRequest;
863
- fromPartial<I_1 extends {
864
- delegatorAddress?: string;
865
- } & {
866
- delegatorAddress?: string;
867
- } & { [K_1 in Exclude<keyof I_1, "delegatorAddress">]: never; }>(object: I_1): QueryDelegatorWithdrawAddressRequest;
868
- };
869
- export declare const QueryDelegatorWithdrawAddressResponse: {
870
- encode(message: QueryDelegatorWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer;
871
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse;
872
- fromJSON(object: any): QueryDelegatorWithdrawAddressResponse;
873
- toJSON(message: QueryDelegatorWithdrawAddressResponse): unknown;
874
- create<I extends {
875
- withdrawAddress?: string;
876
- } & {
877
- withdrawAddress?: string;
878
- } & { [K in Exclude<keyof I, "withdrawAddress">]: never; }>(base?: I): QueryDelegatorWithdrawAddressResponse;
879
- fromPartial<I_1 extends {
880
- withdrawAddress?: string;
881
- } & {
882
- withdrawAddress?: string;
883
- } & { [K_1 in Exclude<keyof I_1, "withdrawAddress">]: never; }>(object: I_1): QueryDelegatorWithdrawAddressResponse;
884
- };
885
- export declare const QueryCommunityPoolRequest: {
886
- encode(_: QueryCommunityPoolRequest, writer?: _m0.Writer): _m0.Writer;
887
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest;
888
- fromJSON(_: any): QueryCommunityPoolRequest;
889
- toJSON(_: QueryCommunityPoolRequest): unknown;
890
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): QueryCommunityPoolRequest;
891
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): QueryCommunityPoolRequest;
892
- };
893
- export declare const QueryCommunityPoolResponse: {
894
- encode(message: QueryCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer;
895
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse;
896
- fromJSON(object: any): QueryCommunityPoolResponse;
897
- toJSON(message: QueryCommunityPoolResponse): unknown;
898
- create<I extends {
899
- pool?: {
900
- denom?: string;
901
- amount?: string;
902
- }[];
903
- } & {
904
- pool?: {
905
- denom?: string;
906
- amount?: string;
907
- }[] & ({
908
- denom?: string;
909
- amount?: string;
910
- } & {
911
- denom?: string;
912
- amount?: string;
913
- } & { [K in Exclude<keyof I["pool"][number], keyof DecCoin>]: never; })[] & { [K_1 in Exclude<keyof I["pool"], keyof {
914
- denom?: string;
915
- amount?: string;
916
- }[]>]: never; };
917
- } & { [K_2 in Exclude<keyof I, "pool">]: never; }>(base?: I): QueryCommunityPoolResponse;
918
- fromPartial<I_1 extends {
919
- pool?: {
920
- denom?: string;
921
- amount?: string;
922
- }[];
923
- } & {
924
- pool?: {
925
- denom?: string;
926
- amount?: string;
927
- }[] & ({
928
- denom?: string;
929
- amount?: string;
930
- } & {
931
- denom?: string;
932
- amount?: string;
933
- } & { [K_3 in Exclude<keyof I_1["pool"][number], keyof DecCoin>]: never; })[] & { [K_4 in Exclude<keyof I_1["pool"], keyof {
934
- denom?: string;
935
- amount?: string;
936
- }[]>]: never; };
937
- } & { [K_5 in Exclude<keyof I_1, "pool">]: never; }>(object: I_1): QueryCommunityPoolResponse;
938
- };
939
- /** Query defines the gRPC querier service for distribution module. */
940
- export interface Query {
941
- /** Params queries params of the distribution module. */
942
- Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
943
- /** ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator */
944
- ValidatorDistributionInfo(request: QueryValidatorDistributionInfoRequest): Promise<QueryValidatorDistributionInfoResponse>;
945
- /** ValidatorOutstandingRewards queries rewards of a validator address. */
946
- ValidatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponse>;
947
- /** ValidatorCommission queries accumulated commission for a validator. */
948
- ValidatorCommission(request: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponse>;
949
- /** ValidatorSlashes queries slash events of a validator. */
950
- ValidatorSlashes(request: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponse>;
951
- /** DelegationRewards queries the total rewards accrued by a delegation. */
952
- DelegationRewards(request: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponse>;
953
- /**
954
- * DelegationTotalRewards queries the total rewards accrued by each
955
- * validator.
956
- */
957
- DelegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponse>;
958
- /** DelegatorValidators queries the validators of a delegator. */
959
- DelegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
960
- /** DelegatorWithdrawAddress queries withdraw address of a delegator. */
961
- DelegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponse>;
962
- /** CommunityPool queries the community pool coins. */
963
- CommunityPool(request: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
964
- }
965
- export declare class QueryClientImpl implements Query {
966
- private readonly rpc;
967
- private readonly service;
968
- constructor(rpc: Rpc, opts?: {
969
- service?: string;
970
- });
971
- Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
972
- ValidatorDistributionInfo(request: QueryValidatorDistributionInfoRequest): Promise<QueryValidatorDistributionInfoResponse>;
973
- ValidatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise<QueryValidatorOutstandingRewardsResponse>;
974
- ValidatorCommission(request: QueryValidatorCommissionRequest): Promise<QueryValidatorCommissionResponse>;
975
- ValidatorSlashes(request: QueryValidatorSlashesRequest): Promise<QueryValidatorSlashesResponse>;
976
- DelegationRewards(request: QueryDelegationRewardsRequest): Promise<QueryDelegationRewardsResponse>;
977
- DelegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise<QueryDelegationTotalRewardsResponse>;
978
- DelegatorValidators(request: QueryDelegatorValidatorsRequest): Promise<QueryDelegatorValidatorsResponse>;
979
- DelegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise<QueryDelegatorWithdrawAddressResponse>;
980
- CommunityPool(request: QueryCommunityPoolRequest): Promise<QueryCommunityPoolResponse>;
981
- }
982
- interface Rpc {
983
- request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
984
- }
985
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
986
- export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
987
- [K in keyof T]?: DeepPartial<T[K]>;
988
- } : Partial<T>;
989
- type KeysOfUnion<T> = T extends T ? keyof T : never;
990
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
991
- [K in keyof P]: Exact<P[K], I[K]>;
992
- } & {
993
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
994
- };
995
- export {};