coreum-js 2.11.0 → 2.13.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 (243) 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/token.d.ts +1 -0
  9. package/dist/main/coreum/asset/ft/v1/token.js +6 -0
  10. package/dist/main/coreum/asset/ft/v1/tx.d.ts +1 -1
  11. package/dist/main/coreum/asset/ft/v1/tx.js +1 -1
  12. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +2 -2
  13. package/dist/main/coreum/asset/nft/v1/params.d.ts +1 -1
  14. package/dist/main/coreum/asset/nft/v1/params.js +14 -6
  15. package/dist/main/coreum/asset/nft/v1/query.d.ts +3 -3
  16. package/dist/main/coreum/asset/nft/v1/query.js +49 -22
  17. package/dist/main/coreum/feemodel/v1/genesis.d.ts +1 -1
  18. package/dist/main/coreum/feemodel/v1/genesis.js +17 -10
  19. package/dist/main/coreum/feemodel/v1/query.d.ts +1 -1
  20. package/dist/main/coreum/feemodel/v1/query.js +22 -11
  21. package/dist/main/coreum/nft/v1beta1/query.d.ts +1 -1
  22. package/dist/main/coreum/nft/v1beta1/query.js +83 -39
  23. package/dist/main/cosmos/extensions/bank.d.ts +8 -8
  24. package/dist/main/cosmos/extensions/bank.js +2 -2
  25. package/dist/main/cosmos/extensions/distribution.d.ts +11 -11
  26. package/dist/main/cosmos/extensions/distribution.js +1 -1
  27. package/dist/main/cosmos/extensions/gov.d.ts +21 -21
  28. package/dist/main/cosmos/extensions/gov.js +1 -1
  29. package/dist/main/cosmos/index.d.ts +12 -21
  30. package/dist/main/cosmos/index.js +50 -42
  31. package/dist/main/types/msgs.d.ts +4 -4
  32. package/dist/main/wasm/v1/authz.d.ts +1 -1
  33. package/dist/main/wasm/v1/authz.js +1 -1
  34. package/dist/main/wasm/v1/proposal.d.ts +1 -1
  35. package/dist/main/wasm/v1/proposal.js +1 -1
  36. package/dist/main/wasm/v1/tx.d.ts +1 -1
  37. package/dist/main/wasm/v1/tx.js +1 -1
  38. package/dist/module/client/index.d.ts +2 -1
  39. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +1 -1
  40. package/dist/module/coreum/asset/ft/v1/genesis.js +25 -12
  41. package/dist/module/coreum/asset/ft/v1/params.d.ts +1 -1
  42. package/dist/module/coreum/asset/ft/v1/params.js +14 -6
  43. package/dist/module/coreum/asset/ft/v1/query.d.ts +2 -2
  44. package/dist/module/coreum/asset/ft/v1/query.js +116 -54
  45. package/dist/module/coreum/asset/ft/v1/token.d.ts +1 -0
  46. package/dist/module/coreum/asset/ft/v1/token.js +6 -0
  47. package/dist/module/coreum/asset/ft/v1/tx.d.ts +1 -1
  48. package/dist/module/coreum/asset/ft/v1/tx.js +1 -1
  49. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +2 -2
  50. package/dist/module/coreum/asset/nft/v1/params.d.ts +1 -1
  51. package/dist/module/coreum/asset/nft/v1/params.js +14 -6
  52. package/dist/module/coreum/asset/nft/v1/query.d.ts +3 -3
  53. package/dist/module/coreum/asset/nft/v1/query.js +49 -22
  54. package/dist/module/coreum/feemodel/v1/genesis.d.ts +1 -1
  55. package/dist/module/coreum/feemodel/v1/genesis.js +17 -10
  56. package/dist/module/coreum/feemodel/v1/query.d.ts +1 -1
  57. package/dist/module/coreum/feemodel/v1/query.js +22 -11
  58. package/dist/module/coreum/nft/v1beta1/query.d.ts +1 -1
  59. package/dist/module/coreum/nft/v1beta1/query.js +83 -39
  60. package/dist/module/cosmos/extensions/bank.d.ts +8 -8
  61. package/dist/module/cosmos/extensions/bank.js +2 -2
  62. package/dist/module/cosmos/extensions/distribution.d.ts +11 -11
  63. package/dist/module/cosmos/extensions/distribution.js +1 -1
  64. package/dist/module/cosmos/extensions/gov.d.ts +21 -21
  65. package/dist/module/cosmos/extensions/gov.js +1 -1
  66. package/dist/module/cosmos/index.d.ts +12 -21
  67. package/dist/module/cosmos/index.js +29 -19
  68. package/dist/module/types/msgs.d.ts +4 -4
  69. package/dist/module/wasm/v1/authz.d.ts +1 -1
  70. package/dist/module/wasm/v1/authz.js +1 -1
  71. package/dist/module/wasm/v1/proposal.d.ts +1 -1
  72. package/dist/module/wasm/v1/proposal.js +1 -1
  73. package/dist/module/wasm/v1/tx.d.ts +1 -1
  74. package/dist/module/wasm/v1/tx.js +1 -1
  75. package/package.json +1 -1
  76. package/dist/main/cosmos/auth/v1beta1/auth.d.ts +0 -229
  77. package/dist/main/cosmos/auth/v1beta1/auth.js +0 -437
  78. package/dist/main/cosmos/authz/v1beta1/authz.d.ts +0 -167
  79. package/dist/main/cosmos/authz/v1beta1/authz.js +0 -319
  80. package/dist/main/cosmos/authz/v1beta1/event.d.ts +0 -80
  81. package/dist/main/cosmos/authz/v1beta1/event.js +0 -162
  82. package/dist/main/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  83. package/dist/main/cosmos/authz/v1beta1/genesis.js +0 -68
  84. package/dist/main/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  85. package/dist/main/cosmos/authz/v1beta1/pagination.js +0 -227
  86. package/dist/main/cosmos/authz/v1beta1/query.d.ts +0 -616
  87. package/dist/main/cosmos/authz/v1beta1/query.js +0 -512
  88. package/dist/main/cosmos/authz/v1beta1/tx.d.ts +0 -264
  89. package/dist/main/cosmos/authz/v1beta1/tx.js +0 -435
  90. package/dist/main/cosmos/bank/v1beta1/authz.d.ts +0 -80
  91. package/dist/main/cosmos/bank/v1beta1/authz.js +0 -83
  92. package/dist/main/cosmos/bank/v1beta1/bank.d.ts +0 -440
  93. package/dist/main/cosmos/bank/v1beta1/bank.js +0 -556
  94. package/dist/main/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  95. package/dist/main/cosmos/bank/v1beta1/genesis.js +0 -207
  96. package/dist/main/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  97. package/dist/main/cosmos/bank/v1beta1/pagination.js +0 -227
  98. package/dist/main/cosmos/bank/v1beta1/query.d.ts +0 -1633
  99. package/dist/main/cosmos/bank/v1beta1/query.js +0 -1595
  100. package/dist/main/cosmos/bank/v1beta1/tx.d.ts +0 -514
  101. package/dist/main/cosmos/bank/v1beta1/tx.js +0 -498
  102. package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  103. package/dist/main/cosmos/base/query/v1beta1/pagination.js +0 -241
  104. package/dist/main/cosmos/base/v1beta1/coin.d.ts +0 -114
  105. package/dist/main/cosmos/base/v1beta1/coin.js +0 -241
  106. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  107. package/dist/main/cosmos/crypto/multisig/v1beta1/multisig.js +0 -172
  108. package/dist/main/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  109. package/dist/main/cosmos/distribution/v1beta1/distribution.js +0 -887
  110. package/dist/main/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  111. package/dist/main/cosmos/distribution/v1beta1/genesis.js +0 -784
  112. package/dist/main/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  113. package/dist/main/cosmos/distribution/v1beta1/pagination.js +0 -227
  114. package/dist/main/cosmos/distribution/v1beta1/query.d.ts +0 -995
  115. package/dist/main/cosmos/distribution/v1beta1/query.js +0 -1335
  116. package/dist/main/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  117. package/dist/main/cosmos/distribution/v1beta1/tx.js +0 -824
  118. package/dist/main/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  119. package/dist/main/cosmos/feegrant/v1beta1/feegrant.js +0 -412
  120. package/dist/main/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  121. package/dist/main/cosmos/feegrant/v1beta1/genesis.js +0 -66
  122. package/dist/main/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  123. package/dist/main/cosmos/feegrant/v1beta1/pagination.js +0 -227
  124. package/dist/main/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  125. package/dist/main/cosmos/feegrant/v1beta1/query.js +0 -460
  126. package/dist/main/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  127. package/dist/main/cosmos/feegrant/v1beta1/tx.js +0 -252
  128. package/dist/main/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  129. package/dist/main/cosmos/gov/v1beta1/genesis.js +0 -194
  130. package/dist/main/cosmos/gov/v1beta1/gov.d.ts +0 -620
  131. package/dist/main/cosmos/gov/v1beta1/gov.js +0 -1037
  132. package/dist/main/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  133. package/dist/main/cosmos/gov/v1beta1/pagination.js +0 -227
  134. package/dist/main/cosmos/gov/v1beta1/query.d.ts +0 -1511
  135. package/dist/main/cosmos/gov/v1beta1/query.js +0 -1186
  136. package/dist/main/cosmos/gov/v1beta1/tx.d.ts +0 -350
  137. package/dist/main/cosmos/gov/v1beta1/tx.js +0 -566
  138. package/dist/main/cosmos/msg/v1/msg.d.ts +0 -1
  139. package/dist/main/cosmos/msg/v1/msg.js +0 -5
  140. package/dist/main/cosmos/staking/v1beta1/authz.d.ts +0 -145
  141. package/dist/main/cosmos/staking/v1beta1/authz.js +0 -224
  142. package/dist/main/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  143. package/dist/main/cosmos/staking/v1beta1/genesis.js +0 -305
  144. package/dist/main/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  145. package/dist/main/cosmos/staking/v1beta1/pagination.js +0 -227
  146. package/dist/main/cosmos/staking/v1beta1/query.d.ts +0 -4165
  147. package/dist/main/cosmos/staking/v1beta1/query.js +0 -2019
  148. package/dist/main/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  149. package/dist/main/cosmos/staking/v1beta1/staking.js +0 -2127
  150. package/dist/main/cosmos/staking/v1beta1/tx.d.ts +0 -748
  151. package/dist/main/cosmos/staking/v1beta1/tx.js +0 -1141
  152. package/dist/main/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  153. package/dist/main/cosmos/tx/signing/v1beta1/signing.js +0 -546
  154. package/dist/main/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  155. package/dist/main/cosmos/tx/v1beta1/tx.js +0 -1276
  156. package/dist/main/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  157. package/dist/main/cosmos/vesting/v1beta1/tx.js +0 -454
  158. package/dist/main/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  159. package/dist/main/cosmos/vesting/v1beta1/vesting.js +0 -498
  160. package/dist/module/cosmos/auth/v1beta1/auth.d.ts +0 -229
  161. package/dist/module/cosmos/auth/v1beta1/auth.js +0 -427
  162. package/dist/module/cosmos/authz/v1beta1/authz.d.ts +0 -167
  163. package/dist/module/cosmos/authz/v1beta1/authz.js +0 -309
  164. package/dist/module/cosmos/authz/v1beta1/event.d.ts +0 -80
  165. package/dist/module/cosmos/authz/v1beta1/event.js +0 -154
  166. package/dist/module/cosmos/authz/v1beta1/genesis.d.ts +0 -121
  167. package/dist/module/cosmos/authz/v1beta1/genesis.js +0 -61
  168. package/dist/module/cosmos/authz/v1beta1/pagination.d.ts +0 -128
  169. package/dist/module/cosmos/authz/v1beta1/pagination.js +0 -219
  170. package/dist/module/cosmos/authz/v1beta1/query.d.ts +0 -616
  171. package/dist/module/cosmos/authz/v1beta1/query.js +0 -501
  172. package/dist/module/cosmos/authz/v1beta1/tx.d.ts +0 -264
  173. package/dist/module/cosmos/authz/v1beta1/tx.js +0 -426
  174. package/dist/module/cosmos/bank/v1beta1/authz.d.ts +0 -80
  175. package/dist/module/cosmos/bank/v1beta1/authz.js +0 -76
  176. package/dist/module/cosmos/bank/v1beta1/bank.d.ts +0 -440
  177. package/dist/module/cosmos/bank/v1beta1/bank.js +0 -543
  178. package/dist/module/cosmos/bank/v1beta1/genesis.d.ts +0 -473
  179. package/dist/module/cosmos/bank/v1beta1/genesis.js +0 -199
  180. package/dist/module/cosmos/bank/v1beta1/pagination.d.ts +0 -128
  181. package/dist/module/cosmos/bank/v1beta1/pagination.js +0 -219
  182. package/dist/module/cosmos/bank/v1beta1/query.d.ts +0 -1633
  183. package/dist/module/cosmos/bank/v1beta1/query.js +0 -1575
  184. package/dist/module/cosmos/bank/v1beta1/tx.d.ts +0 -514
  185. package/dist/module/cosmos/bank/v1beta1/tx.js +0 -489
  186. package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +0 -470
  187. package/dist/module/cosmos/base/query/v1beta1/pagination.js +0 -233
  188. package/dist/module/cosmos/base/v1beta1/coin.d.ts +0 -114
  189. package/dist/module/cosmos/base/v1beta1/coin.js +0 -231
  190. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.d.ts +0 -67
  191. package/dist/module/cosmos/crypto/multisig/v1beta1/multisig.js +0 -164
  192. package/dist/module/cosmos/distribution/v1beta1/distribution.d.ts +0 -638
  193. package/dist/module/cosmos/distribution/v1beta1/distribution.js +0 -869
  194. package/dist/module/cosmos/distribution/v1beta1/genesis.d.ts +0 -1259
  195. package/dist/module/cosmos/distribution/v1beta1/genesis.js +0 -770
  196. package/dist/module/cosmos/distribution/v1beta1/pagination.d.ts +0 -128
  197. package/dist/module/cosmos/distribution/v1beta1/pagination.js +0 -219
  198. package/dist/module/cosmos/distribution/v1beta1/query.d.ts +0 -995
  199. package/dist/module/cosmos/distribution/v1beta1/query.js +0 -1315
  200. package/dist/module/cosmos/distribution/v1beta1/tx.d.ts +0 -593
  201. package/dist/module/cosmos/distribution/v1beta1/tx.js +0 -810
  202. package/dist/module/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -367
  203. package/dist/module/cosmos/feegrant/v1beta1/feegrant.js +0 -402
  204. package/dist/module/cosmos/feegrant/v1beta1/genesis.d.ts +0 -111
  205. package/dist/module/cosmos/feegrant/v1beta1/genesis.js +0 -59
  206. package/dist/module/cosmos/feegrant/v1beta1/pagination.d.ts +0 -128
  207. package/dist/module/cosmos/feegrant/v1beta1/pagination.js +0 -219
  208. package/dist/module/cosmos/feegrant/v1beta1/query.d.ts +0 -512
  209. package/dist/module/cosmos/feegrant/v1beta1/query.js +0 -450
  210. package/dist/module/cosmos/feegrant/v1beta1/tx.d.ts +0 -143
  211. package/dist/module/cosmos/feegrant/v1beta1/tx.js +0 -245
  212. package/dist/module/cosmos/gov/v1beta1/genesis.d.ts +0 -639
  213. package/dist/module/cosmos/gov/v1beta1/genesis.js +0 -187
  214. package/dist/module/cosmos/gov/v1beta1/gov.d.ts +0 -620
  215. package/dist/module/cosmos/gov/v1beta1/gov.js +0 -1019
  216. package/dist/module/cosmos/gov/v1beta1/pagination.d.ts +0 -128
  217. package/dist/module/cosmos/gov/v1beta1/pagination.js +0 -219
  218. package/dist/module/cosmos/gov/v1beta1/query.d.ts +0 -1511
  219. package/dist/module/cosmos/gov/v1beta1/query.js +0 -1170
  220. package/dist/module/cosmos/gov/v1beta1/tx.d.ts +0 -350
  221. package/dist/module/cosmos/gov/v1beta1/tx.js +0 -556
  222. package/dist/module/cosmos/msg/v1/msg.d.ts +0 -1
  223. package/dist/module/cosmos/msg/v1/msg.js +0 -2
  224. package/dist/module/cosmos/staking/v1beta1/authz.d.ts +0 -145
  225. package/dist/module/cosmos/staking/v1beta1/authz.js +0 -214
  226. package/dist/module/cosmos/staking/v1beta1/genesis.d.ts +0 -899
  227. package/dist/module/cosmos/staking/v1beta1/genesis.js +0 -297
  228. package/dist/module/cosmos/staking/v1beta1/pagination.d.ts +0 -128
  229. package/dist/module/cosmos/staking/v1beta1/pagination.js +0 -219
  230. package/dist/module/cosmos/staking/v1beta1/query.d.ts +0 -4165
  231. package/dist/module/cosmos/staking/v1beta1/query.js +0 -1995
  232. package/dist/module/cosmos/staking/v1beta1/staking.d.ts +0 -2059
  233. package/dist/module/cosmos/staking/v1beta1/staking.js +0 -2097
  234. package/dist/module/cosmos/staking/v1beta1/tx.d.ts +0 -748
  235. package/dist/module/cosmos/staking/v1beta1/tx.js +0 -1127
  236. package/dist/module/cosmos/tx/signing/v1beta1/signing.d.ts +0 -1938
  237. package/dist/module/cosmos/tx/signing/v1beta1/signing.js +0 -534
  238. package/dist/module/cosmos/tx/v1beta1/tx.d.ts +0 -3468
  239. package/dist/module/cosmos/tx/v1beta1/tx.js +0 -1258
  240. package/dist/module/cosmos/vesting/v1beta1/tx.d.ts +0 -350
  241. package/dist/module/cosmos/vesting/v1beta1/tx.js +0 -446
  242. package/dist/module/cosmos/vesting/v1beta1/vesting.d.ts +0 -1305
  243. package/dist/module/cosmos/vesting/v1beta1/vesting.js +0 -488
@@ -1,1633 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- import { PageRequest, PageResponse } from "./pagination";
3
- import { Coin } from "../../base/v1beta1/coin";
4
- import { Metadata, Params, SendEnabled } from "./bank";
5
- export declare const protobufPackage = "cosmos.bank.v1beta1";
6
- /** QueryBalanceRequest is the request type for the Query/Balance RPC method. */
7
- export interface QueryBalanceRequest {
8
- /** address is the address to query balances for. */
9
- address: string;
10
- /** denom is the coin denom to query balances for. */
11
- denom: string;
12
- }
13
- /** QueryBalanceResponse is the response type for the Query/Balance RPC method. */
14
- export interface QueryBalanceResponse {
15
- /** balance is the balance of the coin. */
16
- balance: Coin | undefined;
17
- }
18
- /** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */
19
- export interface QueryAllBalancesRequest {
20
- /** address is the address to query balances for. */
21
- address: string;
22
- /** pagination defines an optional pagination for the request. */
23
- pagination: PageRequest | undefined;
24
- /**
25
- * resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.
26
- *
27
- * Since: cosmos-sdk 0.48
28
- */
29
- resolveDenom: boolean;
30
- }
31
- /**
32
- * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC
33
- * method.
34
- */
35
- export interface QueryAllBalancesResponse {
36
- /** balances is the balances of all the coins. */
37
- balances: Coin[];
38
- /** pagination defines the pagination in the response. */
39
- pagination: PageResponse | undefined;
40
- }
41
- /**
42
- * QuerySpendableBalancesRequest defines the gRPC request structure for querying
43
- * an account's spendable balances.
44
- *
45
- * Since: cosmos-sdk 0.46
46
- */
47
- export interface QuerySpendableBalancesRequest {
48
- /** address is the address to query spendable balances for. */
49
- address: string;
50
- /** pagination defines an optional pagination for the request. */
51
- pagination: PageRequest | undefined;
52
- }
53
- /**
54
- * QuerySpendableBalancesResponse defines the gRPC response structure for querying
55
- * an account's spendable balances.
56
- *
57
- * Since: cosmos-sdk 0.46
58
- */
59
- export interface QuerySpendableBalancesResponse {
60
- /** balances is the spendable balances of all the coins. */
61
- balances: Coin[];
62
- /** pagination defines the pagination in the response. */
63
- pagination: PageResponse | undefined;
64
- }
65
- /**
66
- * QuerySpendableBalanceByDenomRequest defines the gRPC request structure for
67
- * querying an account's spendable balance for a specific denom.
68
- *
69
- * Since: cosmos-sdk 0.47
70
- */
71
- export interface QuerySpendableBalanceByDenomRequest {
72
- /** address is the address to query balances for. */
73
- address: string;
74
- /** denom is the coin denom to query balances for. */
75
- denom: string;
76
- }
77
- /**
78
- * QuerySpendableBalanceByDenomResponse defines the gRPC response structure for
79
- * querying an account's spendable balance for a specific denom.
80
- *
81
- * Since: cosmos-sdk 0.47
82
- */
83
- export interface QuerySpendableBalanceByDenomResponse {
84
- /** balance is the balance of the coin. */
85
- balance: Coin | undefined;
86
- }
87
- /**
88
- * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC
89
- * method.
90
- */
91
- export interface QueryTotalSupplyRequest {
92
- /**
93
- * pagination defines an optional pagination for the request.
94
- *
95
- * Since: cosmos-sdk 0.43
96
- */
97
- pagination: PageRequest | undefined;
98
- }
99
- /**
100
- * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC
101
- * method
102
- */
103
- export interface QueryTotalSupplyResponse {
104
- /** supply is the supply of the coins */
105
- supply: Coin[];
106
- /**
107
- * pagination defines the pagination in the response.
108
- *
109
- * Since: cosmos-sdk 0.43
110
- */
111
- pagination: PageResponse | undefined;
112
- }
113
- /** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */
114
- export interface QuerySupplyOfRequest {
115
- /** denom is the coin denom to query balances for. */
116
- denom: string;
117
- }
118
- /** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */
119
- export interface QuerySupplyOfResponse {
120
- /** amount is the supply of the coin. */
121
- amount: Coin | undefined;
122
- }
123
- /** QueryParamsRequest defines the request type for querying x/bank parameters. */
124
- export interface QueryParamsRequest {
125
- }
126
- /** QueryParamsResponse defines the response type for querying x/bank parameters. */
127
- export interface QueryParamsResponse {
128
- params: Params | undefined;
129
- }
130
- /** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */
131
- export interface QueryDenomsMetadataRequest {
132
- /** pagination defines an optional pagination for the request. */
133
- pagination: PageRequest | undefined;
134
- }
135
- /**
136
- * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC
137
- * method.
138
- */
139
- export interface QueryDenomsMetadataResponse {
140
- /** metadata provides the client information for all the registered tokens. */
141
- metadatas: Metadata[];
142
- /** pagination defines the pagination in the response. */
143
- pagination: PageResponse | undefined;
144
- }
145
- /** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */
146
- export interface QueryDenomMetadataRequest {
147
- /** denom is the coin denom to query the metadata for. */
148
- denom: string;
149
- }
150
- /**
151
- * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC
152
- * method.
153
- */
154
- export interface QueryDenomMetadataResponse {
155
- /** metadata describes and provides all the client information for the requested token. */
156
- metadata: Metadata | undefined;
157
- }
158
- /**
159
- * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query,
160
- * which queries for a paginated set of all account holders of a particular
161
- * denomination.
162
- */
163
- export interface QueryDenomOwnersRequest {
164
- /** denom defines the coin denomination to query all account holders for. */
165
- denom: string;
166
- /** pagination defines an optional pagination for the request. */
167
- pagination: PageRequest | undefined;
168
- }
169
- /**
170
- * DenomOwner defines structure representing an account that owns or holds a
171
- * particular denominated token. It contains the account address and account
172
- * balance of the denominated token.
173
- *
174
- * Since: cosmos-sdk 0.46
175
- */
176
- export interface DenomOwner {
177
- /** address defines the address that owns a particular denomination. */
178
- address: string;
179
- /** balance is the balance of the denominated coin for an account. */
180
- balance: Coin | undefined;
181
- }
182
- /**
183
- * QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
184
- *
185
- * Since: cosmos-sdk 0.46
186
- */
187
- export interface QueryDenomOwnersResponse {
188
- denomOwners: DenomOwner[];
189
- /** pagination defines the pagination in the response. */
190
- pagination: PageResponse | undefined;
191
- }
192
- /**
193
- * QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries.
194
- *
195
- * Since: cosmos-sdk 0.47
196
- */
197
- export interface QuerySendEnabledRequest {
198
- /** denoms is the specific denoms you want look up. Leave empty to get all entries. */
199
- denoms: string[];
200
- /**
201
- * pagination defines an optional pagination for the request. This field is
202
- * only read if the denoms field is empty.
203
- */
204
- pagination: PageRequest | undefined;
205
- }
206
- /**
207
- * QuerySendEnabledResponse defines the RPC response of a SendEnable query.
208
- *
209
- * Since: cosmos-sdk 0.47
210
- */
211
- export interface QuerySendEnabledResponse {
212
- sendEnabled: SendEnabled[];
213
- /**
214
- * pagination defines the pagination in the response. This field is only
215
- * populated if the denoms field in the request is empty.
216
- */
217
- pagination: PageResponse | undefined;
218
- }
219
- export declare const QueryBalanceRequest: {
220
- encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer;
221
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest;
222
- fromJSON(object: any): QueryBalanceRequest;
223
- toJSON(message: QueryBalanceRequest): unknown;
224
- create<I extends {
225
- address?: string;
226
- denom?: string;
227
- } & {
228
- address?: string;
229
- denom?: string;
230
- } & { [K in Exclude<keyof I, keyof QueryBalanceRequest>]: never; }>(base?: I): QueryBalanceRequest;
231
- fromPartial<I_1 extends {
232
- address?: string;
233
- denom?: string;
234
- } & {
235
- address?: string;
236
- denom?: string;
237
- } & { [K_1 in Exclude<keyof I_1, keyof QueryBalanceRequest>]: never; }>(object: I_1): QueryBalanceRequest;
238
- };
239
- export declare const QueryBalanceResponse: {
240
- encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer;
241
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse;
242
- fromJSON(object: any): QueryBalanceResponse;
243
- toJSON(message: QueryBalanceResponse): unknown;
244
- create<I extends {
245
- balance?: {
246
- denom?: string;
247
- amount?: string;
248
- };
249
- } & {
250
- balance?: {
251
- denom?: string;
252
- amount?: string;
253
- } & {
254
- denom?: string;
255
- amount?: string;
256
- } & { [K in Exclude<keyof I["balance"], keyof Coin>]: never; };
257
- } & { [K_1 in Exclude<keyof I, "balance">]: never; }>(base?: I): QueryBalanceResponse;
258
- fromPartial<I_1 extends {
259
- balance?: {
260
- denom?: string;
261
- amount?: string;
262
- };
263
- } & {
264
- balance?: {
265
- denom?: string;
266
- amount?: string;
267
- } & {
268
- denom?: string;
269
- amount?: string;
270
- } & { [K_2 in Exclude<keyof I_1["balance"], keyof Coin>]: never; };
271
- } & { [K_3 in Exclude<keyof I_1, "balance">]: never; }>(object: I_1): QueryBalanceResponse;
272
- };
273
- export declare const QueryAllBalancesRequest: {
274
- encode(message: QueryAllBalancesRequest, writer?: _m0.Writer): _m0.Writer;
275
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest;
276
- fromJSON(object: any): QueryAllBalancesRequest;
277
- toJSON(message: QueryAllBalancesRequest): unknown;
278
- create<I extends {
279
- address?: string;
280
- pagination?: {
281
- key?: Uint8Array;
282
- offset?: number;
283
- limit?: number;
284
- countTotal?: boolean;
285
- reverse?: boolean;
286
- };
287
- resolveDenom?: boolean;
288
- } & {
289
- address?: string;
290
- pagination?: {
291
- key?: Uint8Array;
292
- offset?: number;
293
- limit?: number;
294
- countTotal?: boolean;
295
- reverse?: boolean;
296
- } & {
297
- key?: Uint8Array;
298
- offset?: number;
299
- limit?: number;
300
- countTotal?: boolean;
301
- reverse?: boolean;
302
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
303
- resolveDenom?: boolean;
304
- } & { [K_1 in Exclude<keyof I, keyof QueryAllBalancesRequest>]: never; }>(base?: I): QueryAllBalancesRequest;
305
- fromPartial<I_1 extends {
306
- address?: string;
307
- pagination?: {
308
- key?: Uint8Array;
309
- offset?: number;
310
- limit?: number;
311
- countTotal?: boolean;
312
- reverse?: boolean;
313
- };
314
- resolveDenom?: boolean;
315
- } & {
316
- address?: string;
317
- pagination?: {
318
- key?: Uint8Array;
319
- offset?: number;
320
- limit?: number;
321
- countTotal?: boolean;
322
- reverse?: boolean;
323
- } & {
324
- key?: Uint8Array;
325
- offset?: number;
326
- limit?: number;
327
- countTotal?: boolean;
328
- reverse?: boolean;
329
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
330
- resolveDenom?: boolean;
331
- } & { [K_3 in Exclude<keyof I_1, keyof QueryAllBalancesRequest>]: never; }>(object: I_1): QueryAllBalancesRequest;
332
- };
333
- export declare const QueryAllBalancesResponse: {
334
- encode(message: QueryAllBalancesResponse, writer?: _m0.Writer): _m0.Writer;
335
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse;
336
- fromJSON(object: any): QueryAllBalancesResponse;
337
- toJSON(message: QueryAllBalancesResponse): unknown;
338
- create<I extends {
339
- balances?: {
340
- denom?: string;
341
- amount?: string;
342
- }[];
343
- pagination?: {
344
- nextKey?: Uint8Array;
345
- total?: number;
346
- };
347
- } & {
348
- balances?: {
349
- denom?: string;
350
- amount?: string;
351
- }[] & ({
352
- denom?: string;
353
- amount?: string;
354
- } & {
355
- denom?: string;
356
- amount?: string;
357
- } & { [K in Exclude<keyof I["balances"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["balances"], keyof {
358
- denom?: string;
359
- amount?: string;
360
- }[]>]: never; };
361
- pagination?: {
362
- nextKey?: Uint8Array;
363
- total?: number;
364
- } & {
365
- nextKey?: Uint8Array;
366
- total?: number;
367
- } & { [K_2 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
368
- } & { [K_3 in Exclude<keyof I, keyof QueryAllBalancesResponse>]: never; }>(base?: I): QueryAllBalancesResponse;
369
- fromPartial<I_1 extends {
370
- balances?: {
371
- denom?: string;
372
- amount?: string;
373
- }[];
374
- pagination?: {
375
- nextKey?: Uint8Array;
376
- total?: number;
377
- };
378
- } & {
379
- balances?: {
380
- denom?: string;
381
- amount?: string;
382
- }[] & ({
383
- denom?: string;
384
- amount?: string;
385
- } & {
386
- denom?: string;
387
- amount?: string;
388
- } & { [K_4 in Exclude<keyof I_1["balances"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I_1["balances"], keyof {
389
- denom?: string;
390
- amount?: string;
391
- }[]>]: never; };
392
- pagination?: {
393
- nextKey?: Uint8Array;
394
- total?: number;
395
- } & {
396
- nextKey?: Uint8Array;
397
- total?: number;
398
- } & { [K_6 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
399
- } & { [K_7 in Exclude<keyof I_1, keyof QueryAllBalancesResponse>]: never; }>(object: I_1): QueryAllBalancesResponse;
400
- };
401
- export declare const QuerySpendableBalancesRequest: {
402
- encode(message: QuerySpendableBalancesRequest, writer?: _m0.Writer): _m0.Writer;
403
- decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest;
404
- fromJSON(object: any): QuerySpendableBalancesRequest;
405
- toJSON(message: QuerySpendableBalancesRequest): unknown;
406
- create<I extends {
407
- address?: string;
408
- pagination?: {
409
- key?: Uint8Array;
410
- offset?: number;
411
- limit?: number;
412
- countTotal?: boolean;
413
- reverse?: boolean;
414
- };
415
- } & {
416
- address?: string;
417
- pagination?: {
418
- key?: Uint8Array;
419
- offset?: number;
420
- limit?: number;
421
- countTotal?: boolean;
422
- reverse?: boolean;
423
- } & {
424
- key?: Uint8Array;
425
- offset?: number;
426
- limit?: number;
427
- countTotal?: boolean;
428
- reverse?: boolean;
429
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
430
- } & { [K_1 in Exclude<keyof I, keyof QuerySpendableBalancesRequest>]: never; }>(base?: I): QuerySpendableBalancesRequest;
431
- fromPartial<I_1 extends {
432
- address?: string;
433
- pagination?: {
434
- key?: Uint8Array;
435
- offset?: number;
436
- limit?: number;
437
- countTotal?: boolean;
438
- reverse?: boolean;
439
- };
440
- } & {
441
- address?: string;
442
- pagination?: {
443
- key?: Uint8Array;
444
- offset?: number;
445
- limit?: number;
446
- countTotal?: boolean;
447
- reverse?: boolean;
448
- } & {
449
- key?: Uint8Array;
450
- offset?: number;
451
- limit?: number;
452
- countTotal?: boolean;
453
- reverse?: boolean;
454
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
455
- } & { [K_3 in Exclude<keyof I_1, keyof QuerySpendableBalancesRequest>]: never; }>(object: I_1): QuerySpendableBalancesRequest;
456
- };
457
- export declare const QuerySpendableBalancesResponse: {
458
- encode(message: QuerySpendableBalancesResponse, writer?: _m0.Writer): _m0.Writer;
459
- decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse;
460
- fromJSON(object: any): QuerySpendableBalancesResponse;
461
- toJSON(message: QuerySpendableBalancesResponse): unknown;
462
- create<I extends {
463
- balances?: {
464
- denom?: string;
465
- amount?: string;
466
- }[];
467
- pagination?: {
468
- nextKey?: Uint8Array;
469
- total?: number;
470
- };
471
- } & {
472
- balances?: {
473
- denom?: string;
474
- amount?: string;
475
- }[] & ({
476
- denom?: string;
477
- amount?: string;
478
- } & {
479
- denom?: string;
480
- amount?: string;
481
- } & { [K in Exclude<keyof I["balances"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["balances"], keyof {
482
- denom?: string;
483
- amount?: string;
484
- }[]>]: never; };
485
- pagination?: {
486
- nextKey?: Uint8Array;
487
- total?: number;
488
- } & {
489
- nextKey?: Uint8Array;
490
- total?: number;
491
- } & { [K_2 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
492
- } & { [K_3 in Exclude<keyof I, keyof QuerySpendableBalancesResponse>]: never; }>(base?: I): QuerySpendableBalancesResponse;
493
- fromPartial<I_1 extends {
494
- balances?: {
495
- denom?: string;
496
- amount?: string;
497
- }[];
498
- pagination?: {
499
- nextKey?: Uint8Array;
500
- total?: number;
501
- };
502
- } & {
503
- balances?: {
504
- denom?: string;
505
- amount?: string;
506
- }[] & ({
507
- denom?: string;
508
- amount?: string;
509
- } & {
510
- denom?: string;
511
- amount?: string;
512
- } & { [K_4 in Exclude<keyof I_1["balances"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I_1["balances"], keyof {
513
- denom?: string;
514
- amount?: string;
515
- }[]>]: never; };
516
- pagination?: {
517
- nextKey?: Uint8Array;
518
- total?: number;
519
- } & {
520
- nextKey?: Uint8Array;
521
- total?: number;
522
- } & { [K_6 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
523
- } & { [K_7 in Exclude<keyof I_1, keyof QuerySpendableBalancesResponse>]: never; }>(object: I_1): QuerySpendableBalancesResponse;
524
- };
525
- export declare const QuerySpendableBalanceByDenomRequest: {
526
- encode(message: QuerySpendableBalanceByDenomRequest, writer?: _m0.Writer): _m0.Writer;
527
- decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalanceByDenomRequest;
528
- fromJSON(object: any): QuerySpendableBalanceByDenomRequest;
529
- toJSON(message: QuerySpendableBalanceByDenomRequest): unknown;
530
- create<I extends {
531
- address?: string;
532
- denom?: string;
533
- } & {
534
- address?: string;
535
- denom?: string;
536
- } & { [K in Exclude<keyof I, keyof QuerySpendableBalanceByDenomRequest>]: never; }>(base?: I): QuerySpendableBalanceByDenomRequest;
537
- fromPartial<I_1 extends {
538
- address?: string;
539
- denom?: string;
540
- } & {
541
- address?: string;
542
- denom?: string;
543
- } & { [K_1 in Exclude<keyof I_1, keyof QuerySpendableBalanceByDenomRequest>]: never; }>(object: I_1): QuerySpendableBalanceByDenomRequest;
544
- };
545
- export declare const QuerySpendableBalanceByDenomResponse: {
546
- encode(message: QuerySpendableBalanceByDenomResponse, writer?: _m0.Writer): _m0.Writer;
547
- decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalanceByDenomResponse;
548
- fromJSON(object: any): QuerySpendableBalanceByDenomResponse;
549
- toJSON(message: QuerySpendableBalanceByDenomResponse): unknown;
550
- create<I extends {
551
- balance?: {
552
- denom?: string;
553
- amount?: string;
554
- };
555
- } & {
556
- balance?: {
557
- denom?: string;
558
- amount?: string;
559
- } & {
560
- denom?: string;
561
- amount?: string;
562
- } & { [K in Exclude<keyof I["balance"], keyof Coin>]: never; };
563
- } & { [K_1 in Exclude<keyof I, "balance">]: never; }>(base?: I): QuerySpendableBalanceByDenomResponse;
564
- fromPartial<I_1 extends {
565
- balance?: {
566
- denom?: string;
567
- amount?: string;
568
- };
569
- } & {
570
- balance?: {
571
- denom?: string;
572
- amount?: string;
573
- } & {
574
- denom?: string;
575
- amount?: string;
576
- } & { [K_2 in Exclude<keyof I_1["balance"], keyof Coin>]: never; };
577
- } & { [K_3 in Exclude<keyof I_1, "balance">]: never; }>(object: I_1): QuerySpendableBalanceByDenomResponse;
578
- };
579
- export declare const QueryTotalSupplyRequest: {
580
- encode(message: QueryTotalSupplyRequest, writer?: _m0.Writer): _m0.Writer;
581
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest;
582
- fromJSON(object: any): QueryTotalSupplyRequest;
583
- toJSON(message: QueryTotalSupplyRequest): unknown;
584
- create<I extends {
585
- pagination?: {
586
- key?: Uint8Array;
587
- offset?: number;
588
- limit?: number;
589
- countTotal?: boolean;
590
- reverse?: boolean;
591
- };
592
- } & {
593
- pagination?: {
594
- key?: Uint8Array;
595
- offset?: number;
596
- limit?: number;
597
- countTotal?: boolean;
598
- reverse?: boolean;
599
- } & {
600
- key?: Uint8Array;
601
- offset?: number;
602
- limit?: number;
603
- countTotal?: boolean;
604
- reverse?: boolean;
605
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
606
- } & { [K_1 in Exclude<keyof I, "pagination">]: never; }>(base?: I): QueryTotalSupplyRequest;
607
- fromPartial<I_1 extends {
608
- pagination?: {
609
- key?: Uint8Array;
610
- offset?: number;
611
- limit?: number;
612
- countTotal?: boolean;
613
- reverse?: boolean;
614
- };
615
- } & {
616
- pagination?: {
617
- key?: Uint8Array;
618
- offset?: number;
619
- limit?: number;
620
- countTotal?: boolean;
621
- reverse?: boolean;
622
- } & {
623
- key?: Uint8Array;
624
- offset?: number;
625
- limit?: number;
626
- countTotal?: boolean;
627
- reverse?: boolean;
628
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
629
- } & { [K_3 in Exclude<keyof I_1, "pagination">]: never; }>(object: I_1): QueryTotalSupplyRequest;
630
- };
631
- export declare const QueryTotalSupplyResponse: {
632
- encode(message: QueryTotalSupplyResponse, writer?: _m0.Writer): _m0.Writer;
633
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse;
634
- fromJSON(object: any): QueryTotalSupplyResponse;
635
- toJSON(message: QueryTotalSupplyResponse): unknown;
636
- create<I extends {
637
- supply?: {
638
- denom?: string;
639
- amount?: string;
640
- }[];
641
- pagination?: {
642
- nextKey?: Uint8Array;
643
- total?: number;
644
- };
645
- } & {
646
- supply?: {
647
- denom?: string;
648
- amount?: string;
649
- }[] & ({
650
- denom?: string;
651
- amount?: string;
652
- } & {
653
- denom?: string;
654
- amount?: string;
655
- } & { [K in Exclude<keyof I["supply"][number], keyof Coin>]: never; })[] & { [K_1 in Exclude<keyof I["supply"], keyof {
656
- denom?: string;
657
- amount?: string;
658
- }[]>]: never; };
659
- pagination?: {
660
- nextKey?: Uint8Array;
661
- total?: number;
662
- } & {
663
- nextKey?: Uint8Array;
664
- total?: number;
665
- } & { [K_2 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
666
- } & { [K_3 in Exclude<keyof I, keyof QueryTotalSupplyResponse>]: never; }>(base?: I): QueryTotalSupplyResponse;
667
- fromPartial<I_1 extends {
668
- supply?: {
669
- denom?: string;
670
- amount?: string;
671
- }[];
672
- pagination?: {
673
- nextKey?: Uint8Array;
674
- total?: number;
675
- };
676
- } & {
677
- supply?: {
678
- denom?: string;
679
- amount?: string;
680
- }[] & ({
681
- denom?: string;
682
- amount?: string;
683
- } & {
684
- denom?: string;
685
- amount?: string;
686
- } & { [K_4 in Exclude<keyof I_1["supply"][number], keyof Coin>]: never; })[] & { [K_5 in Exclude<keyof I_1["supply"], keyof {
687
- denom?: string;
688
- amount?: string;
689
- }[]>]: never; };
690
- pagination?: {
691
- nextKey?: Uint8Array;
692
- total?: number;
693
- } & {
694
- nextKey?: Uint8Array;
695
- total?: number;
696
- } & { [K_6 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
697
- } & { [K_7 in Exclude<keyof I_1, keyof QueryTotalSupplyResponse>]: never; }>(object: I_1): QueryTotalSupplyResponse;
698
- };
699
- export declare const QuerySupplyOfRequest: {
700
- encode(message: QuerySupplyOfRequest, writer?: _m0.Writer): _m0.Writer;
701
- decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest;
702
- fromJSON(object: any): QuerySupplyOfRequest;
703
- toJSON(message: QuerySupplyOfRequest): unknown;
704
- create<I extends {
705
- denom?: string;
706
- } & {
707
- denom?: string;
708
- } & { [K in Exclude<keyof I, "denom">]: never; }>(base?: I): QuerySupplyOfRequest;
709
- fromPartial<I_1 extends {
710
- denom?: string;
711
- } & {
712
- denom?: string;
713
- } & { [K_1 in Exclude<keyof I_1, "denom">]: never; }>(object: I_1): QuerySupplyOfRequest;
714
- };
715
- export declare const QuerySupplyOfResponse: {
716
- encode(message: QuerySupplyOfResponse, writer?: _m0.Writer): _m0.Writer;
717
- decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse;
718
- fromJSON(object: any): QuerySupplyOfResponse;
719
- toJSON(message: QuerySupplyOfResponse): unknown;
720
- create<I extends {
721
- amount?: {
722
- denom?: string;
723
- amount?: string;
724
- };
725
- } & {
726
- amount?: {
727
- denom?: string;
728
- amount?: string;
729
- } & {
730
- denom?: string;
731
- amount?: string;
732
- } & { [K in Exclude<keyof I["amount"], keyof Coin>]: never; };
733
- } & { [K_1 in Exclude<keyof I, "amount">]: never; }>(base?: I): QuerySupplyOfResponse;
734
- fromPartial<I_1 extends {
735
- amount?: {
736
- denom?: string;
737
- amount?: string;
738
- };
739
- } & {
740
- amount?: {
741
- denom?: string;
742
- amount?: string;
743
- } & {
744
- denom?: string;
745
- amount?: string;
746
- } & { [K_2 in Exclude<keyof I_1["amount"], keyof Coin>]: never; };
747
- } & { [K_3 in Exclude<keyof I_1, "amount">]: never; }>(object: I_1): QuerySupplyOfResponse;
748
- };
749
- export declare const QueryParamsRequest: {
750
- encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
751
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
752
- fromJSON(_: any): QueryParamsRequest;
753
- toJSON(_: QueryParamsRequest): unknown;
754
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): QueryParamsRequest;
755
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): QueryParamsRequest;
756
- };
757
- export declare const QueryParamsResponse: {
758
- encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer;
759
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse;
760
- fromJSON(object: any): QueryParamsResponse;
761
- toJSON(message: QueryParamsResponse): unknown;
762
- create<I extends {
763
- params?: {
764
- sendEnabled?: {
765
- denom?: string;
766
- enabled?: boolean;
767
- }[];
768
- defaultSendEnabled?: boolean;
769
- };
770
- } & {
771
- params?: {
772
- sendEnabled?: {
773
- denom?: string;
774
- enabled?: boolean;
775
- }[];
776
- defaultSendEnabled?: boolean;
777
- } & {
778
- sendEnabled?: {
779
- denom?: string;
780
- enabled?: boolean;
781
- }[] & ({
782
- denom?: string;
783
- enabled?: boolean;
784
- } & {
785
- denom?: string;
786
- enabled?: boolean;
787
- } & { [K in Exclude<keyof I["params"]["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["params"]["sendEnabled"], keyof {
788
- denom?: string;
789
- enabled?: boolean;
790
- }[]>]: never; };
791
- defaultSendEnabled?: boolean;
792
- } & { [K_2 in Exclude<keyof I["params"], keyof Params>]: never; };
793
- } & { [K_3 in Exclude<keyof I, "params">]: never; }>(base?: I): QueryParamsResponse;
794
- fromPartial<I_1 extends {
795
- params?: {
796
- sendEnabled?: {
797
- denom?: string;
798
- enabled?: boolean;
799
- }[];
800
- defaultSendEnabled?: boolean;
801
- };
802
- } & {
803
- params?: {
804
- sendEnabled?: {
805
- denom?: string;
806
- enabled?: boolean;
807
- }[];
808
- defaultSendEnabled?: boolean;
809
- } & {
810
- sendEnabled?: {
811
- denom?: string;
812
- enabled?: boolean;
813
- }[] & ({
814
- denom?: string;
815
- enabled?: boolean;
816
- } & {
817
- denom?: string;
818
- enabled?: boolean;
819
- } & { [K_4 in Exclude<keyof I_1["params"]["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_5 in Exclude<keyof I_1["params"]["sendEnabled"], keyof {
820
- denom?: string;
821
- enabled?: boolean;
822
- }[]>]: never; };
823
- defaultSendEnabled?: boolean;
824
- } & { [K_6 in Exclude<keyof I_1["params"], keyof Params>]: never; };
825
- } & { [K_7 in Exclude<keyof I_1, "params">]: never; }>(object: I_1): QueryParamsResponse;
826
- };
827
- export declare const QueryDenomsMetadataRequest: {
828
- encode(message: QueryDenomsMetadataRequest, writer?: _m0.Writer): _m0.Writer;
829
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest;
830
- fromJSON(object: any): QueryDenomsMetadataRequest;
831
- toJSON(message: QueryDenomsMetadataRequest): unknown;
832
- create<I extends {
833
- pagination?: {
834
- key?: Uint8Array;
835
- offset?: number;
836
- limit?: number;
837
- countTotal?: boolean;
838
- reverse?: boolean;
839
- };
840
- } & {
841
- pagination?: {
842
- key?: Uint8Array;
843
- offset?: number;
844
- limit?: number;
845
- countTotal?: boolean;
846
- reverse?: boolean;
847
- } & {
848
- key?: Uint8Array;
849
- offset?: number;
850
- limit?: number;
851
- countTotal?: boolean;
852
- reverse?: boolean;
853
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
854
- } & { [K_1 in Exclude<keyof I, "pagination">]: never; }>(base?: I): QueryDenomsMetadataRequest;
855
- fromPartial<I_1 extends {
856
- pagination?: {
857
- key?: Uint8Array;
858
- offset?: number;
859
- limit?: number;
860
- countTotal?: boolean;
861
- reverse?: boolean;
862
- };
863
- } & {
864
- pagination?: {
865
- key?: Uint8Array;
866
- offset?: number;
867
- limit?: number;
868
- countTotal?: boolean;
869
- reverse?: boolean;
870
- } & {
871
- key?: Uint8Array;
872
- offset?: number;
873
- limit?: number;
874
- countTotal?: boolean;
875
- reverse?: boolean;
876
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
877
- } & { [K_3 in Exclude<keyof I_1, "pagination">]: never; }>(object: I_1): QueryDenomsMetadataRequest;
878
- };
879
- export declare const QueryDenomsMetadataResponse: {
880
- encode(message: QueryDenomsMetadataResponse, writer?: _m0.Writer): _m0.Writer;
881
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse;
882
- fromJSON(object: any): QueryDenomsMetadataResponse;
883
- toJSON(message: QueryDenomsMetadataResponse): unknown;
884
- create<I extends {
885
- metadatas?: {
886
- description?: string;
887
- denomUnits?: {
888
- denom?: string;
889
- exponent?: number;
890
- aliases?: string[];
891
- }[];
892
- base?: string;
893
- display?: string;
894
- name?: string;
895
- symbol?: string;
896
- uri?: string;
897
- uriHash?: string;
898
- }[];
899
- pagination?: {
900
- nextKey?: Uint8Array;
901
- total?: number;
902
- };
903
- } & {
904
- metadatas?: {
905
- description?: string;
906
- denomUnits?: {
907
- denom?: string;
908
- exponent?: number;
909
- aliases?: string[];
910
- }[];
911
- base?: string;
912
- display?: string;
913
- name?: string;
914
- symbol?: string;
915
- uri?: string;
916
- uriHash?: string;
917
- }[] & ({
918
- description?: string;
919
- denomUnits?: {
920
- denom?: string;
921
- exponent?: number;
922
- aliases?: string[];
923
- }[];
924
- base?: string;
925
- display?: string;
926
- name?: string;
927
- symbol?: string;
928
- uri?: string;
929
- uriHash?: string;
930
- } & {
931
- description?: string;
932
- denomUnits?: {
933
- denom?: string;
934
- exponent?: number;
935
- aliases?: string[];
936
- }[] & ({
937
- denom?: string;
938
- exponent?: number;
939
- aliases?: string[];
940
- } & {
941
- denom?: string;
942
- exponent?: number;
943
- aliases?: string[] & string[] & { [K in Exclude<keyof I["metadatas"][number]["denomUnits"][number]["aliases"], keyof string[]>]: never; };
944
- } & { [K_1 in Exclude<keyof I["metadatas"][number]["denomUnits"][number], keyof import("./bank").DenomUnit>]: never; })[] & { [K_2 in Exclude<keyof I["metadatas"][number]["denomUnits"], keyof {
945
- denom?: string;
946
- exponent?: number;
947
- aliases?: string[];
948
- }[]>]: never; };
949
- base?: string;
950
- display?: string;
951
- name?: string;
952
- symbol?: string;
953
- uri?: string;
954
- uriHash?: string;
955
- } & { [K_3 in Exclude<keyof I["metadatas"][number], keyof Metadata>]: never; })[] & { [K_4 in Exclude<keyof I["metadatas"], keyof {
956
- description?: string;
957
- denomUnits?: {
958
- denom?: string;
959
- exponent?: number;
960
- aliases?: string[];
961
- }[];
962
- base?: string;
963
- display?: string;
964
- name?: string;
965
- symbol?: string;
966
- uri?: string;
967
- uriHash?: string;
968
- }[]>]: never; };
969
- pagination?: {
970
- nextKey?: Uint8Array;
971
- total?: number;
972
- } & {
973
- nextKey?: Uint8Array;
974
- total?: number;
975
- } & { [K_5 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
976
- } & { [K_6 in Exclude<keyof I, keyof QueryDenomsMetadataResponse>]: never; }>(base?: I): QueryDenomsMetadataResponse;
977
- fromPartial<I_1 extends {
978
- metadatas?: {
979
- description?: string;
980
- denomUnits?: {
981
- denom?: string;
982
- exponent?: number;
983
- aliases?: string[];
984
- }[];
985
- base?: string;
986
- display?: string;
987
- name?: string;
988
- symbol?: string;
989
- uri?: string;
990
- uriHash?: string;
991
- }[];
992
- pagination?: {
993
- nextKey?: Uint8Array;
994
- total?: number;
995
- };
996
- } & {
997
- metadatas?: {
998
- description?: string;
999
- denomUnits?: {
1000
- denom?: string;
1001
- exponent?: number;
1002
- aliases?: string[];
1003
- }[];
1004
- base?: string;
1005
- display?: string;
1006
- name?: string;
1007
- symbol?: string;
1008
- uri?: string;
1009
- uriHash?: string;
1010
- }[] & ({
1011
- description?: string;
1012
- denomUnits?: {
1013
- denom?: string;
1014
- exponent?: number;
1015
- aliases?: string[];
1016
- }[];
1017
- base?: string;
1018
- display?: string;
1019
- name?: string;
1020
- symbol?: string;
1021
- uri?: string;
1022
- uriHash?: string;
1023
- } & {
1024
- description?: string;
1025
- denomUnits?: {
1026
- denom?: string;
1027
- exponent?: number;
1028
- aliases?: string[];
1029
- }[] & ({
1030
- denom?: string;
1031
- exponent?: number;
1032
- aliases?: string[];
1033
- } & {
1034
- denom?: string;
1035
- exponent?: number;
1036
- aliases?: string[] & string[] & { [K_7 in Exclude<keyof I_1["metadatas"][number]["denomUnits"][number]["aliases"], keyof string[]>]: never; };
1037
- } & { [K_8 in Exclude<keyof I_1["metadatas"][number]["denomUnits"][number], keyof import("./bank").DenomUnit>]: never; })[] & { [K_9 in Exclude<keyof I_1["metadatas"][number]["denomUnits"], keyof {
1038
- denom?: string;
1039
- exponent?: number;
1040
- aliases?: string[];
1041
- }[]>]: never; };
1042
- base?: string;
1043
- display?: string;
1044
- name?: string;
1045
- symbol?: string;
1046
- uri?: string;
1047
- uriHash?: string;
1048
- } & { [K_10 in Exclude<keyof I_1["metadatas"][number], keyof Metadata>]: never; })[] & { [K_11 in Exclude<keyof I_1["metadatas"], keyof {
1049
- description?: string;
1050
- denomUnits?: {
1051
- denom?: string;
1052
- exponent?: number;
1053
- aliases?: string[];
1054
- }[];
1055
- base?: string;
1056
- display?: string;
1057
- name?: string;
1058
- symbol?: string;
1059
- uri?: string;
1060
- uriHash?: string;
1061
- }[]>]: never; };
1062
- pagination?: {
1063
- nextKey?: Uint8Array;
1064
- total?: number;
1065
- } & {
1066
- nextKey?: Uint8Array;
1067
- total?: number;
1068
- } & { [K_12 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
1069
- } & { [K_13 in Exclude<keyof I_1, keyof QueryDenomsMetadataResponse>]: never; }>(object: I_1): QueryDenomsMetadataResponse;
1070
- };
1071
- export declare const QueryDenomMetadataRequest: {
1072
- encode(message: QueryDenomMetadataRequest, writer?: _m0.Writer): _m0.Writer;
1073
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest;
1074
- fromJSON(object: any): QueryDenomMetadataRequest;
1075
- toJSON(message: QueryDenomMetadataRequest): unknown;
1076
- create<I extends {
1077
- denom?: string;
1078
- } & {
1079
- denom?: string;
1080
- } & { [K in Exclude<keyof I, "denom">]: never; }>(base?: I): QueryDenomMetadataRequest;
1081
- fromPartial<I_1 extends {
1082
- denom?: string;
1083
- } & {
1084
- denom?: string;
1085
- } & { [K_1 in Exclude<keyof I_1, "denom">]: never; }>(object: I_1): QueryDenomMetadataRequest;
1086
- };
1087
- export declare const QueryDenomMetadataResponse: {
1088
- encode(message: QueryDenomMetadataResponse, writer?: _m0.Writer): _m0.Writer;
1089
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse;
1090
- fromJSON(object: any): QueryDenomMetadataResponse;
1091
- toJSON(message: QueryDenomMetadataResponse): unknown;
1092
- create<I extends {
1093
- metadata?: {
1094
- description?: string;
1095
- denomUnits?: {
1096
- denom?: string;
1097
- exponent?: number;
1098
- aliases?: string[];
1099
- }[];
1100
- base?: string;
1101
- display?: string;
1102
- name?: string;
1103
- symbol?: string;
1104
- uri?: string;
1105
- uriHash?: string;
1106
- };
1107
- } & {
1108
- metadata?: {
1109
- description?: string;
1110
- denomUnits?: {
1111
- denom?: string;
1112
- exponent?: number;
1113
- aliases?: string[];
1114
- }[];
1115
- base?: string;
1116
- display?: string;
1117
- name?: string;
1118
- symbol?: string;
1119
- uri?: string;
1120
- uriHash?: string;
1121
- } & {
1122
- description?: string;
1123
- denomUnits?: {
1124
- denom?: string;
1125
- exponent?: number;
1126
- aliases?: string[];
1127
- }[] & ({
1128
- denom?: string;
1129
- exponent?: number;
1130
- aliases?: string[];
1131
- } & {
1132
- denom?: string;
1133
- exponent?: number;
1134
- aliases?: string[] & string[] & { [K in Exclude<keyof I["metadata"]["denomUnits"][number]["aliases"], keyof string[]>]: never; };
1135
- } & { [K_1 in Exclude<keyof I["metadata"]["denomUnits"][number], keyof import("./bank").DenomUnit>]: never; })[] & { [K_2 in Exclude<keyof I["metadata"]["denomUnits"], keyof {
1136
- denom?: string;
1137
- exponent?: number;
1138
- aliases?: string[];
1139
- }[]>]: never; };
1140
- base?: string;
1141
- display?: string;
1142
- name?: string;
1143
- symbol?: string;
1144
- uri?: string;
1145
- uriHash?: string;
1146
- } & { [K_3 in Exclude<keyof I["metadata"], keyof Metadata>]: never; };
1147
- } & { [K_4 in Exclude<keyof I, "metadata">]: never; }>(base?: I): QueryDenomMetadataResponse;
1148
- fromPartial<I_1 extends {
1149
- metadata?: {
1150
- description?: string;
1151
- denomUnits?: {
1152
- denom?: string;
1153
- exponent?: number;
1154
- aliases?: string[];
1155
- }[];
1156
- base?: string;
1157
- display?: string;
1158
- name?: string;
1159
- symbol?: string;
1160
- uri?: string;
1161
- uriHash?: string;
1162
- };
1163
- } & {
1164
- metadata?: {
1165
- description?: string;
1166
- denomUnits?: {
1167
- denom?: string;
1168
- exponent?: number;
1169
- aliases?: string[];
1170
- }[];
1171
- base?: string;
1172
- display?: string;
1173
- name?: string;
1174
- symbol?: string;
1175
- uri?: string;
1176
- uriHash?: string;
1177
- } & {
1178
- description?: string;
1179
- denomUnits?: {
1180
- denom?: string;
1181
- exponent?: number;
1182
- aliases?: string[];
1183
- }[] & ({
1184
- denom?: string;
1185
- exponent?: number;
1186
- aliases?: string[];
1187
- } & {
1188
- denom?: string;
1189
- exponent?: number;
1190
- aliases?: string[] & string[] & { [K_5 in Exclude<keyof I_1["metadata"]["denomUnits"][number]["aliases"], keyof string[]>]: never; };
1191
- } & { [K_6 in Exclude<keyof I_1["metadata"]["denomUnits"][number], keyof import("./bank").DenomUnit>]: never; })[] & { [K_7 in Exclude<keyof I_1["metadata"]["denomUnits"], keyof {
1192
- denom?: string;
1193
- exponent?: number;
1194
- aliases?: string[];
1195
- }[]>]: never; };
1196
- base?: string;
1197
- display?: string;
1198
- name?: string;
1199
- symbol?: string;
1200
- uri?: string;
1201
- uriHash?: string;
1202
- } & { [K_8 in Exclude<keyof I_1["metadata"], keyof Metadata>]: never; };
1203
- } & { [K_9 in Exclude<keyof I_1, "metadata">]: never; }>(object: I_1): QueryDenomMetadataResponse;
1204
- };
1205
- export declare const QueryDenomOwnersRequest: {
1206
- encode(message: QueryDenomOwnersRequest, writer?: _m0.Writer): _m0.Writer;
1207
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest;
1208
- fromJSON(object: any): QueryDenomOwnersRequest;
1209
- toJSON(message: QueryDenomOwnersRequest): unknown;
1210
- create<I extends {
1211
- denom?: string;
1212
- pagination?: {
1213
- key?: Uint8Array;
1214
- offset?: number;
1215
- limit?: number;
1216
- countTotal?: boolean;
1217
- reverse?: boolean;
1218
- };
1219
- } & {
1220
- denom?: string;
1221
- pagination?: {
1222
- key?: Uint8Array;
1223
- offset?: number;
1224
- limit?: number;
1225
- countTotal?: boolean;
1226
- reverse?: boolean;
1227
- } & {
1228
- key?: Uint8Array;
1229
- offset?: number;
1230
- limit?: number;
1231
- countTotal?: boolean;
1232
- reverse?: boolean;
1233
- } & { [K in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
1234
- } & { [K_1 in Exclude<keyof I, keyof QueryDenomOwnersRequest>]: never; }>(base?: I): QueryDenomOwnersRequest;
1235
- fromPartial<I_1 extends {
1236
- denom?: string;
1237
- pagination?: {
1238
- key?: Uint8Array;
1239
- offset?: number;
1240
- limit?: number;
1241
- countTotal?: boolean;
1242
- reverse?: boolean;
1243
- };
1244
- } & {
1245
- denom?: string;
1246
- pagination?: {
1247
- key?: Uint8Array;
1248
- offset?: number;
1249
- limit?: number;
1250
- countTotal?: boolean;
1251
- reverse?: boolean;
1252
- } & {
1253
- key?: Uint8Array;
1254
- offset?: number;
1255
- limit?: number;
1256
- countTotal?: boolean;
1257
- reverse?: boolean;
1258
- } & { [K_2 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
1259
- } & { [K_3 in Exclude<keyof I_1, keyof QueryDenomOwnersRequest>]: never; }>(object: I_1): QueryDenomOwnersRequest;
1260
- };
1261
- export declare const DenomOwner: {
1262
- encode(message: DenomOwner, writer?: _m0.Writer): _m0.Writer;
1263
- decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner;
1264
- fromJSON(object: any): DenomOwner;
1265
- toJSON(message: DenomOwner): unknown;
1266
- create<I extends {
1267
- address?: string;
1268
- balance?: {
1269
- denom?: string;
1270
- amount?: string;
1271
- };
1272
- } & {
1273
- address?: string;
1274
- balance?: {
1275
- denom?: string;
1276
- amount?: string;
1277
- } & {
1278
- denom?: string;
1279
- amount?: string;
1280
- } & { [K in Exclude<keyof I["balance"], keyof Coin>]: never; };
1281
- } & { [K_1 in Exclude<keyof I, keyof DenomOwner>]: never; }>(base?: I): DenomOwner;
1282
- fromPartial<I_1 extends {
1283
- address?: string;
1284
- balance?: {
1285
- denom?: string;
1286
- amount?: string;
1287
- };
1288
- } & {
1289
- address?: string;
1290
- balance?: {
1291
- denom?: string;
1292
- amount?: string;
1293
- } & {
1294
- denom?: string;
1295
- amount?: string;
1296
- } & { [K_2 in Exclude<keyof I_1["balance"], keyof Coin>]: never; };
1297
- } & { [K_3 in Exclude<keyof I_1, keyof DenomOwner>]: never; }>(object: I_1): DenomOwner;
1298
- };
1299
- export declare const QueryDenomOwnersResponse: {
1300
- encode(message: QueryDenomOwnersResponse, writer?: _m0.Writer): _m0.Writer;
1301
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse;
1302
- fromJSON(object: any): QueryDenomOwnersResponse;
1303
- toJSON(message: QueryDenomOwnersResponse): unknown;
1304
- create<I extends {
1305
- denomOwners?: {
1306
- address?: string;
1307
- balance?: {
1308
- denom?: string;
1309
- amount?: string;
1310
- };
1311
- }[];
1312
- pagination?: {
1313
- nextKey?: Uint8Array;
1314
- total?: number;
1315
- };
1316
- } & {
1317
- denomOwners?: {
1318
- address?: string;
1319
- balance?: {
1320
- denom?: string;
1321
- amount?: string;
1322
- };
1323
- }[] & ({
1324
- address?: string;
1325
- balance?: {
1326
- denom?: string;
1327
- amount?: string;
1328
- };
1329
- } & {
1330
- address?: string;
1331
- balance?: {
1332
- denom?: string;
1333
- amount?: string;
1334
- } & {
1335
- denom?: string;
1336
- amount?: string;
1337
- } & { [K in Exclude<keyof I["denomOwners"][number]["balance"], keyof Coin>]: never; };
1338
- } & { [K_1 in Exclude<keyof I["denomOwners"][number], keyof DenomOwner>]: never; })[] & { [K_2 in Exclude<keyof I["denomOwners"], keyof {
1339
- address?: string;
1340
- balance?: {
1341
- denom?: string;
1342
- amount?: string;
1343
- };
1344
- }[]>]: never; };
1345
- pagination?: {
1346
- nextKey?: Uint8Array;
1347
- total?: number;
1348
- } & {
1349
- nextKey?: Uint8Array;
1350
- total?: number;
1351
- } & { [K_3 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
1352
- } & { [K_4 in Exclude<keyof I, keyof QueryDenomOwnersResponse>]: never; }>(base?: I): QueryDenomOwnersResponse;
1353
- fromPartial<I_1 extends {
1354
- denomOwners?: {
1355
- address?: string;
1356
- balance?: {
1357
- denom?: string;
1358
- amount?: string;
1359
- };
1360
- }[];
1361
- pagination?: {
1362
- nextKey?: Uint8Array;
1363
- total?: number;
1364
- };
1365
- } & {
1366
- denomOwners?: {
1367
- address?: string;
1368
- balance?: {
1369
- denom?: string;
1370
- amount?: string;
1371
- };
1372
- }[] & ({
1373
- address?: string;
1374
- balance?: {
1375
- denom?: string;
1376
- amount?: string;
1377
- };
1378
- } & {
1379
- address?: string;
1380
- balance?: {
1381
- denom?: string;
1382
- amount?: string;
1383
- } & {
1384
- denom?: string;
1385
- amount?: string;
1386
- } & { [K_5 in Exclude<keyof I_1["denomOwners"][number]["balance"], keyof Coin>]: never; };
1387
- } & { [K_6 in Exclude<keyof I_1["denomOwners"][number], keyof DenomOwner>]: never; })[] & { [K_7 in Exclude<keyof I_1["denomOwners"], keyof {
1388
- address?: string;
1389
- balance?: {
1390
- denom?: string;
1391
- amount?: string;
1392
- };
1393
- }[]>]: never; };
1394
- pagination?: {
1395
- nextKey?: Uint8Array;
1396
- total?: number;
1397
- } & {
1398
- nextKey?: Uint8Array;
1399
- total?: number;
1400
- } & { [K_8 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
1401
- } & { [K_9 in Exclude<keyof I_1, keyof QueryDenomOwnersResponse>]: never; }>(object: I_1): QueryDenomOwnersResponse;
1402
- };
1403
- export declare const QuerySendEnabledRequest: {
1404
- encode(message: QuerySendEnabledRequest, writer?: _m0.Writer): _m0.Writer;
1405
- decode(input: _m0.Reader | Uint8Array, length?: number): QuerySendEnabledRequest;
1406
- fromJSON(object: any): QuerySendEnabledRequest;
1407
- toJSON(message: QuerySendEnabledRequest): unknown;
1408
- create<I extends {
1409
- denoms?: string[];
1410
- pagination?: {
1411
- key?: Uint8Array;
1412
- offset?: number;
1413
- limit?: number;
1414
- countTotal?: boolean;
1415
- reverse?: boolean;
1416
- };
1417
- } & {
1418
- denoms?: string[] & string[] & { [K in Exclude<keyof I["denoms"], keyof string[]>]: never; };
1419
- pagination?: {
1420
- key?: Uint8Array;
1421
- offset?: number;
1422
- limit?: number;
1423
- countTotal?: boolean;
1424
- reverse?: boolean;
1425
- } & {
1426
- key?: Uint8Array;
1427
- offset?: number;
1428
- limit?: number;
1429
- countTotal?: boolean;
1430
- reverse?: boolean;
1431
- } & { [K_1 in Exclude<keyof I["pagination"], keyof PageRequest>]: never; };
1432
- } & { [K_2 in Exclude<keyof I, keyof QuerySendEnabledRequest>]: never; }>(base?: I): QuerySendEnabledRequest;
1433
- fromPartial<I_1 extends {
1434
- denoms?: string[];
1435
- pagination?: {
1436
- key?: Uint8Array;
1437
- offset?: number;
1438
- limit?: number;
1439
- countTotal?: boolean;
1440
- reverse?: boolean;
1441
- };
1442
- } & {
1443
- denoms?: string[] & string[] & { [K_3 in Exclude<keyof I_1["denoms"], keyof string[]>]: never; };
1444
- pagination?: {
1445
- key?: Uint8Array;
1446
- offset?: number;
1447
- limit?: number;
1448
- countTotal?: boolean;
1449
- reverse?: boolean;
1450
- } & {
1451
- key?: Uint8Array;
1452
- offset?: number;
1453
- limit?: number;
1454
- countTotal?: boolean;
1455
- reverse?: boolean;
1456
- } & { [K_4 in Exclude<keyof I_1["pagination"], keyof PageRequest>]: never; };
1457
- } & { [K_5 in Exclude<keyof I_1, keyof QuerySendEnabledRequest>]: never; }>(object: I_1): QuerySendEnabledRequest;
1458
- };
1459
- export declare const QuerySendEnabledResponse: {
1460
- encode(message: QuerySendEnabledResponse, writer?: _m0.Writer): _m0.Writer;
1461
- decode(input: _m0.Reader | Uint8Array, length?: number): QuerySendEnabledResponse;
1462
- fromJSON(object: any): QuerySendEnabledResponse;
1463
- toJSON(message: QuerySendEnabledResponse): unknown;
1464
- create<I extends {
1465
- sendEnabled?: {
1466
- denom?: string;
1467
- enabled?: boolean;
1468
- }[];
1469
- pagination?: {
1470
- nextKey?: Uint8Array;
1471
- total?: number;
1472
- };
1473
- } & {
1474
- sendEnabled?: {
1475
- denom?: string;
1476
- enabled?: boolean;
1477
- }[] & ({
1478
- denom?: string;
1479
- enabled?: boolean;
1480
- } & {
1481
- denom?: string;
1482
- enabled?: boolean;
1483
- } & { [K in Exclude<keyof I["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_1 in Exclude<keyof I["sendEnabled"], keyof {
1484
- denom?: string;
1485
- enabled?: boolean;
1486
- }[]>]: never; };
1487
- pagination?: {
1488
- nextKey?: Uint8Array;
1489
- total?: number;
1490
- } & {
1491
- nextKey?: Uint8Array;
1492
- total?: number;
1493
- } & { [K_2 in Exclude<keyof I["pagination"], keyof PageResponse>]: never; };
1494
- } & { [K_3 in Exclude<keyof I, keyof QuerySendEnabledResponse>]: never; }>(base?: I): QuerySendEnabledResponse;
1495
- fromPartial<I_1 extends {
1496
- sendEnabled?: {
1497
- denom?: string;
1498
- enabled?: boolean;
1499
- }[];
1500
- pagination?: {
1501
- nextKey?: Uint8Array;
1502
- total?: number;
1503
- };
1504
- } & {
1505
- sendEnabled?: {
1506
- denom?: string;
1507
- enabled?: boolean;
1508
- }[] & ({
1509
- denom?: string;
1510
- enabled?: boolean;
1511
- } & {
1512
- denom?: string;
1513
- enabled?: boolean;
1514
- } & { [K_4 in Exclude<keyof I_1["sendEnabled"][number], keyof SendEnabled>]: never; })[] & { [K_5 in Exclude<keyof I_1["sendEnabled"], keyof {
1515
- denom?: string;
1516
- enabled?: boolean;
1517
- }[]>]: never; };
1518
- pagination?: {
1519
- nextKey?: Uint8Array;
1520
- total?: number;
1521
- } & {
1522
- nextKey?: Uint8Array;
1523
- total?: number;
1524
- } & { [K_6 in Exclude<keyof I_1["pagination"], keyof PageResponse>]: never; };
1525
- } & { [K_7 in Exclude<keyof I_1, keyof QuerySendEnabledResponse>]: never; }>(object: I_1): QuerySendEnabledResponse;
1526
- };
1527
- /** Query defines the gRPC querier service. */
1528
- export interface Query {
1529
- /** Balance queries the balance of a single coin for a single account. */
1530
- Balance(request: QueryBalanceRequest): Promise<QueryBalanceResponse>;
1531
- /**
1532
- * AllBalances queries the balance of all coins for a single account.
1533
- *
1534
- * When called from another module, this query might consume a high amount of
1535
- * gas if the pagination field is incorrectly set.
1536
- */
1537
- AllBalances(request: QueryAllBalancesRequest): Promise<QueryAllBalancesResponse>;
1538
- /**
1539
- * SpendableBalances queries the spendable balance of all coins for a single
1540
- * account.
1541
- *
1542
- * When called from another module, this query might consume a high amount of
1543
- * gas if the pagination field is incorrectly set.
1544
- *
1545
- * Since: cosmos-sdk 0.46
1546
- */
1547
- SpendableBalances(request: QuerySpendableBalancesRequest): Promise<QuerySpendableBalancesResponse>;
1548
- /**
1549
- * SpendableBalanceByDenom queries the spendable balance of a single denom for
1550
- * a single account.
1551
- *
1552
- * When called from another module, this query might consume a high amount of
1553
- * gas if the pagination field is incorrectly set.
1554
- *
1555
- * Since: cosmos-sdk 0.47
1556
- */
1557
- SpendableBalanceByDenom(request: QuerySpendableBalanceByDenomRequest): Promise<QuerySpendableBalanceByDenomResponse>;
1558
- /**
1559
- * TotalSupply queries the total supply of all coins.
1560
- *
1561
- * When called from another module, this query might consume a high amount of
1562
- * gas if the pagination field is incorrectly set.
1563
- */
1564
- TotalSupply(request: QueryTotalSupplyRequest): Promise<QueryTotalSupplyResponse>;
1565
- /**
1566
- * SupplyOf queries the supply of a single coin.
1567
- *
1568
- * When called from another module, this query might consume a high amount of
1569
- * gas if the pagination field is incorrectly set.
1570
- */
1571
- SupplyOf(request: QuerySupplyOfRequest): Promise<QuerySupplyOfResponse>;
1572
- /** Params queries the parameters of x/bank module. */
1573
- Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
1574
- /** DenomsMetadata queries the client metadata of a given coin denomination. */
1575
- DenomMetadata(request: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponse>;
1576
- /**
1577
- * DenomsMetadata queries the client metadata for all registered coin
1578
- * denominations.
1579
- */
1580
- DenomsMetadata(request: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponse>;
1581
- /**
1582
- * DenomOwners queries for all account addresses that own a particular token
1583
- * denomination.
1584
- *
1585
- * When called from another module, this query might consume a high amount of
1586
- * gas if the pagination field is incorrectly set.
1587
- *
1588
- * Since: cosmos-sdk 0.46
1589
- */
1590
- DenomOwners(request: QueryDenomOwnersRequest): Promise<QueryDenomOwnersResponse>;
1591
- /**
1592
- * SendEnabled queries for SendEnabled entries.
1593
- *
1594
- * This query only returns denominations that have specific SendEnabled settings.
1595
- * Any denomination that does not have a specific setting will use the default
1596
- * params.default_send_enabled, and will not be returned by this query.
1597
- *
1598
- * Since: cosmos-sdk 0.47
1599
- */
1600
- SendEnabled(request: QuerySendEnabledRequest): Promise<QuerySendEnabledResponse>;
1601
- }
1602
- export declare class QueryClientImpl implements Query {
1603
- private readonly rpc;
1604
- private readonly service;
1605
- constructor(rpc: Rpc, opts?: {
1606
- service?: string;
1607
- });
1608
- Balance(request: QueryBalanceRequest): Promise<QueryBalanceResponse>;
1609
- AllBalances(request: QueryAllBalancesRequest): Promise<QueryAllBalancesResponse>;
1610
- SpendableBalances(request: QuerySpendableBalancesRequest): Promise<QuerySpendableBalancesResponse>;
1611
- SpendableBalanceByDenom(request: QuerySpendableBalanceByDenomRequest): Promise<QuerySpendableBalanceByDenomResponse>;
1612
- TotalSupply(request: QueryTotalSupplyRequest): Promise<QueryTotalSupplyResponse>;
1613
- SupplyOf(request: QuerySupplyOfRequest): Promise<QuerySupplyOfResponse>;
1614
- Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
1615
- DenomMetadata(request: QueryDenomMetadataRequest): Promise<QueryDenomMetadataResponse>;
1616
- DenomsMetadata(request: QueryDenomsMetadataRequest): Promise<QueryDenomsMetadataResponse>;
1617
- DenomOwners(request: QueryDenomOwnersRequest): Promise<QueryDenomOwnersResponse>;
1618
- SendEnabled(request: QuerySendEnabledRequest): Promise<QuerySendEnabledResponse>;
1619
- }
1620
- interface Rpc {
1621
- request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
1622
- }
1623
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1624
- 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 {} ? {
1625
- [K in keyof T]?: DeepPartial<T[K]>;
1626
- } : Partial<T>;
1627
- type KeysOfUnion<T> = T extends T ? keyof T : never;
1628
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
1629
- [K in keyof P]: Exact<P[K], I[K]>;
1630
- } & {
1631
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
1632
- };
1633
- export {};