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,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination";
4
+ import { PageRequest, PageResponse, } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
5
5
  import { Class } from "./nft";
6
6
  import { Params } from "./params";
7
7
  export const protobufPackage = "coreum.asset.nft.v1";
@@ -74,11 +74,14 @@ export const QueryParamsResponse = {
74
74
  return message;
75
75
  },
76
76
  fromJSON(object) {
77
- return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };
77
+ return {
78
+ params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
79
+ };
78
80
  },
79
81
  toJSON(message) {
80
82
  const obj = {};
81
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
83
+ message.params !== undefined &&
84
+ (obj.params = message.params ? Params.toJSON(message.params) : undefined);
82
85
  return obj;
83
86
  },
84
87
  create(base) {
@@ -86,9 +89,10 @@ export const QueryParamsResponse = {
86
89
  },
87
90
  fromPartial(object) {
88
91
  const message = createBaseQueryParamsResponse();
89
- message.params = (object.params !== undefined && object.params !== null)
90
- ? Params.fromPartial(object.params)
91
- : undefined;
92
+ message.params =
93
+ object.params !== undefined && object.params !== null
94
+ ? Params.fromPartial(object.params)
95
+ : undefined;
92
96
  return message;
93
97
  },
94
98
  };
@@ -172,11 +176,14 @@ export const QueryClassResponse = {
172
176
  return message;
173
177
  },
174
178
  fromJSON(object) {
175
- return { class: isSet(object.class) ? Class.fromJSON(object.class) : undefined };
179
+ return {
180
+ class: isSet(object.class) ? Class.fromJSON(object.class) : undefined,
181
+ };
176
182
  },
177
183
  toJSON(message) {
178
184
  const obj = {};
179
- message.class !== undefined && (obj.class = message.class ? Class.toJSON(message.class) : undefined);
185
+ message.class !== undefined &&
186
+ (obj.class = message.class ? Class.toJSON(message.class) : undefined);
180
187
  return obj;
181
188
  },
182
189
  create(base) {
@@ -184,7 +191,10 @@ export const QueryClassResponse = {
184
191
  },
185
192
  fromPartial(object) {
186
193
  const message = createBaseQueryClassResponse();
187
- message.class = (object.class !== undefined && object.class !== null) ? Class.fromPartial(object.class) : undefined;
194
+ message.class =
195
+ object.class !== undefined && object.class !== null
196
+ ? Class.fromPartial(object.class)
197
+ : undefined;
188
198
  return message;
189
199
  },
190
200
  };
@@ -404,11 +414,16 @@ export const QueryWhitelistedResponse = {
404
414
  return message;
405
415
  },
406
416
  fromJSON(object) {
407
- return { whitelisted: isSet(object.whitelisted) ? Boolean(object.whitelisted) : false };
417
+ return {
418
+ whitelisted: isSet(object.whitelisted)
419
+ ? Boolean(object.whitelisted)
420
+ : false,
421
+ };
408
422
  },
409
423
  toJSON(message) {
410
424
  const obj = {};
411
- message.whitelisted !== undefined && (obj.whitelisted = message.whitelisted);
425
+ message.whitelisted !== undefined &&
426
+ (obj.whitelisted = message.whitelisted);
412
427
  return obj;
413
428
  },
414
429
  create(base) {
@@ -471,7 +486,9 @@ export const QueryWhitelistedAccountsForNFTRequest = {
471
486
  },
472
487
  fromJSON(object) {
473
488
  return {
474
- pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
489
+ pagination: isSet(object.pagination)
490
+ ? PageRequest.fromJSON(object.pagination)
491
+ : undefined,
475
492
  id: isSet(object.id) ? String(object.id) : "",
476
493
  classId: isSet(object.classId) ? String(object.classId) : "",
477
494
  };
@@ -479,7 +496,9 @@ export const QueryWhitelistedAccountsForNFTRequest = {
479
496
  toJSON(message) {
480
497
  const obj = {};
481
498
  message.pagination !== undefined &&
482
- (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
499
+ (obj.pagination = message.pagination
500
+ ? PageRequest.toJSON(message.pagination)
501
+ : undefined);
483
502
  message.id !== undefined && (obj.id = message.id);
484
503
  message.classId !== undefined && (obj.classId = message.classId);
485
504
  return obj;
@@ -489,9 +508,10 @@ export const QueryWhitelistedAccountsForNFTRequest = {
489
508
  },
490
509
  fromPartial(object) {
491
510
  const message = createBaseQueryWhitelistedAccountsForNFTRequest();
492
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
493
- ? PageRequest.fromPartial(object.pagination)
494
- : undefined;
511
+ message.pagination =
512
+ object.pagination !== undefined && object.pagination !== null
513
+ ? PageRequest.fromPartial(object.pagination)
514
+ : undefined;
495
515
  message.id = object.id ?? "";
496
516
  message.classId = object.classId ?? "";
497
517
  return message;
@@ -539,14 +559,20 @@ export const QueryWhitelistedAccountsForNFTResponse = {
539
559
  },
540
560
  fromJSON(object) {
541
561
  return {
542
- pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
543
- accounts: Array.isArray(object?.accounts) ? object.accounts.map((e) => String(e)) : [],
562
+ pagination: isSet(object.pagination)
563
+ ? PageResponse.fromJSON(object.pagination)
564
+ : undefined,
565
+ accounts: Array.isArray(object?.accounts)
566
+ ? object.accounts.map((e) => String(e))
567
+ : [],
544
568
  };
545
569
  },
546
570
  toJSON(message) {
547
571
  const obj = {};
548
572
  message.pagination !== undefined &&
549
- (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
573
+ (obj.pagination = message.pagination
574
+ ? PageResponse.toJSON(message.pagination)
575
+ : undefined);
550
576
  if (message.accounts) {
551
577
  obj.accounts = message.accounts.map((e) => e);
552
578
  }
@@ -560,9 +586,10 @@ export const QueryWhitelistedAccountsForNFTResponse = {
560
586
  },
561
587
  fromPartial(object) {
562
588
  const message = createBaseQueryWhitelistedAccountsForNFTResponse();
563
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
564
- ? PageResponse.fromPartial(object.pagination)
565
- : undefined;
589
+ message.pagination =
590
+ object.pagination !== undefined && object.pagination !== null
591
+ ? PageResponse.fromPartial(object.pagination)
592
+ : undefined;
566
593
  message.accounts = object.accounts?.map((e) => e) || [];
567
594
  return message;
568
595
  },
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
3
+ import { DecCoin } from "cosmjs-types/cosmos/base/v1beta1/coin";
4
4
  import { Params } from "./params";
5
5
  export declare const protobufPackage = "coreum.feemodel.v1";
6
6
  /** GenesisState defines the module's genesis state. */
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
4
+ import { DecCoin } from "cosmjs-types/cosmos/base/v1beta1/coin";
5
5
  import { Params } from "./params";
6
6
  export const protobufPackage = "coreum.feemodel.v1";
7
7
  function createBaseGenesisState() {
@@ -47,14 +47,19 @@ export const GenesisState = {
47
47
  fromJSON(object) {
48
48
  return {
49
49
  params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
50
- minGasPrice: isSet(object.minGasPrice) ? DecCoin.fromJSON(object.minGasPrice) : undefined,
50
+ minGasPrice: isSet(object.minGasPrice)
51
+ ? DecCoin.fromJSON(object.minGasPrice)
52
+ : undefined,
51
53
  };
52
54
  },
53
55
  toJSON(message) {
54
56
  const obj = {};
55
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
57
+ message.params !== undefined &&
58
+ (obj.params = message.params ? Params.toJSON(message.params) : undefined);
56
59
  message.minGasPrice !== undefined &&
57
- (obj.minGasPrice = message.minGasPrice ? DecCoin.toJSON(message.minGasPrice) : undefined);
60
+ (obj.minGasPrice = message.minGasPrice
61
+ ? DecCoin.toJSON(message.minGasPrice)
62
+ : undefined);
58
63
  return obj;
59
64
  },
60
65
  create(base) {
@@ -62,12 +67,14 @@ export const GenesisState = {
62
67
  },
63
68
  fromPartial(object) {
64
69
  const message = createBaseGenesisState();
65
- message.params = (object.params !== undefined && object.params !== null)
66
- ? Params.fromPartial(object.params)
67
- : undefined;
68
- message.minGasPrice = (object.minGasPrice !== undefined && object.minGasPrice !== null)
69
- ? DecCoin.fromPartial(object.minGasPrice)
70
- : undefined;
70
+ message.params =
71
+ object.params !== undefined && object.params !== null
72
+ ? Params.fromPartial(object.params)
73
+ : undefined;
74
+ message.minGasPrice =
75
+ object.minGasPrice !== undefined && object.minGasPrice !== null
76
+ ? DecCoin.fromPartial(object.minGasPrice)
77
+ : undefined;
71
78
  return message;
72
79
  },
73
80
  };
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
3
+ import { DecCoin } from "cosmjs-types/cosmos/base/v1beta1/coin";
4
4
  import { Params } from "./params";
5
5
  export declare const protobufPackage = "coreum.feemodel.v1";
6
6
  /** QueryMinGasPriceRequest is the request type for the Query/MinGasPrice RPC method. */
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { DecCoin } from "../../../cosmos/base/v1beta1/coin";
4
+ import { DecCoin } from "cosmjs-types/cosmos/base/v1beta1/coin";
5
5
  import { Params } from "./params";
6
6
  export const protobufPackage = "coreum.feemodel.v1";
7
7
  function createBaseQueryMinGasPriceRequest() {
@@ -73,12 +73,18 @@ export const QueryMinGasPriceResponse = {
73
73
  return message;
74
74
  },
75
75
  fromJSON(object) {
76
- return { minGasPrice: isSet(object.minGasPrice) ? DecCoin.fromJSON(object.minGasPrice) : undefined };
76
+ return {
77
+ minGasPrice: isSet(object.minGasPrice)
78
+ ? DecCoin.fromJSON(object.minGasPrice)
79
+ : undefined,
80
+ };
77
81
  },
78
82
  toJSON(message) {
79
83
  const obj = {};
80
84
  message.minGasPrice !== undefined &&
81
- (obj.minGasPrice = message.minGasPrice ? DecCoin.toJSON(message.minGasPrice) : undefined);
85
+ (obj.minGasPrice = message.minGasPrice
86
+ ? DecCoin.toJSON(message.minGasPrice)
87
+ : undefined);
82
88
  return obj;
83
89
  },
84
90
  create(base) {
@@ -86,9 +92,10 @@ export const QueryMinGasPriceResponse = {
86
92
  },
87
93
  fromPartial(object) {
88
94
  const message = createBaseQueryMinGasPriceResponse();
89
- message.minGasPrice = (object.minGasPrice !== undefined && object.minGasPrice !== null)
90
- ? DecCoin.fromPartial(object.minGasPrice)
91
- : undefined;
95
+ message.minGasPrice =
96
+ object.minGasPrice !== undefined && object.minGasPrice !== null
97
+ ? DecCoin.fromPartial(object.minGasPrice)
98
+ : undefined;
92
99
  return message;
93
100
  },
94
101
  };
@@ -161,11 +168,14 @@ export const QueryParamsResponse = {
161
168
  return message;
162
169
  },
163
170
  fromJSON(object) {
164
- return { params: isSet(object.params) ? Params.fromJSON(object.params) : undefined };
171
+ return {
172
+ params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
173
+ };
165
174
  },
166
175
  toJSON(message) {
167
176
  const obj = {};
168
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
177
+ message.params !== undefined &&
178
+ (obj.params = message.params ? Params.toJSON(message.params) : undefined);
169
179
  return obj;
170
180
  },
171
181
  create(base) {
@@ -173,9 +183,10 @@ export const QueryParamsResponse = {
173
183
  },
174
184
  fromPartial(object) {
175
185
  const message = createBaseQueryParamsResponse();
176
- message.params = (object.params !== undefined && object.params !== null)
177
- ? Params.fromPartial(object.params)
178
- : undefined;
186
+ message.params =
187
+ object.params !== undefined && object.params !== null
188
+ ? Params.fromPartial(object.params)
189
+ : undefined;
179
190
  return message;
180
191
  },
181
192
  };
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
3
+ import { PageRequest, PageResponse } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
4
4
  import { Class, NFT } from "./nft";
5
5
  export declare const protobufPackage = "coreum.nft.v1beta1";
6
6
  /** QueryBalanceRequest is the request type for the Query/Balance RPC method */
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
4
+ import { PageRequest, PageResponse, } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
5
5
  import { Class, NFT } from "./nft";
6
6
  export const protobufPackage = "coreum.nft.v1beta1";
7
7
  function createBaseQueryBalanceRequest() {
@@ -98,11 +98,14 @@ export const QueryBalanceResponse = {
98
98
  return message;
99
99
  },
100
100
  fromJSON(object) {
101
- return { amount: isSet(object.amount) ? Long.fromValue(object.amount) : Long.UZERO };
101
+ return {
102
+ amount: isSet(object.amount) ? Long.fromValue(object.amount) : Long.UZERO,
103
+ };
102
104
  },
103
105
  toJSON(message) {
104
106
  const obj = {};
105
- message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString());
107
+ message.amount !== undefined &&
108
+ (obj.amount = (message.amount || Long.UZERO).toString());
106
109
  return obj;
107
110
  },
108
111
  create(base) {
@@ -110,9 +113,10 @@ export const QueryBalanceResponse = {
110
113
  },
111
114
  fromPartial(object) {
112
115
  const message = createBaseQueryBalanceResponse();
113
- message.amount = (object.amount !== undefined && object.amount !== null)
114
- ? Long.fromValue(object.amount)
115
- : Long.UZERO;
116
+ message.amount =
117
+ object.amount !== undefined && object.amount !== null
118
+ ? Long.fromValue(object.amount)
119
+ : Long.UZERO;
116
120
  return message;
117
121
  },
118
122
  };
@@ -306,11 +310,14 @@ export const QuerySupplyResponse = {
306
310
  return message;
307
311
  },
308
312
  fromJSON(object) {
309
- return { amount: isSet(object.amount) ? Long.fromValue(object.amount) : Long.UZERO };
313
+ return {
314
+ amount: isSet(object.amount) ? Long.fromValue(object.amount) : Long.UZERO,
315
+ };
310
316
  },
311
317
  toJSON(message) {
312
318
  const obj = {};
313
- message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString());
319
+ message.amount !== undefined &&
320
+ (obj.amount = (message.amount || Long.UZERO).toString());
314
321
  return obj;
315
322
  },
316
323
  create(base) {
@@ -318,9 +325,10 @@ export const QuerySupplyResponse = {
318
325
  },
319
326
  fromPartial(object) {
320
327
  const message = createBaseQuerySupplyResponse();
321
- message.amount = (object.amount !== undefined && object.amount !== null)
322
- ? Long.fromValue(object.amount)
323
- : Long.UZERO;
328
+ message.amount =
329
+ object.amount !== undefined && object.amount !== null
330
+ ? Long.fromValue(object.amount)
331
+ : Long.UZERO;
324
332
  return message;
325
333
  },
326
334
  };
@@ -377,7 +385,9 @@ export const QueryNFTsRequest = {
377
385
  return {
378
386
  classId: isSet(object.classId) ? String(object.classId) : "",
379
387
  owner: isSet(object.owner) ? String(object.owner) : "",
380
- pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined,
388
+ pagination: isSet(object.pagination)
389
+ ? PageRequest.fromJSON(object.pagination)
390
+ : undefined,
381
391
  };
382
392
  },
383
393
  toJSON(message) {
@@ -385,7 +395,9 @@ export const QueryNFTsRequest = {
385
395
  message.classId !== undefined && (obj.classId = message.classId);
386
396
  message.owner !== undefined && (obj.owner = message.owner);
387
397
  message.pagination !== undefined &&
388
- (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
398
+ (obj.pagination = message.pagination
399
+ ? PageRequest.toJSON(message.pagination)
400
+ : undefined);
389
401
  return obj;
390
402
  },
391
403
  create(base) {
@@ -395,9 +407,10 @@ export const QueryNFTsRequest = {
395
407
  const message = createBaseQueryNFTsRequest();
396
408
  message.classId = object.classId ?? "";
397
409
  message.owner = object.owner ?? "";
398
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
399
- ? PageRequest.fromPartial(object.pagination)
400
- : undefined;
410
+ message.pagination =
411
+ object.pagination !== undefined && object.pagination !== null
412
+ ? PageRequest.fromPartial(object.pagination)
413
+ : undefined;
401
414
  return message;
402
415
  },
403
416
  };
@@ -443,20 +456,26 @@ export const QueryNFTsResponse = {
443
456
  },
444
457
  fromJSON(object) {
445
458
  return {
446
- nfts: Array.isArray(object?.nfts) ? object.nfts.map((e) => NFT.fromJSON(e)) : [],
447
- pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
459
+ nfts: Array.isArray(object?.nfts)
460
+ ? object.nfts.map((e) => NFT.fromJSON(e))
461
+ : [],
462
+ pagination: isSet(object.pagination)
463
+ ? PageResponse.fromJSON(object.pagination)
464
+ : undefined,
448
465
  };
449
466
  },
450
467
  toJSON(message) {
451
468
  const obj = {};
452
469
  if (message.nfts) {
453
- obj.nfts = message.nfts.map((e) => e ? NFT.toJSON(e) : undefined);
470
+ obj.nfts = message.nfts.map((e) => (e ? NFT.toJSON(e) : undefined));
454
471
  }
455
472
  else {
456
473
  obj.nfts = [];
457
474
  }
458
475
  message.pagination !== undefined &&
459
- (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
476
+ (obj.pagination = message.pagination
477
+ ? PageResponse.toJSON(message.pagination)
478
+ : undefined);
460
479
  return obj;
461
480
  },
462
481
  create(base) {
@@ -465,9 +484,10 @@ export const QueryNFTsResponse = {
465
484
  fromPartial(object) {
466
485
  const message = createBaseQueryNFTsResponse();
467
486
  message.nfts = object.nfts?.map((e) => NFT.fromPartial(e)) || [];
468
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
469
- ? PageResponse.fromPartial(object.pagination)
470
- : undefined;
487
+ message.pagination =
488
+ object.pagination !== undefined && object.pagination !== null
489
+ ? PageResponse.fromPartial(object.pagination)
490
+ : undefined;
471
491
  return message;
472
492
  },
473
493
  };
@@ -569,7 +589,8 @@ export const QueryNFTResponse = {
569
589
  },
570
590
  toJSON(message) {
571
591
  const obj = {};
572
- message.nft !== undefined && (obj.nft = message.nft ? NFT.toJSON(message.nft) : undefined);
592
+ message.nft !== undefined &&
593
+ (obj.nft = message.nft ? NFT.toJSON(message.nft) : undefined);
573
594
  return obj;
574
595
  },
575
596
  create(base) {
@@ -577,7 +598,10 @@ export const QueryNFTResponse = {
577
598
  },
578
599
  fromPartial(object) {
579
600
  const message = createBaseQueryNFTResponse();
580
- message.nft = (object.nft !== undefined && object.nft !== null) ? NFT.fromPartial(object.nft) : undefined;
601
+ message.nft =
602
+ object.nft !== undefined && object.nft !== null
603
+ ? NFT.fromPartial(object.nft)
604
+ : undefined;
581
605
  return message;
582
606
  },
583
607
  };
@@ -661,11 +685,14 @@ export const QueryClassResponse = {
661
685
  return message;
662
686
  },
663
687
  fromJSON(object) {
664
- return { class: isSet(object.class) ? Class.fromJSON(object.class) : undefined };
688
+ return {
689
+ class: isSet(object.class) ? Class.fromJSON(object.class) : undefined,
690
+ };
665
691
  },
666
692
  toJSON(message) {
667
693
  const obj = {};
668
- message.class !== undefined && (obj.class = message.class ? Class.toJSON(message.class) : undefined);
694
+ message.class !== undefined &&
695
+ (obj.class = message.class ? Class.toJSON(message.class) : undefined);
669
696
  return obj;
670
697
  },
671
698
  create(base) {
@@ -673,7 +700,10 @@ export const QueryClassResponse = {
673
700
  },
674
701
  fromPartial(object) {
675
702
  const message = createBaseQueryClassResponse();
676
- message.class = (object.class !== undefined && object.class !== null) ? Class.fromPartial(object.class) : undefined;
703
+ message.class =
704
+ object.class !== undefined && object.class !== null
705
+ ? Class.fromPartial(object.class)
706
+ : undefined;
677
707
  return message;
678
708
  },
679
709
  };
@@ -709,12 +739,18 @@ export const QueryClassesRequest = {
709
739
  return message;
710
740
  },
711
741
  fromJSON(object) {
712
- return { pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined };
742
+ return {
743
+ pagination: isSet(object.pagination)
744
+ ? PageRequest.fromJSON(object.pagination)
745
+ : undefined,
746
+ };
713
747
  },
714
748
  toJSON(message) {
715
749
  const obj = {};
716
750
  message.pagination !== undefined &&
717
- (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined);
751
+ (obj.pagination = message.pagination
752
+ ? PageRequest.toJSON(message.pagination)
753
+ : undefined);
718
754
  return obj;
719
755
  },
720
756
  create(base) {
@@ -722,9 +758,10 @@ export const QueryClassesRequest = {
722
758
  },
723
759
  fromPartial(object) {
724
760
  const message = createBaseQueryClassesRequest();
725
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
726
- ? PageRequest.fromPartial(object.pagination)
727
- : undefined;
761
+ message.pagination =
762
+ object.pagination !== undefined && object.pagination !== null
763
+ ? PageRequest.fromPartial(object.pagination)
764
+ : undefined;
728
765
  return message;
729
766
  },
730
767
  };
@@ -770,8 +807,12 @@ export const QueryClassesResponse = {
770
807
  },
771
808
  fromJSON(object) {
772
809
  return {
773
- classes: Array.isArray(object?.classes) ? object.classes.map((e) => Class.fromJSON(e)) : [],
774
- pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined,
810
+ classes: Array.isArray(object?.classes)
811
+ ? object.classes.map((e) => Class.fromJSON(e))
812
+ : [],
813
+ pagination: isSet(object.pagination)
814
+ ? PageResponse.fromJSON(object.pagination)
815
+ : undefined,
775
816
  };
776
817
  },
777
818
  toJSON(message) {
@@ -783,7 +824,9 @@ export const QueryClassesResponse = {
783
824
  obj.classes = [];
784
825
  }
785
826
  message.pagination !== undefined &&
786
- (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined);
827
+ (obj.pagination = message.pagination
828
+ ? PageResponse.toJSON(message.pagination)
829
+ : undefined);
787
830
  return obj;
788
831
  },
789
832
  create(base) {
@@ -792,9 +835,10 @@ export const QueryClassesResponse = {
792
835
  fromPartial(object) {
793
836
  const message = createBaseQueryClassesResponse();
794
837
  message.classes = object.classes?.map((e) => Class.fromPartial(e)) || [];
795
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
796
- ? PageResponse.fromPartial(object.pagination)
797
- : undefined;
838
+ message.pagination =
839
+ object.pagination !== undefined && object.pagination !== null
840
+ ? PageResponse.fromPartial(object.pagination)
841
+ : undefined;
798
842
  return message;
799
843
  },
800
844
  };
@@ -1,15 +1,15 @@
1
- import { PageRequest } from "../bank/v1beta1/pagination";
1
+ import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
2
2
  import { QueryClient } from "@cosmjs/stargate";
3
3
  export declare function setupBankExtension(base: QueryClient): {
4
4
  bank: {
5
- balance: (address: string, denom: string) => Promise<import("../base/v1beta1/coin").Coin>;
6
- allBalances: (address: string) => Promise<import("../base/v1beta1/coin").Coin[]>;
5
+ balance: (address: string, denom: string) => Promise<import("cosmjs-types/cosmos/base/v1beta1/coin").Coin>;
6
+ allBalances: (address: string) => Promise<import("cosmjs-types/cosmos/base/v1beta1/coin").Coin[]>;
7
7
  totalSupply: (pagination?: PageRequest) => Promise<{
8
- supply: import("../base/v1beta1/coin").Coin[];
9
- pagination: import("../bank/v1beta1/pagination").PageResponse;
8
+ supply: import("cosmjs-types/cosmos/base/v1beta1/coin").Coin[];
9
+ pagination: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
10
10
  }>;
11
- supplyOf: (denom: string) => Promise<import("../base/v1beta1/coin").Coin>;
12
- denomMetadata: (denom: string) => Promise<import("../bank/v1beta1/bank").Metadata>;
13
- denomsMetadata: (pagination?: PageRequest) => Promise<import("../bank/v1beta1/bank").Metadata[]>;
11
+ supplyOf: (denom: string) => Promise<import("cosmjs-types/cosmos/base/v1beta1/coin").Coin>;
12
+ denomMetadata: (denom: string) => Promise<import("cosmjs-types/cosmos/bank/v1beta1/bank").Metadata>;
13
+ denomsMetadata: (pagination?: PageRequest) => Promise<import("cosmjs-types/cosmos/bank/v1beta1/bank").Metadata[]>;
14
14
  };
15
15
  };
@@ -1,5 +1,5 @@
1
- import { QueryAllBalancesRequest } from "../bank/v1beta1/query";
2
- import { QueryClientImpl } from "../bank/v1beta1/query";
1
+ import { QueryAllBalancesRequest } from "cosmjs-types/cosmos/bank/v1beta1/query";
2
+ import { QueryClientImpl } from "cosmjs-types/cosmos/bank/v1beta1/query";
3
3
  import { createProtobufRpcClient } from "@cosmjs/stargate";
4
4
  export function setupBankExtension(base) {
5
5
  const rpc = createProtobufRpcClient(base);