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,16 +1,16 @@
1
- import { PageRequest } from "../distribution/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 setupDistributionExtension(base: QueryClient): {
4
4
  distribution: {
5
5
  communityPool: () => Promise<{
6
- pool: import("../base/v1beta1/coin").DecCoin[];
6
+ pool: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
7
7
  }>;
8
8
  delegationRewards: (delegator: string, validator: string) => Promise<{
9
- rewards: import("../base/v1beta1/coin").DecCoin[];
9
+ rewards: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
10
10
  }>;
11
11
  delegationTotalRewards: (delegator: string) => Promise<{
12
- rewards: import("../distribution/v1beta1/distribution").DelegationDelegatorReward[];
13
- total: import("../base/v1beta1/coin").DecCoin[];
12
+ rewards: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").DelegationDelegatorReward[];
13
+ total: import("cosmjs-types/cosmos/base/v1beta1/coin").DecCoin[];
14
14
  }>;
15
15
  delegatorValidators: (delegator: string) => Promise<{
16
16
  validators: string[];
@@ -19,17 +19,17 @@ export declare function setupDistributionExtension(base: QueryClient): {
19
19
  withdrawAddress: string;
20
20
  }>;
21
21
  params: () => Promise<{
22
- params: import("../distribution/v1beta1/distribution").Params;
22
+ params?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").Params;
23
23
  }>;
24
24
  validatorCommission: (validator: string) => Promise<{
25
- commission: import("../distribution/v1beta1/distribution").ValidatorAccumulatedCommission;
25
+ commission?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorAccumulatedCommission;
26
26
  }>;
27
27
  validatorOutstandingRewards: (validator: string) => Promise<{
28
- rewards: import("../distribution/v1beta1/distribution").ValidatorOutstandingRewards;
28
+ rewards?: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorOutstandingRewards;
29
29
  }>;
30
- validatorSlashes: (validator: string, starting_height: number, ending_height: number, pagination?: PageRequest) => Promise<{
31
- slashes: import("../distribution/v1beta1/distribution").ValidatorSlashEvent[];
32
- pagination: import("../distribution/v1beta1/pagination").PageResponse;
30
+ validatorSlashes: (validator: string, starting_height: Long, ending_height: Long, pagination?: PageRequest) => Promise<{
31
+ slashes: import("cosmjs-types/cosmos/distribution/v1beta1/distribution").ValidatorSlashEvent[];
32
+ pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
33
33
  }>;
34
34
  };
35
35
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.setupDistributionExtension = void 0;
4
- const query_1 = require("../distribution/v1beta1/query");
4
+ const query_1 = require("cosmjs-types/cosmos/distribution/v1beta1/query");
5
5
  const stargate_1 = require("@cosmjs/stargate");
6
6
  function setupDistributionExtension(base) {
7
7
  const rpc = (0, stargate_1.createProtobufRpcClient)(base);
@@ -1,36 +1,36 @@
1
- import { ProposalStatus } from "../gov/v1beta1/gov";
2
- import { PageRequest } from "../gov/v1beta1/pagination";
1
+ import { ProposalStatus } from "cosmjs-types/cosmos/gov/v1beta1/gov";
2
+ import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
3
3
  import { QueryClient } from "@cosmjs/stargate";
4
4
  export declare function setupGovExtension(base: QueryClient): {
5
5
  gov: {
6
6
  params: (parametersType: "deposit" | "tallying" | "voting") => Promise<{
7
- votingParams: import("../gov/v1beta1/gov").VotingParams;
8
- depositParams: import("../gov/v1beta1/gov").DepositParams;
9
- tallyParams: import("../gov/v1beta1/gov").TallyParams;
7
+ votingParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").VotingParams;
8
+ depositParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").DepositParams;
9
+ tallyParams?: import("cosmjs-types/cosmos/gov/v1beta1/gov").TallyParams;
10
10
  }>;
11
11
  proposals: (proposalStatus: ProposalStatus, depositor: string, voter: string, pagination?: PageRequest) => Promise<{
12
- proposals: import("../gov/v1beta1/gov").Proposal[];
13
- pagination: import("../gov/v1beta1/pagination").PageResponse;
12
+ proposals: import("cosmjs-types/cosmos/gov/v1beta1/gov").Proposal[];
13
+ pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
14
14
  }>;
15
- proposal: (proposal_id: number) => Promise<{
16
- proposal: import("../gov/v1beta1/gov").Proposal;
15
+ proposal: (proposal_id: Long) => Promise<{
16
+ proposal?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Proposal;
17
17
  }>;
18
- deposits: (proposal_id: number, pagination?: PageRequest) => Promise<{
19
- deposits: import("../gov/v1beta1/gov").Deposit[];
20
- pagination: import("../gov/v1beta1/pagination").PageResponse;
18
+ deposits: (proposal_id: Long, pagination?: PageRequest) => Promise<{
19
+ deposits: import("cosmjs-types/cosmos/gov/v1beta1/gov").Deposit[];
20
+ pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
21
21
  }>;
22
- deposit: (proposal_id: number, depositor: string) => Promise<{
23
- deposit: import("../gov/v1beta1/gov").Deposit;
22
+ deposit: (proposal_id: Long, depositor: string) => Promise<{
23
+ deposit?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Deposit;
24
24
  }>;
25
- tally: (proposal_id: number) => Promise<{
26
- tally: import("../gov/v1beta1/gov").TallyResult;
25
+ tally: (proposal_id: Long) => Promise<{
26
+ tally?: import("cosmjs-types/cosmos/gov/v1beta1/gov").TallyResult;
27
27
  }>;
28
- votes: (proposal_id: number, pagination?: PageRequest) => Promise<{
29
- votes: import("../gov/v1beta1/gov").Vote[];
30
- pagination: import("../gov/v1beta1/pagination").PageResponse;
28
+ votes: (proposal_id: Long, pagination?: PageRequest) => Promise<{
29
+ votes: import("cosmjs-types/cosmos/gov/v1beta1/gov").Vote[];
30
+ pagination?: import("cosmjs-types/cosmos/base/query/v1beta1/pagination").PageResponse;
31
31
  }>;
32
- vote: (proposal_id: number, voter: string) => Promise<{
33
- vote: import("../gov/v1beta1/gov").Vote;
32
+ vote: (proposal_id: Long, voter: string) => Promise<{
33
+ vote?: import("cosmjs-types/cosmos/gov/v1beta1/gov").Vote;
34
34
  }>;
35
35
  };
36
36
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.setupGovExtension = void 0;
4
- const query_1 = require("../gov/v1beta1/query");
4
+ const query_1 = require("cosmjs-types/cosmos/gov/v1beta1/query");
5
5
  const stargate_1 = require("@cosmjs/stargate");
6
6
  function setupGovExtension(base) {
7
7
  const rpc = (0, stargate_1.createProtobufRpcClient)(base);
@@ -1,12 +1,12 @@
1
- import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "./gov/v1beta1/tx";
2
- import { MsgGrantAllowance, MsgRevokeAllowance } from "./feegrant/v1beta1/tx";
3
- import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "./bank/v1beta1/tx";
4
- import { MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission } from "./distribution/v1beta1/tx";
5
- import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount } from "./vesting/v1beta1/tx";
6
- import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams } from "./staking/v1beta1/tx";
7
- import { MsgExec, MsgGrant, MsgRevoke } from "./authz/v1beta1/tx";
8
- import { StakingMsgs, DistributionMsgs, BankMsgs, FeegrantMsgs, VestingMsgs, AuthzMsgs, GovMsgs } from "../types/msgs";
9
- export * from "./tx/v1beta1/tx";
1
+ import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "cosmjs-types/cosmos/gov/v1beta1/tx";
2
+ import { MsgGrantAllowance, MsgRevokeAllowance } from "cosmjs-types/cosmos/feegrant/v1beta1/tx";
3
+ import { MsgCommunityPoolSpend, MsgFundCommunityPool, MsgSetWithdrawAddress, MsgUpdateParams as DMsgUpdateParams, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission } from "cosmjs-types/cosmos/distribution/v1beta1/tx";
4
+ import { MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount, MsgCreateVestingAccount } from "cosmjs-types/cosmos/vesting/v1beta1/tx";
5
+ import { MsgBeginRedelegate, MsgCancelUnbondingDelegation, MsgCreateValidator, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgUpdateParams as SMsgUpdateParams } from "cosmjs-types/cosmos/staking/v1beta1/tx";
6
+ import { MsgExec, MsgGrant, MsgRevoke } from "cosmjs-types/cosmos/authz/v1beta1/tx";
7
+ import { MsgMultiSend, MsgSend, MsgSetSendEnabled, MsgUpdateParams } from "cosmjs-types/cosmos/bank/v1beta1/tx";
8
+ import { StakingMsgs, DistributionMsgs, BankMsgs, FeegrantMsgs, VestingMsgs, GovMsgs } from "../types/msgs";
9
+ export * from "cosmjs-types/cosmos/tx/v1beta1/tx";
10
10
  /**
11
11
  * Module to generate the Messages related to the Authz module of the Blockchain
12
12
  */
@@ -17,7 +17,7 @@ export declare namespace Authz {
17
17
  * @param object Represents the properties available for this MsgGrant message.
18
18
  * @returns A Msg object with the typeUrl and value object for the proper message
19
19
  */
20
- const Grant: (object: AuthzMsgs.MsgGrant) => {
20
+ const Grant: (object: MsgGrant) => {
21
21
  typeUrl: string;
22
22
  value: MsgGrant;
23
23
  };
@@ -27,7 +27,7 @@ export declare namespace Authz {
27
27
  * @param object Represents the properties available for this MsgExec message.
28
28
  * @returns A Msg object with the typeUrl and value object for the proper message
29
29
  */
30
- const Exec: (object: AuthzMsgs.MsgExec) => {
30
+ const Exec: (object: MsgExec) => {
31
31
  typeUrl: string;
32
32
  value: MsgExec;
33
33
  };
@@ -37,7 +37,7 @@ export declare namespace Authz {
37
37
  * @param object Represents the properties available for this MsgRevoke message.
38
38
  * @returns A Msg object with the typeUrl and value object for the proper message
39
39
  */
40
- const Revoke: (object: AuthzMsgs.MsgRevoke) => {
40
+ const Revoke: (object: MsgRevoke) => {
41
41
  typeUrl: string;
42
42
  value: MsgRevoke;
43
43
  };
@@ -270,15 +270,6 @@ export declare namespace Distribution {
270
270
  typeUrl: string;
271
271
  value: MsgCommunityPoolSpend;
272
272
  };
273
- /** MsgDepositValidatorRewardsPool message creator
274
- *
275
- * @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
276
- * @returns A Msg object with the typeUrl and value object for the proper message
277
- */
278
- const DepositValidatorRewardsPool: (object: DistributionMsgs.MsgDepositValidatorRewardsPool) => {
279
- typeUrl: string;
280
- value: MsgDepositValidatorRewardsPool;
281
- };
282
273
  /** MsgFundCommunityPool message creator
283
274
  * Defines a method to allow an account to directly fund the community pool.
284
275
  *
@@ -15,13 +15,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.Vesting = exports.Distribution = exports.Bank = exports.Feegrant = exports.Governance = exports.Staking = exports.Authz = void 0;
18
- const tx_1 = require("./gov/v1beta1/tx");
19
- const tx_2 = require("./feegrant/v1beta1/tx");
20
- const tx_3 = require("./bank/v1beta1/tx");
21
- const tx_4 = require("./distribution/v1beta1/tx");
22
- const tx_5 = require("./vesting/v1beta1/tx");
23
- const tx_6 = require("./staking/v1beta1/tx");
24
- const tx_7 = require("./authz/v1beta1/tx");
18
+ const tx_1 = require("cosmjs-types/cosmos/gov/v1beta1/tx");
19
+ const tx_2 = require("cosmjs-types/cosmos/feegrant/v1beta1/tx");
20
+ // import {
21
+ // MsgMultiSend,
22
+ // MsgSend,
23
+ // MsgSetSendEnabled,
24
+ // MsgUpdateParams,
25
+ // } from "./bank/v1beta1/tx";
26
+ const tx_3 = require("cosmjs-types/cosmos/distribution/v1beta1/tx");
27
+ const tx_4 = require("cosmjs-types/cosmos/vesting/v1beta1/tx");
28
+ const tx_5 = require("cosmjs-types/cosmos/staking/v1beta1/tx");
29
+ const tx_6 = require("cosmjs-types/cosmos/authz/v1beta1/tx");
30
+ const tx_7 = require("cosmjs-types/cosmos/bank/v1beta1/tx");
25
31
  const authzBaseUrl = "/cosmos.authz.v1beta1.";
26
32
  const stakeBaseUrl = "/cosmos.staking.v1beta1.";
27
33
  const govBaseUrl = "/cosmos.gov.v1beta1.";
@@ -29,7 +35,7 @@ const fgBaseUrl = "/cosmos.feegrant.v1beta1.";
29
35
  const bankBaseUrl = "/cosmos.bank.v1beta1.";
30
36
  const distBaseUrl = "/cosmos.distribution.v1beta1.";
31
37
  const vestBaseUrl = "/cosmos.vesting.v1beta1.";
32
- __exportStar(require("./tx/v1beta1/tx"), exports);
38
+ __exportStar(require("cosmjs-types/cosmos/tx/v1beta1/tx"), exports);
33
39
  /**
34
40
  * Module to generate the Messages related to the Authz module of the Blockchain
35
41
  */
@@ -44,7 +50,7 @@ var Authz;
44
50
  Authz.Grant = function (object) {
45
51
  return {
46
52
  typeUrl: authzBaseUrl + "MsgGrant",
47
- value: tx_7.MsgGrant.fromPartial(object),
53
+ value: tx_6.MsgGrant.fromPartial(object),
48
54
  };
49
55
  };
50
56
  /** MsgExec message creator
@@ -56,7 +62,7 @@ var Authz;
56
62
  Authz.Exec = function (object) {
57
63
  return {
58
64
  typeUrl: authzBaseUrl + "MsgExec",
59
- value: tx_7.MsgExec.fromPartial(object),
65
+ value: tx_6.MsgExec.fromPartial(object),
60
66
  };
61
67
  };
62
68
  /** MsgRevoke message creator
@@ -68,7 +74,7 @@ var Authz;
68
74
  Authz.Revoke = function (object) {
69
75
  return {
70
76
  typeUrl: authzBaseUrl + "MsgRevoke",
71
- value: tx_7.MsgRevoke.fromPartial(object),
77
+ value: tx_6.MsgRevoke.fromPartial(object),
72
78
  };
73
79
  };
74
80
  })(Authz || (exports.Authz = Authz = {}));
@@ -86,7 +92,7 @@ var Staking;
86
92
  Staking.BeginRedelegate = function (object) {
87
93
  return {
88
94
  typeUrl: stakeBaseUrl + "MsgBeginRedelegate",
89
- value: tx_6.MsgBeginRedelegate.fromPartial(object),
95
+ value: tx_5.MsgBeginRedelegate.fromPartial(object),
90
96
  };
91
97
  };
92
98
  /** MsgCancelUnbondingDelegation message creator
@@ -97,7 +103,7 @@ var Staking;
97
103
  Staking.CancelUnbondingDelegation = function (object) {
98
104
  return {
99
105
  typeUrl: stakeBaseUrl + "MsgCancelUnbondingDelegation",
100
- value: tx_6.MsgCancelUnbondingDelegation.fromPartial(object),
106
+ value: tx_5.MsgCancelUnbondingDelegation.fromPartial(object),
101
107
  };
102
108
  };
103
109
  /** MsgCreateValidator message creator
@@ -109,7 +115,7 @@ var Staking;
109
115
  Staking.CreateValidator = function (object) {
110
116
  return {
111
117
  typeUrl: stakeBaseUrl + "MsgCreateValidator",
112
- value: tx_6.MsgCreateValidator.fromPartial(object),
118
+ value: tx_5.MsgCreateValidator.fromPartial(object),
113
119
  };
114
120
  };
115
121
  /** MsgDelegate message creator
@@ -121,7 +127,7 @@ var Staking;
121
127
  Staking.Delegate = function (object) {
122
128
  return {
123
129
  typeUrl: stakeBaseUrl + "MsgDelegate",
124
- value: tx_6.MsgDelegate.fromPartial(object),
130
+ value: tx_5.MsgDelegate.fromPartial(object),
125
131
  };
126
132
  };
127
133
  /** MsgEditValidator message creator
@@ -133,7 +139,7 @@ var Staking;
133
139
  Staking.EditValidator = function (object) {
134
140
  return {
135
141
  typeUrl: stakeBaseUrl + "MsgEditValidator",
136
- value: tx_6.MsgEditValidator.fromPartial(object),
142
+ value: tx_5.MsgEditValidator.fromPartial(object),
137
143
  };
138
144
  };
139
145
  /** MsgUndelegate message creator
@@ -145,7 +151,7 @@ var Staking;
145
151
  Staking.Undelegate = function (object) {
146
152
  return {
147
153
  typeUrl: stakeBaseUrl + "MsgUndelegate",
148
- value: tx_6.MsgUndelegate.fromPartial(object),
154
+ value: tx_5.MsgUndelegate.fromPartial(object),
149
155
  };
150
156
  };
151
157
  /** MsgUpdateParams message creator
@@ -156,7 +162,7 @@ var Staking;
156
162
  Staking.UpdateParams = function (object) {
157
163
  return {
158
164
  typeUrl: stakeBaseUrl + "MsgUpdateParams",
159
- value: tx_6.MsgUpdateParams.fromPartial(object),
165
+ value: tx_5.MsgUpdateParams.fromPartial(object),
160
166
  };
161
167
  };
162
168
  })(Staking || (exports.Staking = Staking = {}));
@@ -258,7 +264,7 @@ var Bank;
258
264
  Bank.MultiSend = function (object) {
259
265
  return {
260
266
  typeUrl: bankBaseUrl + "MsgMultiSend",
261
- value: tx_3.MsgMultiSend.fromPartial(object),
267
+ value: tx_7.MsgMultiSend.fromPartial(object),
262
268
  };
263
269
  };
264
270
  /** MsgSend message creator
@@ -270,7 +276,7 @@ var Bank;
270
276
  Bank.Send = function (object) {
271
277
  return {
272
278
  typeUrl: bankBaseUrl + "MsgSend",
273
- value: tx_3.MsgSend.fromPartial(object),
279
+ value: tx_7.MsgSend.fromPartial(object),
274
280
  };
275
281
  };
276
282
  /** MsgSetSendEnabled message creator
@@ -281,7 +287,7 @@ var Bank;
281
287
  Bank.SetSendEnabled = function (object) {
282
288
  return {
283
289
  typeUrl: bankBaseUrl + "MsgSetSendEnabled",
284
- value: tx_3.MsgSetSendEnabled.fromPartial(object),
290
+ value: tx_7.MsgSetSendEnabled.fromPartial(object),
285
291
  };
286
292
  };
287
293
  /** MsgUpdateParams message creator
@@ -292,7 +298,7 @@ var Bank;
292
298
  Bank.UpdateParams = function (object) {
293
299
  return {
294
300
  typeUrl: bankBaseUrl + "MsgUpdateParams",
295
- value: tx_3.MsgUpdateParams.fromPartial(object),
301
+ value: tx_7.MsgUpdateParams.fromPartial(object),
296
302
  };
297
303
  };
298
304
  })(Bank || (exports.Bank = Bank = {}));
@@ -310,7 +316,7 @@ var Distribution;
310
316
  Distribution.WithdrawDelegatorReward = function (object) {
311
317
  return {
312
318
  typeUrl: distBaseUrl + "MsgWithdrawDelegatorReward",
313
- value: tx_4.MsgWithdrawDelegatorReward.fromPartial(object),
319
+ value: tx_3.MsgWithdrawDelegatorReward.fromPartial(object),
314
320
  };
315
321
  };
316
322
  /** MsgUpdateParams message creator
@@ -321,7 +327,7 @@ var Distribution;
321
327
  Distribution.UpdateParams = function (object) {
322
328
  return {
323
329
  typeUrl: distBaseUrl + "MsgUpdateParams",
324
- value: tx_4.MsgUpdateParams.fromPartial(object),
330
+ value: tx_3.MsgUpdateParams.fromPartial(object),
325
331
  };
326
332
  };
327
333
  /** MsgWithdrawValidatorCommission message creator
@@ -333,7 +339,7 @@ var Distribution;
333
339
  Distribution.WithdrawValidatorCommission = function (object) {
334
340
  return {
335
341
  typeUrl: distBaseUrl + "MsgWithdrawValidatorCommission",
336
- value: tx_4.MsgWithdrawValidatorCommission.fromPartial(object),
342
+ value: tx_3.MsgWithdrawValidatorCommission.fromPartial(object),
337
343
  };
338
344
  };
339
345
  /** MsgCommunityPoolSpend message creator
@@ -344,20 +350,22 @@ var Distribution;
344
350
  Distribution.CommunityPoolSpend = function (object) {
345
351
  return {
346
352
  typeUrl: distBaseUrl + "MsgCommunityPoolSpend",
347
- value: tx_4.MsgCommunityPoolSpend.fromPartial(object),
348
- };
349
- };
350
- /** MsgDepositValidatorRewardsPool message creator
351
- *
352
- * @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
353
- * @returns A Msg object with the typeUrl and value object for the proper message
354
- */
355
- Distribution.DepositValidatorRewardsPool = function (object) {
356
- return {
357
- typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
358
- value: tx_4.MsgDepositValidatorRewardsPool.fromPartial(object),
353
+ value: tx_3.MsgCommunityPoolSpend.fromPartial(object),
359
354
  };
360
355
  };
356
+ // /** MsgDepositValidatorRewardsPool message creator
357
+ // *
358
+ // * @param object Represents the properties available for this MsgDepositValidatorRewardsPool message.
359
+ // * @returns A Msg object with the typeUrl and value object for the proper message
360
+ // */
361
+ // export const DepositValidatorRewardsPool = function (
362
+ // object: DistributionMsgs.MsgDepositValidatorRewardsPool
363
+ // ) {
364
+ // return {
365
+ // typeUrl: distBaseUrl + "MsgDepositValidatorRewardsPool",
366
+ // value: MsgDepositValidatorRewardsPool.fromPartial(object),
367
+ // };
368
+ // };
361
369
  /** MsgFundCommunityPool message creator
362
370
  * Defines a method to allow an account to directly fund the community pool.
363
371
  *
@@ -367,7 +375,7 @@ var Distribution;
367
375
  Distribution.FundCommunityPool = function (object) {
368
376
  return {
369
377
  typeUrl: distBaseUrl + "MsgFundCommunityPool",
370
- value: tx_4.MsgFundCommunityPool.fromPartial(object),
378
+ value: tx_3.MsgFundCommunityPool.fromPartial(object),
371
379
  };
372
380
  };
373
381
  /** MsgSetWithdrawAddress message creator
@@ -379,7 +387,7 @@ var Distribution;
379
387
  Distribution.SetWithdrawAddress = function (object) {
380
388
  return {
381
389
  typeUrl: distBaseUrl + "MsgSetWithdrawAddress",
382
- value: tx_4.MsgSetWithdrawAddress.fromPartial(object),
390
+ value: tx_3.MsgSetWithdrawAddress.fromPartial(object),
383
391
  };
384
392
  };
385
393
  })(Distribution || (exports.Distribution = Distribution = {}));
@@ -397,19 +405,19 @@ var Vesting;
397
405
  Vesting.CreateVestingAccount = function (object) {
398
406
  return {
399
407
  typeUrl: vestBaseUrl + "MsgCreateVestingAccount",
400
- value: tx_5.MsgCreateVestingAccount.fromPartial(object),
408
+ value: tx_4.MsgCreateVestingAccount.fromPartial(object),
401
409
  };
402
410
  };
403
411
  Vesting.CreatePeriodicVestingAccount = function (object) {
404
412
  return {
405
413
  typeUrl: vestBaseUrl + "MsgCreatePeriodicVestingAccount",
406
- value: tx_5.MsgCreatePeriodicVestingAccount.fromPartial(object),
414
+ value: tx_4.MsgCreatePeriodicVestingAccount.fromPartial(object),
407
415
  };
408
416
  };
409
417
  Vesting.CreatePermanentLockedAccount = function (object) {
410
418
  return {
411
419
  typeUrl: vestBaseUrl + "MsgCreatePermanentLockedAccount",
412
- value: tx_5.MsgCreatePermanentLockedAccount.fromPartial(object),
420
+ value: tx_4.MsgCreatePermanentLockedAccount.fromPartial(object),
413
421
  };
414
422
  };
415
423
  })(Vesting || (exports.Vesting = Vesting = {}));
@@ -3,12 +3,12 @@ import { Feature } from "../coreum/asset/ft/v1/token";
3
3
  import { ClassFeature } from "../coreum/asset/nft/v1/nft";
4
4
  import { Any } from "../google/protobuf/any";
5
5
  import { AccessConfig, Params as WasmParams } from "cosmjs-types/cosmwasm/wasm/v1/types";
6
- import { Description, CommissionRates, Params as StakingParams } from "../cosmos/staking/v1beta1/staking";
7
6
  import { VoteOption, WeightedVoteOption } from "cosmjs-types/cosmos/gov/v1beta1/gov";
8
7
  import { Input, Output, SendEnabled, Params as BankParams } from "cosmjs-types/cosmos/bank/v1beta1/bank";
9
8
  import { Params as DistParams } from "cosmjs-types/cosmos/distribution/v1beta1/distribution";
10
- import { Period } from "../cosmos/vesting/v1beta1/vesting";
11
- import { Grant } from "../cosmos/authz/v1beta1/authz";
9
+ import { Period } from "cosmjs-types/cosmos/vesting/v1beta1/vesting";
10
+ import { Grant } from "cosmjs-types/cosmos/authz/v1beta1/authz";
11
+ import { CommissionRates, Description, Params as StakingParams } from "cosmjs-types/cosmos/staking/v1beta1/staking";
12
12
  export declare namespace FTMsgs {
13
13
  interface MsgIssue {
14
14
  issuer: string;
@@ -330,7 +330,7 @@ export declare namespace AuthzMsgs {
330
330
  interface MsgGrant {
331
331
  granter: string;
332
332
  grantee: string;
333
- grant: Grant | undefined;
333
+ grant?: Grant;
334
334
  }
335
335
  /**
336
336
  * MsgExec attempts to execute the provided messages using
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { Coin } from "../../cosmos/base/v1beta1/coin";
2
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
3
3
  import { Any } from "../../google/protobuf/any";
4
4
  export declare const protobufPackage = "cosmwasm.wasm.v1";
5
5
  /**
@@ -7,7 +7,7 @@ exports.AcceptedMessagesFilter = exports.AcceptedMessageKeysFilter = exports.All
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const coin_1 = require("../../cosmos/base/v1beta1/coin");
10
+ const coin_1 = require("cosmjs-types/cosmos/base/v1beta1/coin");
11
11
  const any_1 = require("../../google/protobuf/any");
12
12
  exports.protobufPackage = "cosmwasm.wasm.v1";
13
13
  function createBaseContractExecutionAuthorization() {
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { Coin } from "../../cosmos/base/v1beta1/coin";
2
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
3
3
  import { AccessConfig } from "./types";
4
4
  export declare const protobufPackage = "cosmwasm.wasm.v1";
5
5
  /**
@@ -7,7 +7,7 @@ exports.StoreAndInstantiateContractProposal = exports.UpdateInstantiateConfigPro
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const coin_1 = require("../../cosmos/base/v1beta1/coin");
10
+ const coin_1 = require("cosmjs-types/cosmos/base/v1beta1/coin");
11
11
  const types_1 = require("./types");
12
12
  exports.protobufPackage = "cosmwasm.wasm.v1";
13
13
  function createBaseStoreCodeProposal() {
@@ -1,5 +1,5 @@
1
1
  import _m0 from "protobufjs/minimal";
2
- import { Coin } from "../../cosmos/base/v1beta1/coin";
2
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
3
3
  import { AccessConfig, Params } from "./types";
4
4
  export declare const protobufPackage = "cosmwasm.wasm.v1";
5
5
  /** MsgStoreCode submit Wasm code to the system */
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.MsgStoreAndInstantiateContractResponse = exports
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const coin_1 = require("../../cosmos/base/v1beta1/coin");
10
+ const coin_1 = require("cosmjs-types/cosmos/base/v1beta1/coin");
11
11
  const types_1 = require("./types");
12
12
  exports.protobufPackage = "cosmwasm.wasm.v1";
13
13
  function createBaseMsgStoreCode() {
@@ -1,5 +1,6 @@
1
1
  import { CoreumNetworkConfig } from "../types/coreum";
2
2
  import { EncodeObject, OfflineSigner, Registry } from "@cosmjs/proto-signing";
3
+ import { TxRaw } from "../cosmos";
3
4
  import { ExtensionWallets, FeeCalculation, ClientQueryClient } from "../types";
4
5
  import { DeliverTxResponse, StargateClient } from "@cosmjs/stargate";
5
6
  import EventEmitter from "eventemitter3";
@@ -107,7 +108,7 @@ export declare class Client {
107
108
  * @param memo An arbitrary string to add as Memo for the transaction
108
109
  * @returns TxRaw object to be submitted to the chain
109
110
  */
110
- signTx(msgs: readonly EncodeObject[], memo?: string): Promise<import("cosmjs-types/cosmos/tx/v1beta1/tx").TxRaw>;
111
+ signTx(msgs: readonly EncodeObject[], memo?: string): Promise<TxRaw>;
111
112
  /**
112
113
  *
113
114
  * @param event String describing the event to subscribe to.
@@ -1,6 +1,6 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { Coin } from "../../../../cosmos/base/v1beta1/coin";
3
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
4
4
  import { Params } from "./params";
5
5
  import { Token } from "./token";
6
6
  export declare const protobufPackage = "coreum.asset.ft.v1";
@@ -1,12 +1,17 @@
1
1
  /* eslint-disable */
2
2
  import Long from "long";
3
3
  import _m0 from "protobufjs/minimal";
4
- import { Coin } from "../../../../cosmos/base/v1beta1/coin";
4
+ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
5
5
  import { Params } from "./params";
6
6
  import { Token } from "./token";
7
7
  export const protobufPackage = "coreum.asset.ft.v1";
8
8
  function createBaseGenesisState() {
9
- return { params: undefined, tokens: [], frozenBalances: [], whitelistedBalances: [] };
9
+ return {
10
+ params: undefined,
11
+ tokens: [],
12
+ frozenBalances: [],
13
+ whitelistedBalances: [],
14
+ };
10
15
  }
11
16
  export const GenesisState = {
12
17
  encode(message, writer = _m0.Writer.create()) {
@@ -66,7 +71,9 @@ export const GenesisState = {
66
71
  fromJSON(object) {
67
72
  return {
68
73
  params: isSet(object.params) ? Params.fromJSON(object.params) : undefined,
69
- tokens: Array.isArray(object?.tokens) ? object.tokens.map((e) => Token.fromJSON(e)) : [],
74
+ tokens: Array.isArray(object?.tokens)
75
+ ? object.tokens.map((e) => Token.fromJSON(e))
76
+ : [],
70
77
  frozenBalances: Array.isArray(object?.frozenBalances)
71
78
  ? object.frozenBalances.map((e) => Balance.fromJSON(e))
72
79
  : [],
@@ -77,9 +84,10 @@ export const GenesisState = {
77
84
  },
78
85
  toJSON(message) {
79
86
  const obj = {};
80
- message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
87
+ message.params !== undefined &&
88
+ (obj.params = message.params ? Params.toJSON(message.params) : undefined);
81
89
  if (message.tokens) {
82
- obj.tokens = message.tokens.map((e) => e ? Token.toJSON(e) : undefined);
90
+ obj.tokens = message.tokens.map((e) => (e ? Token.toJSON(e) : undefined));
83
91
  }
84
92
  else {
85
93
  obj.tokens = [];
@@ -103,12 +111,15 @@ export const GenesisState = {
103
111
  },
104
112
  fromPartial(object) {
105
113
  const message = createBaseGenesisState();
106
- message.params = (object.params !== undefined && object.params !== null)
107
- ? Params.fromPartial(object.params)
108
- : undefined;
114
+ message.params =
115
+ object.params !== undefined && object.params !== null
116
+ ? Params.fromPartial(object.params)
117
+ : undefined;
109
118
  message.tokens = object.tokens?.map((e) => Token.fromPartial(e)) || [];
110
- message.frozenBalances = object.frozenBalances?.map((e) => Balance.fromPartial(e)) || [];
111
- message.whitelistedBalances = object.whitelistedBalances?.map((e) => Balance.fromPartial(e)) || [];
119
+ message.frozenBalances =
120
+ object.frozenBalances?.map((e) => Balance.fromPartial(e)) || [];
121
+ message.whitelistedBalances =
122
+ object.whitelistedBalances?.map((e) => Balance.fromPartial(e)) || [];
112
123
  return message;
113
124
  },
114
125
  };
@@ -155,14 +166,16 @@ export const Balance = {
155
166
  fromJSON(object) {
156
167
  return {
157
168
  address: isSet(object.address) ? String(object.address) : "",
158
- coins: Array.isArray(object?.coins) ? object.coins.map((e) => Coin.fromJSON(e)) : [],
169
+ coins: Array.isArray(object?.coins)
170
+ ? object.coins.map((e) => Coin.fromJSON(e))
171
+ : [],
159
172
  };
160
173
  },
161
174
  toJSON(message) {
162
175
  const obj = {};
163
176
  message.address !== undefined && (obj.address = message.address);
164
177
  if (message.coins) {
165
- obj.coins = message.coins.map((e) => e ? Coin.toJSON(e) : undefined);
178
+ obj.coins = message.coins.map((e) => (e ? Coin.toJSON(e) : undefined));
166
179
  }
167
180
  else {
168
181
  obj.coins = [];