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,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";
@@ -7,12 +7,17 @@ exports.Balance = exports.GenesisState = exports.protobufPackage = void 0;
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 params_1 = require("./params");
12
12
  const token_1 = require("./token");
13
13
  exports.protobufPackage = "coreum.asset.ft.v1";
14
14
  function createBaseGenesisState() {
15
- return { params: undefined, tokens: [], frozenBalances: [], whitelistedBalances: [] };
15
+ return {
16
+ params: undefined,
17
+ tokens: [],
18
+ frozenBalances: [],
19
+ whitelistedBalances: [],
20
+ };
16
21
  }
17
22
  exports.GenesisState = {
18
23
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -72,7 +77,9 @@ exports.GenesisState = {
72
77
  fromJSON(object) {
73
78
  return {
74
79
  params: isSet(object.params) ? params_1.Params.fromJSON(object.params) : undefined,
75
- tokens: Array.isArray(object === null || object === void 0 ? void 0 : object.tokens) ? object.tokens.map((e) => token_1.Token.fromJSON(e)) : [],
80
+ tokens: Array.isArray(object === null || object === void 0 ? void 0 : object.tokens)
81
+ ? object.tokens.map((e) => token_1.Token.fromJSON(e))
82
+ : [],
76
83
  frozenBalances: Array.isArray(object === null || object === void 0 ? void 0 : object.frozenBalances)
77
84
  ? object.frozenBalances.map((e) => exports.Balance.fromJSON(e))
78
85
  : [],
@@ -83,9 +90,10 @@ exports.GenesisState = {
83
90
  },
84
91
  toJSON(message) {
85
92
  const obj = {};
86
- message.params !== undefined && (obj.params = message.params ? params_1.Params.toJSON(message.params) : undefined);
93
+ message.params !== undefined &&
94
+ (obj.params = message.params ? params_1.Params.toJSON(message.params) : undefined);
87
95
  if (message.tokens) {
88
- obj.tokens = message.tokens.map((e) => e ? token_1.Token.toJSON(e) : undefined);
96
+ obj.tokens = message.tokens.map((e) => (e ? token_1.Token.toJSON(e) : undefined));
89
97
  }
90
98
  else {
91
99
  obj.tokens = [];
@@ -110,12 +118,15 @@ exports.GenesisState = {
110
118
  fromPartial(object) {
111
119
  var _a, _b, _c;
112
120
  const message = createBaseGenesisState();
113
- message.params = (object.params !== undefined && object.params !== null)
114
- ? params_1.Params.fromPartial(object.params)
115
- : undefined;
121
+ message.params =
122
+ object.params !== undefined && object.params !== null
123
+ ? params_1.Params.fromPartial(object.params)
124
+ : undefined;
116
125
  message.tokens = ((_a = object.tokens) === null || _a === void 0 ? void 0 : _a.map((e) => token_1.Token.fromPartial(e))) || [];
117
- message.frozenBalances = ((_b = object.frozenBalances) === null || _b === void 0 ? void 0 : _b.map((e) => exports.Balance.fromPartial(e))) || [];
118
- message.whitelistedBalances = ((_c = object.whitelistedBalances) === null || _c === void 0 ? void 0 : _c.map((e) => exports.Balance.fromPartial(e))) || [];
126
+ message.frozenBalances =
127
+ ((_b = object.frozenBalances) === null || _b === void 0 ? void 0 : _b.map((e) => exports.Balance.fromPartial(e))) || [];
128
+ message.whitelistedBalances =
129
+ ((_c = object.whitelistedBalances) === null || _c === void 0 ? void 0 : _c.map((e) => exports.Balance.fromPartial(e))) || [];
119
130
  return message;
120
131
  },
121
132
  };
@@ -162,14 +173,16 @@ exports.Balance = {
162
173
  fromJSON(object) {
163
174
  return {
164
175
  address: isSet(object.address) ? String(object.address) : "",
165
- coins: Array.isArray(object === null || object === void 0 ? void 0 : object.coins) ? object.coins.map((e) => coin_1.Coin.fromJSON(e)) : [],
176
+ coins: Array.isArray(object === null || object === void 0 ? void 0 : object.coins)
177
+ ? object.coins.map((e) => coin_1.Coin.fromJSON(e))
178
+ : [],
166
179
  };
167
180
  },
168
181
  toJSON(message) {
169
182
  const obj = {};
170
183
  message.address !== undefined && (obj.address = message.address);
171
184
  if (message.coins) {
172
- obj.coins = message.coins.map((e) => e ? coin_1.Coin.toJSON(e) : undefined);
185
+ obj.coins = message.coins.map((e) => (e ? coin_1.Coin.toJSON(e) : undefined));
173
186
  }
174
187
  else {
175
188
  obj.coins = [];
@@ -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
  export declare const protobufPackage = "coreum.asset.ft.v1";
5
5
  /** Params store gov manageable parameters. */
6
6
  export interface Params {
@@ -7,7 +7,7 @@ exports.Params = exports.protobufPackage = void 0;
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
  exports.protobufPackage = "coreum.asset.ft.v1";
12
12
  function createBaseParams() {
13
13
  return { issueFee: undefined };
@@ -41,11 +41,18 @@ exports.Params = {
41
41
  return message;
42
42
  },
43
43
  fromJSON(object) {
44
- return { issueFee: isSet(object.issueFee) ? coin_1.Coin.fromJSON(object.issueFee) : undefined };
44
+ return {
45
+ issueFee: isSet(object.issueFee)
46
+ ? coin_1.Coin.fromJSON(object.issueFee)
47
+ : undefined,
48
+ };
45
49
  },
46
50
  toJSON(message) {
47
51
  const obj = {};
48
- message.issueFee !== undefined && (obj.issueFee = message.issueFee ? coin_1.Coin.toJSON(message.issueFee) : undefined);
52
+ message.issueFee !== undefined &&
53
+ (obj.issueFee = message.issueFee
54
+ ? coin_1.Coin.toJSON(message.issueFee)
55
+ : undefined);
49
56
  return obj;
50
57
  },
51
58
  create(base) {
@@ -53,9 +60,10 @@ exports.Params = {
53
60
  },
54
61
  fromPartial(object) {
55
62
  const message = createBaseParams();
56
- message.issueFee = (object.issueFee !== undefined && object.issueFee !== null)
57
- ? coin_1.Coin.fromPartial(object.issueFee)
58
- : undefined;
63
+ message.issueFee =
64
+ object.issueFee !== undefined && object.issueFee !== null
65
+ ? coin_1.Coin.fromPartial(object.issueFee)
66
+ : undefined;
59
67
  return message;
60
68
  },
61
69
  };
@@ -1,7 +1,7 @@
1
1
  import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
- import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination";
4
- import { Coin } from "../../../../cosmos/base/v1beta1/coin";
3
+ import { PageRequest, PageResponse } from "cosmjs-types/cosmos/base/query/v1beta1/pagination";
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 declare const protobufPackage = "coreum.asset.ft.v1";
@@ -7,8 +7,8 @@ exports.QueryClientImpl = exports.QueryWhitelistedBalanceResponse = exports.Quer
7
7
  /* eslint-disable */
8
8
  const long_1 = __importDefault(require("long"));
9
9
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
- const pagination_1 = require("../../../../cosmos/base/query/v1beta1/pagination");
11
- const coin_1 = require("../../../../cosmos/base/v1beta1/coin");
10
+ const pagination_1 = require("cosmjs-types/cosmos/base/query/v1beta1/pagination");
11
+ const coin_1 = require("cosmjs-types/cosmos/base/v1beta1/coin");
12
12
  const params_1 = require("./params");
13
13
  const token_1 = require("./token");
14
14
  exports.protobufPackage = "coreum.asset.ft.v1";
@@ -81,11 +81,14 @@ exports.QueryParamsResponse = {
81
81
  return message;
82
82
  },
83
83
  fromJSON(object) {
84
- return { params: isSet(object.params) ? params_1.Params.fromJSON(object.params) : undefined };
84
+ return {
85
+ params: isSet(object.params) ? params_1.Params.fromJSON(object.params) : undefined,
86
+ };
85
87
  },
86
88
  toJSON(message) {
87
89
  const obj = {};
88
- message.params !== undefined && (obj.params = message.params ? params_1.Params.toJSON(message.params) : undefined);
90
+ message.params !== undefined &&
91
+ (obj.params = message.params ? params_1.Params.toJSON(message.params) : undefined);
89
92
  return obj;
90
93
  },
91
94
  create(base) {
@@ -93,9 +96,10 @@ exports.QueryParamsResponse = {
93
96
  },
94
97
  fromPartial(object) {
95
98
  const message = createBaseQueryParamsResponse();
96
- message.params = (object.params !== undefined && object.params !== null)
97
- ? params_1.Params.fromPartial(object.params)
98
- : undefined;
99
+ message.params =
100
+ object.params !== undefined && object.params !== null
101
+ ? params_1.Params.fromPartial(object.params)
102
+ : undefined;
99
103
  return message;
100
104
  },
101
105
  };
@@ -180,11 +184,14 @@ exports.QueryTokenResponse = {
180
184
  return message;
181
185
  },
182
186
  fromJSON(object) {
183
- return { token: isSet(object.token) ? token_1.Token.fromJSON(object.token) : undefined };
187
+ return {
188
+ token: isSet(object.token) ? token_1.Token.fromJSON(object.token) : undefined,
189
+ };
184
190
  },
185
191
  toJSON(message) {
186
192
  const obj = {};
187
- message.token !== undefined && (obj.token = message.token ? token_1.Token.toJSON(message.token) : undefined);
193
+ message.token !== undefined &&
194
+ (obj.token = message.token ? token_1.Token.toJSON(message.token) : undefined);
188
195
  return obj;
189
196
  },
190
197
  create(base) {
@@ -192,7 +199,10 @@ exports.QueryTokenResponse = {
192
199
  },
193
200
  fromPartial(object) {
194
201
  const message = createBaseQueryTokenResponse();
195
- message.token = (object.token !== undefined && object.token !== null) ? token_1.Token.fromPartial(object.token) : undefined;
202
+ message.token =
203
+ object.token !== undefined && object.token !== null
204
+ ? token_1.Token.fromPartial(object.token)
205
+ : undefined;
196
206
  return message;
197
207
  },
198
208
  };
@@ -238,14 +248,18 @@ exports.QueryTokensRequest = {
238
248
  },
239
249
  fromJSON(object) {
240
250
  return {
241
- pagination: isSet(object.pagination) ? pagination_1.PageRequest.fromJSON(object.pagination) : undefined,
251
+ pagination: isSet(object.pagination)
252
+ ? pagination_1.PageRequest.fromJSON(object.pagination)
253
+ : undefined,
242
254
  issuer: isSet(object.issuer) ? String(object.issuer) : "",
243
255
  };
244
256
  },
245
257
  toJSON(message) {
246
258
  const obj = {};
247
259
  message.pagination !== undefined &&
248
- (obj.pagination = message.pagination ? pagination_1.PageRequest.toJSON(message.pagination) : undefined);
260
+ (obj.pagination = message.pagination
261
+ ? pagination_1.PageRequest.toJSON(message.pagination)
262
+ : undefined);
249
263
  message.issuer !== undefined && (obj.issuer = message.issuer);
250
264
  return obj;
251
265
  },
@@ -255,9 +269,10 @@ exports.QueryTokensRequest = {
255
269
  fromPartial(object) {
256
270
  var _a;
257
271
  const message = createBaseQueryTokensRequest();
258
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
259
- ? pagination_1.PageRequest.fromPartial(object.pagination)
260
- : undefined;
272
+ message.pagination =
273
+ object.pagination !== undefined && object.pagination !== null
274
+ ? pagination_1.PageRequest.fromPartial(object.pagination)
275
+ : undefined;
261
276
  message.issuer = (_a = object.issuer) !== null && _a !== void 0 ? _a : "";
262
277
  return message;
263
278
  },
@@ -304,16 +319,22 @@ exports.QueryTokensResponse = {
304
319
  },
305
320
  fromJSON(object) {
306
321
  return {
307
- pagination: isSet(object.pagination) ? pagination_1.PageResponse.fromJSON(object.pagination) : undefined,
308
- tokens: Array.isArray(object === null || object === void 0 ? void 0 : object.tokens) ? object.tokens.map((e) => token_1.Token.fromJSON(e)) : [],
322
+ pagination: isSet(object.pagination)
323
+ ? pagination_1.PageResponse.fromJSON(object.pagination)
324
+ : undefined,
325
+ tokens: Array.isArray(object === null || object === void 0 ? void 0 : object.tokens)
326
+ ? object.tokens.map((e) => token_1.Token.fromJSON(e))
327
+ : [],
309
328
  };
310
329
  },
311
330
  toJSON(message) {
312
331
  const obj = {};
313
332
  message.pagination !== undefined &&
314
- (obj.pagination = message.pagination ? pagination_1.PageResponse.toJSON(message.pagination) : undefined);
333
+ (obj.pagination = message.pagination
334
+ ? pagination_1.PageResponse.toJSON(message.pagination)
335
+ : undefined);
315
336
  if (message.tokens) {
316
- obj.tokens = message.tokens.map((e) => e ? token_1.Token.toJSON(e) : undefined);
337
+ obj.tokens = message.tokens.map((e) => (e ? token_1.Token.toJSON(e) : undefined));
317
338
  }
318
339
  else {
319
340
  obj.tokens = [];
@@ -326,9 +347,10 @@ exports.QueryTokensResponse = {
326
347
  fromPartial(object) {
327
348
  var _a;
328
349
  const message = createBaseQueryTokensResponse();
329
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
330
- ? pagination_1.PageResponse.fromPartial(object.pagination)
331
- : undefined;
350
+ message.pagination =
351
+ object.pagination !== undefined && object.pagination !== null
352
+ ? pagination_1.PageResponse.fromPartial(object.pagination)
353
+ : undefined;
332
354
  message.tokens = ((_a = object.tokens) === null || _a === void 0 ? void 0 : _a.map((e) => token_1.Token.fromPartial(e))) || [];
333
355
  return message;
334
356
  },
@@ -375,14 +397,18 @@ exports.QueryFrozenBalancesRequest = {
375
397
  },
376
398
  fromJSON(object) {
377
399
  return {
378
- pagination: isSet(object.pagination) ? pagination_1.PageRequest.fromJSON(object.pagination) : undefined,
400
+ pagination: isSet(object.pagination)
401
+ ? pagination_1.PageRequest.fromJSON(object.pagination)
402
+ : undefined,
379
403
  account: isSet(object.account) ? String(object.account) : "",
380
404
  };
381
405
  },
382
406
  toJSON(message) {
383
407
  const obj = {};
384
408
  message.pagination !== undefined &&
385
- (obj.pagination = message.pagination ? pagination_1.PageRequest.toJSON(message.pagination) : undefined);
409
+ (obj.pagination = message.pagination
410
+ ? pagination_1.PageRequest.toJSON(message.pagination)
411
+ : undefined);
386
412
  message.account !== undefined && (obj.account = message.account);
387
413
  return obj;
388
414
  },
@@ -392,9 +418,10 @@ exports.QueryFrozenBalancesRequest = {
392
418
  fromPartial(object) {
393
419
  var _a;
394
420
  const message = createBaseQueryFrozenBalancesRequest();
395
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
396
- ? pagination_1.PageRequest.fromPartial(object.pagination)
397
- : undefined;
421
+ message.pagination =
422
+ object.pagination !== undefined && object.pagination !== null
423
+ ? pagination_1.PageRequest.fromPartial(object.pagination)
424
+ : undefined;
398
425
  message.account = (_a = object.account) !== null && _a !== void 0 ? _a : "";
399
426
  return message;
400
427
  },
@@ -441,14 +468,20 @@ exports.QueryFrozenBalancesResponse = {
441
468
  },
442
469
  fromJSON(object) {
443
470
  return {
444
- pagination: isSet(object.pagination) ? pagination_1.PageResponse.fromJSON(object.pagination) : undefined,
445
- balances: Array.isArray(object === null || object === void 0 ? void 0 : object.balances) ? object.balances.map((e) => coin_1.Coin.fromJSON(e)) : [],
471
+ pagination: isSet(object.pagination)
472
+ ? pagination_1.PageResponse.fromJSON(object.pagination)
473
+ : undefined,
474
+ balances: Array.isArray(object === null || object === void 0 ? void 0 : object.balances)
475
+ ? object.balances.map((e) => coin_1.Coin.fromJSON(e))
476
+ : [],
446
477
  };
447
478
  },
448
479
  toJSON(message) {
449
480
  const obj = {};
450
481
  message.pagination !== undefined &&
451
- (obj.pagination = message.pagination ? pagination_1.PageResponse.toJSON(message.pagination) : undefined);
482
+ (obj.pagination = message.pagination
483
+ ? pagination_1.PageResponse.toJSON(message.pagination)
484
+ : undefined);
452
485
  if (message.balances) {
453
486
  obj.balances = message.balances.map((e) => e ? coin_1.Coin.toJSON(e) : undefined);
454
487
  }
@@ -463,9 +496,10 @@ exports.QueryFrozenBalancesResponse = {
463
496
  fromPartial(object) {
464
497
  var _a;
465
498
  const message = createBaseQueryFrozenBalancesResponse();
466
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
467
- ? pagination_1.PageResponse.fromPartial(object.pagination)
468
- : undefined;
499
+ message.pagination =
500
+ object.pagination !== undefined && object.pagination !== null
501
+ ? pagination_1.PageResponse.fromPartial(object.pagination)
502
+ : undefined;
469
503
  message.balances = ((_a = object.balances) === null || _a === void 0 ? void 0 : _a.map((e) => coin_1.Coin.fromPartial(e))) || [];
470
504
  return message;
471
505
  },
@@ -565,11 +599,18 @@ exports.QueryFrozenBalanceResponse = {
565
599
  return message;
566
600
  },
567
601
  fromJSON(object) {
568
- return { balance: isSet(object.balance) ? coin_1.Coin.fromJSON(object.balance) : undefined };
602
+ return {
603
+ balance: isSet(object.balance)
604
+ ? coin_1.Coin.fromJSON(object.balance)
605
+ : undefined,
606
+ };
569
607
  },
570
608
  toJSON(message) {
571
609
  const obj = {};
572
- message.balance !== undefined && (obj.balance = message.balance ? coin_1.Coin.toJSON(message.balance) : undefined);
610
+ message.balance !== undefined &&
611
+ (obj.balance = message.balance
612
+ ? coin_1.Coin.toJSON(message.balance)
613
+ : undefined);
573
614
  return obj;
574
615
  },
575
616
  create(base) {
@@ -577,9 +618,10 @@ exports.QueryFrozenBalanceResponse = {
577
618
  },
578
619
  fromPartial(object) {
579
620
  const message = createBaseQueryFrozenBalanceResponse();
580
- message.balance = (object.balance !== undefined && object.balance !== null)
581
- ? coin_1.Coin.fromPartial(object.balance)
582
- : undefined;
621
+ message.balance =
622
+ object.balance !== undefined && object.balance !== null
623
+ ? coin_1.Coin.fromPartial(object.balance)
624
+ : undefined;
583
625
  return message;
584
626
  },
585
627
  };
@@ -625,14 +667,18 @@ exports.QueryWhitelistedBalancesRequest = {
625
667
  },
626
668
  fromJSON(object) {
627
669
  return {
628
- pagination: isSet(object.pagination) ? pagination_1.PageRequest.fromJSON(object.pagination) : undefined,
670
+ pagination: isSet(object.pagination)
671
+ ? pagination_1.PageRequest.fromJSON(object.pagination)
672
+ : undefined,
629
673
  account: isSet(object.account) ? String(object.account) : "",
630
674
  };
631
675
  },
632
676
  toJSON(message) {
633
677
  const obj = {};
634
678
  message.pagination !== undefined &&
635
- (obj.pagination = message.pagination ? pagination_1.PageRequest.toJSON(message.pagination) : undefined);
679
+ (obj.pagination = message.pagination
680
+ ? pagination_1.PageRequest.toJSON(message.pagination)
681
+ : undefined);
636
682
  message.account !== undefined && (obj.account = message.account);
637
683
  return obj;
638
684
  },
@@ -642,9 +688,10 @@ exports.QueryWhitelistedBalancesRequest = {
642
688
  fromPartial(object) {
643
689
  var _a;
644
690
  const message = createBaseQueryWhitelistedBalancesRequest();
645
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
646
- ? pagination_1.PageRequest.fromPartial(object.pagination)
647
- : undefined;
691
+ message.pagination =
692
+ object.pagination !== undefined && object.pagination !== null
693
+ ? pagination_1.PageRequest.fromPartial(object.pagination)
694
+ : undefined;
648
695
  message.account = (_a = object.account) !== null && _a !== void 0 ? _a : "";
649
696
  return message;
650
697
  },
@@ -691,14 +738,20 @@ exports.QueryWhitelistedBalancesResponse = {
691
738
  },
692
739
  fromJSON(object) {
693
740
  return {
694
- pagination: isSet(object.pagination) ? pagination_1.PageResponse.fromJSON(object.pagination) : undefined,
695
- balances: Array.isArray(object === null || object === void 0 ? void 0 : object.balances) ? object.balances.map((e) => coin_1.Coin.fromJSON(e)) : [],
741
+ pagination: isSet(object.pagination)
742
+ ? pagination_1.PageResponse.fromJSON(object.pagination)
743
+ : undefined,
744
+ balances: Array.isArray(object === null || object === void 0 ? void 0 : object.balances)
745
+ ? object.balances.map((e) => coin_1.Coin.fromJSON(e))
746
+ : [],
696
747
  };
697
748
  },
698
749
  toJSON(message) {
699
750
  const obj = {};
700
751
  message.pagination !== undefined &&
701
- (obj.pagination = message.pagination ? pagination_1.PageResponse.toJSON(message.pagination) : undefined);
752
+ (obj.pagination = message.pagination
753
+ ? pagination_1.PageResponse.toJSON(message.pagination)
754
+ : undefined);
702
755
  if (message.balances) {
703
756
  obj.balances = message.balances.map((e) => e ? coin_1.Coin.toJSON(e) : undefined);
704
757
  }
@@ -713,9 +766,10 @@ exports.QueryWhitelistedBalancesResponse = {
713
766
  fromPartial(object) {
714
767
  var _a;
715
768
  const message = createBaseQueryWhitelistedBalancesResponse();
716
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
717
- ? pagination_1.PageResponse.fromPartial(object.pagination)
718
- : undefined;
769
+ message.pagination =
770
+ object.pagination !== undefined && object.pagination !== null
771
+ ? pagination_1.PageResponse.fromPartial(object.pagination)
772
+ : undefined;
719
773
  message.balances = ((_a = object.balances) === null || _a === void 0 ? void 0 : _a.map((e) => coin_1.Coin.fromPartial(e))) || [];
720
774
  return message;
721
775
  },
@@ -815,11 +869,18 @@ exports.QueryWhitelistedBalanceResponse = {
815
869
  return message;
816
870
  },
817
871
  fromJSON(object) {
818
- return { balance: isSet(object.balance) ? coin_1.Coin.fromJSON(object.balance) : undefined };
872
+ return {
873
+ balance: isSet(object.balance)
874
+ ? coin_1.Coin.fromJSON(object.balance)
875
+ : undefined,
876
+ };
819
877
  },
820
878
  toJSON(message) {
821
879
  const obj = {};
822
- message.balance !== undefined && (obj.balance = message.balance ? coin_1.Coin.toJSON(message.balance) : undefined);
880
+ message.balance !== undefined &&
881
+ (obj.balance = message.balance
882
+ ? coin_1.Coin.toJSON(message.balance)
883
+ : undefined);
823
884
  return obj;
824
885
  },
825
886
  create(base) {
@@ -827,9 +888,10 @@ exports.QueryWhitelistedBalanceResponse = {
827
888
  },
828
889
  fromPartial(object) {
829
890
  const message = createBaseQueryWhitelistedBalanceResponse();
830
- message.balance = (object.balance !== undefined && object.balance !== null)
831
- ? coin_1.Coin.fromPartial(object.balance)
832
- : undefined;
891
+ message.balance =
892
+ object.balance !== undefined && object.balance !== null
893
+ ? coin_1.Coin.fromPartial(object.balance)
894
+ : undefined;
833
895
  return message;
834
896
  },
835
897
  };
@@ -8,6 +8,7 @@ export declare enum Feature {
8
8
  whitelisting = 3,
9
9
  ibc = 4,
10
10
  block_smart_contracts = 5,
11
+ clawback = 6,
11
12
  UNRECOGNIZED = -1
12
13
  }
13
14
  export declare function featureFromJSON(object: any): Feature;
@@ -17,6 +17,7 @@ var Feature;
17
17
  Feature[Feature["whitelisting"] = 3] = "whitelisting";
18
18
  Feature[Feature["ibc"] = 4] = "ibc";
19
19
  Feature[Feature["block_smart_contracts"] = 5] = "block_smart_contracts";
20
+ Feature[Feature["clawback"] = 6] = "clawback";
20
21
  Feature[Feature["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
21
22
  })(Feature || (exports.Feature = Feature = {}));
22
23
  function featureFromJSON(object) {
@@ -39,6 +40,9 @@ function featureFromJSON(object) {
39
40
  case 5:
40
41
  case "block_smart_contracts":
41
42
  return Feature.block_smart_contracts;
43
+ case 6:
44
+ case "clawback":
45
+ return Feature.clawback;
42
46
  case -1:
43
47
  case "UNRECOGNIZED":
44
48
  default:
@@ -60,6 +64,8 @@ function featureToJSON(object) {
60
64
  return "ibc";
61
65
  case Feature.block_smart_contracts:
62
66
  return "block_smart_contracts";
67
+ case Feature.clawback:
68
+ return "clawback";
63
69
  case Feature.UNRECOGNIZED:
64
70
  default:
65
71
  return "UNRECOGNIZED";
@@ -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 { Feature } from "./token";
5
5
  export declare const protobufPackage = "coreum.asset.ft.v1";
6
6
  /** MsgIssue defines message to issue new fungible token. */
@@ -7,7 +7,7 @@ exports.MsgClientImpl = exports.EmptyResponse = exports.MsgSetWhitelistedLimit =
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 token_1 = require("./token");
12
12
  exports.protobufPackage = "coreum.asset.ft.v1";
13
13
  function createBaseMsgIssue() {
@@ -70,7 +70,7 @@ export declare const GenesisState: {
70
70
  } & {
71
71
  denom?: string;
72
72
  amount?: string;
73
- } & { [K in Exclude<keyof I["params"]["mintFee"], keyof import("../../../../cosmos/base/v1beta1/coin").Coin>]: never; };
73
+ } & { [K in Exclude<keyof I["params"]["mintFee"], keyof import("cosmjs-types/cosmos/base/v1beta1/coin").Coin>]: never; };
74
74
  } & { [K_1 in Exclude<keyof I["params"], "mintFee">]: never; };
75
75
  classDefinitions?: {
76
76
  id?: string;
@@ -176,7 +176,7 @@ export declare const GenesisState: {
176
176
  } & {
177
177
  denom?: string;
178
178
  amount?: string;
179
- } & { [K_15 in Exclude<keyof I_1["params"]["mintFee"], keyof import("../../../../cosmos/base/v1beta1/coin").Coin>]: never; };
179
+ } & { [K_15 in Exclude<keyof I_1["params"]["mintFee"], keyof import("cosmjs-types/cosmos/base/v1beta1/coin").Coin>]: never; };
180
180
  } & { [K_16 in Exclude<keyof I_1["params"], "mintFee">]: never; };
181
181
  classDefinitions?: {
182
182
  id?: string;
@@ -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
  export declare const protobufPackage = "coreum.asset.nft.v1";
5
5
  /** Params store gov manageable parameters. */
6
6
  export interface Params {
@@ -7,7 +7,7 @@ exports.Params = exports.protobufPackage = void 0;
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
  exports.protobufPackage = "coreum.asset.nft.v1";
12
12
  function createBaseParams() {
13
13
  return { mintFee: undefined };
@@ -41,11 +41,18 @@ exports.Params = {
41
41
  return message;
42
42
  },
43
43
  fromJSON(object) {
44
- return { mintFee: isSet(object.mintFee) ? coin_1.Coin.fromJSON(object.mintFee) : undefined };
44
+ return {
45
+ mintFee: isSet(object.mintFee)
46
+ ? coin_1.Coin.fromJSON(object.mintFee)
47
+ : undefined,
48
+ };
45
49
  },
46
50
  toJSON(message) {
47
51
  const obj = {};
48
- message.mintFee !== undefined && (obj.mintFee = message.mintFee ? coin_1.Coin.toJSON(message.mintFee) : undefined);
52
+ message.mintFee !== undefined &&
53
+ (obj.mintFee = message.mintFee
54
+ ? coin_1.Coin.toJSON(message.mintFee)
55
+ : undefined);
49
56
  return obj;
50
57
  },
51
58
  create(base) {
@@ -53,9 +60,10 @@ exports.Params = {
53
60
  },
54
61
  fromPartial(object) {
55
62
  const message = createBaseParams();
56
- message.mintFee = (object.mintFee !== undefined && object.mintFee !== null)
57
- ? coin_1.Coin.fromPartial(object.mintFee)
58
- : undefined;
63
+ message.mintFee =
64
+ object.mintFee !== undefined && object.mintFee !== null
65
+ ? coin_1.Coin.fromPartial(object.mintFee)
66
+ : undefined;
59
67
  return message;
60
68
  },
61
69
  };