@skip-go/client 1.5.3-alpha.1 → 1.5.3

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 (119) hide show
  1. package/dist/cjs/api/getAssets.cjs +1 -1
  2. package/dist/cjs/api/getAssetsBetweenChains.cjs +1 -1
  3. package/dist/cjs/api/getBridges.cjs +1 -1
  4. package/dist/cjs/api/getChains.cjs +1 -1
  5. package/dist/cjs/api/getVenues.cjs +1 -1
  6. package/dist/cjs/api/postAssetsFromSource.cjs +1 -1
  7. package/dist/cjs/api/postBalances.cjs +1 -1
  8. package/dist/cjs/api/postIbcOriginAssets.cjs +1 -1
  9. package/dist/cjs/api/postMessages.cjs +1 -1
  10. package/dist/cjs/api/postMessagesDirect.cjs +1 -1
  11. package/dist/cjs/api/postRecommendAssets.cjs +1 -1
  12. package/dist/cjs/api/postRoute.cjs +1 -1
  13. package/dist/cjs/api/postSubmitTransaction.cjs +1 -1
  14. package/dist/cjs/api/postTrackTransaction.cjs +1 -1
  15. package/dist/cjs/api/postTransactionStatus.cjs +1 -1
  16. package/dist/cjs/chunk-3UPZIINE.cjs +454 -0
  17. package/dist/cjs/chunk-4RLEZ5DV.cjs +55 -0
  18. package/dist/cjs/{chunk-KM2D7PJL.cjs → chunk-4TBONPD6.cjs} +33 -33
  19. package/dist/cjs/{chunk-WKYP2NMS.cjs → chunk-6W2OIU3O.cjs} +15 -15
  20. package/dist/cjs/{chunk-I2FDWZZJ.cjs → chunk-BFA7XKVT.cjs} +64 -765
  21. package/dist/cjs/chunk-BT6HQNBF.cjs +214 -0
  22. package/dist/cjs/{chunk-APJDSXWR.cjs → chunk-DAPPFYGA.cjs} +8 -8
  23. package/dist/cjs/{chunk-RC73RNNQ.cjs → chunk-GOQK63JP.cjs} +4 -4
  24. package/dist/cjs/chunk-KZOSEIWH.cjs +10 -0
  25. package/dist/cjs/{chunk-3M7YYWGL.cjs → chunk-MUJBB64F.cjs} +3 -7
  26. package/dist/cjs/{chunk-NWD4MAMT.cjs → chunk-ND7SYSAP.cjs} +2 -8
  27. package/dist/cjs/{chunk-DWOE6N5S.cjs → chunk-NM4PISTQ.cjs} +189 -188
  28. package/dist/cjs/{chunk-PDTIT3JO.cjs → chunk-QWQVTCKP.cjs} +12 -12
  29. package/dist/cjs/{chunk-XCFPRLX3.cjs → chunk-U2NZCNKX.cjs} +153 -153
  30. package/dist/cjs/{chunk-DLT6Q6RB.cjs → chunk-WOSAJSJB.cjs} +163 -149
  31. package/dist/cjs/index.cjs +83 -79
  32. package/dist/cjs/public-functions/executeMultipleRoutes.cjs +11 -21
  33. package/dist/cjs/public-functions/executeRoute.cjs +11 -21
  34. package/dist/cjs/public-functions/getCosmosGasAmountForMessage.cjs +5 -5
  35. package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +1 -1
  36. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +4 -3
  37. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +6 -5
  38. package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +17 -13
  39. package/dist/cjs/public-functions/getSigningStargateClient.cjs +4 -4
  40. package/dist/cjs/public-functions/setApiOptions.cjs +1 -1
  41. package/dist/cjs/public-functions/setClientOptions.cjs +5 -5
  42. package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +1 -1
  43. package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +8 -8
  44. package/dist/cjs/public-functions/waitForTransaction.cjs +1 -1
  45. package/dist/esm/api/getAssets.d.ts +1 -1
  46. package/dist/esm/api/getAssets.js +1 -1
  47. package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
  48. package/dist/esm/api/getAssetsBetweenChains.js +1 -1
  49. package/dist/esm/api/getBridges.d.ts +1 -1
  50. package/dist/esm/api/getBridges.js +1 -1
  51. package/dist/esm/api/getChains.d.ts +1 -1
  52. package/dist/esm/api/getChains.js +1 -1
  53. package/dist/esm/api/getVenues.js +1 -1
  54. package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
  55. package/dist/esm/api/postAssetsFromSource.js +1 -1
  56. package/dist/esm/api/postBalances.d.ts +2 -2
  57. package/dist/esm/api/postBalances.js +1 -1
  58. package/dist/esm/api/postIbcOriginAssets.js +1 -1
  59. package/dist/esm/api/postMessages.d.ts +2 -2
  60. package/dist/esm/api/postMessages.js +1 -1
  61. package/dist/esm/api/postMessagesDirect.d.ts +1 -1
  62. package/dist/esm/api/postMessagesDirect.js +1 -1
  63. package/dist/esm/api/postRecommendAssets.d.ts +1 -1
  64. package/dist/esm/api/postRecommendAssets.js +1 -1
  65. package/dist/esm/api/postRoute.d.ts +2 -2
  66. package/dist/esm/api/postRoute.js +1 -1
  67. package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
  68. package/dist/esm/api/postSubmitTransaction.js +1 -1
  69. package/dist/esm/api/postTrackTransaction.d.ts +2 -2
  70. package/dist/esm/api/postTrackTransaction.js +1 -1
  71. package/dist/esm/api/postTransactionStatus.d.ts +2 -2
  72. package/dist/esm/api/postTransactionStatus.js +1 -1
  73. package/dist/esm/{callbacks-C-KUJnDv.d.ts → callbacks-CJ_p70xa.d.ts} +3 -3
  74. package/dist/esm/chunk-426BGQ4K.js +431 -0
  75. package/dist/esm/chunk-BBEFB277.js +53 -0
  76. package/dist/esm/{chunk-UIDIKXMB.js → chunk-F2LQB2DP.js} +6 -5
  77. package/dist/esm/{chunk-KNXMSLOB.js → chunk-GLH7IRLX.js} +2 -2
  78. package/dist/esm/{chunk-2PWROHHX.js → chunk-GLM7QWYT.js} +1 -1
  79. package/dist/esm/{chunk-SFWTQBQT.js → chunk-H2TTIB5K.js} +3 -3
  80. package/dist/esm/{chunk-QL423UEF.js → chunk-HP5EMWC6.js} +163 -149
  81. package/dist/esm/{chunk-V7VKYD4J.js → chunk-HZVXNDMH.js} +2 -2
  82. package/dist/esm/{chunk-JYYCFKB4.js → chunk-KS764SOZ.js} +15 -15
  83. package/dist/esm/{chunk-IKWC55JU.js → chunk-L233BZ4I.js} +59 -738
  84. package/dist/esm/{chunk-6M7N6EAO.js → chunk-LBS7KX5I.js} +12 -12
  85. package/dist/esm/{chunk-QRKO56DH.js → chunk-QYIZGNWZ.js} +2 -7
  86. package/dist/esm/{chunk-QO2CYYF5.js → chunk-RTDD7HZ3.js} +4 -7
  87. package/dist/esm/chunk-SA4GETWP.js +212 -0
  88. package/dist/esm/chunk-SWYON2RG.js +7 -0
  89. package/dist/esm/{client-types-CGMuZ3zo.d.ts → client-types-uXKJQRqe.d.ts} +1 -1
  90. package/dist/esm/{generateApi-D_-Gso-x.d.ts → generateApi-BMFrG4FZ.d.ts} +1 -1
  91. package/dist/esm/index.d.ts +260 -259
  92. package/dist/esm/index.js +16 -12
  93. package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
  94. package/dist/esm/public-functions/executeMultipleRoutes.js +10 -20
  95. package/dist/esm/public-functions/executeRoute.d.ts +4 -4
  96. package/dist/esm/public-functions/executeRoute.js +10 -20
  97. package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
  98. package/dist/esm/public-functions/getCosmosGasAmountForMessage.js +3 -3
  99. package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
  100. package/dist/esm/public-functions/getEvmGasAmountForMessage.js +1 -1
  101. package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
  102. package/dist/esm/public-functions/getFeeInfoForChain.js +3 -2
  103. package/dist/esm/public-functions/getRecommendedGasPrice.js +5 -4
  104. package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
  105. package/dist/esm/public-functions/getRouteWithGasOnReceive.js +16 -12
  106. package/dist/esm/public-functions/getSigningStargateClient.js +3 -3
  107. package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
  108. package/dist/esm/public-functions/setApiOptions.js +1 -1
  109. package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
  110. package/dist/esm/public-functions/setClientOptions.js +4 -4
  111. package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
  112. package/dist/esm/public-functions/subscribeToRouteStatus.js +1 -1
  113. package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
  114. package/dist/esm/public-functions/validateCosmosGasBalance.js +7 -7
  115. package/dist/esm/public-functions/waitForTransaction.d.ts +4 -4
  116. package/dist/esm/public-functions/waitForTransaction.js +1 -1
  117. package/dist/esm/{setClientOptions-C8g92xTm.d.ts → setClientOptions-D1qgaOqC.d.ts} +3 -3
  118. package/dist/esm/{swaggerTypes-B_jKfpvz.d.ts → swaggerTypes-Cop47I0X.d.ts} +257 -255
  119. package/package.json +5 -5
@@ -1,7 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk3M7YYWGL_cjs = require('./chunk-3M7YYWGL.cjs');
3
+ var chunkMUJBB64F_cjs = require('./chunk-MUJBB64F.cjs');
4
4
  var _m04 = require('protobufjs/minimal.js');
5
+ require('@cosmjs/math');
5
6
 
6
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
7
8
 
@@ -46,8 +47,8 @@ var Coin = {
46
47
  },
47
48
  fromJSON(object) {
48
49
  return {
49
- denom: chunk3M7YYWGL_cjs.isSet(object.denom) ? String(object.denom) : "",
50
- amount: chunk3M7YYWGL_cjs.isSet(object.amount) ? String(object.amount) : ""
50
+ denom: chunkMUJBB64F_cjs.isSet(object.denom) ? String(object.denom) : "",
51
+ amount: chunkMUJBB64F_cjs.isSet(object.amount) ? String(object.amount) : ""
51
52
  };
52
53
  },
53
54
  toJSON(message) {
@@ -103,7 +104,7 @@ var Coin = {
103
104
  function createBaseMsgInitiateTokenDeposit() {
104
105
  return {
105
106
  sender: "",
106
- bridgeId: chunk3M7YYWGL_cjs.Long.UZERO,
107
+ bridgeId: chunkMUJBB64F_cjs.Long.UZERO,
107
108
  to: "",
108
109
  amount: Coin.fromPartial({}),
109
110
  data: void 0
@@ -160,26 +161,26 @@ var MsgInitiateTokenDeposit = {
160
161
  },
161
162
  fromJSON(object) {
162
163
  return {
163
- sender: chunk3M7YYWGL_cjs.isSet(object.sender) ? String(object.sender) : "",
164
- bridgeId: chunk3M7YYWGL_cjs.isSet(object.bridgeId) ? chunk3M7YYWGL_cjs.Long.fromValue(object.bridgeId) : chunk3M7YYWGL_cjs.Long.UZERO,
165
- to: chunk3M7YYWGL_cjs.isSet(object.to) ? String(object.to) : "",
166
- amount: chunk3M7YYWGL_cjs.isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0,
167
- data: chunk3M7YYWGL_cjs.isSet(object.data) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.data) : void 0
164
+ sender: chunkMUJBB64F_cjs.isSet(object.sender) ? String(object.sender) : "",
165
+ bridgeId: chunkMUJBB64F_cjs.isSet(object.bridgeId) ? chunkMUJBB64F_cjs.Long.fromValue(object.bridgeId) : chunkMUJBB64F_cjs.Long.UZERO,
166
+ to: chunkMUJBB64F_cjs.isSet(object.to) ? String(object.to) : "",
167
+ amount: chunkMUJBB64F_cjs.isSet(object.amount) ? Coin.fromJSON(object.amount) : void 0,
168
+ data: chunkMUJBB64F_cjs.isSet(object.data) ? chunkMUJBB64F_cjs.bytesFromBase64(object.data) : void 0
168
169
  };
169
170
  },
170
171
  toJSON(message) {
171
172
  const obj = {};
172
173
  message.sender !== void 0 && (obj.sender = message.sender);
173
- message.bridgeId !== void 0 && (obj.bridgeId = (message.bridgeId || chunk3M7YYWGL_cjs.Long.UZERO).toString());
174
+ message.bridgeId !== void 0 && (obj.bridgeId = (message.bridgeId || chunkMUJBB64F_cjs.Long.UZERO).toString());
174
175
  message.to !== void 0 && (obj.to = message.to);
175
176
  message.amount !== void 0 && (obj.amount = message.amount ? Coin.toJSON(message.amount) : void 0);
176
- message.data !== void 0 && (obj.data = message.data !== void 0 ? chunk3M7YYWGL_cjs.base64FromBytes(message.data) : void 0);
177
+ message.data !== void 0 && (obj.data = message.data !== void 0 ? chunkMUJBB64F_cjs.base64FromBytes(message.data) : void 0);
177
178
  return obj;
178
179
  },
179
180
  fromPartial(object) {
180
181
  const message = createBaseMsgInitiateTokenDeposit();
181
182
  message.sender = object.sender ?? "";
182
- message.bridgeId = object.bridgeId !== void 0 && object.bridgeId !== null ? chunk3M7YYWGL_cjs.Long.fromValue(object.bridgeId) : chunk3M7YYWGL_cjs.Long.UZERO;
183
+ message.bridgeId = object.bridgeId !== void 0 && object.bridgeId !== null ? chunkMUJBB64F_cjs.Long.fromValue(object.bridgeId) : chunkMUJBB64F_cjs.Long.UZERO;
183
184
  message.to = object.to ?? "";
184
185
  message.amount = object.amount !== void 0 && object.amount !== null ? Coin.fromPartial(object.amount) : void 0;
185
186
  message.data = object.data ?? void 0;
@@ -191,7 +192,7 @@ var MsgInitiateTokenDeposit = {
191
192
  message.sender = object.sender;
192
193
  }
193
194
  if (object.bridge_id !== void 0 && object.bridge_id !== null) {
194
- message.bridgeId = chunk3M7YYWGL_cjs.Long.fromString(object.bridge_id);
195
+ message.bridgeId = chunkMUJBB64F_cjs.Long.fromString(object.bridge_id);
195
196
  }
196
197
  if (object.to !== void 0 && object.to !== null) {
197
198
  message.to = object.to;
@@ -200,17 +201,17 @@ var MsgInitiateTokenDeposit = {
200
201
  message.amount = Coin.fromAmino(object.amount);
201
202
  }
202
203
  if (object.data !== void 0 && object.data !== null) {
203
- message.data = chunk3M7YYWGL_cjs.bytesFromBase64(object.data);
204
+ message.data = chunkMUJBB64F_cjs.bytesFromBase64(object.data);
204
205
  }
205
206
  return message;
206
207
  },
207
208
  toAmino(message) {
208
209
  const obj = {};
209
210
  obj.sender = message.sender === "" ? void 0 : message.sender;
210
- obj.bridge_id = !message.bridgeId.isZero() ? message.bridgeId.toString() : void 0;
211
+ obj.bridge_id = !message.bridgeId.isZero() ? message.bridgeId?.toString() : void 0;
211
212
  obj.to = message.to === "" ? void 0 : message.to;
212
213
  obj.amount = message.amount ? Coin.toAmino(message.amount) : Coin.toAmino(Coin.fromPartial({}));
213
- obj.data = message.data ? chunk3M7YYWGL_cjs.base64FromBytes(message.data) : void 0;
214
+ obj.data = message.data ? chunkMUJBB64F_cjs.base64FromBytes(message.data) : void 0;
214
215
  return obj;
215
216
  },
216
217
  fromAminoMsg(object) {
@@ -302,12 +303,12 @@ var MsgExecute = {
302
303
  },
303
304
  fromJSON(object) {
304
305
  return {
305
- sender: chunk3M7YYWGL_cjs.isSet(object.sender) ? String(object.sender) : "",
306
- moduleAddress: chunk3M7YYWGL_cjs.isSet(object.moduleAddress) ? String(object.moduleAddress) : "",
307
- moduleName: chunk3M7YYWGL_cjs.isSet(object.moduleName) ? String(object.moduleName) : "",
308
- functionName: chunk3M7YYWGL_cjs.isSet(object.functionName) ? String(object.functionName) : "",
306
+ sender: chunkMUJBB64F_cjs.isSet(object.sender) ? String(object.sender) : "",
307
+ moduleAddress: chunkMUJBB64F_cjs.isSet(object.moduleAddress) ? String(object.moduleAddress) : "",
308
+ moduleName: chunkMUJBB64F_cjs.isSet(object.moduleName) ? String(object.moduleName) : "",
309
+ functionName: chunkMUJBB64F_cjs.isSet(object.functionName) ? String(object.functionName) : "",
309
310
  typeArgs: Array.isArray(object?.typeArgs) ? object.typeArgs.map((e) => String(e)) : [],
310
- args: Array.isArray(object?.args) ? object.args.map((e) => chunk3M7YYWGL_cjs.bytesFromBase64(e)) : []
311
+ args: Array.isArray(object?.args) ? object.args.map((e) => chunkMUJBB64F_cjs.bytesFromBase64(e)) : []
311
312
  };
312
313
  },
313
314
  toJSON(message) {
@@ -322,7 +323,7 @@ var MsgExecute = {
322
323
  obj.typeArgs = [];
323
324
  }
324
325
  if (message.args) {
325
- obj.args = message.args.map((e) => chunk3M7YYWGL_cjs.base64FromBytes(e !== void 0 ? e : new Uint8Array()));
326
+ obj.args = message.args.map((e) => chunkMUJBB64F_cjs.base64FromBytes(e !== void 0 ? e : new Uint8Array()));
326
327
  } else {
327
328
  obj.args = [];
328
329
  }
@@ -353,7 +354,7 @@ var MsgExecute = {
353
354
  message.functionName = object.function_name;
354
355
  }
355
356
  message.typeArgs = object.type_args?.map((e) => e) || [];
356
- message.args = object.args?.map((e) => chunk3M7YYWGL_cjs.bytesFromBase64(e)) || [];
357
+ message.args = object.args?.map((e) => chunkMUJBB64F_cjs.bytesFromBase64(e)) || [];
357
358
  return message;
358
359
  },
359
360
  toAmino(message) {
@@ -368,7 +369,7 @@ var MsgExecute = {
368
369
  obj.type_args = message.typeArgs;
369
370
  }
370
371
  if (message.args) {
371
- obj.args = message.args.map((e) => chunk3M7YYWGL_cjs.base64FromBytes(e));
372
+ obj.args = message.args.map((e) => chunkMUJBB64F_cjs.base64FromBytes(e));
372
373
  } else {
373
374
  obj.args = message.args;
374
375
  }
@@ -429,8 +430,8 @@ var MsgUpdateOwner = {
429
430
  },
430
431
  fromJSON(object) {
431
432
  return {
432
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
433
- newOwner: chunk3M7YYWGL_cjs.isSet(object.newOwner) ? String(object.newOwner) : ""
433
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
434
+ newOwner: chunkMUJBB64F_cjs.isSet(object.newOwner) ? String(object.newOwner) : ""
434
435
  };
435
436
  },
436
437
  toJSON(message) {
@@ -522,8 +523,8 @@ var MsgUpdateAttesterManager = {
522
523
  },
523
524
  fromJSON(object) {
524
525
  return {
525
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
526
- newAttesterManager: chunk3M7YYWGL_cjs.isSet(object.newAttesterManager) ? String(object.newAttesterManager) : ""
526
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
527
+ newAttesterManager: chunkMUJBB64F_cjs.isSet(object.newAttesterManager) ? String(object.newAttesterManager) : ""
527
528
  };
528
529
  },
529
530
  toJSON(message) {
@@ -615,8 +616,8 @@ var MsgUpdateTokenController = {
615
616
  },
616
617
  fromJSON(object) {
617
618
  return {
618
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
619
- newTokenController: chunk3M7YYWGL_cjs.isSet(object.newTokenController) ? String(object.newTokenController) : ""
619
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
620
+ newTokenController: chunkMUJBB64F_cjs.isSet(object.newTokenController) ? String(object.newTokenController) : ""
620
621
  };
621
622
  },
622
623
  toJSON(message) {
@@ -708,8 +709,8 @@ var MsgUpdatePauser = {
708
709
  },
709
710
  fromJSON(object) {
710
711
  return {
711
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
712
- newPauser: chunk3M7YYWGL_cjs.isSet(object.newPauser) ? String(object.newPauser) : ""
712
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
713
+ newPauser: chunkMUJBB64F_cjs.isSet(object.newPauser) ? String(object.newPauser) : ""
713
714
  };
714
715
  },
715
716
  toJSON(message) {
@@ -794,7 +795,7 @@ var MsgAcceptOwner = {
794
795
  },
795
796
  fromJSON(object) {
796
797
  return {
797
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : ""
798
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : ""
798
799
  };
799
800
  },
800
801
  toJSON(message) {
@@ -880,8 +881,8 @@ var MsgEnableAttester = {
880
881
  },
881
882
  fromJSON(object) {
882
883
  return {
883
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
884
- attester: chunk3M7YYWGL_cjs.isSet(object.attester) ? String(object.attester) : ""
884
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
885
+ attester: chunkMUJBB64F_cjs.isSet(object.attester) ? String(object.attester) : ""
885
886
  };
886
887
  },
887
888
  toJSON(message) {
@@ -973,8 +974,8 @@ var MsgDisableAttester = {
973
974
  },
974
975
  fromJSON(object) {
975
976
  return {
976
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
977
- attester: chunk3M7YYWGL_cjs.isSet(object.attester) ? String(object.attester) : ""
977
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
978
+ attester: chunkMUJBB64F_cjs.isSet(object.attester) ? String(object.attester) : ""
978
979
  };
979
980
  },
980
981
  toJSON(message) {
@@ -1059,7 +1060,7 @@ var MsgPauseBurningAndMinting = {
1059
1060
  },
1060
1061
  fromJSON(object) {
1061
1062
  return {
1062
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : ""
1063
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : ""
1063
1064
  };
1064
1065
  },
1065
1066
  toJSON(message) {
@@ -1138,7 +1139,7 @@ var MsgUnpauseBurningAndMinting = {
1138
1139
  },
1139
1140
  fromJSON(object) {
1140
1141
  return {
1141
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : ""
1142
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : ""
1142
1143
  };
1143
1144
  },
1144
1145
  toJSON(message) {
@@ -1217,7 +1218,7 @@ var MsgPauseSendingAndReceivingMessages = {
1217
1218
  },
1218
1219
  fromJSON(object) {
1219
1220
  return {
1220
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : ""
1221
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : ""
1221
1222
  };
1222
1223
  },
1223
1224
  toJSON(message) {
@@ -1296,7 +1297,7 @@ var MsgUnpauseSendingAndReceivingMessages = {
1296
1297
  },
1297
1298
  fromJSON(object) {
1298
1299
  return {
1299
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : ""
1300
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : ""
1300
1301
  };
1301
1302
  },
1302
1303
  toJSON(message) {
@@ -1346,7 +1347,7 @@ var MsgUnpauseSendingAndReceivingMessages = {
1346
1347
  function createBaseMsgUpdateMaxMessageBodySize() {
1347
1348
  return {
1348
1349
  from: "",
1349
- messageSize: chunk3M7YYWGL_cjs.Long.UZERO
1350
+ messageSize: chunkMUJBB64F_cjs.Long.UZERO
1350
1351
  };
1351
1352
  }
1352
1353
  var MsgUpdateMaxMessageBodySize = {
@@ -1382,20 +1383,20 @@ var MsgUpdateMaxMessageBodySize = {
1382
1383
  },
1383
1384
  fromJSON(object) {
1384
1385
  return {
1385
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
1386
- messageSize: chunk3M7YYWGL_cjs.isSet(object.messageSize) ? chunk3M7YYWGL_cjs.Long.fromValue(object.messageSize) : chunk3M7YYWGL_cjs.Long.UZERO
1386
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
1387
+ messageSize: chunkMUJBB64F_cjs.isSet(object.messageSize) ? chunkMUJBB64F_cjs.Long.fromValue(object.messageSize) : chunkMUJBB64F_cjs.Long.UZERO
1387
1388
  };
1388
1389
  },
1389
1390
  toJSON(message) {
1390
1391
  const obj = {};
1391
1392
  message.from !== void 0 && (obj.from = message.from);
1392
- message.messageSize !== void 0 && (obj.messageSize = (message.messageSize || chunk3M7YYWGL_cjs.Long.UZERO).toString());
1393
+ message.messageSize !== void 0 && (obj.messageSize = (message.messageSize || chunkMUJBB64F_cjs.Long.UZERO).toString());
1393
1394
  return obj;
1394
1395
  },
1395
1396
  fromPartial(object) {
1396
1397
  const message = createBaseMsgUpdateMaxMessageBodySize();
1397
1398
  message.from = object.from ?? "";
1398
- message.messageSize = object.messageSize !== void 0 && object.messageSize !== null ? chunk3M7YYWGL_cjs.Long.fromValue(object.messageSize) : chunk3M7YYWGL_cjs.Long.UZERO;
1399
+ message.messageSize = object.messageSize !== void 0 && object.messageSize !== null ? chunkMUJBB64F_cjs.Long.fromValue(object.messageSize) : chunkMUJBB64F_cjs.Long.UZERO;
1399
1400
  return message;
1400
1401
  },
1401
1402
  fromAmino(object) {
@@ -1404,14 +1405,14 @@ var MsgUpdateMaxMessageBodySize = {
1404
1405
  message.from = object.from;
1405
1406
  }
1406
1407
  if (object.message_size !== void 0 && object.message_size !== null) {
1407
- message.messageSize = chunk3M7YYWGL_cjs.Long.fromString(object.message_size);
1408
+ message.messageSize = chunkMUJBB64F_cjs.Long.fromString(object.message_size);
1408
1409
  }
1409
1410
  return message;
1410
1411
  },
1411
1412
  toAmino(message) {
1412
1413
  const obj = {};
1413
1414
  obj.from = message.from === "" ? void 0 : message.from;
1414
- obj.message_size = !message.messageSize.isZero() ? message.messageSize.toString() : void 0;
1415
+ obj.message_size = !message.messageSize.isZero() ? message.messageSize?.toString() : void 0;
1415
1416
  return obj;
1416
1417
  },
1417
1418
  fromAminoMsg(object) {
@@ -1482,9 +1483,9 @@ var MsgSetMaxBurnAmountPerMessage = {
1482
1483
  },
1483
1484
  fromJSON(object) {
1484
1485
  return {
1485
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
1486
- localToken: chunk3M7YYWGL_cjs.isSet(object.localToken) ? String(object.localToken) : "",
1487
- amount: chunk3M7YYWGL_cjs.isSet(object.amount) ? String(object.amount) : ""
1486
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
1487
+ localToken: chunkMUJBB64F_cjs.isSet(object.localToken) ? String(object.localToken) : "",
1488
+ amount: chunkMUJBB64F_cjs.isSet(object.amount) ? String(object.amount) : ""
1488
1489
  };
1489
1490
  },
1490
1491
  toJSON(message) {
@@ -1603,11 +1604,11 @@ var MsgDepositForBurn = {
1603
1604
  },
1604
1605
  fromJSON(object) {
1605
1606
  return {
1606
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
1607
- amount: chunk3M7YYWGL_cjs.isSet(object.amount) ? String(object.amount) : "",
1608
- destinationDomain: chunk3M7YYWGL_cjs.isSet(object.destinationDomain) ? Number(object.destinationDomain) : 0,
1609
- mintRecipient: chunk3M7YYWGL_cjs.isSet(object.mintRecipient) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.mintRecipient) : new Uint8Array(),
1610
- burnToken: chunk3M7YYWGL_cjs.isSet(object.burnToken) ? String(object.burnToken) : ""
1607
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
1608
+ amount: chunkMUJBB64F_cjs.isSet(object.amount) ? String(object.amount) : "",
1609
+ destinationDomain: chunkMUJBB64F_cjs.isSet(object.destinationDomain) ? Number(object.destinationDomain) : 0,
1610
+ mintRecipient: chunkMUJBB64F_cjs.isSet(object.mintRecipient) ? chunkMUJBB64F_cjs.bytesFromBase64(object.mintRecipient) : new Uint8Array(),
1611
+ burnToken: chunkMUJBB64F_cjs.isSet(object.burnToken) ? String(object.burnToken) : ""
1611
1612
  };
1612
1613
  },
1613
1614
  toJSON(message) {
@@ -1615,7 +1616,7 @@ var MsgDepositForBurn = {
1615
1616
  message.from !== void 0 && (obj.from = message.from);
1616
1617
  message.amount !== void 0 && (obj.amount = message.amount);
1617
1618
  message.destinationDomain !== void 0 && (obj.destinationDomain = Math.round(message.destinationDomain));
1618
- message.mintRecipient !== void 0 && (obj.mintRecipient = chunk3M7YYWGL_cjs.base64FromBytes(message.mintRecipient !== void 0 ? message.mintRecipient : new Uint8Array()));
1619
+ message.mintRecipient !== void 0 && (obj.mintRecipient = chunkMUJBB64F_cjs.base64FromBytes(message.mintRecipient !== void 0 ? message.mintRecipient : new Uint8Array()));
1619
1620
  message.burnToken !== void 0 && (obj.burnToken = message.burnToken);
1620
1621
  return obj;
1621
1622
  },
@@ -1640,7 +1641,7 @@ var MsgDepositForBurn = {
1640
1641
  message.destinationDomain = object.destination_domain;
1641
1642
  }
1642
1643
  if (object.mint_recipient !== void 0 && object.mint_recipient !== null) {
1643
- message.mintRecipient = chunk3M7YYWGL_cjs.bytesFromBase64(object.mint_recipient);
1644
+ message.mintRecipient = chunkMUJBB64F_cjs.bytesFromBase64(object.mint_recipient);
1644
1645
  }
1645
1646
  if (object.burn_token !== void 0 && object.burn_token !== null) {
1646
1647
  message.burnToken = object.burn_token;
@@ -1652,7 +1653,7 @@ var MsgDepositForBurn = {
1652
1653
  obj.from = message.from === "" ? void 0 : message.from;
1653
1654
  obj.amount = message.amount === "" ? void 0 : message.amount;
1654
1655
  obj.destination_domain = message.destinationDomain === 0 ? void 0 : message.destinationDomain;
1655
- obj.mint_recipient = message.mintRecipient ? chunk3M7YYWGL_cjs.base64FromBytes(message.mintRecipient) : void 0;
1656
+ obj.mint_recipient = message.mintRecipient ? chunkMUJBB64F_cjs.base64FromBytes(message.mintRecipient) : void 0;
1656
1657
  obj.burn_token = message.burnToken === "" ? void 0 : message.burnToken;
1657
1658
  return obj;
1658
1659
  },
@@ -1745,12 +1746,12 @@ var MsgDepositForBurnWithCaller = {
1745
1746
  },
1746
1747
  fromJSON(object) {
1747
1748
  return {
1748
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
1749
- amount: chunk3M7YYWGL_cjs.isSet(object.amount) ? String(object.amount) : "",
1750
- destinationDomain: chunk3M7YYWGL_cjs.isSet(object.destinationDomain) ? Number(object.destinationDomain) : 0,
1751
- mintRecipient: chunk3M7YYWGL_cjs.isSet(object.mintRecipient) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.mintRecipient) : new Uint8Array(),
1752
- burnToken: chunk3M7YYWGL_cjs.isSet(object.burnToken) ? String(object.burnToken) : "",
1753
- destinationCaller: chunk3M7YYWGL_cjs.isSet(object.destinationCaller) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.destinationCaller) : new Uint8Array()
1749
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
1750
+ amount: chunkMUJBB64F_cjs.isSet(object.amount) ? String(object.amount) : "",
1751
+ destinationDomain: chunkMUJBB64F_cjs.isSet(object.destinationDomain) ? Number(object.destinationDomain) : 0,
1752
+ mintRecipient: chunkMUJBB64F_cjs.isSet(object.mintRecipient) ? chunkMUJBB64F_cjs.bytesFromBase64(object.mintRecipient) : new Uint8Array(),
1753
+ burnToken: chunkMUJBB64F_cjs.isSet(object.burnToken) ? String(object.burnToken) : "",
1754
+ destinationCaller: chunkMUJBB64F_cjs.isSet(object.destinationCaller) ? chunkMUJBB64F_cjs.bytesFromBase64(object.destinationCaller) : new Uint8Array()
1754
1755
  };
1755
1756
  },
1756
1757
  toJSON(message) {
@@ -1758,9 +1759,9 @@ var MsgDepositForBurnWithCaller = {
1758
1759
  message.from !== void 0 && (obj.from = message.from);
1759
1760
  message.amount !== void 0 && (obj.amount = message.amount);
1760
1761
  message.destinationDomain !== void 0 && (obj.destinationDomain = Math.round(message.destinationDomain));
1761
- message.mintRecipient !== void 0 && (obj.mintRecipient = chunk3M7YYWGL_cjs.base64FromBytes(message.mintRecipient !== void 0 ? message.mintRecipient : new Uint8Array()));
1762
+ message.mintRecipient !== void 0 && (obj.mintRecipient = chunkMUJBB64F_cjs.base64FromBytes(message.mintRecipient !== void 0 ? message.mintRecipient : new Uint8Array()));
1762
1763
  message.burnToken !== void 0 && (obj.burnToken = message.burnToken);
1763
- message.destinationCaller !== void 0 && (obj.destinationCaller = chunk3M7YYWGL_cjs.base64FromBytes(message.destinationCaller !== void 0 ? message.destinationCaller : new Uint8Array()));
1764
+ message.destinationCaller !== void 0 && (obj.destinationCaller = chunkMUJBB64F_cjs.base64FromBytes(message.destinationCaller !== void 0 ? message.destinationCaller : new Uint8Array()));
1764
1765
  return obj;
1765
1766
  },
1766
1767
  fromPartial(object) {
@@ -1785,13 +1786,13 @@ var MsgDepositForBurnWithCaller = {
1785
1786
  message.destinationDomain = object.destination_domain;
1786
1787
  }
1787
1788
  if (object.mint_recipient !== void 0 && object.mint_recipient !== null) {
1788
- message.mintRecipient = chunk3M7YYWGL_cjs.bytesFromBase64(object.mint_recipient);
1789
+ message.mintRecipient = chunkMUJBB64F_cjs.bytesFromBase64(object.mint_recipient);
1789
1790
  }
1790
1791
  if (object.burn_token !== void 0 && object.burn_token !== null) {
1791
1792
  message.burnToken = object.burn_token;
1792
1793
  }
1793
1794
  if (object.destination_caller !== void 0 && object.destination_caller !== null) {
1794
- message.destinationCaller = chunk3M7YYWGL_cjs.bytesFromBase64(object.destination_caller);
1795
+ message.destinationCaller = chunkMUJBB64F_cjs.bytesFromBase64(object.destination_caller);
1795
1796
  }
1796
1797
  return message;
1797
1798
  },
@@ -1800,9 +1801,9 @@ var MsgDepositForBurnWithCaller = {
1800
1801
  obj.from = message.from === "" ? void 0 : message.from;
1801
1802
  obj.amount = message.amount === "" ? void 0 : message.amount;
1802
1803
  obj.destination_domain = message.destinationDomain === 0 ? void 0 : message.destinationDomain;
1803
- obj.mint_recipient = message.mintRecipient ? chunk3M7YYWGL_cjs.base64FromBytes(message.mintRecipient) : void 0;
1804
+ obj.mint_recipient = message.mintRecipient ? chunkMUJBB64F_cjs.base64FromBytes(message.mintRecipient) : void 0;
1804
1805
  obj.burn_token = message.burnToken === "" ? void 0 : message.burnToken;
1805
- obj.destination_caller = message.destinationCaller ? chunk3M7YYWGL_cjs.base64FromBytes(message.destinationCaller) : void 0;
1806
+ obj.destination_caller = message.destinationCaller ? chunkMUJBB64F_cjs.base64FromBytes(message.destinationCaller) : void 0;
1806
1807
  return obj;
1807
1808
  },
1808
1809
  fromAminoMsg(object) {
@@ -1887,20 +1888,20 @@ var MsgReplaceDepositForBurn = {
1887
1888
  },
1888
1889
  fromJSON(object) {
1889
1890
  return {
1890
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
1891
- originalMessage: chunk3M7YYWGL_cjs.isSet(object.originalMessage) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.originalMessage) : new Uint8Array(),
1892
- originalAttestation: chunk3M7YYWGL_cjs.isSet(object.originalAttestation) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.originalAttestation) : new Uint8Array(),
1893
- newDestinationCaller: chunk3M7YYWGL_cjs.isSet(object.newDestinationCaller) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.newDestinationCaller) : new Uint8Array(),
1894
- newMintRecipient: chunk3M7YYWGL_cjs.isSet(object.newMintRecipient) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.newMintRecipient) : new Uint8Array()
1891
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
1892
+ originalMessage: chunkMUJBB64F_cjs.isSet(object.originalMessage) ? chunkMUJBB64F_cjs.bytesFromBase64(object.originalMessage) : new Uint8Array(),
1893
+ originalAttestation: chunkMUJBB64F_cjs.isSet(object.originalAttestation) ? chunkMUJBB64F_cjs.bytesFromBase64(object.originalAttestation) : new Uint8Array(),
1894
+ newDestinationCaller: chunkMUJBB64F_cjs.isSet(object.newDestinationCaller) ? chunkMUJBB64F_cjs.bytesFromBase64(object.newDestinationCaller) : new Uint8Array(),
1895
+ newMintRecipient: chunkMUJBB64F_cjs.isSet(object.newMintRecipient) ? chunkMUJBB64F_cjs.bytesFromBase64(object.newMintRecipient) : new Uint8Array()
1895
1896
  };
1896
1897
  },
1897
1898
  toJSON(message) {
1898
1899
  const obj = {};
1899
1900
  message.from !== void 0 && (obj.from = message.from);
1900
- message.originalMessage !== void 0 && (obj.originalMessage = chunk3M7YYWGL_cjs.base64FromBytes(message.originalMessage !== void 0 ? message.originalMessage : new Uint8Array()));
1901
- message.originalAttestation !== void 0 && (obj.originalAttestation = chunk3M7YYWGL_cjs.base64FromBytes(message.originalAttestation !== void 0 ? message.originalAttestation : new Uint8Array()));
1902
- message.newDestinationCaller !== void 0 && (obj.newDestinationCaller = chunk3M7YYWGL_cjs.base64FromBytes(message.newDestinationCaller !== void 0 ? message.newDestinationCaller : new Uint8Array()));
1903
- message.newMintRecipient !== void 0 && (obj.newMintRecipient = chunk3M7YYWGL_cjs.base64FromBytes(message.newMintRecipient !== void 0 ? message.newMintRecipient : new Uint8Array()));
1901
+ message.originalMessage !== void 0 && (obj.originalMessage = chunkMUJBB64F_cjs.base64FromBytes(message.originalMessage !== void 0 ? message.originalMessage : new Uint8Array()));
1902
+ message.originalAttestation !== void 0 && (obj.originalAttestation = chunkMUJBB64F_cjs.base64FromBytes(message.originalAttestation !== void 0 ? message.originalAttestation : new Uint8Array()));
1903
+ message.newDestinationCaller !== void 0 && (obj.newDestinationCaller = chunkMUJBB64F_cjs.base64FromBytes(message.newDestinationCaller !== void 0 ? message.newDestinationCaller : new Uint8Array()));
1904
+ message.newMintRecipient !== void 0 && (obj.newMintRecipient = chunkMUJBB64F_cjs.base64FromBytes(message.newMintRecipient !== void 0 ? message.newMintRecipient : new Uint8Array()));
1904
1905
  return obj;
1905
1906
  },
1906
1907
  fromPartial(object) {
@@ -1918,26 +1919,26 @@ var MsgReplaceDepositForBurn = {
1918
1919
  message.from = object.from;
1919
1920
  }
1920
1921
  if (object.original_message !== void 0 && object.original_message !== null) {
1921
- message.originalMessage = chunk3M7YYWGL_cjs.bytesFromBase64(object.original_message);
1922
+ message.originalMessage = chunkMUJBB64F_cjs.bytesFromBase64(object.original_message);
1922
1923
  }
1923
1924
  if (object.original_attestation !== void 0 && object.original_attestation !== null) {
1924
- message.originalAttestation = chunk3M7YYWGL_cjs.bytesFromBase64(object.original_attestation);
1925
+ message.originalAttestation = chunkMUJBB64F_cjs.bytesFromBase64(object.original_attestation);
1925
1926
  }
1926
1927
  if (object.new_destination_caller !== void 0 && object.new_destination_caller !== null) {
1927
- message.newDestinationCaller = chunk3M7YYWGL_cjs.bytesFromBase64(object.new_destination_caller);
1928
+ message.newDestinationCaller = chunkMUJBB64F_cjs.bytesFromBase64(object.new_destination_caller);
1928
1929
  }
1929
1930
  if (object.new_mint_recipient !== void 0 && object.new_mint_recipient !== null) {
1930
- message.newMintRecipient = chunk3M7YYWGL_cjs.bytesFromBase64(object.new_mint_recipient);
1931
+ message.newMintRecipient = chunkMUJBB64F_cjs.bytesFromBase64(object.new_mint_recipient);
1931
1932
  }
1932
1933
  return message;
1933
1934
  },
1934
1935
  toAmino(message) {
1935
1936
  const obj = {};
1936
1937
  obj.from = message.from === "" ? void 0 : message.from;
1937
- obj.original_message = message.originalMessage ? chunk3M7YYWGL_cjs.base64FromBytes(message.originalMessage) : void 0;
1938
- obj.original_attestation = message.originalAttestation ? chunk3M7YYWGL_cjs.base64FromBytes(message.originalAttestation) : void 0;
1939
- obj.new_destination_caller = message.newDestinationCaller ? chunk3M7YYWGL_cjs.base64FromBytes(message.newDestinationCaller) : void 0;
1940
- obj.new_mint_recipient = message.newMintRecipient ? chunk3M7YYWGL_cjs.base64FromBytes(message.newMintRecipient) : void 0;
1938
+ obj.original_message = message.originalMessage ? chunkMUJBB64F_cjs.base64FromBytes(message.originalMessage) : void 0;
1939
+ obj.original_attestation = message.originalAttestation ? chunkMUJBB64F_cjs.base64FromBytes(message.originalAttestation) : void 0;
1940
+ obj.new_destination_caller = message.newDestinationCaller ? chunkMUJBB64F_cjs.base64FromBytes(message.newDestinationCaller) : void 0;
1941
+ obj.new_mint_recipient = message.newMintRecipient ? chunkMUJBB64F_cjs.base64FromBytes(message.newMintRecipient) : void 0;
1941
1942
  return obj;
1942
1943
  },
1943
1944
  fromAminoMsg(object) {
@@ -2008,16 +2009,16 @@ var MsgReceiveMessage = {
2008
2009
  },
2009
2010
  fromJSON(object) {
2010
2011
  return {
2011
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2012
- message: chunk3M7YYWGL_cjs.isSet(object.message) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.message) : new Uint8Array(),
2013
- attestation: chunk3M7YYWGL_cjs.isSet(object.attestation) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.attestation) : new Uint8Array()
2012
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2013
+ message: chunkMUJBB64F_cjs.isSet(object.message) ? chunkMUJBB64F_cjs.bytesFromBase64(object.message) : new Uint8Array(),
2014
+ attestation: chunkMUJBB64F_cjs.isSet(object.attestation) ? chunkMUJBB64F_cjs.bytesFromBase64(object.attestation) : new Uint8Array()
2014
2015
  };
2015
2016
  },
2016
2017
  toJSON(message) {
2017
2018
  const obj = {};
2018
2019
  message.from !== void 0 && (obj.from = message.from);
2019
- message.message !== void 0 && (obj.message = chunk3M7YYWGL_cjs.base64FromBytes(message.message !== void 0 ? message.message : new Uint8Array()));
2020
- message.attestation !== void 0 && (obj.attestation = chunk3M7YYWGL_cjs.base64FromBytes(message.attestation !== void 0 ? message.attestation : new Uint8Array()));
2020
+ message.message !== void 0 && (obj.message = chunkMUJBB64F_cjs.base64FromBytes(message.message !== void 0 ? message.message : new Uint8Array()));
2021
+ message.attestation !== void 0 && (obj.attestation = chunkMUJBB64F_cjs.base64FromBytes(message.attestation !== void 0 ? message.attestation : new Uint8Array()));
2021
2022
  return obj;
2022
2023
  },
2023
2024
  fromPartial(object) {
@@ -2033,18 +2034,18 @@ var MsgReceiveMessage = {
2033
2034
  message.from = object.from;
2034
2035
  }
2035
2036
  if (object.message !== void 0 && object.message !== null) {
2036
- message.message = chunk3M7YYWGL_cjs.bytesFromBase64(object.message);
2037
+ message.message = chunkMUJBB64F_cjs.bytesFromBase64(object.message);
2037
2038
  }
2038
2039
  if (object.attestation !== void 0 && object.attestation !== null) {
2039
- message.attestation = chunk3M7YYWGL_cjs.bytesFromBase64(object.attestation);
2040
+ message.attestation = chunkMUJBB64F_cjs.bytesFromBase64(object.attestation);
2040
2041
  }
2041
2042
  return message;
2042
2043
  },
2043
2044
  toAmino(message) {
2044
2045
  const obj = {};
2045
2046
  obj.from = message.from === "" ? void 0 : message.from;
2046
- obj.message = message.message ? chunk3M7YYWGL_cjs.base64FromBytes(message.message) : void 0;
2047
- obj.attestation = message.attestation ? chunk3M7YYWGL_cjs.base64FromBytes(message.attestation) : void 0;
2047
+ obj.message = message.message ? chunkMUJBB64F_cjs.base64FromBytes(message.message) : void 0;
2048
+ obj.attestation = message.attestation ? chunkMUJBB64F_cjs.base64FromBytes(message.attestation) : void 0;
2048
2049
  return obj;
2049
2050
  },
2050
2051
  fromAminoMsg(object) {
@@ -2122,18 +2123,18 @@ var MsgSendMessage = {
2122
2123
  },
2123
2124
  fromJSON(object) {
2124
2125
  return {
2125
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2126
- destinationDomain: chunk3M7YYWGL_cjs.isSet(object.destinationDomain) ? Number(object.destinationDomain) : 0,
2127
- recipient: chunk3M7YYWGL_cjs.isSet(object.recipient) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.recipient) : new Uint8Array(),
2128
- messageBody: chunk3M7YYWGL_cjs.isSet(object.messageBody) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.messageBody) : new Uint8Array()
2126
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2127
+ destinationDomain: chunkMUJBB64F_cjs.isSet(object.destinationDomain) ? Number(object.destinationDomain) : 0,
2128
+ recipient: chunkMUJBB64F_cjs.isSet(object.recipient) ? chunkMUJBB64F_cjs.bytesFromBase64(object.recipient) : new Uint8Array(),
2129
+ messageBody: chunkMUJBB64F_cjs.isSet(object.messageBody) ? chunkMUJBB64F_cjs.bytesFromBase64(object.messageBody) : new Uint8Array()
2129
2130
  };
2130
2131
  },
2131
2132
  toJSON(message) {
2132
2133
  const obj = {};
2133
2134
  message.from !== void 0 && (obj.from = message.from);
2134
2135
  message.destinationDomain !== void 0 && (obj.destinationDomain = Math.round(message.destinationDomain));
2135
- message.recipient !== void 0 && (obj.recipient = chunk3M7YYWGL_cjs.base64FromBytes(message.recipient !== void 0 ? message.recipient : new Uint8Array()));
2136
- message.messageBody !== void 0 && (obj.messageBody = chunk3M7YYWGL_cjs.base64FromBytes(message.messageBody !== void 0 ? message.messageBody : new Uint8Array()));
2136
+ message.recipient !== void 0 && (obj.recipient = chunkMUJBB64F_cjs.base64FromBytes(message.recipient !== void 0 ? message.recipient : new Uint8Array()));
2137
+ message.messageBody !== void 0 && (obj.messageBody = chunkMUJBB64F_cjs.base64FromBytes(message.messageBody !== void 0 ? message.messageBody : new Uint8Array()));
2137
2138
  return obj;
2138
2139
  },
2139
2140
  fromPartial(object) {
@@ -2153,10 +2154,10 @@ var MsgSendMessage = {
2153
2154
  message.destinationDomain = object.destination_domain;
2154
2155
  }
2155
2156
  if (object.recipient !== void 0 && object.recipient !== null) {
2156
- message.recipient = chunk3M7YYWGL_cjs.bytesFromBase64(object.recipient);
2157
+ message.recipient = chunkMUJBB64F_cjs.bytesFromBase64(object.recipient);
2157
2158
  }
2158
2159
  if (object.message_body !== void 0 && object.message_body !== null) {
2159
- message.messageBody = chunk3M7YYWGL_cjs.bytesFromBase64(object.message_body);
2160
+ message.messageBody = chunkMUJBB64F_cjs.bytesFromBase64(object.message_body);
2160
2161
  }
2161
2162
  return message;
2162
2163
  },
@@ -2164,8 +2165,8 @@ var MsgSendMessage = {
2164
2165
  const obj = {};
2165
2166
  obj.from = message.from === "" ? void 0 : message.from;
2166
2167
  obj.destination_domain = message.destinationDomain === 0 ? void 0 : message.destinationDomain;
2167
- obj.recipient = message.recipient ? chunk3M7YYWGL_cjs.base64FromBytes(message.recipient) : void 0;
2168
- obj.message_body = message.messageBody ? chunk3M7YYWGL_cjs.base64FromBytes(message.messageBody) : void 0;
2168
+ obj.recipient = message.recipient ? chunkMUJBB64F_cjs.base64FromBytes(message.recipient) : void 0;
2169
+ obj.message_body = message.messageBody ? chunkMUJBB64F_cjs.base64FromBytes(message.messageBody) : void 0;
2169
2170
  return obj;
2170
2171
  },
2171
2172
  fromAminoMsg(object) {
@@ -2250,20 +2251,20 @@ var MsgSendMessageWithCaller = {
2250
2251
  },
2251
2252
  fromJSON(object) {
2252
2253
  return {
2253
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2254
- destinationDomain: chunk3M7YYWGL_cjs.isSet(object.destinationDomain) ? Number(object.destinationDomain) : 0,
2255
- recipient: chunk3M7YYWGL_cjs.isSet(object.recipient) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.recipient) : new Uint8Array(),
2256
- messageBody: chunk3M7YYWGL_cjs.isSet(object.messageBody) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.messageBody) : new Uint8Array(),
2257
- destinationCaller: chunk3M7YYWGL_cjs.isSet(object.destinationCaller) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.destinationCaller) : new Uint8Array()
2254
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2255
+ destinationDomain: chunkMUJBB64F_cjs.isSet(object.destinationDomain) ? Number(object.destinationDomain) : 0,
2256
+ recipient: chunkMUJBB64F_cjs.isSet(object.recipient) ? chunkMUJBB64F_cjs.bytesFromBase64(object.recipient) : new Uint8Array(),
2257
+ messageBody: chunkMUJBB64F_cjs.isSet(object.messageBody) ? chunkMUJBB64F_cjs.bytesFromBase64(object.messageBody) : new Uint8Array(),
2258
+ destinationCaller: chunkMUJBB64F_cjs.isSet(object.destinationCaller) ? chunkMUJBB64F_cjs.bytesFromBase64(object.destinationCaller) : new Uint8Array()
2258
2259
  };
2259
2260
  },
2260
2261
  toJSON(message) {
2261
2262
  const obj = {};
2262
2263
  message.from !== void 0 && (obj.from = message.from);
2263
2264
  message.destinationDomain !== void 0 && (obj.destinationDomain = Math.round(message.destinationDomain));
2264
- message.recipient !== void 0 && (obj.recipient = chunk3M7YYWGL_cjs.base64FromBytes(message.recipient !== void 0 ? message.recipient : new Uint8Array()));
2265
- message.messageBody !== void 0 && (obj.messageBody = chunk3M7YYWGL_cjs.base64FromBytes(message.messageBody !== void 0 ? message.messageBody : new Uint8Array()));
2266
- message.destinationCaller !== void 0 && (obj.destinationCaller = chunk3M7YYWGL_cjs.base64FromBytes(message.destinationCaller !== void 0 ? message.destinationCaller : new Uint8Array()));
2265
+ message.recipient !== void 0 && (obj.recipient = chunkMUJBB64F_cjs.base64FromBytes(message.recipient !== void 0 ? message.recipient : new Uint8Array()));
2266
+ message.messageBody !== void 0 && (obj.messageBody = chunkMUJBB64F_cjs.base64FromBytes(message.messageBody !== void 0 ? message.messageBody : new Uint8Array()));
2267
+ message.destinationCaller !== void 0 && (obj.destinationCaller = chunkMUJBB64F_cjs.base64FromBytes(message.destinationCaller !== void 0 ? message.destinationCaller : new Uint8Array()));
2267
2268
  return obj;
2268
2269
  },
2269
2270
  fromPartial(object) {
@@ -2284,13 +2285,13 @@ var MsgSendMessageWithCaller = {
2284
2285
  message.destinationDomain = object.destination_domain;
2285
2286
  }
2286
2287
  if (object.recipient !== void 0 && object.recipient !== null) {
2287
- message.recipient = chunk3M7YYWGL_cjs.bytesFromBase64(object.recipient);
2288
+ message.recipient = chunkMUJBB64F_cjs.bytesFromBase64(object.recipient);
2288
2289
  }
2289
2290
  if (object.message_body !== void 0 && object.message_body !== null) {
2290
- message.messageBody = chunk3M7YYWGL_cjs.bytesFromBase64(object.message_body);
2291
+ message.messageBody = chunkMUJBB64F_cjs.bytesFromBase64(object.message_body);
2291
2292
  }
2292
2293
  if (object.destination_caller !== void 0 && object.destination_caller !== null) {
2293
- message.destinationCaller = chunk3M7YYWGL_cjs.bytesFromBase64(object.destination_caller);
2294
+ message.destinationCaller = chunkMUJBB64F_cjs.bytesFromBase64(object.destination_caller);
2294
2295
  }
2295
2296
  return message;
2296
2297
  },
@@ -2298,9 +2299,9 @@ var MsgSendMessageWithCaller = {
2298
2299
  const obj = {};
2299
2300
  obj.from = message.from === "" ? void 0 : message.from;
2300
2301
  obj.destination_domain = message.destinationDomain === 0 ? void 0 : message.destinationDomain;
2301
- obj.recipient = message.recipient ? chunk3M7YYWGL_cjs.base64FromBytes(message.recipient) : void 0;
2302
- obj.message_body = message.messageBody ? chunk3M7YYWGL_cjs.base64FromBytes(message.messageBody) : void 0;
2303
- obj.destination_caller = message.destinationCaller ? chunk3M7YYWGL_cjs.base64FromBytes(message.destinationCaller) : void 0;
2302
+ obj.recipient = message.recipient ? chunkMUJBB64F_cjs.base64FromBytes(message.recipient) : void 0;
2303
+ obj.message_body = message.messageBody ? chunkMUJBB64F_cjs.base64FromBytes(message.messageBody) : void 0;
2304
+ obj.destination_caller = message.destinationCaller ? chunkMUJBB64F_cjs.base64FromBytes(message.destinationCaller) : void 0;
2304
2305
  return obj;
2305
2306
  },
2306
2307
  fromAminoMsg(object) {
@@ -2385,20 +2386,20 @@ var MsgReplaceMessage = {
2385
2386
  },
2386
2387
  fromJSON(object) {
2387
2388
  return {
2388
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2389
- originalMessage: chunk3M7YYWGL_cjs.isSet(object.originalMessage) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.originalMessage) : new Uint8Array(),
2390
- originalAttestation: chunk3M7YYWGL_cjs.isSet(object.originalAttestation) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.originalAttestation) : new Uint8Array(),
2391
- newMessageBody: chunk3M7YYWGL_cjs.isSet(object.newMessageBody) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.newMessageBody) : new Uint8Array(),
2392
- newDestinationCaller: chunk3M7YYWGL_cjs.isSet(object.newDestinationCaller) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.newDestinationCaller) : new Uint8Array()
2389
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2390
+ originalMessage: chunkMUJBB64F_cjs.isSet(object.originalMessage) ? chunkMUJBB64F_cjs.bytesFromBase64(object.originalMessage) : new Uint8Array(),
2391
+ originalAttestation: chunkMUJBB64F_cjs.isSet(object.originalAttestation) ? chunkMUJBB64F_cjs.bytesFromBase64(object.originalAttestation) : new Uint8Array(),
2392
+ newMessageBody: chunkMUJBB64F_cjs.isSet(object.newMessageBody) ? chunkMUJBB64F_cjs.bytesFromBase64(object.newMessageBody) : new Uint8Array(),
2393
+ newDestinationCaller: chunkMUJBB64F_cjs.isSet(object.newDestinationCaller) ? chunkMUJBB64F_cjs.bytesFromBase64(object.newDestinationCaller) : new Uint8Array()
2393
2394
  };
2394
2395
  },
2395
2396
  toJSON(message) {
2396
2397
  const obj = {};
2397
2398
  message.from !== void 0 && (obj.from = message.from);
2398
- message.originalMessage !== void 0 && (obj.originalMessage = chunk3M7YYWGL_cjs.base64FromBytes(message.originalMessage !== void 0 ? message.originalMessage : new Uint8Array()));
2399
- message.originalAttestation !== void 0 && (obj.originalAttestation = chunk3M7YYWGL_cjs.base64FromBytes(message.originalAttestation !== void 0 ? message.originalAttestation : new Uint8Array()));
2400
- message.newMessageBody !== void 0 && (obj.newMessageBody = chunk3M7YYWGL_cjs.base64FromBytes(message.newMessageBody !== void 0 ? message.newMessageBody : new Uint8Array()));
2401
- message.newDestinationCaller !== void 0 && (obj.newDestinationCaller = chunk3M7YYWGL_cjs.base64FromBytes(message.newDestinationCaller !== void 0 ? message.newDestinationCaller : new Uint8Array()));
2399
+ message.originalMessage !== void 0 && (obj.originalMessage = chunkMUJBB64F_cjs.base64FromBytes(message.originalMessage !== void 0 ? message.originalMessage : new Uint8Array()));
2400
+ message.originalAttestation !== void 0 && (obj.originalAttestation = chunkMUJBB64F_cjs.base64FromBytes(message.originalAttestation !== void 0 ? message.originalAttestation : new Uint8Array()));
2401
+ message.newMessageBody !== void 0 && (obj.newMessageBody = chunkMUJBB64F_cjs.base64FromBytes(message.newMessageBody !== void 0 ? message.newMessageBody : new Uint8Array()));
2402
+ message.newDestinationCaller !== void 0 && (obj.newDestinationCaller = chunkMUJBB64F_cjs.base64FromBytes(message.newDestinationCaller !== void 0 ? message.newDestinationCaller : new Uint8Array()));
2402
2403
  return obj;
2403
2404
  },
2404
2405
  fromPartial(object) {
@@ -2416,26 +2417,26 @@ var MsgReplaceMessage = {
2416
2417
  message.from = object.from;
2417
2418
  }
2418
2419
  if (object.original_message !== void 0 && object.original_message !== null) {
2419
- message.originalMessage = chunk3M7YYWGL_cjs.bytesFromBase64(object.original_message);
2420
+ message.originalMessage = chunkMUJBB64F_cjs.bytesFromBase64(object.original_message);
2420
2421
  }
2421
2422
  if (object.original_attestation !== void 0 && object.original_attestation !== null) {
2422
- message.originalAttestation = chunk3M7YYWGL_cjs.bytesFromBase64(object.original_attestation);
2423
+ message.originalAttestation = chunkMUJBB64F_cjs.bytesFromBase64(object.original_attestation);
2423
2424
  }
2424
2425
  if (object.new_message_body !== void 0 && object.new_message_body !== null) {
2425
- message.newMessageBody = chunk3M7YYWGL_cjs.bytesFromBase64(object.new_message_body);
2426
+ message.newMessageBody = chunkMUJBB64F_cjs.bytesFromBase64(object.new_message_body);
2426
2427
  }
2427
2428
  if (object.new_destination_caller !== void 0 && object.new_destination_caller !== null) {
2428
- message.newDestinationCaller = chunk3M7YYWGL_cjs.bytesFromBase64(object.new_destination_caller);
2429
+ message.newDestinationCaller = chunkMUJBB64F_cjs.bytesFromBase64(object.new_destination_caller);
2429
2430
  }
2430
2431
  return message;
2431
2432
  },
2432
2433
  toAmino(message) {
2433
2434
  const obj = {};
2434
2435
  obj.from = message.from === "" ? void 0 : message.from;
2435
- obj.original_message = message.originalMessage ? chunk3M7YYWGL_cjs.base64FromBytes(message.originalMessage) : void 0;
2436
- obj.original_attestation = message.originalAttestation ? chunk3M7YYWGL_cjs.base64FromBytes(message.originalAttestation) : void 0;
2437
- obj.new_message_body = message.newMessageBody ? chunk3M7YYWGL_cjs.base64FromBytes(message.newMessageBody) : void 0;
2438
- obj.new_destination_caller = message.newDestinationCaller ? chunk3M7YYWGL_cjs.base64FromBytes(message.newDestinationCaller) : void 0;
2436
+ obj.original_message = message.originalMessage ? chunkMUJBB64F_cjs.base64FromBytes(message.originalMessage) : void 0;
2437
+ obj.original_attestation = message.originalAttestation ? chunkMUJBB64F_cjs.base64FromBytes(message.originalAttestation) : void 0;
2438
+ obj.new_message_body = message.newMessageBody ? chunkMUJBB64F_cjs.base64FromBytes(message.newMessageBody) : void 0;
2439
+ obj.new_destination_caller = message.newDestinationCaller ? chunkMUJBB64F_cjs.base64FromBytes(message.newDestinationCaller) : void 0;
2439
2440
  return obj;
2440
2441
  },
2441
2442
  fromAminoMsg(object) {
@@ -2499,8 +2500,8 @@ var MsgUpdateSignatureThreshold = {
2499
2500
  },
2500
2501
  fromJSON(object) {
2501
2502
  return {
2502
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2503
- amount: chunk3M7YYWGL_cjs.isSet(object.amount) ? Number(object.amount) : 0
2503
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2504
+ amount: chunkMUJBB64F_cjs.isSet(object.amount) ? Number(object.amount) : 0
2504
2505
  };
2505
2506
  },
2506
2507
  toJSON(message) {
@@ -2606,17 +2607,17 @@ var MsgLinkTokenPair = {
2606
2607
  },
2607
2608
  fromJSON(object) {
2608
2609
  return {
2609
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2610
- remoteDomain: chunk3M7YYWGL_cjs.isSet(object.remoteDomain) ? Number(object.remoteDomain) : 0,
2611
- remoteToken: chunk3M7YYWGL_cjs.isSet(object.remoteToken) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.remoteToken) : new Uint8Array(),
2612
- localToken: chunk3M7YYWGL_cjs.isSet(object.localToken) ? String(object.localToken) : ""
2610
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2611
+ remoteDomain: chunkMUJBB64F_cjs.isSet(object.remoteDomain) ? Number(object.remoteDomain) : 0,
2612
+ remoteToken: chunkMUJBB64F_cjs.isSet(object.remoteToken) ? chunkMUJBB64F_cjs.bytesFromBase64(object.remoteToken) : new Uint8Array(),
2613
+ localToken: chunkMUJBB64F_cjs.isSet(object.localToken) ? String(object.localToken) : ""
2613
2614
  };
2614
2615
  },
2615
2616
  toJSON(message) {
2616
2617
  const obj = {};
2617
2618
  message.from !== void 0 && (obj.from = message.from);
2618
2619
  message.remoteDomain !== void 0 && (obj.remoteDomain = Math.round(message.remoteDomain));
2619
- message.remoteToken !== void 0 && (obj.remoteToken = chunk3M7YYWGL_cjs.base64FromBytes(message.remoteToken !== void 0 ? message.remoteToken : new Uint8Array()));
2620
+ message.remoteToken !== void 0 && (obj.remoteToken = chunkMUJBB64F_cjs.base64FromBytes(message.remoteToken !== void 0 ? message.remoteToken : new Uint8Array()));
2620
2621
  message.localToken !== void 0 && (obj.localToken = message.localToken);
2621
2622
  return obj;
2622
2623
  },
@@ -2637,7 +2638,7 @@ var MsgLinkTokenPair = {
2637
2638
  message.remoteDomain = object.remote_domain;
2638
2639
  }
2639
2640
  if (object.remote_token !== void 0 && object.remote_token !== null) {
2640
- message.remoteToken = chunk3M7YYWGL_cjs.bytesFromBase64(object.remote_token);
2641
+ message.remoteToken = chunkMUJBB64F_cjs.bytesFromBase64(object.remote_token);
2641
2642
  }
2642
2643
  if (object.local_token !== void 0 && object.local_token !== null) {
2643
2644
  message.localToken = object.local_token;
@@ -2648,7 +2649,7 @@ var MsgLinkTokenPair = {
2648
2649
  const obj = {};
2649
2650
  obj.from = message.from === "" ? void 0 : message.from;
2650
2651
  obj.remote_domain = message.remoteDomain === 0 ? void 0 : message.remoteDomain;
2651
- obj.remote_token = message.remoteToken ? chunk3M7YYWGL_cjs.base64FromBytes(message.remoteToken) : void 0;
2652
+ obj.remote_token = message.remoteToken ? chunkMUJBB64F_cjs.base64FromBytes(message.remoteToken) : void 0;
2652
2653
  obj.local_token = message.localToken === "" ? void 0 : message.localToken;
2653
2654
  return obj;
2654
2655
  },
@@ -2727,17 +2728,17 @@ var MsgUnlinkTokenPair = {
2727
2728
  },
2728
2729
  fromJSON(object) {
2729
2730
  return {
2730
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2731
- remoteDomain: chunk3M7YYWGL_cjs.isSet(object.remoteDomain) ? Number(object.remoteDomain) : 0,
2732
- remoteToken: chunk3M7YYWGL_cjs.isSet(object.remoteToken) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.remoteToken) : new Uint8Array(),
2733
- localToken: chunk3M7YYWGL_cjs.isSet(object.localToken) ? String(object.localToken) : ""
2731
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2732
+ remoteDomain: chunkMUJBB64F_cjs.isSet(object.remoteDomain) ? Number(object.remoteDomain) : 0,
2733
+ remoteToken: chunkMUJBB64F_cjs.isSet(object.remoteToken) ? chunkMUJBB64F_cjs.bytesFromBase64(object.remoteToken) : new Uint8Array(),
2734
+ localToken: chunkMUJBB64F_cjs.isSet(object.localToken) ? String(object.localToken) : ""
2734
2735
  };
2735
2736
  },
2736
2737
  toJSON(message) {
2737
2738
  const obj = {};
2738
2739
  message.from !== void 0 && (obj.from = message.from);
2739
2740
  message.remoteDomain !== void 0 && (obj.remoteDomain = Math.round(message.remoteDomain));
2740
- message.remoteToken !== void 0 && (obj.remoteToken = chunk3M7YYWGL_cjs.base64FromBytes(message.remoteToken !== void 0 ? message.remoteToken : new Uint8Array()));
2741
+ message.remoteToken !== void 0 && (obj.remoteToken = chunkMUJBB64F_cjs.base64FromBytes(message.remoteToken !== void 0 ? message.remoteToken : new Uint8Array()));
2741
2742
  message.localToken !== void 0 && (obj.localToken = message.localToken);
2742
2743
  return obj;
2743
2744
  },
@@ -2758,7 +2759,7 @@ var MsgUnlinkTokenPair = {
2758
2759
  message.remoteDomain = object.remote_domain;
2759
2760
  }
2760
2761
  if (object.remote_token !== void 0 && object.remote_token !== null) {
2761
- message.remoteToken = chunk3M7YYWGL_cjs.bytesFromBase64(object.remote_token);
2762
+ message.remoteToken = chunkMUJBB64F_cjs.bytesFromBase64(object.remote_token);
2762
2763
  }
2763
2764
  if (object.local_token !== void 0 && object.local_token !== null) {
2764
2765
  message.localToken = object.local_token;
@@ -2769,7 +2770,7 @@ var MsgUnlinkTokenPair = {
2769
2770
  const obj = {};
2770
2771
  obj.from = message.from === "" ? void 0 : message.from;
2771
2772
  obj.remote_domain = message.remoteDomain === 0 ? void 0 : message.remoteDomain;
2772
- obj.remote_token = message.remoteToken ? chunk3M7YYWGL_cjs.base64FromBytes(message.remoteToken) : void 0;
2773
+ obj.remote_token = message.remoteToken ? chunkMUJBB64F_cjs.base64FromBytes(message.remoteToken) : void 0;
2773
2774
  obj.local_token = message.localToken === "" ? void 0 : message.localToken;
2774
2775
  return obj;
2775
2776
  },
@@ -2841,16 +2842,16 @@ var MsgAddRemoteTokenMessenger = {
2841
2842
  },
2842
2843
  fromJSON(object) {
2843
2844
  return {
2844
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2845
- domainId: chunk3M7YYWGL_cjs.isSet(object.domainId) ? Number(object.domainId) : 0,
2846
- address: chunk3M7YYWGL_cjs.isSet(object.address) ? chunk3M7YYWGL_cjs.bytesFromBase64(object.address) : new Uint8Array()
2845
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2846
+ domainId: chunkMUJBB64F_cjs.isSet(object.domainId) ? Number(object.domainId) : 0,
2847
+ address: chunkMUJBB64F_cjs.isSet(object.address) ? chunkMUJBB64F_cjs.bytesFromBase64(object.address) : new Uint8Array()
2847
2848
  };
2848
2849
  },
2849
2850
  toJSON(message) {
2850
2851
  const obj = {};
2851
2852
  message.from !== void 0 && (obj.from = message.from);
2852
2853
  message.domainId !== void 0 && (obj.domainId = Math.round(message.domainId));
2853
- message.address !== void 0 && (obj.address = chunk3M7YYWGL_cjs.base64FromBytes(message.address !== void 0 ? message.address : new Uint8Array()));
2854
+ message.address !== void 0 && (obj.address = chunkMUJBB64F_cjs.base64FromBytes(message.address !== void 0 ? message.address : new Uint8Array()));
2854
2855
  return obj;
2855
2856
  },
2856
2857
  fromPartial(object) {
@@ -2869,7 +2870,7 @@ var MsgAddRemoteTokenMessenger = {
2869
2870
  message.domainId = object.domain_id;
2870
2871
  }
2871
2872
  if (object.address !== void 0 && object.address !== null) {
2872
- message.address = chunk3M7YYWGL_cjs.bytesFromBase64(object.address);
2873
+ message.address = chunkMUJBB64F_cjs.bytesFromBase64(object.address);
2873
2874
  }
2874
2875
  return message;
2875
2876
  },
@@ -2877,7 +2878,7 @@ var MsgAddRemoteTokenMessenger = {
2877
2878
  const obj = {};
2878
2879
  obj.from = message.from === "" ? void 0 : message.from;
2879
2880
  obj.domain_id = message.domainId === 0 ? void 0 : message.domainId;
2880
- obj.address = message.address ? chunk3M7YYWGL_cjs.base64FromBytes(message.address) : void 0;
2881
+ obj.address = message.address ? chunkMUJBB64F_cjs.base64FromBytes(message.address) : void 0;
2881
2882
  return obj;
2882
2883
  },
2883
2884
  fromAminoMsg(object) {
@@ -2941,8 +2942,8 @@ var MsgRemoveRemoteTokenMessenger = {
2941
2942
  },
2942
2943
  fromJSON(object) {
2943
2944
  return {
2944
- from: chunk3M7YYWGL_cjs.isSet(object.from) ? String(object.from) : "",
2945
- domainId: chunk3M7YYWGL_cjs.isSet(object.domainId) ? Number(object.domainId) : 0
2945
+ from: chunkMUJBB64F_cjs.isSet(object.from) ? String(object.from) : "",
2946
+ domainId: chunkMUJBB64F_cjs.isSet(object.domainId) ? Number(object.domainId) : 0
2946
2947
  };
2947
2948
  },
2948
2949
  toJSON(message) {
@@ -3001,14 +3002,14 @@ function createBaseBaseVestingAccount() {
3001
3002
  originalVesting: [],
3002
3003
  delegatedFree: [],
3003
3004
  delegatedVesting: [],
3004
- endTime: chunk3M7YYWGL_cjs.Long.ZERO
3005
+ endTime: chunkMUJBB64F_cjs.Long.ZERO
3005
3006
  };
3006
3007
  }
3007
3008
  var BaseVestingAccount = {
3008
3009
  typeUrl: "/cosmos.vesting.v1beta1.BaseVestingAccount",
3009
3010
  encode(message, writer = _m04__default.default.Writer.create()) {
3010
3011
  if (message.baseAccount !== void 0) {
3011
- chunk3M7YYWGL_cjs.BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim();
3012
+ chunkMUJBB64F_cjs.BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim();
3012
3013
  }
3013
3014
  for (const v of message.originalVesting) {
3014
3015
  Coin.encode(v, writer.uint32(18).fork()).ldelim();
@@ -3032,7 +3033,7 @@ var BaseVestingAccount = {
3032
3033
  const tag = reader.uint32();
3033
3034
  switch (tag >>> 3) {
3034
3035
  case 1:
3035
- message.baseAccount = chunk3M7YYWGL_cjs.BaseAccount.decode(reader, reader.uint32());
3036
+ message.baseAccount = chunkMUJBB64F_cjs.BaseAccount.decode(reader, reader.uint32());
3036
3037
  break;
3037
3038
  case 2:
3038
3039
  message.originalVesting.push(Coin.decode(reader, reader.uint32()));
@@ -3055,16 +3056,16 @@ var BaseVestingAccount = {
3055
3056
  },
3056
3057
  fromJSON(object) {
3057
3058
  return {
3058
- baseAccount: chunk3M7YYWGL_cjs.isSet(object.baseAccount) ? chunk3M7YYWGL_cjs.BaseAccount.fromJSON(object.baseAccount) : void 0,
3059
+ baseAccount: chunkMUJBB64F_cjs.isSet(object.baseAccount) ? chunkMUJBB64F_cjs.BaseAccount.fromJSON(object.baseAccount) : void 0,
3059
3060
  originalVesting: Array.isArray(object?.originalVesting) ? object.originalVesting.map((e) => Coin.fromJSON(e)) : [],
3060
3061
  delegatedFree: Array.isArray(object?.delegatedFree) ? object.delegatedFree.map((e) => Coin.fromJSON(e)) : [],
3061
3062
  delegatedVesting: Array.isArray(object?.delegatedVesting) ? object.delegatedVesting.map((e) => Coin.fromJSON(e)) : [],
3062
- endTime: chunk3M7YYWGL_cjs.isSet(object.endTime) ? chunk3M7YYWGL_cjs.Long.fromValue(object.endTime) : chunk3M7YYWGL_cjs.Long.ZERO
3063
+ endTime: chunkMUJBB64F_cjs.isSet(object.endTime) ? chunkMUJBB64F_cjs.Long.fromValue(object.endTime) : chunkMUJBB64F_cjs.Long.ZERO
3063
3064
  };
3064
3065
  },
3065
3066
  toJSON(message) {
3066
3067
  const obj = {};
3067
- message.baseAccount !== void 0 && (obj.baseAccount = message.baseAccount ? chunk3M7YYWGL_cjs.BaseAccount.toJSON(message.baseAccount) : void 0);
3068
+ message.baseAccount !== void 0 && (obj.baseAccount = message.baseAccount ? chunkMUJBB64F_cjs.BaseAccount.toJSON(message.baseAccount) : void 0);
3068
3069
  if (message.originalVesting) {
3069
3070
  obj.originalVesting = message.originalVesting.map((e) => e ? Coin.toJSON(e) : void 0);
3070
3071
  } else {
@@ -3080,34 +3081,34 @@ var BaseVestingAccount = {
3080
3081
  } else {
3081
3082
  obj.delegatedVesting = [];
3082
3083
  }
3083
- message.endTime !== void 0 && (obj.endTime = (message.endTime || chunk3M7YYWGL_cjs.Long.ZERO).toString());
3084
+ message.endTime !== void 0 && (obj.endTime = (message.endTime || chunkMUJBB64F_cjs.Long.ZERO).toString());
3084
3085
  return obj;
3085
3086
  },
3086
3087
  fromPartial(object) {
3087
3088
  const message = createBaseBaseVestingAccount();
3088
- message.baseAccount = object.baseAccount !== void 0 && object.baseAccount !== null ? chunk3M7YYWGL_cjs.BaseAccount.fromPartial(object.baseAccount) : void 0;
3089
+ message.baseAccount = object.baseAccount !== void 0 && object.baseAccount !== null ? chunkMUJBB64F_cjs.BaseAccount.fromPartial(object.baseAccount) : void 0;
3089
3090
  message.originalVesting = object.originalVesting?.map((e) => Coin.fromPartial(e)) || [];
3090
3091
  message.delegatedFree = object.delegatedFree?.map((e) => Coin.fromPartial(e)) || [];
3091
3092
  message.delegatedVesting = object.delegatedVesting?.map((e) => Coin.fromPartial(e)) || [];
3092
- message.endTime = object.endTime !== void 0 && object.endTime !== null ? chunk3M7YYWGL_cjs.Long.fromValue(object.endTime) : chunk3M7YYWGL_cjs.Long.ZERO;
3093
+ message.endTime = object.endTime !== void 0 && object.endTime !== null ? chunkMUJBB64F_cjs.Long.fromValue(object.endTime) : chunkMUJBB64F_cjs.Long.ZERO;
3093
3094
  return message;
3094
3095
  },
3095
3096
  fromAmino(object) {
3096
3097
  const message = createBaseBaseVestingAccount();
3097
3098
  if (object.base_account !== void 0 && object.base_account !== null) {
3098
- message.baseAccount = chunk3M7YYWGL_cjs.BaseAccount.fromAmino(object.base_account);
3099
+ message.baseAccount = chunkMUJBB64F_cjs.BaseAccount.fromAmino(object.base_account);
3099
3100
  }
3100
3101
  message.originalVesting = object.original_vesting?.map((e) => Coin.fromAmino(e)) || [];
3101
3102
  message.delegatedFree = object.delegated_free?.map((e) => Coin.fromAmino(e)) || [];
3102
3103
  message.delegatedVesting = object.delegated_vesting?.map((e) => Coin.fromAmino(e)) || [];
3103
3104
  if (object.end_time !== void 0 && object.end_time !== null) {
3104
- message.endTime = chunk3M7YYWGL_cjs.Long.fromString(object.end_time);
3105
+ message.endTime = chunkMUJBB64F_cjs.Long.fromString(object.end_time);
3105
3106
  }
3106
3107
  return message;
3107
3108
  },
3108
3109
  toAmino(message) {
3109
3110
  const obj = {};
3110
- obj.base_account = message.baseAccount ? chunk3M7YYWGL_cjs.BaseAccount.toAmino(message.baseAccount) : void 0;
3111
+ obj.base_account = message.baseAccount ? chunkMUJBB64F_cjs.BaseAccount.toAmino(message.baseAccount) : void 0;
3111
3112
  if (message.originalVesting) {
3112
3113
  obj.original_vesting = message.originalVesting.map((e) => e ? Coin.toAmino(e) : void 0);
3113
3114
  } else {
@@ -3123,7 +3124,7 @@ var BaseVestingAccount = {
3123
3124
  } else {
3124
3125
  obj.delegated_vesting = message.delegatedVesting;
3125
3126
  }
3126
- obj.end_time = !message.endTime.isZero() ? message.endTime.toString() : void 0;
3127
+ obj.end_time = !message.endTime.isZero() ? message.endTime?.toString() : void 0;
3127
3128
  return obj;
3128
3129
  },
3129
3130
  fromAminoMsg(object) {
@@ -3150,7 +3151,7 @@ var BaseVestingAccount = {
3150
3151
  };
3151
3152
  function createBasePeriod() {
3152
3153
  return {
3153
- length: chunk3M7YYWGL_cjs.Long.ZERO,
3154
+ length: chunkMUJBB64F_cjs.Long.ZERO,
3154
3155
  amount: []
3155
3156
  };
3156
3157
  }
@@ -3187,13 +3188,13 @@ var Period = {
3187
3188
  },
3188
3189
  fromJSON(object) {
3189
3190
  return {
3190
- length: chunk3M7YYWGL_cjs.isSet(object.length) ? chunk3M7YYWGL_cjs.Long.fromValue(object.length) : chunk3M7YYWGL_cjs.Long.ZERO,
3191
+ length: chunkMUJBB64F_cjs.isSet(object.length) ? chunkMUJBB64F_cjs.Long.fromValue(object.length) : chunkMUJBB64F_cjs.Long.ZERO,
3191
3192
  amount: Array.isArray(object?.amount) ? object.amount.map((e) => Coin.fromJSON(e)) : []
3192
3193
  };
3193
3194
  },
3194
3195
  toJSON(message) {
3195
3196
  const obj = {};
3196
- message.length !== void 0 && (obj.length = (message.length || chunk3M7YYWGL_cjs.Long.ZERO).toString());
3197
+ message.length !== void 0 && (obj.length = (message.length || chunkMUJBB64F_cjs.Long.ZERO).toString());
3197
3198
  if (message.amount) {
3198
3199
  obj.amount = message.amount.map((e) => e ? Coin.toJSON(e) : void 0);
3199
3200
  } else {
@@ -3203,21 +3204,21 @@ var Period = {
3203
3204
  },
3204
3205
  fromPartial(object) {
3205
3206
  const message = createBasePeriod();
3206
- message.length = object.length !== void 0 && object.length !== null ? chunk3M7YYWGL_cjs.Long.fromValue(object.length) : chunk3M7YYWGL_cjs.Long.ZERO;
3207
+ message.length = object.length !== void 0 && object.length !== null ? chunkMUJBB64F_cjs.Long.fromValue(object.length) : chunkMUJBB64F_cjs.Long.ZERO;
3207
3208
  message.amount = object.amount?.map((e) => Coin.fromPartial(e)) || [];
3208
3209
  return message;
3209
3210
  },
3210
3211
  fromAmino(object) {
3211
3212
  const message = createBasePeriod();
3212
3213
  if (object.length !== void 0 && object.length !== null) {
3213
- message.length = chunk3M7YYWGL_cjs.Long.fromString(object.length);
3214
+ message.length = chunkMUJBB64F_cjs.Long.fromString(object.length);
3214
3215
  }
3215
3216
  message.amount = object.amount?.map((e) => Coin.fromAmino(e)) || [];
3216
3217
  return message;
3217
3218
  },
3218
3219
  toAmino(message) {
3219
3220
  const obj = {};
3220
- obj.length = !message.length.isZero() ? message.length.toString() : void 0;
3221
+ obj.length = !message.length.isZero() ? message.length?.toString() : void 0;
3221
3222
  if (message.amount) {
3222
3223
  obj.amount = message.amount.map((e) => e ? Coin.toAmino(e) : void 0);
3223
3224
  } else {
@@ -3249,7 +3250,7 @@ var Period = {
3249
3250
  };
3250
3251
  function createBaseTimestamp() {
3251
3252
  return {
3252
- seconds: chunk3M7YYWGL_cjs.Long.ZERO,
3253
+ seconds: chunkMUJBB64F_cjs.Long.ZERO,
3253
3254
  nanos: 0
3254
3255
  };
3255
3256
  }
@@ -3286,27 +3287,27 @@ var Timestamp = {
3286
3287
  },
3287
3288
  fromJSON(object) {
3288
3289
  return {
3289
- seconds: chunk3M7YYWGL_cjs.isSet(object.seconds) ? chunk3M7YYWGL_cjs.Long.fromValue(object.seconds) : chunk3M7YYWGL_cjs.Long.ZERO,
3290
- nanos: chunk3M7YYWGL_cjs.isSet(object.nanos) ? Number(object.nanos) : 0
3290
+ seconds: chunkMUJBB64F_cjs.isSet(object.seconds) ? chunkMUJBB64F_cjs.Long.fromValue(object.seconds) : chunkMUJBB64F_cjs.Long.ZERO,
3291
+ nanos: chunkMUJBB64F_cjs.isSet(object.nanos) ? Number(object.nanos) : 0
3291
3292
  };
3292
3293
  },
3293
3294
  toJSON(message) {
3294
3295
  const obj = {};
3295
- message.seconds !== void 0 && (obj.seconds = (message.seconds || chunk3M7YYWGL_cjs.Long.ZERO).toString());
3296
+ message.seconds !== void 0 && (obj.seconds = (message.seconds || chunkMUJBB64F_cjs.Long.ZERO).toString());
3296
3297
  message.nanos !== void 0 && (obj.nanos = Math.round(message.nanos));
3297
3298
  return obj;
3298
3299
  },
3299
3300
  fromPartial(object) {
3300
3301
  const message = createBaseTimestamp();
3301
- message.seconds = object.seconds !== void 0 && object.seconds !== null ? chunk3M7YYWGL_cjs.Long.fromValue(object.seconds) : chunk3M7YYWGL_cjs.Long.ZERO;
3302
+ message.seconds = object.seconds !== void 0 && object.seconds !== null ? chunkMUJBB64F_cjs.Long.fromValue(object.seconds) : chunkMUJBB64F_cjs.Long.ZERO;
3302
3303
  message.nanos = object.nanos ?? 0;
3303
3304
  return message;
3304
3305
  },
3305
3306
  fromAmino(object) {
3306
- return chunk3M7YYWGL_cjs.fromJsonTimestamp(object);
3307
+ return chunkMUJBB64F_cjs.fromJsonTimestamp(object);
3307
3308
  },
3308
3309
  toAmino(message) {
3309
- return chunk3M7YYWGL_cjs.fromTimestamp(message).toISOString().replace(/\.\d+Z$/, "Z");
3310
+ return chunkMUJBB64F_cjs.fromTimestamp(message).toISOString().replace(/\.\d+Z$/, "Z");
3310
3311
  },
3311
3312
  fromAminoMsg(object) {
3312
3313
  return Timestamp.fromAmino(object.value);