coreum-js 2.16.2 → 2.17.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 (203) hide show
  1. package/dist/main/client/index.js +16 -17
  2. package/dist/main/coreum/asset/ft/v1/authz.d.ts +38 -0
  3. package/dist/main/coreum/asset/ft/v1/authz.js +122 -0
  4. package/dist/main/coreum/asset/ft/v1/event.d.ts +52 -120
  5. package/dist/main/coreum/asset/ft/v1/event.js +744 -138
  6. package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -517
  7. package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
  8. package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -63
  9. package/dist/main/coreum/asset/ft/v1/params.js +37 -33
  10. package/dist/main/coreum/asset/ft/v1/query.d.ts +86 -1950
  11. package/dist/main/coreum/asset/ft/v1/query.js +697 -217
  12. package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -249
  13. package/dist/main/coreum/asset/ft/v1/token.js +273 -197
  14. package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -755
  15. package/dist/main/coreum/asset/ft/v1/tx.js +502 -386
  16. package/dist/main/coreum/asset/index.d.ts +2 -3
  17. package/dist/main/coreum/asset/nft/v1/authz.d.ts +33 -0
  18. package/dist/main/coreum/asset/nft/v1/authz.js +137 -0
  19. package/dist/main/coreum/asset/nft/v1/event.d.ts +35 -147
  20. package/dist/main/coreum/asset/nft/v1/event.js +475 -147
  21. package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -286
  22. package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
  23. package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -108
  24. package/dist/main/coreum/asset/nft/v1/nft.js +136 -101
  25. package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -38
  26. package/dist/main/coreum/asset/nft/v1/params.js +17 -20
  27. package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -706
  28. package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
  29. package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -266
  30. package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
  31. package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -19
  32. package/dist/main/coreum/asset/nft/v1/types.js +273 -45
  33. package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -32
  34. package/dist/main/coreum/customparams/v1/genesis.js +26 -22
  35. package/dist/main/coreum/customparams/v1/params.d.ts +11 -19
  36. package/dist/main/coreum/customparams/v1/params.js +23 -20
  37. package/dist/main/coreum/customparams/v1/query.d.ts +14 -40
  38. package/dist/main/coreum/customparams/v1/query.js +35 -29
  39. package/dist/main/coreum/dex/index.d.ts +1 -0
  40. package/dist/main/coreum/dex/index.js +12 -0
  41. package/dist/main/coreum/dex/v1/event.d.ts +73 -0
  42. package/dist/main/coreum/dex/v1/event.js +470 -0
  43. package/dist/main/coreum/dex/v1/genesis.d.ts +49 -0
  44. package/dist/main/coreum/dex/v1/genesis.js +318 -0
  45. package/dist/main/coreum/dex/v1/order.d.ts +172 -0
  46. package/dist/main/coreum/dex/v1/order.js +1137 -0
  47. package/dist/main/coreum/dex/v1/params.d.ts +34 -0
  48. package/dist/main/coreum/dex/v1/params.js +139 -0
  49. package/dist/main/coreum/dex/v1/query.d.ts +133 -0
  50. package/dist/main/coreum/dex/v1/query.js +873 -0
  51. package/dist/main/coreum/dex/v1/tx.d.ts +102 -0
  52. package/dist/main/coreum/dex/v1/tx.js +521 -0
  53. package/dist/main/coreum/extensions/dex.d.ts +12 -0
  54. package/dist/main/coreum/extensions/dex.js +32 -0
  55. package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -233
  56. package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
  57. package/dist/main/coreum/feemodel/v1/params.d.ts +14 -337
  58. package/dist/main/coreum/feemodel/v1/params.js +113 -66
  59. package/dist/main/coreum/feemodel/v1/query.d.ts +30 -261
  60. package/dist/main/coreum/feemodel/v1/query.js +196 -43
  61. package/dist/main/coreum/index.d.ts +46 -0
  62. package/dist/main/coreum/index.js +58 -1
  63. package/dist/main/coreum/nft/index.d.ts +1 -2
  64. package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -79
  65. package/dist/main/coreum/nft/v1beta1/event.js +103 -77
  66. package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -435
  67. package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
  68. package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -114
  69. package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
  70. package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -1628
  71. package/dist/main/coreum/nft/v1beta1/query.js +259 -223
  72. package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -39
  73. package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
  74. package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
  75. package/dist/main/cosmos/extensions/distribution.js +9 -9
  76. package/dist/main/cosmos/extensions/gov.d.ts +13 -13
  77. package/dist/main/cosmos/extensions/gov.js +14 -8
  78. package/dist/main/cosmos/index.d.ts +8 -8
  79. package/dist/main/google/api/http.js +18 -21
  80. package/dist/main/google/protobuf/any.js +3 -4
  81. package/dist/main/google/protobuf/duration.js +3 -4
  82. package/dist/main/google/protobuf/timestamp.js +3 -4
  83. package/dist/main/services/cosmostation.js +1 -1
  84. package/dist/main/tendermint/abci/types.js +183 -223
  85. package/dist/main/tendermint/crypto/keys.js +3 -4
  86. package/dist/main/tendermint/crypto/proof.js +19 -24
  87. package/dist/main/tendermint/types/params.js +15 -20
  88. package/dist/main/tendermint/types/types.js +57 -68
  89. package/dist/main/tendermint/types/validator.js +10 -13
  90. package/dist/main/tendermint/version/types.js +6 -8
  91. package/dist/main/types/core.d.ts +2 -1
  92. package/dist/main/types/core.js +2 -0
  93. package/dist/main/wasm/v1/authz.d.ts +20 -471
  94. package/dist/main/wasm/v1/authz.js +129 -148
  95. package/dist/main/wasm/v1/genesis.d.ts +14 -1020
  96. package/dist/main/wasm/v1/genesis.js +169 -140
  97. package/dist/main/wasm/v1/ibc.d.ts +13 -62
  98. package/dist/main/wasm/v1/ibc.js +91 -76
  99. package/dist/main/wasm/v1/index.d.ts +1 -2
  100. package/dist/main/wasm/v1/pagination.js +9 -11
  101. package/dist/main/wasm/v1/proposal.d.ts +23 -720
  102. package/dist/main/wasm/v1/proposal.js +634 -465
  103. package/dist/main/wasm/v1/query.d.ts +35 -1201
  104. package/dist/main/wasm/v1/query.js +370 -363
  105. package/dist/main/wasm/v1/tx.d.ts +37 -788
  106. package/dist/main/wasm/v1/tx.js +621 -497
  107. package/dist/main/wasm/v1/types.d.ts +19 -297
  108. package/dist/main/wasm/v1/types.js +219 -190
  109. package/dist/module/client/index.js +4 -3
  110. package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
  111. package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
  112. package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -120
  113. package/dist/module/coreum/asset/ft/v1/event.js +721 -109
  114. package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -517
  115. package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
  116. package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -63
  117. package/dist/module/coreum/asset/ft/v1/params.js +35 -27
  118. package/dist/module/coreum/asset/ft/v1/query.d.ts +86 -1950
  119. package/dist/module/coreum/asset/ft/v1/query.js +672 -180
  120. package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -249
  121. package/dist/module/coreum/asset/ft/v1/token.js +236 -152
  122. package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -755
  123. package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
  124. package/dist/module/coreum/asset/index.d.ts +2 -3
  125. package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
  126. package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
  127. package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -147
  128. package/dist/module/coreum/asset/nft/v1/event.js +448 -112
  129. package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -286
  130. package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
  131. package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -108
  132. package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
  133. package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -38
  134. package/dist/module/coreum/asset/nft/v1/params.js +16 -16
  135. package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -706
  136. package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
  137. package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -266
  138. package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
  139. package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -19
  140. package/dist/module/coreum/asset/nft/v1/types.js +269 -39
  141. package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -32
  142. package/dist/module/coreum/customparams/v1/genesis.js +25 -18
  143. package/dist/module/coreum/customparams/v1/params.d.ts +11 -19
  144. package/dist/module/coreum/customparams/v1/params.js +21 -14
  145. package/dist/module/coreum/customparams/v1/query.d.ts +14 -40
  146. package/dist/module/coreum/customparams/v1/query.js +32 -23
  147. package/dist/module/coreum/dex/index.d.ts +1 -0
  148. package/dist/module/coreum/dex/index.js +9 -0
  149. package/dist/module/coreum/dex/v1/event.d.ts +73 -0
  150. package/dist/module/coreum/dex/v1/event.js +467 -0
  151. package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
  152. package/dist/module/coreum/dex/v1/genesis.js +315 -0
  153. package/dist/module/coreum/dex/v1/order.d.ts +172 -0
  154. package/dist/module/coreum/dex/v1/order.js +1128 -0
  155. package/dist/module/coreum/dex/v1/params.d.ts +34 -0
  156. package/dist/module/coreum/dex/v1/params.js +136 -0
  157. package/dist/module/coreum/dex/v1/query.d.ts +133 -0
  158. package/dist/module/coreum/dex/v1/query.js +871 -0
  159. package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
  160. package/dist/module/coreum/dex/v1/tx.js +519 -0
  161. package/dist/module/coreum/extensions/dex.d.ts +12 -0
  162. package/dist/module/coreum/extensions/dex.js +28 -0
  163. package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -233
  164. package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
  165. package/dist/module/coreum/feemodel/v1/params.d.ts +14 -337
  166. package/dist/module/coreum/feemodel/v1/params.js +105 -54
  167. package/dist/module/coreum/feemodel/v1/query.d.ts +30 -261
  168. package/dist/module/coreum/feemodel/v1/query.js +191 -35
  169. package/dist/module/coreum/index.d.ts +46 -0
  170. package/dist/module/coreum/index.js +57 -0
  171. package/dist/module/coreum/nft/index.d.ts +1 -2
  172. package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -79
  173. package/dist/module/coreum/nft/v1beta1/event.js +90 -58
  174. package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -435
  175. package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
  176. package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -114
  177. package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
  178. package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -1628
  179. package/dist/module/coreum/nft/v1beta1/query.js +231 -183
  180. package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -39
  181. package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
  182. package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
  183. package/dist/module/cosmos/extensions/gov.d.ts +13 -13
  184. package/dist/module/cosmos/index.d.ts +8 -8
  185. package/dist/module/services/cosmostation.js +1 -1
  186. package/dist/module/types/core.d.ts +2 -1
  187. package/dist/module/types/core.js +2 -0
  188. package/dist/module/wasm/v1/authz.d.ts +20 -471
  189. package/dist/module/wasm/v1/authz.js +111 -119
  190. package/dist/module/wasm/v1/genesis.d.ts +14 -1020
  191. package/dist/module/wasm/v1/genesis.js +161 -125
  192. package/dist/module/wasm/v1/ibc.d.ts +13 -62
  193. package/dist/module/wasm/v1/ibc.js +83 -62
  194. package/dist/module/wasm/v1/index.d.ts +1 -2
  195. package/dist/module/wasm/v1/proposal.d.ts +23 -720
  196. package/dist/module/wasm/v1/proposal.js +562 -377
  197. package/dist/module/wasm/v1/query.d.ts +35 -1201
  198. package/dist/module/wasm/v1/query.js +330 -301
  199. package/dist/module/wasm/v1/tx.d.ts +37 -788
  200. package/dist/module/wasm/v1/tx.js +551 -404
  201. package/dist/module/wasm/v1/types.d.ts +19 -297
  202. package/dist/module/wasm/v1/types.js +196 -156
  203. package/package.json +11 -10
@@ -62,13 +62,12 @@ exports.PublicKey = {
62
62
  return obj;
63
63
  },
64
64
  create(base) {
65
- return exports.PublicKey.fromPartial(base !== null && base !== void 0 ? base : {});
65
+ return exports.PublicKey.fromPartial(base ?? {});
66
66
  },
67
67
  fromPartial(object) {
68
- var _a, _b;
69
68
  const message = createBasePublicKey();
70
- message.ed25519 = (_a = object.ed25519) !== null && _a !== void 0 ? _a : undefined;
71
- message.secp256k1 = (_b = object.secp256k1) !== null && _b !== void 0 ? _b : undefined;
69
+ message.ed25519 = object.ed25519 ?? undefined;
70
+ message.secp256k1 = object.secp256k1 ?? undefined;
72
71
  return message;
73
72
  },
74
73
  };
@@ -71,7 +71,7 @@ exports.Proof = {
71
71
  total: isSet(object.total) ? Number(object.total) : 0,
72
72
  index: isSet(object.index) ? Number(object.index) : 0,
73
73
  leafHash: isSet(object.leafHash) ? bytesFromBase64(object.leafHash) : new Uint8Array(),
74
- aunts: Array.isArray(object === null || object === void 0 ? void 0 : object.aunts) ? object.aunts.map((e) => bytesFromBase64(e)) : [],
74
+ aunts: Array.isArray(object?.aunts) ? object.aunts.map((e) => bytesFromBase64(e)) : [],
75
75
  };
76
76
  },
77
77
  toJSON(message) {
@@ -89,15 +89,14 @@ exports.Proof = {
89
89
  return obj;
90
90
  },
91
91
  create(base) {
92
- return exports.Proof.fromPartial(base !== null && base !== void 0 ? base : {});
92
+ return exports.Proof.fromPartial(base ?? {});
93
93
  },
94
94
  fromPartial(object) {
95
- var _a, _b, _c, _d;
96
95
  const message = createBaseProof();
97
- message.total = (_a = object.total) !== null && _a !== void 0 ? _a : 0;
98
- message.index = (_b = object.index) !== null && _b !== void 0 ? _b : 0;
99
- message.leafHash = (_c = object.leafHash) !== null && _c !== void 0 ? _c : new Uint8Array();
100
- message.aunts = ((_d = object.aunts) === null || _d === void 0 ? void 0 : _d.map((e) => e)) || [];
96
+ message.total = object.total ?? 0;
97
+ message.index = object.index ?? 0;
98
+ message.leafHash = object.leafHash ?? new Uint8Array();
99
+ message.aunts = object.aunts?.map((e) => e) || [];
101
100
  return message;
102
101
  },
103
102
  };
@@ -155,12 +154,11 @@ exports.ValueOp = {
155
154
  return obj;
156
155
  },
157
156
  create(base) {
158
- return exports.ValueOp.fromPartial(base !== null && base !== void 0 ? base : {});
157
+ return exports.ValueOp.fromPartial(base ?? {});
159
158
  },
160
159
  fromPartial(object) {
161
- var _a;
162
160
  const message = createBaseValueOp();
163
- message.key = (_a = object.key) !== null && _a !== void 0 ? _a : new Uint8Array();
161
+ message.key = object.key ?? new Uint8Array();
164
162
  message.proof = (object.proof !== undefined && object.proof !== null) ? exports.Proof.fromPartial(object.proof) : undefined;
165
163
  return message;
166
164
  },
@@ -229,14 +227,13 @@ exports.DominoOp = {
229
227
  return obj;
230
228
  },
231
229
  create(base) {
232
- return exports.DominoOp.fromPartial(base !== null && base !== void 0 ? base : {});
230
+ return exports.DominoOp.fromPartial(base ?? {});
233
231
  },
234
232
  fromPartial(object) {
235
- var _a, _b, _c;
236
233
  const message = createBaseDominoOp();
237
- message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
238
- message.input = (_b = object.input) !== null && _b !== void 0 ? _b : "";
239
- message.output = (_c = object.output) !== null && _c !== void 0 ? _c : "";
234
+ message.key = object.key ?? "";
235
+ message.input = object.input ?? "";
236
+ message.output = object.output ?? "";
240
237
  return message;
241
238
  },
242
239
  };
@@ -306,14 +303,13 @@ exports.ProofOp = {
306
303
  return obj;
307
304
  },
308
305
  create(base) {
309
- return exports.ProofOp.fromPartial(base !== null && base !== void 0 ? base : {});
306
+ return exports.ProofOp.fromPartial(base ?? {});
310
307
  },
311
308
  fromPartial(object) {
312
- var _a, _b, _c;
313
309
  const message = createBaseProofOp();
314
- message.type = (_a = object.type) !== null && _a !== void 0 ? _a : "";
315
- message.key = (_b = object.key) !== null && _b !== void 0 ? _b : new Uint8Array();
316
- message.data = (_c = object.data) !== null && _c !== void 0 ? _c : new Uint8Array();
310
+ message.type = object.type ?? "";
311
+ message.key = object.key ?? new Uint8Array();
312
+ message.data = object.data ?? new Uint8Array();
317
313
  return message;
318
314
  },
319
315
  };
@@ -349,7 +345,7 @@ exports.ProofOps = {
349
345
  return message;
350
346
  },
351
347
  fromJSON(object) {
352
- return { ops: Array.isArray(object === null || object === void 0 ? void 0 : object.ops) ? object.ops.map((e) => exports.ProofOp.fromJSON(e)) : [] };
348
+ return { ops: Array.isArray(object?.ops) ? object.ops.map((e) => exports.ProofOp.fromJSON(e)) : [] };
353
349
  },
354
350
  toJSON(message) {
355
351
  const obj = {};
@@ -362,12 +358,11 @@ exports.ProofOps = {
362
358
  return obj;
363
359
  },
364
360
  create(base) {
365
- return exports.ProofOps.fromPartial(base !== null && base !== void 0 ? base : {});
361
+ return exports.ProofOps.fromPartial(base ?? {});
366
362
  },
367
363
  fromPartial(object) {
368
- var _a;
369
364
  const message = createBaseProofOps();
370
- message.ops = ((_a = object.ops) === null || _a === void 0 ? void 0 : _a.map((e) => exports.ProofOp.fromPartial(e))) || [];
365
+ message.ops = object.ops?.map((e) => exports.ProofOp.fromPartial(e)) || [];
371
366
  return message;
372
367
  },
373
368
  };
@@ -109,7 +109,7 @@ exports.ConsensusParams = {
109
109
  return obj;
110
110
  },
111
111
  create(base) {
112
- return exports.ConsensusParams.fromPartial(base !== null && base !== void 0 ? base : {});
112
+ return exports.ConsensusParams.fromPartial(base ?? {});
113
113
  },
114
114
  fromPartial(object) {
115
115
  const message = createBaseConsensusParams();
@@ -186,13 +186,12 @@ exports.BlockParams = {
186
186
  return obj;
187
187
  },
188
188
  create(base) {
189
- return exports.BlockParams.fromPartial(base !== null && base !== void 0 ? base : {});
189
+ return exports.BlockParams.fromPartial(base ?? {});
190
190
  },
191
191
  fromPartial(object) {
192
- var _a, _b;
193
192
  const message = createBaseBlockParams();
194
- message.maxBytes = (_a = object.maxBytes) !== null && _a !== void 0 ? _a : 0;
195
- message.maxGas = (_b = object.maxGas) !== null && _b !== void 0 ? _b : 0;
193
+ message.maxBytes = object.maxBytes ?? 0;
194
+ message.maxGas = object.maxGas ?? 0;
196
195
  return message;
197
196
  },
198
197
  };
@@ -269,17 +268,16 @@ exports.EvidenceParams = {
269
268
  return obj;
270
269
  },
271
270
  create(base) {
272
- return exports.EvidenceParams.fromPartial(base !== null && base !== void 0 ? base : {});
271
+ return exports.EvidenceParams.fromPartial(base ?? {});
273
272
  },
274
273
  fromPartial(object) {
275
- var _a, _b;
276
274
  const message = createBaseEvidenceParams();
277
- message.maxAgeNumBlocks = (_a = object.maxAgeNumBlocks) !== null && _a !== void 0 ? _a : 0;
275
+ message.maxAgeNumBlocks = object.maxAgeNumBlocks ?? 0;
278
276
  message.maxAgeDuration =
279
277
  object.maxAgeDuration !== undefined && object.maxAgeDuration !== null
280
278
  ? duration_1.Duration.fromPartial(object.maxAgeDuration)
281
279
  : undefined;
282
- message.maxBytes = (_b = object.maxBytes) !== null && _b !== void 0 ? _b : 0;
280
+ message.maxBytes = object.maxBytes ?? 0;
283
281
  return message;
284
282
  },
285
283
  };
@@ -316,7 +314,7 @@ exports.ValidatorParams = {
316
314
  },
317
315
  fromJSON(object) {
318
316
  return {
319
- pubKeyTypes: Array.isArray(object === null || object === void 0 ? void 0 : object.pubKeyTypes)
317
+ pubKeyTypes: Array.isArray(object?.pubKeyTypes)
320
318
  ? object.pubKeyTypes.map((e) => String(e))
321
319
  : [],
322
320
  };
@@ -332,12 +330,11 @@ exports.ValidatorParams = {
332
330
  return obj;
333
331
  },
334
332
  create(base) {
335
- return exports.ValidatorParams.fromPartial(base !== null && base !== void 0 ? base : {});
333
+ return exports.ValidatorParams.fromPartial(base ?? {});
336
334
  },
337
335
  fromPartial(object) {
338
- var _a;
339
336
  const message = createBaseValidatorParams();
340
- message.pubKeyTypes = ((_a = object.pubKeyTypes) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
337
+ message.pubKeyTypes = object.pubKeyTypes?.map((e) => e) || [];
341
338
  return message;
342
339
  },
343
340
  };
@@ -381,12 +378,11 @@ exports.VersionParams = {
381
378
  return obj;
382
379
  },
383
380
  create(base) {
384
- return exports.VersionParams.fromPartial(base !== null && base !== void 0 ? base : {});
381
+ return exports.VersionParams.fromPartial(base ?? {});
385
382
  },
386
383
  fromPartial(object) {
387
- var _a;
388
384
  const message = createBaseVersionParams();
389
- message.app = (_a = object.app) !== null && _a !== void 0 ? _a : 0;
385
+ message.app = object.app ?? 0;
390
386
  return message;
391
387
  },
392
388
  };
@@ -447,13 +443,12 @@ exports.HashedParams = {
447
443
  return obj;
448
444
  },
449
445
  create(base) {
450
- return exports.HashedParams.fromPartial(base !== null && base !== void 0 ? base : {});
446
+ return exports.HashedParams.fromPartial(base ?? {});
451
447
  },
452
448
  fromPartial(object) {
453
- var _a, _b;
454
449
  const message = createBaseHashedParams();
455
- message.blockMaxBytes = (_a = object.blockMaxBytes) !== null && _a !== void 0 ? _a : 0;
456
- message.blockMaxGas = (_b = object.blockMaxGas) !== null && _b !== void 0 ? _b : 0;
450
+ message.blockMaxBytes = object.blockMaxBytes ?? 0;
451
+ message.blockMaxGas = object.blockMaxGas ?? 0;
457
452
  return message;
458
453
  },
459
454
  };
@@ -162,13 +162,12 @@ exports.PartSetHeader = {
162
162
  return obj;
163
163
  },
164
164
  create(base) {
165
- return exports.PartSetHeader.fromPartial(base !== null && base !== void 0 ? base : {});
165
+ return exports.PartSetHeader.fromPartial(base ?? {});
166
166
  },
167
167
  fromPartial(object) {
168
- var _a, _b;
169
168
  const message = createBasePartSetHeader();
170
- message.total = (_a = object.total) !== null && _a !== void 0 ? _a : 0;
171
- message.hash = (_b = object.hash) !== null && _b !== void 0 ? _b : new Uint8Array();
169
+ message.total = object.total ?? 0;
170
+ message.hash = object.hash ?? new Uint8Array();
172
171
  return message;
173
172
  },
174
173
  };
@@ -240,13 +239,12 @@ exports.Part = {
240
239
  return obj;
241
240
  },
242
241
  create(base) {
243
- return exports.Part.fromPartial(base !== null && base !== void 0 ? base : {});
242
+ return exports.Part.fromPartial(base ?? {});
244
243
  },
245
244
  fromPartial(object) {
246
- var _a, _b;
247
245
  const message = createBasePart();
248
- message.index = (_a = object.index) !== null && _a !== void 0 ? _a : 0;
249
- message.bytes = (_b = object.bytes) !== null && _b !== void 0 ? _b : new Uint8Array();
246
+ message.index = object.index ?? 0;
247
+ message.bytes = object.bytes ?? new Uint8Array();
250
248
  message.proof =
251
249
  object.proof !== undefined && object.proof !== null
252
250
  ? proof_1.Proof.fromPartial(object.proof)
@@ -315,12 +313,11 @@ exports.BlockID = {
315
313
  return obj;
316
314
  },
317
315
  create(base) {
318
- return exports.BlockID.fromPartial(base !== null && base !== void 0 ? base : {});
316
+ return exports.BlockID.fromPartial(base ?? {});
319
317
  },
320
318
  fromPartial(object) {
321
- var _a;
322
319
  const message = createBaseBlockID();
323
- message.hash = (_a = object.hash) !== null && _a !== void 0 ? _a : new Uint8Array();
320
+ message.hash = object.hash ?? new Uint8Array();
324
321
  message.partSetHeader =
325
322
  object.partSetHeader !== undefined && object.partSetHeader !== null
326
323
  ? exports.PartSetHeader.fromPartial(object.partSetHeader)
@@ -579,31 +576,30 @@ exports.Header = {
579
576
  return obj;
580
577
  },
581
578
  create(base) {
582
- return exports.Header.fromPartial(base !== null && base !== void 0 ? base : {});
579
+ return exports.Header.fromPartial(base ?? {});
583
580
  },
584
581
  fromPartial(object) {
585
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
586
582
  const message = createBaseHeader();
587
583
  message.version =
588
584
  object.version !== undefined && object.version !== null
589
585
  ? types_1.Consensus.fromPartial(object.version)
590
586
  : undefined;
591
- message.chainId = (_a = object.chainId) !== null && _a !== void 0 ? _a : "";
592
- message.height = (_b = object.height) !== null && _b !== void 0 ? _b : 0;
593
- message.time = (_c = object.time) !== null && _c !== void 0 ? _c : undefined;
587
+ message.chainId = object.chainId ?? "";
588
+ message.height = object.height ?? 0;
589
+ message.time = object.time ?? undefined;
594
590
  message.lastBlockId =
595
591
  object.lastBlockId !== undefined && object.lastBlockId !== null
596
592
  ? exports.BlockID.fromPartial(object.lastBlockId)
597
593
  : undefined;
598
- message.lastCommitHash = (_d = object.lastCommitHash) !== null && _d !== void 0 ? _d : new Uint8Array();
599
- message.dataHash = (_e = object.dataHash) !== null && _e !== void 0 ? _e : new Uint8Array();
600
- message.validatorsHash = (_f = object.validatorsHash) !== null && _f !== void 0 ? _f : new Uint8Array();
601
- message.nextValidatorsHash = (_g = object.nextValidatorsHash) !== null && _g !== void 0 ? _g : new Uint8Array();
602
- message.consensusHash = (_h = object.consensusHash) !== null && _h !== void 0 ? _h : new Uint8Array();
603
- message.appHash = (_j = object.appHash) !== null && _j !== void 0 ? _j : new Uint8Array();
604
- message.lastResultsHash = (_k = object.lastResultsHash) !== null && _k !== void 0 ? _k : new Uint8Array();
605
- message.evidenceHash = (_l = object.evidenceHash) !== null && _l !== void 0 ? _l : new Uint8Array();
606
- message.proposerAddress = (_m = object.proposerAddress) !== null && _m !== void 0 ? _m : new Uint8Array();
594
+ message.lastCommitHash = object.lastCommitHash ?? new Uint8Array();
595
+ message.dataHash = object.dataHash ?? new Uint8Array();
596
+ message.validatorsHash = object.validatorsHash ?? new Uint8Array();
597
+ message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array();
598
+ message.consensusHash = object.consensusHash ?? new Uint8Array();
599
+ message.appHash = object.appHash ?? new Uint8Array();
600
+ message.lastResultsHash = object.lastResultsHash ?? new Uint8Array();
601
+ message.evidenceHash = object.evidenceHash ?? new Uint8Array();
602
+ message.proposerAddress = object.proposerAddress ?? new Uint8Array();
607
603
  return message;
608
604
  },
609
605
  };
@@ -640,7 +636,7 @@ exports.Data = {
640
636
  },
641
637
  fromJSON(object) {
642
638
  return {
643
- txs: Array.isArray(object === null || object === void 0 ? void 0 : object.txs)
639
+ txs: Array.isArray(object?.txs)
644
640
  ? object.txs.map((e) => bytesFromBase64(e))
645
641
  : [],
646
642
  };
@@ -656,12 +652,11 @@ exports.Data = {
656
652
  return obj;
657
653
  },
658
654
  create(base) {
659
- return exports.Data.fromPartial(base !== null && base !== void 0 ? base : {});
655
+ return exports.Data.fromPartial(base ?? {});
660
656
  },
661
657
  fromPartial(object) {
662
- var _a;
663
658
  const message = createBaseData();
664
- message.txs = ((_a = object.txs) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
659
+ message.txs = object.txs?.map((e) => e) || [];
665
660
  return message;
666
661
  },
667
662
  };
@@ -813,22 +808,21 @@ exports.Vote = {
813
808
  return obj;
814
809
  },
815
810
  create(base) {
816
- return exports.Vote.fromPartial(base !== null && base !== void 0 ? base : {});
811
+ return exports.Vote.fromPartial(base ?? {});
817
812
  },
818
813
  fromPartial(object) {
819
- var _a, _b, _c, _d, _e, _f, _g;
820
814
  const message = createBaseVote();
821
- message.type = (_a = object.type) !== null && _a !== void 0 ? _a : 0;
822
- message.height = (_b = object.height) !== null && _b !== void 0 ? _b : 0;
823
- message.round = (_c = object.round) !== null && _c !== void 0 ? _c : 0;
815
+ message.type = object.type ?? 0;
816
+ message.height = object.height ?? 0;
817
+ message.round = object.round ?? 0;
824
818
  message.blockId =
825
819
  object.blockId !== undefined && object.blockId !== null
826
820
  ? exports.BlockID.fromPartial(object.blockId)
827
821
  : undefined;
828
- message.timestamp = (_d = object.timestamp) !== null && _d !== void 0 ? _d : undefined;
829
- message.validatorAddress = (_e = object.validatorAddress) !== null && _e !== void 0 ? _e : new Uint8Array();
830
- message.validatorIndex = (_f = object.validatorIndex) !== null && _f !== void 0 ? _f : 0;
831
- message.signature = (_g = object.signature) !== null && _g !== void 0 ? _g : new Uint8Array();
822
+ message.timestamp = object.timestamp ?? undefined;
823
+ message.validatorAddress = object.validatorAddress ?? new Uint8Array();
824
+ message.validatorIndex = object.validatorIndex ?? 0;
825
+ message.signature = object.signature ?? new Uint8Array();
832
826
  return message;
833
827
  },
834
828
  };
@@ -897,7 +891,7 @@ exports.Commit = {
897
891
  blockId: isSet(object.blockId)
898
892
  ? exports.BlockID.fromJSON(object.blockId)
899
893
  : undefined,
900
- signatures: Array.isArray(object === null || object === void 0 ? void 0 : object.signatures)
894
+ signatures: Array.isArray(object?.signatures)
901
895
  ? object.signatures.map((e) => exports.CommitSig.fromJSON(e))
902
896
  : [],
903
897
  };
@@ -919,19 +913,18 @@ exports.Commit = {
919
913
  return obj;
920
914
  },
921
915
  create(base) {
922
- return exports.Commit.fromPartial(base !== null && base !== void 0 ? base : {});
916
+ return exports.Commit.fromPartial(base ?? {});
923
917
  },
924
918
  fromPartial(object) {
925
- var _a, _b, _c;
926
919
  const message = createBaseCommit();
927
- message.height = (_a = object.height) !== null && _a !== void 0 ? _a : 0;
928
- message.round = (_b = object.round) !== null && _b !== void 0 ? _b : 0;
920
+ message.height = object.height ?? 0;
921
+ message.round = object.round ?? 0;
929
922
  message.blockId =
930
923
  object.blockId !== undefined && object.blockId !== null
931
924
  ? exports.BlockID.fromPartial(object.blockId)
932
925
  : undefined;
933
926
  message.signatures =
934
- ((_c = object.signatures) === null || _c === void 0 ? void 0 : _c.map((e) => exports.CommitSig.fromPartial(e))) || [];
927
+ object.signatures?.map((e) => exports.CommitSig.fromPartial(e)) || [];
935
928
  return message;
936
929
  },
937
930
  };
@@ -1029,15 +1022,14 @@ exports.CommitSig = {
1029
1022
  return obj;
1030
1023
  },
1031
1024
  create(base) {
1032
- return exports.CommitSig.fromPartial(base !== null && base !== void 0 ? base : {});
1025
+ return exports.CommitSig.fromPartial(base ?? {});
1033
1026
  },
1034
1027
  fromPartial(object) {
1035
- var _a, _b, _c, _d;
1036
1028
  const message = createBaseCommitSig();
1037
- message.blockIdFlag = (_a = object.blockIdFlag) !== null && _a !== void 0 ? _a : 0;
1038
- message.validatorAddress = (_b = object.validatorAddress) !== null && _b !== void 0 ? _b : new Uint8Array();
1039
- message.timestamp = (_c = object.timestamp) !== null && _c !== void 0 ? _c : undefined;
1040
- message.signature = (_d = object.signature) !== null && _d !== void 0 ? _d : new Uint8Array();
1029
+ message.blockIdFlag = object.blockIdFlag ?? 0;
1030
+ message.validatorAddress = object.validatorAddress ?? new Uint8Array();
1031
+ message.timestamp = object.timestamp ?? undefined;
1032
+ message.signature = object.signature ?? new Uint8Array();
1041
1033
  return message;
1042
1034
  },
1043
1035
  };
@@ -1170,21 +1162,20 @@ exports.Proposal = {
1170
1162
  return obj;
1171
1163
  },
1172
1164
  create(base) {
1173
- return exports.Proposal.fromPartial(base !== null && base !== void 0 ? base : {});
1165
+ return exports.Proposal.fromPartial(base ?? {});
1174
1166
  },
1175
1167
  fromPartial(object) {
1176
- var _a, _b, _c, _d, _e, _f;
1177
1168
  const message = createBaseProposal();
1178
- message.type = (_a = object.type) !== null && _a !== void 0 ? _a : 0;
1179
- message.height = (_b = object.height) !== null && _b !== void 0 ? _b : 0;
1180
- message.round = (_c = object.round) !== null && _c !== void 0 ? _c : 0;
1181
- message.polRound = (_d = object.polRound) !== null && _d !== void 0 ? _d : 0;
1169
+ message.type = object.type ?? 0;
1170
+ message.height = object.height ?? 0;
1171
+ message.round = object.round ?? 0;
1172
+ message.polRound = object.polRound ?? 0;
1182
1173
  message.blockId =
1183
1174
  object.blockId !== undefined && object.blockId !== null
1184
1175
  ? exports.BlockID.fromPartial(object.blockId)
1185
1176
  : undefined;
1186
- message.timestamp = (_e = object.timestamp) !== null && _e !== void 0 ? _e : undefined;
1187
- message.signature = (_f = object.signature) !== null && _f !== void 0 ? _f : new Uint8Array();
1177
+ message.timestamp = object.timestamp ?? undefined;
1178
+ message.signature = object.signature ?? new Uint8Array();
1188
1179
  return message;
1189
1180
  },
1190
1181
  };
@@ -1243,7 +1234,7 @@ exports.SignedHeader = {
1243
1234
  return obj;
1244
1235
  },
1245
1236
  create(base) {
1246
- return exports.SignedHeader.fromPartial(base !== null && base !== void 0 ? base : {});
1237
+ return exports.SignedHeader.fromPartial(base ?? {});
1247
1238
  },
1248
1239
  fromPartial(object) {
1249
1240
  const message = createBaseSignedHeader();
@@ -1321,7 +1312,7 @@ exports.LightBlock = {
1321
1312
  return obj;
1322
1313
  },
1323
1314
  create(base) {
1324
- return exports.LightBlock.fromPartial(base !== null && base !== void 0 ? base : {});
1315
+ return exports.LightBlock.fromPartial(base ?? {});
1325
1316
  },
1326
1317
  fromPartial(object) {
1327
1318
  const message = createBaseLightBlock();
@@ -1418,21 +1409,20 @@ exports.BlockMeta = {
1418
1409
  return obj;
1419
1410
  },
1420
1411
  create(base) {
1421
- return exports.BlockMeta.fromPartial(base !== null && base !== void 0 ? base : {});
1412
+ return exports.BlockMeta.fromPartial(base ?? {});
1422
1413
  },
1423
1414
  fromPartial(object) {
1424
- var _a, _b;
1425
1415
  const message = createBaseBlockMeta();
1426
1416
  message.blockId =
1427
1417
  object.blockId !== undefined && object.blockId !== null
1428
1418
  ? exports.BlockID.fromPartial(object.blockId)
1429
1419
  : undefined;
1430
- message.blockSize = (_a = object.blockSize) !== null && _a !== void 0 ? _a : 0;
1420
+ message.blockSize = object.blockSize ?? 0;
1431
1421
  message.header =
1432
1422
  object.header !== undefined && object.header !== null
1433
1423
  ? exports.Header.fromPartial(object.header)
1434
1424
  : undefined;
1435
- message.numTxs = (_b = object.numTxs) !== null && _b !== void 0 ? _b : 0;
1425
+ message.numTxs = object.numTxs ?? 0;
1436
1426
  return message;
1437
1427
  },
1438
1428
  };
@@ -1511,13 +1501,12 @@ exports.TxProof = {
1511
1501
  return obj;
1512
1502
  },
1513
1503
  create(base) {
1514
- return exports.TxProof.fromPartial(base !== null && base !== void 0 ? base : {});
1504
+ return exports.TxProof.fromPartial(base ?? {});
1515
1505
  },
1516
1506
  fromPartial(object) {
1517
- var _a, _b;
1518
1507
  const message = createBaseTxProof();
1519
- message.rootHash = (_a = object.rootHash) !== null && _a !== void 0 ? _a : new Uint8Array();
1520
- message.data = (_b = object.data) !== null && _b !== void 0 ? _b : new Uint8Array();
1508
+ message.rootHash = object.rootHash ?? new Uint8Array();
1509
+ message.data = object.data ?? new Uint8Array();
1521
1510
  message.proof =
1522
1511
  object.proof !== undefined && object.proof !== null
1523
1512
  ? proof_1.Proof.fromPartial(object.proof)
@@ -60,7 +60,7 @@ exports.ValidatorSet = {
60
60
  },
61
61
  fromJSON(object) {
62
62
  return {
63
- validators: Array.isArray(object === null || object === void 0 ? void 0 : object.validators) ? object.validators.map((e) => exports.Validator.fromJSON(e)) : [],
63
+ validators: Array.isArray(object?.validators) ? object.validators.map((e) => exports.Validator.fromJSON(e)) : [],
64
64
  proposer: isSet(object.proposer) ? exports.Validator.fromJSON(object.proposer) : undefined,
65
65
  totalVotingPower: isSet(object.totalVotingPower) ? Number(object.totalVotingPower) : 0,
66
66
  };
@@ -79,16 +79,15 @@ exports.ValidatorSet = {
79
79
  return obj;
80
80
  },
81
81
  create(base) {
82
- return exports.ValidatorSet.fromPartial(base !== null && base !== void 0 ? base : {});
82
+ return exports.ValidatorSet.fromPartial(base ?? {});
83
83
  },
84
84
  fromPartial(object) {
85
- var _a, _b;
86
85
  const message = createBaseValidatorSet();
87
- message.validators = ((_a = object.validators) === null || _a === void 0 ? void 0 : _a.map((e) => exports.Validator.fromPartial(e))) || [];
86
+ message.validators = object.validators?.map((e) => exports.Validator.fromPartial(e)) || [];
88
87
  message.proposer = (object.proposer !== undefined && object.proposer !== null)
89
88
  ? exports.Validator.fromPartial(object.proposer)
90
89
  : undefined;
91
- message.totalVotingPower = (_b = object.totalVotingPower) !== null && _b !== void 0 ? _b : 0;
90
+ message.totalVotingPower = object.totalVotingPower ?? 0;
92
91
  return message;
93
92
  },
94
93
  };
@@ -168,17 +167,16 @@ exports.Validator = {
168
167
  return obj;
169
168
  },
170
169
  create(base) {
171
- return exports.Validator.fromPartial(base !== null && base !== void 0 ? base : {});
170
+ return exports.Validator.fromPartial(base ?? {});
172
171
  },
173
172
  fromPartial(object) {
174
- var _a, _b, _c;
175
173
  const message = createBaseValidator();
176
- message.address = (_a = object.address) !== null && _a !== void 0 ? _a : new Uint8Array();
174
+ message.address = object.address ?? new Uint8Array();
177
175
  message.pubKey = (object.pubKey !== undefined && object.pubKey !== null)
178
176
  ? keys_1.PublicKey.fromPartial(object.pubKey)
179
177
  : undefined;
180
- message.votingPower = (_b = object.votingPower) !== null && _b !== void 0 ? _b : 0;
181
- message.proposerPriority = (_c = object.proposerPriority) !== null && _c !== void 0 ? _c : 0;
178
+ message.votingPower = object.votingPower ?? 0;
179
+ message.proposerPriority = object.proposerPriority ?? 0;
182
180
  return message;
183
181
  },
184
182
  };
@@ -235,15 +233,14 @@ exports.SimpleValidator = {
235
233
  return obj;
236
234
  },
237
235
  create(base) {
238
- return exports.SimpleValidator.fromPartial(base !== null && base !== void 0 ? base : {});
236
+ return exports.SimpleValidator.fromPartial(base ?? {});
239
237
  },
240
238
  fromPartial(object) {
241
- var _a;
242
239
  const message = createBaseSimpleValidator();
243
240
  message.pubKey = (object.pubKey !== undefined && object.pubKey !== null)
244
241
  ? keys_1.PublicKey.fromPartial(object.pubKey)
245
242
  : undefined;
246
- message.votingPower = (_a = object.votingPower) !== null && _a !== void 0 ? _a : 0;
243
+ message.votingPower = object.votingPower ?? 0;
247
244
  return message;
248
245
  },
249
246
  };
@@ -61,13 +61,12 @@ exports.App = {
61
61
  return obj;
62
62
  },
63
63
  create(base) {
64
- return exports.App.fromPartial(base !== null && base !== void 0 ? base : {});
64
+ return exports.App.fromPartial(base ?? {});
65
65
  },
66
66
  fromPartial(object) {
67
- var _a, _b;
68
67
  const message = createBaseApp();
69
- message.protocol = (_a = object.protocol) !== null && _a !== void 0 ? _a : 0;
70
- message.software = (_b = object.software) !== null && _b !== void 0 ? _b : "";
68
+ message.protocol = object.protocol ?? 0;
69
+ message.software = object.software ?? "";
71
70
  return message;
72
71
  },
73
72
  };
@@ -121,13 +120,12 @@ exports.Consensus = {
121
120
  return obj;
122
121
  },
123
122
  create(base) {
124
- return exports.Consensus.fromPartial(base !== null && base !== void 0 ? base : {});
123
+ return exports.Consensus.fromPartial(base ?? {});
125
124
  },
126
125
  fromPartial(object) {
127
- var _a, _b;
128
126
  const message = createBaseConsensus();
129
- message.block = (_a = object.block) !== null && _a !== void 0 ? _a : 0;
130
- message.app = (_b = object.app) !== null && _b !== void 0 ? _b : 0;
127
+ message.block = object.block ?? 0;
128
+ message.app = object.app ?? 0;
131
129
  return message;
132
130
  },
133
131
  };
@@ -9,7 +9,8 @@ import { setupBankExtension, setupGovExtension, setupDistributionExtension } fro
9
9
  export declare enum CoreumTypeUrl {
10
10
  NFT = "/coreum.asset.nft.v1.",
11
11
  FT = "/coreum.asset.ft.v1.",
12
- NFTBeta = "/cosmos.nft.v1beta1."
12
+ NFTBeta = "/cosmos.nft.v1beta1.",
13
+ DEX = "/coreum.dex.v1"
13
14
  }
14
15
  export interface ClientQueryClient extends QueryClient {
15
16
  ft: ReturnType<typeof setupFTExtension>["ft"];
@@ -4,12 +4,14 @@ exports.CoreumTypeUrl = void 0;
4
4
  const tx_1 = require("../coreum/asset/nft/v1/tx");
5
5
  const tx_2 = require("../coreum/asset/ft/v1/tx");
6
6
  const tx_3 = require("../coreum/nft/v1beta1/tx");
7
+ const tx_4 = require("../coreum/dex/v1/tx");
7
8
  /** @internal */
8
9
  var CoreumTypeUrl;
9
10
  (function (CoreumTypeUrl) {
10
11
  CoreumTypeUrl["NFT"] = "/coreum.asset.nft.v1.";
11
12
  CoreumTypeUrl["FT"] = "/coreum.asset.ft.v1.";
12
13
  CoreumTypeUrl["NFTBeta"] = "/cosmos.nft.v1beta1.";
14
+ CoreumTypeUrl["DEX"] = "/coreum.dex.v1";
13
15
  })(CoreumTypeUrl || (exports.CoreumTypeUrl = CoreumTypeUrl = {}));
14
16
  // setupMintExtension,
15
17
  // setupFeegrantExtension,