@injectivelabs/sdk-ts 1.17.2-alpha.8 → 1.17.2-alpha.9

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 (67) hide show
  1. package/dist/cjs/{ChainGrpcExchangeApi-VVmtAGW5.cjs → ChainGrpcExchangeApi-DLpkgEyg.cjs} +2 -2
  2. package/dist/cjs/{ChainRestTendermintApi-CW49Mtmx.cjs → ChainRestTendermintApi-BiZOeKcG.cjs} +1 -1
  3. package/dist/cjs/{DirectEthSecp256k1Wallet-Chd5kOwo.cjs → DirectEthSecp256k1Wallet-CU18lti3.cjs} +2 -2
  4. package/dist/cjs/{ExecArgNeptuneWithdraw-BqrKFTTp.cjs → ExecArgNeptuneWithdraw-DOHeo3AJ.cjs} +6 -6
  5. package/dist/cjs/{IndexerGrpcAccountPortfolioStream-CGaNa5R7.cjs → IndexerGrpcAccountPortfolioStream-DO5_FF4l.cjs} +2 -2
  6. package/dist/cjs/{IndexerGrpcWeb3GwApi-RL0sxzNw.cjs → IndexerGrpcWeb3GwApi-BgWT2tWK.cjs} +6 -6
  7. package/dist/cjs/{MsgBase-BJ1-Qh5c.cjs → MsgBase-DqOmzCyS.cjs} +1 -0
  8. package/dist/cjs/{MsgSetDenomMetadata-BzFtwh7v.cjs → MsgSetDenomMetadata-CUoGqV8P.cjs} +9 -9
  9. package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-t-5fuyN_.cjs → QueryTradingStrategyContractTotalStrategies-Bh8AXm4k.cjs} +3 -3
  10. package/dist/cjs/{accounts-DC6uKJZm.cjs → accounts-CXaUasU5.cjs} +6 -6
  11. package/dist/cjs/{chain-CdI97AzZ.cjs → chain-Cs9sNuT1.cjs} +2 -2
  12. package/dist/cjs/client/chain.cjs +4 -4
  13. package/dist/cjs/client/chain.d.cts +1 -1
  14. package/dist/cjs/client/indexer.cjs +3 -3
  15. package/dist/cjs/client/indexer.d.cts +1 -1
  16. package/dist/cjs/client/wasm.cjs +7 -7
  17. package/dist/cjs/core/accounts.cjs +3 -3
  18. package/dist/cjs/core/accounts.d.cts +1 -1
  19. package/dist/cjs/core/modules.cjs +9 -9
  20. package/dist/cjs/core/modules.d.cts +1 -1
  21. package/dist/cjs/core/tx.cjs +6 -6
  22. package/dist/cjs/core/tx.d.cts +1 -1
  23. package/dist/cjs/cosmjs.cjs +7 -7
  24. package/dist/cjs/exports.cjs +7 -7
  25. package/dist/cjs/{index-9KV6P3U_.d.cts → index-1Wy-0PTh.d.cts} +20 -4
  26. package/dist/cjs/index.cjs +16 -14
  27. package/dist/cjs/index.d.cts +2 -2
  28. package/dist/cjs/{service-Do5zpuEu.cjs → service-DcwwCSxu.cjs} +1 -1
  29. package/dist/cjs/service.cjs +2 -2
  30. package/dist/cjs/{tx-D51SCHxX.cjs → tx-Cn0j2SRh.cjs} +4 -4
  31. package/dist/cjs/{utils-CaAHoOvO.cjs → utils-V1uXtT51.cjs} +115 -81
  32. package/dist/cjs/utils.cjs +3 -1
  33. package/dist/cjs/utils.d.cts +2 -2
  34. package/dist/esm/{ChainGrpcExchangeApi-CDMDxAJf.js → ChainGrpcExchangeApi-C-2XsVVs.js} +2 -2
  35. package/dist/esm/{ChainRestTendermintApi-Cy7hYJYp.js → ChainRestTendermintApi-CMrAg0Zm.js} +1 -1
  36. package/dist/esm/{DirectEthSecp256k1Wallet-VC6TDitT.js → DirectEthSecp256k1Wallet-a9KiF9fA.js} +2 -2
  37. package/dist/esm/{ExecArgNeptuneWithdraw-yQxlQZWQ.js → ExecArgNeptuneWithdraw-DEljIeLd.js} +6 -6
  38. package/dist/esm/{IndexerGrpcAccountPortfolioStream-BOLdMeVd.js → IndexerGrpcAccountPortfolioStream-3AGGiB1c.js} +2 -2
  39. package/dist/esm/{IndexerGrpcWeb3GwApi-BngLjriD.js → IndexerGrpcWeb3GwApi-CtUYowus.js} +6 -6
  40. package/dist/esm/{MsgBase-aKq3ln6R.js → MsgBase-BkRgVbdY.js} +1 -0
  41. package/dist/esm/{MsgSetDenomMetadata-CTc1ec1M.js → MsgSetDenomMetadata-BhJMebO9.js} +9 -9
  42. package/dist/esm/{QueryTradingStrategyContractTotalStrategies-DnsH6JLf.js → QueryTradingStrategyContractTotalStrategies-7IjWZLsc.js} +3 -3
  43. package/dist/esm/{accounts-DXee44Zk.js → accounts-DFC9RYDH.js} +6 -6
  44. package/dist/esm/{chain-BquCFi0h.js → chain-phKWVf8c.js} +2 -2
  45. package/dist/esm/client/chain.d.ts +1 -1
  46. package/dist/esm/client/chain.js +4 -4
  47. package/dist/esm/client/indexer.d.ts +1 -1
  48. package/dist/esm/client/indexer.js +3 -3
  49. package/dist/esm/client/wasm.js +7 -7
  50. package/dist/esm/core/accounts.d.ts +1 -1
  51. package/dist/esm/core/accounts.js +3 -3
  52. package/dist/esm/core/modules.d.ts +1 -1
  53. package/dist/esm/core/modules.js +9 -9
  54. package/dist/esm/core/tx.d.ts +1 -1
  55. package/dist/esm/core/tx.js +6 -6
  56. package/dist/esm/cosmjs.js +7 -7
  57. package/dist/esm/exports.js +7 -7
  58. package/dist/esm/{index-CIU3qLo9.d.ts → index-IV55OZfT.d.ts} +20 -4
  59. package/dist/esm/index.d.ts +2 -2
  60. package/dist/esm/index.js +14 -14
  61. package/dist/esm/{service-DYSaTvVz.js → service-CoINtWpF.js} +1 -1
  62. package/dist/esm/service.js +2 -2
  63. package/dist/esm/{tx-B9VusHOP.js → tx-CcaVBSym.js} +4 -4
  64. package/dist/esm/{utils-DlnuXIe8.js → utils-DwGoPRTL.js} +104 -82
  65. package/dist/esm/utils.d.ts +2 -2
  66. package/dist/esm/utils.js +2 -2
  67. package/package.json +5 -5
@@ -8,6 +8,108 @@ let __noble_hashes_legacy = require("@noble/hashes/legacy");
8
8
  let __injectivelabs_core_proto_ts_v2_generated_cosmos_base_query_v1beta1_pagination_pb = require("@injectivelabs/core-proto-ts-v2/generated/cosmos/base/query/v1beta1/pagination_pb");
9
9
  __injectivelabs_core_proto_ts_v2_generated_cosmos_base_query_v1beta1_pagination_pb = require_chunk.__toESM(__injectivelabs_core_proto_ts_v2_generated_cosmos_base_query_v1beta1_pagination_pb);
10
10
 
11
+ //#region src/utils/helpers.ts
12
+ const isServerSide = () => typeof window === "undefined";
13
+ const isReactNative = () => {
14
+ return typeof document === "undefined" && typeof navigator !== "undefined" && navigator.product === "ReactNative";
15
+ };
16
+ const isNode = () => {
17
+ if (typeof window === "undefined") return true;
18
+ return typeof process !== "undefined" && typeof process.versions !== "undefined" && typeof process.versions.node !== "undefined";
19
+ };
20
+ const isBrowser = () => {
21
+ if (isReactNative()) return false;
22
+ if (isNode()) return false;
23
+ return typeof window !== "undefined";
24
+ };
25
+ const objectToJson = (object, params) => {
26
+ const { replacer, indentation } = params || {
27
+ replacer: void 0,
28
+ indentation: 2
29
+ };
30
+ return safeBigIntStringify(object, replacer, indentation);
31
+ };
32
+ const protoObjectToJson = (object, params) => {
33
+ const { replacer, indentation } = params || {
34
+ replacer: void 0,
35
+ indentation: 2
36
+ };
37
+ if (object.toObject !== void 0) return safeBigIntStringify(object.toObject(), replacer, indentation);
38
+ return objectToJson(object, {
39
+ replacer,
40
+ indentation
41
+ });
42
+ };
43
+ const grpcCoinToUiCoin = (coin) => ({
44
+ amount: coin.amount,
45
+ denom: coin.denom
46
+ });
47
+ const sortObjectByKeysWithReduce = (obj) => {
48
+ if (typeof obj !== "object" || obj === null) return obj;
49
+ if (Array.isArray(obj)) return obj.map((e) => sortObjectByKeysWithReduce(e)).sort();
50
+ return Object.keys(obj).sort().reduce((sorted, k) => {
51
+ const key = k;
52
+ sorted[key] = sortObjectByKeysWithReduce(obj[key]);
53
+ return sorted;
54
+ }, {});
55
+ };
56
+ const sortObjectByKeys = (obj) => {
57
+ if (typeof obj !== "object" || obj === null) return obj;
58
+ if (Array.isArray(obj)) return obj.map(sortObjectByKeys);
59
+ const sortedKeys = Object.keys(obj).sort();
60
+ const result = {};
61
+ sortedKeys.forEach((key) => {
62
+ result[key] = sortObjectByKeys(obj[key]);
63
+ });
64
+ return result;
65
+ };
66
+ const getErrorMessage = (error, endpoint) => {
67
+ if (!error.response) return `The request to ${endpoint} has failed.`;
68
+ return error.response.data ? error.response.data.message || error.response.data : error.response.statusText;
69
+ };
70
+ /**
71
+ * Converts value to it's number representation
72
+ */
73
+ const hexToNumber = (value) => {
74
+ const [negative, hexValue] = value.startsWith("-") ? [true, value.slice(1)] : [false, value];
75
+ const num = BigInt(hexValue);
76
+ if (num > Number.MAX_SAFE_INTEGER) return Number(negative ? -num : num);
77
+ if (num < Number.MIN_SAFE_INTEGER) return Number(num);
78
+ return negative ? -1 * Number(num) : Number(num);
79
+ };
80
+ function isJsonString(str) {
81
+ if (typeof str !== "string") return false;
82
+ try {
83
+ JSON.parse(str);
84
+ } catch (_unused) {
85
+ return false;
86
+ }
87
+ return true;
88
+ }
89
+ /**
90
+ * BigInt-safe JSON replacer function.
91
+ * Converts BigInt values to strings during JSON serialization.
92
+ */
93
+ const bigIntReplacer = (_key, value) => typeof value === "bigint" ? value.toString() : value;
94
+ /**
95
+ * Stringify an object to JSON with BigInt support.
96
+ * Converts BigInt values to strings during serialization to prevent
97
+ * "Do not know how to serialize a BigInt" errors.
98
+ *
99
+ * @param value - The value to serialize
100
+ * @param replacer - Optional custom replacer function (BigInt handling is applied first)
101
+ * @param space - Optional indentation for pretty printing
102
+ * @returns JSON string
103
+ */
104
+ const safeBigIntStringify = (value, replacer, space) => {
105
+ const combinedReplacer = (key, val) => {
106
+ const bigIntHandled = bigIntReplacer(key, val);
107
+ return replacer ? replacer(key, bigIntHandled) : bigIntHandled;
108
+ };
109
+ return JSON.stringify(value, combinedReplacer, space);
110
+ };
111
+
112
+ //#endregion
11
113
  //#region src/utils/encoding.ts
12
114
  /**
13
115
  * Encoding/decoding utilities using industry-standard libraries
@@ -146,7 +248,7 @@ function binaryToBase64(data) {
146
248
  * @returns Base64 encoded string
147
249
  */
148
250
  function toBase64(data) {
149
- return uint8ArrayToBase64(stringToUint8Array(JSON.stringify(data)));
251
+ return uint8ArrayToBase64(stringToUint8Array(safeBigIntStringify(data)));
150
252
  }
151
253
  /**
152
254
  * Convert a base64 string to JSON object
@@ -463,86 +565,6 @@ const TypedDataUtilsSanitizeData = sanitizeTypedData;
463
565
  const TypedDataUtilsHashStruct = hashStruct;
464
566
  const SignTypedDataVersionV4 = "V4";
465
567
 
466
- //#endregion
467
- //#region src/utils/helpers.ts
468
- const isServerSide = () => typeof window === "undefined";
469
- const isReactNative = () => {
470
- return typeof document === "undefined" && typeof navigator !== "undefined" && navigator.product === "ReactNative";
471
- };
472
- const isNode = () => {
473
- if (typeof window === "undefined") return true;
474
- return typeof process !== "undefined" && typeof process.versions !== "undefined" && typeof process.versions.node !== "undefined";
475
- };
476
- const isBrowser = () => {
477
- if (isReactNative()) return false;
478
- if (isNode()) return false;
479
- return typeof window !== "undefined";
480
- };
481
- const objectToJson = (object, params) => {
482
- const { replacer, indentation } = params || {
483
- replacer: null,
484
- indentation: 2
485
- };
486
- return JSON.stringify(object, replacer, indentation);
487
- };
488
- const protoObjectToJson = (object, params) => {
489
- const { replacer, indentation } = params || {
490
- replacer: null,
491
- indentation: 2
492
- };
493
- if (object.toObject !== void 0) return JSON.stringify(object.toObject(), replacer, indentation);
494
- return objectToJson(object, {
495
- replacer,
496
- indentation
497
- });
498
- };
499
- const grpcCoinToUiCoin = (coin) => ({
500
- amount: coin.amount,
501
- denom: coin.denom
502
- });
503
- const sortObjectByKeysWithReduce = (obj) => {
504
- if (typeof obj !== "object" || obj === null) return obj;
505
- if (Array.isArray(obj)) return obj.map((e) => sortObjectByKeysWithReduce(e)).sort();
506
- return Object.keys(obj).sort().reduce((sorted, k) => {
507
- const key = k;
508
- sorted[key] = sortObjectByKeysWithReduce(obj[key]);
509
- return sorted;
510
- }, {});
511
- };
512
- const sortObjectByKeys = (obj) => {
513
- if (typeof obj !== "object" || obj === null) return obj;
514
- if (Array.isArray(obj)) return obj.map(sortObjectByKeys);
515
- const sortedKeys = Object.keys(obj).sort();
516
- const result = {};
517
- sortedKeys.forEach((key) => {
518
- result[key] = sortObjectByKeys(obj[key]);
519
- });
520
- return result;
521
- };
522
- const getErrorMessage = (error, endpoint) => {
523
- if (!error.response) return `The request to ${endpoint} has failed.`;
524
- return error.response.data ? error.response.data.message || error.response.data : error.response.statusText;
525
- };
526
- /**
527
- * Converts value to it's number representation
528
- */
529
- const hexToNumber = (value) => {
530
- const [negative, hexValue] = value.startsWith("-") ? [true, value.slice(1)] : [false, value];
531
- const num = BigInt(hexValue);
532
- if (num > Number.MAX_SAFE_INTEGER) return Number(negative ? -num : num);
533
- if (num < Number.MIN_SAFE_INTEGER) return Number(num);
534
- return negative ? -1 * Number(num) : Number(num);
535
- };
536
- function isJsonString(str) {
537
- if (typeof str !== "string") return false;
538
- try {
539
- JSON.parse(str);
540
- } catch (_unused) {
541
- return false;
542
- }
543
- return true;
544
- }
545
-
546
568
  //#endregion
547
569
  //#region src/utils/numbers.ts
548
570
  const $BigNumber = __injectivelabs_utils.BigNumber.clone({ ROUNDING_MODE: __injectivelabs_utils.BigNumber.ROUND_DOWN });
@@ -1182,6 +1204,12 @@ Object.defineProperty(exports, 'base64ToUtf8', {
1182
1204
  return base64ToUtf8;
1183
1205
  }
1184
1206
  });
1207
+ Object.defineProperty(exports, 'bigIntReplacer', {
1208
+ enumerable: true,
1209
+ get: function () {
1210
+ return bigIntReplacer;
1211
+ }
1212
+ });
1185
1213
  Object.defineProperty(exports, 'binaryToBase64', {
1186
1214
  enumerable: true,
1187
1215
  get: function () {
@@ -1656,6 +1684,12 @@ Object.defineProperty(exports, 'ripemd160', {
1656
1684
  return ripemd160;
1657
1685
  }
1658
1686
  });
1687
+ Object.defineProperty(exports, 'safeBigIntStringify', {
1688
+ enumerable: true,
1689
+ get: function () {
1690
+ return safeBigIntStringify;
1691
+ }
1692
+ });
1659
1693
  Object.defineProperty(exports, 'sanitizeTypedData', {
1660
1694
  enumerable: true,
1661
1695
  get: function () {
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_utils = require('./utils-CaAHoOvO.cjs');
2
+ const require_utils = require('./utils-V1uXtT51.cjs');
3
3
  const require_time = require('./time-B4xLc27Y.cjs');
4
4
  const require_grpc = require('./grpc-DQDVCGpY.cjs');
5
5
  let __protobuf_ts_grpcweb_transport = require("@protobuf-ts/grpcweb-transport");
@@ -20,6 +20,7 @@ exports.addHexPrefix = require_utils.addHexPrefix;
20
20
  exports.amountToCosmosSdkDecAmount = require_utils.amountToCosmosSdkDecAmount;
21
21
  exports.base64ToUint8Array = require_utils.base64ToUint8Array;
22
22
  exports.base64ToUtf8 = require_utils.base64ToUtf8;
23
+ exports.bigIntReplacer = require_utils.bigIntReplacer;
23
24
  exports.binaryToBase64 = require_utils.binaryToBase64;
24
25
  exports.concatUint8Arrays = require_utils.concatUint8Arrays;
25
26
  exports.cosmosSdkDecToBigNumber = require_utils.cosmosSdkDecToBigNumber;
@@ -107,6 +108,7 @@ exports.publicKeyToAddress = require_utils.publicKeyToAddress;
107
108
  exports.recoverTypedSignaturePubKey = require_utils.recoverTypedSignaturePubKey;
108
109
  exports.removeHexPrefix = require_utils.removeHexPrefix;
109
110
  exports.ripemd160 = require_utils.ripemd160;
111
+ exports.safeBigIntStringify = require_utils.safeBigIntStringify;
110
112
  exports.sanitizeTypedData = require_utils.sanitizeTypedData;
111
113
  exports.sha256 = require_utils.sha256;
112
114
  exports.sortObjectByKeys = require_utils.sortObjectByKeys;
@@ -2,9 +2,9 @@ import "./tx_pb-tECSPcSB.cjs";
2
2
  import "./BaseGrpcConsumer-PDufF0fz.cjs";
3
3
  import "./index-B19YRG03.cjs";
4
4
  import "./any_pb-CP-3DVyl.cjs";
5
- import { $c as cosmosSdkDecToBigNumber, $l as decompressPubKey, Ac as hexToBuff, Al as spotPriceFromChainPriceToFixed, Bc as getChecksumAddress, Bl as isBrowser, Cc as base64ToUint8Array, Cl as formatPriceToAllowablePrice, Dc as fromBase64, Dl as isNumber, Ec as concatUint8Arrays, El as getTensMultiplier, Fc as uint8ArrayToBase64, Fl as spotQuantityToChainQuantity, Gc as getSubaccountId, Gl as objectToJson, Hc as getEthereumAddress, Hl as isNode, Ic as uint8ArrayToHex, Il as spotQuantityToChainQuantityToFixed, Jc as getDerivativeMarketDecimals, Jl as sortObjectByKeysWithReduce, Kc as isCw20ContractAddress, Kl as protoObjectToJson, Lc as uint8ArrayToString, Ll as getErrorMessage, Mc as stringToUint8Array, Ml as spotPriceToChainPriceToFixed, Nc as toBase64, Nl as spotQuantityFromChainQuantity, Oc as fromUtf8, Ol as numberToCosmosSdkDecString, Pc as toUtf8, Pl as spotQuantityFromChainQuantityToFixed, Qc as amountToCosmosSdkDecAmount, Ql as TypedMessageV4, Rc as addHexPrefix, Rl as grpcCoinToUiCoin, Sc as DEFAULT_DERIVATION_PATH, Sl as formatPriceToAllowableDecimals, Tc as binaryToBase64, Tl as getSignificantDecimalsFromNumber, Uc as getInjectiveAddress, Ul as isReactNative, Vc as getDefaultSubaccountId, Vl as isJsonString, Wc as getInjectiveAddressFromSubaccountId, Wl as isServerSide, Xc as getSpotMarketDecimals, Xl as TypedDataUtilsHashStruct, Yc as getDerivativeMarketTensMultiplier, Yl as SignTypedDataVersionV4, Zc as getSpotMarketTensMultiplier, Zl as TypedDataUtilsSanitizeData, _c as BECH32_ADDR_CONS_PREFIX, _l as derivativeQuantityToChainQuantityToFixed, _u as makeTimeoutTimestampInNs, al as denomAmountToGrpcChainDenomAmount, au as privateKeyToPublicKey, bc as BECH32_PUBKEY_CONS_PREFIX, bl as formatNumberToAllowableDecimals, bu as protobufTimestampToUnixSeconds, cc as recoverTypedSignaturePubKey, cl as derivativeMarginToChainMargin, cu as ripemd160, dc as grpcPagingToPaging, dl as derivativePriceFromChainPriceToFixed, du as parseCoins, el as denomAmountFromChainDenomAmount, eu as domainHash, fc as grpcPagingToPagingV2, fl as derivativePriceToChainPrice, fu as ofacList, gc as BECH32_ADDR_ACC_PREFIX, gl as derivativeQuantityToChainQuantity, gu as makeTimeoutTimestamp, hc as paginationUint8ArrayToString, hl as derivativeQuantityFromChainQuantityToFixed, hu as getGasPriceBasedOnMessage, il as denomAmountToChainDenomAmountToFixed, iu as privateKeyHashToPublicKeyBase64, jc as hexToUint8Array, jl as spotPriceToChainPrice, kc as hexToBase64, kl as spotPriceFromChainPrice, lc as fetchAllWithPagination, ll as derivativeMarginToChainMarginToFixed, lu as sanitizeTypedData, mc as paginationRequestFromPagination, ml as derivativeQuantityFromChainQuantity, mu as GrpcWebFetchTransport, nl as denomAmountFromGrpcChainDenomAmount, nu as messageHash, ol as derivativeMarginFromChainMargin, ou as privateKeyToPublicKeyBase64, pc as pageRequestToGrpcPageRequestV2, pl as derivativePriceToChainPriceToFixed, pu as getGrpcWebTransport, qc as removeHexPrefix, ql as sortObjectByKeys, rl as denomAmountToChainDenomAmount, ru as privateKeyHashToPublicKey, sl as derivativeMarginFromChainMarginToFixed, su as publicKeyToAddress, tl as denomAmountFromChainDenomAmountToFixed, tu as hashToHex, uc as grpcPaginationToPagination, ul as derivativePriceFromChainPrice, uu as sha256, vc as BECH32_ADDR_VAL_PREFIX, vl as formatAmountToAllowableAmount, vu as protobufTimestampToDate, wc as base64ToUtf8, wl as getExactDecimalsFromNumber, xc as BECH32_PUBKEY_VAL_PREFIX, xl as formatNumberToAllowableTensMultiplier, yc as BECH32_PUBKEY_ACC_PREFIX, yl as formatAmountToAllowableDecimals, yu as protobufTimestampToUnixMs, zc as getAddressFromInjectiveAddress, zl as hexToNumber } from "./index-9KV6P3U_.cjs";
5
+ import { $c as cosmosSdkDecToBigNumber, $l as TypedDataUtilsSanitizeData, Ac as hexToBuff, Al as spotPriceFromChainPriceToFixed, Bc as getChecksumAddress, Bl as hexToNumber, Cc as base64ToUint8Array, Cl as formatPriceToAllowablePrice, Dc as fromBase64, Dl as isNumber, Ec as concatUint8Arrays, El as getTensMultiplier, Fc as uint8ArrayToBase64, Fl as spotQuantityToChainQuantity, Gc as getSubaccountId, Gl as isServerSide, Hc as getEthereumAddress, Hl as isJsonString, Ic as uint8ArrayToHex, Il as spotQuantityToChainQuantityToFixed, Jc as getDerivativeMarketDecimals, Jl as safeBigIntStringify, Kc as isCw20ContractAddress, Kl as objectToJson, Lc as uint8ArrayToString, Ll as bigIntReplacer, Mc as stringToUint8Array, Ml as spotPriceToChainPriceToFixed, Nc as toBase64, Nl as spotQuantityFromChainQuantity, Oc as fromUtf8, Ol as numberToCosmosSdkDecString, Pc as toUtf8, Pl as spotQuantityFromChainQuantityToFixed, Qc as amountToCosmosSdkDecAmount, Ql as TypedDataUtilsHashStruct, Rc as addHexPrefix, Rl as getErrorMessage, Sc as DEFAULT_DERIVATION_PATH, Sl as formatPriceToAllowableDecimals, Su as protobufTimestampToUnixSeconds, Tc as binaryToBase64, Tl as getSignificantDecimalsFromNumber, Uc as getInjectiveAddress, Ul as isNode, Vc as getDefaultSubaccountId, Vl as isBrowser, Wc as getInjectiveAddressFromSubaccountId, Wl as isReactNative, Xc as getSpotMarketDecimals, Xl as sortObjectByKeysWithReduce, Yc as getDerivativeMarketTensMultiplier, Yl as sortObjectByKeys, Zc as getSpotMarketTensMultiplier, Zl as SignTypedDataVersionV4, _c as BECH32_ADDR_CONS_PREFIX, _l as derivativeQuantityToChainQuantityToFixed, _u as getGasPriceBasedOnMessage, al as denomAmountToGrpcChainDenomAmount, au as privateKeyHashToPublicKey, bc as BECH32_PUBKEY_CONS_PREFIX, bl as formatNumberToAllowableDecimals, bu as protobufTimestampToDate, cc as recoverTypedSignaturePubKey, cl as derivativeMarginToChainMargin, cu as privateKeyToPublicKeyBase64, dc as grpcPagingToPaging, dl as derivativePriceFromChainPriceToFixed, du as sanitizeTypedData, el as denomAmountFromChainDenomAmount, eu as TypedMessageV4, fc as grpcPagingToPagingV2, fl as derivativePriceToChainPrice, fu as sha256, gc as BECH32_ADDR_ACC_PREFIX, gl as derivativeQuantityToChainQuantity, gu as GrpcWebFetchTransport, hc as paginationUint8ArrayToString, hl as derivativeQuantityFromChainQuantityToFixed, hu as getGrpcWebTransport, il as denomAmountToChainDenomAmountToFixed, iu as messageHash, jc as hexToUint8Array, jl as spotPriceToChainPrice, kc as hexToBase64, kl as spotPriceFromChainPrice, lc as fetchAllWithPagination, ll as derivativeMarginToChainMarginToFixed, lu as publicKeyToAddress, mc as paginationRequestFromPagination, ml as derivativeQuantityFromChainQuantity, mu as ofacList, nl as denomAmountFromGrpcChainDenomAmount, nu as domainHash, ol as derivativeMarginFromChainMargin, ou as privateKeyHashToPublicKeyBase64, pc as pageRequestToGrpcPageRequestV2, pl as derivativePriceToChainPriceToFixed, pu as parseCoins, qc as removeHexPrefix, ql as protoObjectToJson, rl as denomAmountToChainDenomAmount, ru as hashToHex, sl as derivativeMarginFromChainMarginToFixed, su as privateKeyToPublicKey, tl as denomAmountFromChainDenomAmountToFixed, tu as decompressPubKey, uc as grpcPaginationToPagination, ul as derivativePriceFromChainPrice, uu as ripemd160, vc as BECH32_ADDR_VAL_PREFIX, vl as formatAmountToAllowableAmount, vu as makeTimeoutTimestamp, wc as base64ToUtf8, wl as getExactDecimalsFromNumber, xc as BECH32_PUBKEY_VAL_PREFIX, xl as formatNumberToAllowableTensMultiplier, xu as protobufTimestampToUnixMs, yc as BECH32_PUBKEY_ACC_PREFIX, yl as formatAmountToAllowableDecimals, yu as makeTimeoutTimestampInNs, zc as getAddressFromInjectiveAddress, zl as grpcCoinToUiCoin } from "./index-1Wy-0PTh.cjs";
6
6
  import "./index-D4uWOVE5.cjs";
7
7
  import "./index-Cqfc1ppG.cjs";
8
8
  import "./index-CKBod1ba.cjs";
9
9
  import "./index-Cc5Q73-y.cjs";
10
- export { BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, DEFAULT_DERIVATION_PATH, GrpcWebFetchTransport, SignTypedDataVersionV4, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, TypedMessageV4, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, binaryToBase64, concatUint8Arrays, cosmosSdkDecToBigNumber, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, getAddressFromInjectiveAddress, getChecksumAddress, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getErrorMessage, getEthereumAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToNumber, hexToUint8Array, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, numberToCosmosSdkDecString, objectToJson, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
10
+ export { BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, DEFAULT_DERIVATION_PATH, GrpcWebFetchTransport, SignTypedDataVersionV4, TypedDataUtilsHashStruct, TypedDataUtilsSanitizeData, TypedMessageV4, addHexPrefix, amountToCosmosSdkDecAmount, base64ToUint8Array, base64ToUtf8, bigIntReplacer, binaryToBase64, concatUint8Arrays, cosmosSdkDecToBigNumber, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, getAddressFromInjectiveAddress, getChecksumAddress, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getErrorMessage, getEthereumAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGrpcWebTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPagingToPagingV2, hashToHex, hexToBase64, hexToBuff, hexToNumber, hexToUint8Array, isBrowser, isCw20ContractAddress, isJsonString, isNode, isNumber, isReactNative, isServerSide, makeTimeoutTimestamp, makeTimeoutTimestampInNs, messageHash, numberToCosmosSdkDecString, objectToJson, ofacList, pageRequestToGrpcPageRequestV2, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protobufTimestampToDate, protobufTimestampToUnixMs, protobufTimestampToUnixSeconds, publicKeyToAddress, recoverTypedSignaturePubKey, removeHexPrefix, ripemd160, safeBigIntStringify, sanitizeTypedData, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringToUint8Array, toBase64, toUtf8, uint8ArrayToBase64, uint8ArrayToHex, uint8ArrayToString };
@@ -1,6 +1,6 @@
1
- import { O as denomAmountFromGrpcChainDenomAmount } from "./utils-DlnuXIe8.js";
1
+ import { O as denomAmountFromGrpcChainDenomAmount } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
- import { o as ChainModule } from "./ChainRestTendermintApi-Cy7hYJYp.js";
3
+ import { o as ChainModule } from "./ChainRestTendermintApi-CMrAg0Zm.js";
4
4
  import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DptVGP0n.js";
5
5
  import { toHumanReadable } from "@injectivelabs/utils";
6
6
  import * as InjectiveExchangeV1Beta1QueryPb from "@injectivelabs/core-proto-ts-v2/generated/injective/exchange/v1beta1/query_pb";
@@ -1,4 +1,4 @@
1
- import { in as uint8ArrayToBase64, l as ChainGrpcCommonTransformer, on as uint8ArrayToString } from "./utils-DlnuXIe8.js";
1
+ import { Jt as uint8ArrayToString, Kt as uint8ArrayToBase64, l as ChainGrpcCommonTransformer } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
3
  import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DptVGP0n.js";
4
4
  import { t as BaseRestConsumer } from "./BaseRestConsumer-rK4eS4W8.js";
@@ -1,6 +1,6 @@
1
- import { Kt as base64ToUint8Array, an as uint8ArrayToHex, in as uint8ArrayToBase64 } from "./utils-DlnuXIe8.js";
1
+ import { Kt as uint8ArrayToBase64, Pt as base64ToUint8Array, qt as uint8ArrayToHex } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
- import { O as getPublicKey, P as PublicKey, n as PrivateKey } from "./accounts-DXee44Zk.js";
3
+ import { O as getPublicKey, P as PublicKey, n as PrivateKey } from "./accounts-DFC9RYDH.js";
4
4
  import * as CosmosBaseV1Beta1CoinPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/base/v1beta1/coin_pb";
5
5
  import * as InjectiveTypesV1Beta1AccountPb from "@injectivelabs/core-proto-ts-v2/generated/injective/types/v1beta1/account_pb";
6
6
  import * as IbcCoreClientV1ClientPb from "@injectivelabs/core-proto-ts-v2/generated/ibc/core/client/v1/client_pb";
@@ -1,6 +1,6 @@
1
- import { Zt as fromUtf8, nn as toBase64 } from "./utils-DlnuXIe8.js";
1
+ import { Wt as toBase64, on as safeBigIntStringify, zt as fromUtf8 } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
- import { t as MsgBase } from "./MsgBase-aKq3ln6R.js";
3
+ import { t as MsgBase } from "./MsgBase-BkRgVbdY.js";
4
4
  import { GeneralException } from "@injectivelabs/exceptions";
5
5
  import * as InjectiveWasmxV1TxPb from "@injectivelabs/core-proto-ts-v2/generated/injective/wasmx/v1/tx_pb";
6
6
 
@@ -14,10 +14,10 @@ var ExecArgBase = class {
14
14
  this.params = params;
15
15
  }
16
16
  toJSON() {
17
- return fromUtf8(JSON.stringify(this.params));
17
+ return fromUtf8(safeBigIntStringify(this.params));
18
18
  }
19
19
  toExecJSON() {
20
- return fromUtf8(JSON.stringify(this.toExecData()));
20
+ return fromUtf8(safeBigIntStringify(this.toExecData()));
21
21
  }
22
22
  };
23
23
 
@@ -54,7 +54,7 @@ var MsgExecuteContractCompat = class MsgExecuteContractCompat extends MsgBase {
54
54
  return InjectiveWasmxV1TxPb.MsgExecuteContractCompat.create({
55
55
  sender: params.sender,
56
56
  contract: params.contractAddress,
57
- msg: JSON.stringify(msg),
57
+ msg: safeBigIntStringify(msg),
58
58
  funds
59
59
  });
60
60
  }
@@ -72,7 +72,7 @@ var MsgExecuteContractCompat = class MsgExecuteContractCompat extends MsgBase {
72
72
  value: {
73
73
  sender: proto.sender,
74
74
  contract: proto.contract,
75
- msg: JSON.stringify(this.getMsgObject()),
75
+ msg: safeBigIntStringify(this.getMsgObject()),
76
76
  funds: proto.funds
77
77
  }
78
78
  };
@@ -1,9 +1,9 @@
1
- import { a as grpcPagingToPagingV2, on as uint8ArrayToString, pt as isJsonString } from "./utils-DlnuXIe8.js";
1
+ import { Jt as uint8ArrayToString, a as grpcPagingToPagingV2, en as isJsonString } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
3
  import { n as GrpcWebRpcTransport } from "./BaseGrpcConsumer-DptVGP0n.js";
4
4
  import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-CjpUoGXy.js";
5
5
  import { t as BaseRestConsumer } from "./BaseRestConsumer-rK4eS4W8.js";
6
- import { r as IndexerModule } from "./IndexerGrpcWeb3GwApi-BngLjriD.js";
6
+ import { r as IndexerModule } from "./IndexerGrpcWeb3GwApi-CtUYowus.js";
7
7
  import { a as StreamOperation$1, c as TokenVerification, s as TokenType } from "./types-Cq0sRR6y.js";
8
8
  import { BigNumber, toBigNumber, toHumanReadable } from "@injectivelabs/utils";
9
9
  import { GeneralException, HttpRequestException, UnspecifiedErrorCode } from "@injectivelabs/exceptions";
@@ -1,4 +1,4 @@
1
- import { Kt as base64ToUint8Array, an as uint8ArrayToHex, t as recoverTypedSignaturePubKey, tn as stringToUint8Array } from "./utils-DlnuXIe8.js";
1
+ import { Pt as base64ToUint8Array, Ut as stringToUint8Array, on as safeBigIntStringify, qt as uint8ArrayToHex, t as recoverTypedSignaturePubKey } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
3
  import { t as BaseIndexerGrpcConsumer } from "./BaseIndexerGrpcConsumer-CjpUoGXy.js";
4
4
  import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
@@ -93,7 +93,7 @@ var IndexerGrpcTransactionApi = class extends BaseIndexerGrpcConsumer {
93
93
  prepareTxRequest.chainId = BigInt(chainId);
94
94
  prepareTxRequest.signerAddress = address;
95
95
  prepareTxRequest.fee = cosmosTxFee;
96
- prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(JSON.stringify(message$1)));
96
+ prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(safeBigIntStringify(message$1)));
97
97
  if (timeoutHeight !== void 0) prepareTxRequest.timeoutHeight = BigInt(timeoutHeight);
98
98
  if (memo) prepareTxRequest.memo = typeof memo === "number" ? memo.toString() : memo;
99
99
  return await this.executeGrpcCall(prepareTxRequest, this.client.prepareTx.bind(this.client));
@@ -114,7 +114,7 @@ var IndexerGrpcTransactionApi = class extends BaseIndexerGrpcConsumer {
114
114
  const prepareTxRequest = InjectiveExchangeRpcPb.PrepareCosmosTxRequest.create();
115
115
  prepareTxRequest.fee = cosmosTxFee;
116
116
  prepareTxRequest.senderAddress = address;
117
- prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(JSON.stringify(message$1)));
117
+ prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(safeBigIntStringify(message$1)));
118
118
  if (timeoutHeight !== void 0) prepareTxRequest.timeoutHeight = BigInt(timeoutHeight);
119
119
  if (memo) prepareTxRequest.memo = typeof memo === "number" ? memo.toString() : memo;
120
120
  return await this.executeGrpcCall(prepareTxRequest, this.client.prepareCosmosTx.bind(this.client));
@@ -146,10 +146,10 @@ var IndexerGrpcTransactionApi = class extends BaseIndexerGrpcConsumer {
146
146
  broadcastTxRequest.chainId = BigInt(chainId);
147
147
  broadcastTxRequest.pubKey = cosmosPubKey;
148
148
  broadcastTxRequest.signature = signature;
149
- broadcastTxRequest.tx = stringToUint8Array(JSON.stringify(parsedTypedData.message));
149
+ broadcastTxRequest.tx = stringToUint8Array(safeBigIntStringify(parsedTypedData.message));
150
150
  broadcastTxRequest.feePayer = txResponse.feePayer;
151
151
  broadcastTxRequest.feePayerSig = txResponse.feePayerSig;
152
- broadcastTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(JSON.stringify(message$1)));
152
+ broadcastTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(safeBigIntStringify(message$1)));
153
153
  return await this.executeGrpcCall(broadcastTxRequest, this.client.broadcastTx.bind(this.client));
154
154
  }
155
155
  /**
@@ -200,7 +200,7 @@ var IndexerGrpcWeb3GwApi = class extends IndexerGrpcTransactionApi {
200
200
  prepareTxRequest.chainId = BigInt(chainId);
201
201
  prepareTxRequest.signerAddress = address;
202
202
  prepareTxRequest.fee = cosmosTxFee;
203
- prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(JSON.stringify(message$1, (_, value) => typeof value === "bigint" ? value.toString() : value)));
203
+ prepareTxRequest.msgs = (Array.isArray(message) ? message : [message]).map((message$1) => stringToUint8Array(safeBigIntStringify(message$1)));
204
204
  if (timeoutHeight !== void 0) prepareTxRequest.timeoutHeight = BigInt(timeoutHeight);
205
205
  if (memo) prepareTxRequest.memo = typeof memo === "number" ? memo.toString() : memo;
206
206
  if (eip712Version) prepareTxRequest.eip712Wrapper = eip712Version;
@@ -345,6 +345,7 @@ const protoTypeToAminoType = (type) => {
345
345
  //#region src/core/modules/utils.ts
346
346
  function prepareSignBytes(obj) {
347
347
  if (Array.isArray(obj)) return obj.map(prepareSignBytes);
348
+ if (typeof obj === "bigint") return obj.toString();
348
349
  if (typeof obj !== `object` || obj === null) return obj;
349
350
  const sorted = {};
350
351
  Object.keys(obj).sort().forEach((key) => {
@@ -1,9 +1,9 @@
1
- import { Dt as messageHash, Jt as binaryToBase64, Kt as base64ToUint8Array, Tt as domainHash, Yt as concatUint8Arrays, Zt as fromUtf8, en as hexToUint8Array, et as numberToCosmosSdkDecString, in as uint8ArrayToBase64 } from "./utils-DlnuXIe8.js";
1
+ import { Ht as hexToUint8Array, It as binaryToBase64, Kt as uint8ArrayToBase64, Lt as concatUint8Arrays, Pt as base64ToUint8Array, et as numberToCosmosSdkDecString, ht as messageHash, on as safeBigIntStringify, pt as domainHash, zt as fromUtf8 } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
- import { A as createAny, F as Address } from "./accounts-DXee44Zk.js";
4
- import { n as prepareSignBytes, t as MsgBase } from "./MsgBase-aKq3ln6R.js";
5
- import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-CDMDxAJf.js";
6
- import { a as dataToExecData$1, i as ExecArgBase } from "./ExecArgNeptuneWithdraw-yQxlQZWQ.js";
3
+ import { A as createAny, F as Address } from "./accounts-DFC9RYDH.js";
4
+ import { n as prepareSignBytes, t as MsgBase } from "./MsgBase-BkRgVbdY.js";
5
+ import { t as ChainGrpcExchangeApi } from "./ChainGrpcExchangeApi-C-2XsVVs.js";
6
+ import { a as dataToExecData$1, i as ExecArgBase } from "./ExecArgNeptuneWithdraw-DEljIeLd.js";
7
7
  import { keccak256 } from "viem";
8
8
  import { BigNumber, DEFAULT_BRIDGE_FEE_AMOUNT, DEFAULT_BRIDGE_FEE_DENOM, toChainFormat, toPascalCase } from "@injectivelabs/utils";
9
9
  import { GeneralException } from "@injectivelabs/exceptions";
@@ -4302,7 +4302,7 @@ var ExecArgCW20Send = class ExecArgCW20Send extends ExecArgBase {
4302
4302
  return {
4303
4303
  contract: params.contractAddress,
4304
4304
  amount: params.amount,
4305
- msg: uint8ArrayToBase64(fromUtf8(JSON.stringify(params.msg || {})))
4305
+ msg: uint8ArrayToBase64(fromUtf8(safeBigIntStringify(params.msg || {})))
4306
4306
  };
4307
4307
  }
4308
4308
  toExecData() {
@@ -4329,7 +4329,7 @@ var MsgExecuteContract = class MsgExecuteContract extends MsgBase {
4329
4329
  return CosmwasmWasmV1TxPb.MsgExecuteContract.create({
4330
4330
  sender: params.sender,
4331
4331
  contract: params.contractAddress,
4332
- msg: fromUtf8(JSON.stringify(msg)),
4332
+ msg: fromUtf8(safeBigIntStringify(msg)),
4333
4333
  funds
4334
4334
  });
4335
4335
  }
@@ -4397,7 +4397,7 @@ var MsgMigrateContract = class MsgMigrateContract extends MsgBase {
4397
4397
  sender: params.sender,
4398
4398
  contract: params.contract,
4399
4399
  codeId: BigInt(params.codeId),
4400
- msg: fromUtf8(JSON.stringify(params.msg))
4400
+ msg: fromUtf8(safeBigIntStringify(params.msg))
4401
4401
  });
4402
4402
  }
4403
4403
  toData() {
@@ -4540,7 +4540,7 @@ var MsgInstantiateContract = class MsgInstantiateContract extends MsgBase {
4540
4540
  admin: params.admin,
4541
4541
  codeId: BigInt(params.codeId),
4542
4542
  label: params.label,
4543
- msg: fromUtf8(JSON.stringify(params.msg)),
4543
+ msg: fromUtf8(safeBigIntStringify(params.msg)),
4544
4544
  funds
4545
4545
  });
4546
4546
  }
@@ -1,7 +1,7 @@
1
- import { Jt as binaryToBase64, Xt as fromBase64, nn as toBase64, rn as toUtf8 } from "./utils-DlnuXIe8.js";
1
+ import { Gt as toUtf8, It as binaryToBase64, Rt as fromBase64, Wt as toBase64 } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
- import { h as ChainGrpcWasmApi } from "./chain-BquCFi0h.js";
4
- import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-yQxlQZWQ.js";
3
+ import { h as ChainGrpcWasmApi } from "./chain-phKWVf8c.js";
4
+ import { n as MsgExecuteContractCompat, r as ExecArgNeptuneDeposit, t as ExecArgNeptuneWithdraw } from "./ExecArgNeptuneWithdraw-DEljIeLd.js";
5
5
  import { GeneralException } from "@injectivelabs/exceptions";
6
6
  import { Network, getNetworkEndpoints, isMainnet } from "@injectivelabs/networks";
7
7
 
@@ -1,6 +1,6 @@
1
- import { Bt as BECH32_ADDR_CONS_PREFIX, Ct as TypedDataUtilsSanitizeData, Gt as DEFAULT_DERIVATION_PATH, Ht as BECH32_PUBKEY_ACC_PREFIX, Kt as base64ToUint8Array, Vt as BECH32_ADDR_VAL_PREFIX, an as uint8ArrayToHex, en as hexToUint8Array, et as numberToCosmosSdkDecString, h as getInjectiveAddress, in as uint8ArrayToBase64, m as getEthereumAddress, rn as toUtf8, t as recoverTypedSignaturePubKey, tn as stringToUint8Array, wt as decompressPubKey, zt as BECH32_ADDR_ACC_PREFIX } from "./utils-DlnuXIe8.js";
1
+ import { At as BECH32_PUBKEY_ACC_PREFIX, Dt as BECH32_ADDR_ACC_PREFIX, Gt as toUtf8, Ht as hexToUint8Array, Kt as uint8ArrayToBase64, Nt as DEFAULT_DERIVATION_PATH, Ot as BECH32_ADDR_CONS_PREFIX, Pt as base64ToUint8Array, Ut as stringToUint8Array, dt as TypedDataUtilsSanitizeData, et as numberToCosmosSdkDecString, ft as decompressPubKey, h as getInjectiveAddress, kt as BECH32_ADDR_VAL_PREFIX, m as getEthereumAddress, on as safeBigIntStringify, qt as uint8ArrayToHex, t as recoverTypedSignaturePubKey } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
- import { t as MsgBase } from "./MsgBase-aKq3ln6R.js";
3
+ import { t as MsgBase } from "./MsgBase-BkRgVbdY.js";
4
4
  import * as CosmosTxV1Beta1TxPb from "@injectivelabs/core-proto-ts-v2/generated/cosmos/tx/v1beta1/tx_pb";
5
5
  import { hashTypedData, keccak256, toBytes } from "viem";
6
6
  import { DEFAULT_GAS_LIMIT, getDefaultStdFee, getStdFee, toBigNumber, toChainFormat } from "@injectivelabs/utils";
@@ -321,7 +321,7 @@ const createWeb3Extension = ({ evmChainId, feePayer, feePayerSig }) => {
321
321
  return web3Extension;
322
322
  };
323
323
  const createNonCriticalExtensionFromObject = (object) => {
324
- return createAny(new TextEncoder().encode(JSON.stringify(object)), "/google.protobuf.Struct");
324
+ return createAny(new TextEncoder().encode(safeBigIntStringify(object)), "/google.protobuf.Struct");
325
325
  };
326
326
  const getTransactionPartsFromTxRaw = (txRaw) => {
327
327
  const authInfo = CosmosTxV1Beta1TxPb.AuthInfo.fromBinary(txRaw.authInfoBytes);
@@ -568,11 +568,11 @@ const getEip712TypedDataV2 = ({ msgs, tx, fee, evmChainId }) => {
568
568
  primaryType: "Tx",
569
569
  ...getEip712DomainV2(evmChainId),
570
570
  message: {
571
- context: JSON.stringify(getEipTxContext({
571
+ context: safeBigIntStringify(getEipTxContext({
572
572
  ...tx,
573
573
  fee
574
- }), (_, value) => typeof value === "bigint" ? value.toString() : value),
575
- msgs: JSON.stringify(eip712Msgs, (_, value) => typeof value === "bigint" ? value.toString() : value)
574
+ })),
575
+ msgs: safeBigIntStringify(eip712Msgs)
576
576
  }
577
577
  };
578
578
  };
@@ -1,7 +1,7 @@
1
- import { Kt as base64ToUint8Array, O as denomAmountFromGrpcChainDenomAmount, Zt as fromUtf8, l as ChainGrpcCommonTransformer, n as fetchAllWithPagination, nn as toBase64, on as uint8ArrayToString } from "./utils-DlnuXIe8.js";
1
+ import { Jt as uint8ArrayToString, O as denomAmountFromGrpcChainDenomAmount, Pt as base64ToUint8Array, Wt as toBase64, l as ChainGrpcCommonTransformer, n as fetchAllWithPagination, zt as fromUtf8 } from "./utils-DwGoPRTL.js";
2
2
  import { t as _defineProperty } from "./defineProperty-Bq6QU9Te.js";
3
3
  import { a as protobufTimestampToUnixSeconds, r as protobufTimestampToDate } from "./time-DYEqYFao.js";
4
- import { o as ChainModule, p as BondStatus } from "./ChainRestTendermintApi-Cy7hYJYp.js";
4
+ import { o as ChainModule, p as BondStatus } from "./ChainRestTendermintApi-CMrAg0Zm.js";
5
5
  import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-DptVGP0n.js";
6
6
  import { t as BaseRestConsumer } from "./BaseRestConsumer-rK4eS4W8.js";
7
7
  import { toBigNumber, toHumanReadable } from "@injectivelabs/utils";
@@ -2,7 +2,7 @@ import "../tx_pb-TiSRD5ay.js";
2
2
  import "../BaseGrpcConsumer-BbvNzhrS.js";
3
3
  import "../index-qFCOVI7n.js";
4
4
  import "../any_pb-B1YYUSUf.js";
5
- import { $f as AuctionCurrentBasket, $h as Validator, $m as FeeDiscountTierInfo, $p as BatchCancelDerivativeOrdersAuthz, A as ChainGrpcAuctionApi, Ag as ProposalStatusMap, Ah as PointsMultiplier, Am as AuthModuleParams, Ap as PermissionGenesisState, B as ChainGrpcAuthApi, Bf as DistributionModuleParams, Bh as GrpcReDelegationEntryResponse, Bm as GrpcEvmChainConfig, Bp as PermissionsModuleParams, C as ChainGrpcInsuranceFundApi, Cg as GrpcProposal, Ch as GrpcSpotOrder, Cm as GrpcBankParams, Cp as GrpcPermissionRoleManager, D as ChainGrpcTendermintApi, Dg as Proposal, Dh as IsOptedOutOfRewards, Dm as TotalSupply, Dp as PermissionActorRoles, E as ChainGrpcPermissionsApi, Eg as GrpcVote, Eh as GrpcTradingRewardCampaignInfo, Em as SendEnabled, Ep as PermissionActionMap, F as ChainGrpcPeggyApi, Ff as NodeInfoRestResponse, Fg as WeightedVoteOption, Fh as Delegation, Fm as EvmChainConfig, Fp as PermissionRole, Gf as BalancesResponse, Gh as GrpcValidator, Gm as ChainDenomMinNotional, Gp as TxFeesEipBaseFee, H as ChainGrpcIbcApi, Hf as GrpcDelegationDelegatorReward, Hh as GrpcStakingParams, Hm as GrpcEvmParams, Hp as OracleModuleParams, I as ChainGrpcAuthZApi, If as AuthorityMetadata, Ih as GrpcDelegation, Im as EvmLog, Ip as PermissionRoleActors, Jf as AccountResponse, Jh as GrpcValidatorDescription, Jm as DepositProposalParams, Jp as GrpcTokenPair, Kf as DenomBalance, Kh as GrpcValidatorCommission, Km as ChainDerivativePosition, Kp as TxFeesModuleStateParams, L as ChainGrpcWasmApi, Lf as FactoryDenomWithMetadata, Lh as GrpcDelegationResponse, Lm as EvmParams, Lp as PermissionRoleIDs, M as ChainGrpcOracleApi, Mf as ChainModule, Mg as Vote, Mh as TradingRewardCampaignBoostInfo, Mm as PubKey, Mp as PermissionParams, N as ChainGrpcErc20Api, Nf as RestApiResponse, Ng as VoteOption, Nh as TradingRewardCampaignInfo, Nm as EvmBlobConfig, Np as PermissionPolicyManagerCapability, O as ChainGrpcExchangeApi, Og as ProposalDeposit, Oh as OrderType, Om as Account, Op as PermissionAddressRoles, P as ChainGrpcWasmXApi, Pf as BlockLatestRestResponse, Pg as VoteOptionMap, Ph as BondStatus, Pm as EvmBlobScheduleConfig, Pp as PermissionPolicyStatus, Qf as AuctionBid, Qh as UnBondingDelegation, Qm as FeeDiscountSchedule, Qp as PeggyModuleParams, R as ChainGrpcMintApi, Rf as TokenFactoryModuleParams, Rh as GrpcPool, Rm as GrpcEvmBlobConfig, Rp as PermissionRoleManager, S as ChainRestBankApi, Sg as GrpcGovernanceVotingParams, Sh as GrpcSpotMarketOrder, Sm as BankModuleParams, Sp as GrpcPermissionRoleIDs, T as ChainGrpcDistributionApi, Tg as GrpcTallyResult, Th as GrpcTradingRewardCampaignBoostInfo, Tm as Metadata, Tp as GrpcPermissionsParams, U as ChainGrpcGovApi, Uf as GrpcDistributionParams, Uh as GrpcUnbondingDelegation, Um as CampaignRewardPool, Up as GrpcTxFeesEipBaseFee, V as ChainGrpcEvmApi, Vf as GrpcDecCoin, Vh as GrpcReDelegationResponse, Vm as GrpcEvmLog, Vp as GrpcOracleParams, Wf as ValidatorRewards, Wh as GrpcUnbondingDelegationEntry, Wm as ChainDenomDecimal, Wp as GrpcTxFeesParams, Xf as BaseAccountRestResponse, Xh as ReDelegation, Xm as ExchangeParams, Xp as TokenPair, Yf as AccountsResponse, Yh as Pool, Ym as ExchangeModuleParams, Yp as Params, Zf as CosmosAccountRestResponse, Zh as StakingModuleParams, Zm as FeeDiscountAccountInfo, Zp as GrpcPeggyParams, _ as ChainGrpcEvmTransformer, _g as TokenInfo, _h as GrpcOrderInfo, _m as InsuranceFund, _p as GrpcPermissionNamespace, a as ChainGrpcExchangeTransformer, ag as ContractAccountsBalanceWithPagination, ah as GrpcChainFullSpotMarket, am as CreateDerivativeLimitOrderAuthz, ap as AuctionModuleState, b as ChainRestWasmApi, bg as GrpcGovernanceDepositParams, bh as GrpcPointsMultiplier, bm as GrpcMintParams, bp as GrpcPermissionRole, c as ChainGrpcCommonTransformer, cg as ContractCodeHistoryOperationTypeMap, ch as GrpcDenomDecimals, cm as CreateSpotMarketOrderAuthz, cp as AuctionParams, d as ChainGrpcPeggyTransformer, dg as GoogleProtoBufAny, dh as GrpcFeeDiscountAccountInfo, dm as GrantAuthorization, dp as GrpcAuctionEventAuctionStart, eg as ValidatorCommission, eh as FeeDiscountTierTTL, em as BatchCancelSpotOrdersAuthz, ep as AuctionEventAuctionResult, f as ChainGrpcAuthZTransformer, fg as GrpcAbsoluteTxPosition, fh as GrpcFeeDiscountSchedule, fm as GrantAuthorizationWithDecodedAuthorization, fp as GrpcAuctionEventBid, g as ChainGrpcAuthTransformer, gg as MarketingInfo, gh as GrpcMarketStatusMap, gm as GrpcRedemptionSchedule, gp as GrpcPermissionAddressVoucher, h as ChainGrpcBankTransformer, hg as GrpcContractInfo, hh as GrpcMarketStatus, hm as GrpcInsuranceParams, hp as GrpcPermissionActorRoles, i as ChainGrpcPermissionsTransformer, ig as ContractAccountBalance, ih as GrpcChainFullDerivativeMarket, im as CancelSpotOrderAuthz, ip as AuctionModuleParams, j as ChainGrpcTxFeesApi, jg as TallyResult, jh as TradeRewardCampaign, jm as EthAccount, jp as PermissionNamespace, k as ChainGrpcStakingApi, kg as ProposalStatus, kh as OrderTypeMap, km as AuthBaseAccount, kp as PermissionAddressVoucher, l as ChainGrpcTxFeesTransformer, lg as ContractInfo, lh as GrpcDenomMinNotional, lm as GenericAuthorization, lp as GrpcAuctionBid, m as ChainGrpcMintTransformer, mg as GrpcContractCodeHistoryEntry, mh as GrpcFeeDiscountTierTTL, mm as GrpcInsuranceFund, mp as GrpcAuctionParams, n as ChainGrpcTokenFactoryTransformer, ng as AbsoluteTxPosition, nh as GrpcChainDerivativeMarket, nm as BatchCreateSpotLimitOrdersAuthz, np as AuctionEventBid, o as ChainGrpcStakingTransformer, og as ContractCodeHistoryEntry, oh as GrpcChainPosition, om as CreateDerivativeMarketOrderAuthz, op as AuctionModuleStateParams, p as ChainGrpcWasmTransformer, pg as GrpcCodeInfoResponse, ph as GrpcFeeDiscountTierInfo, pm as GrantWithDecodedAuthorization, pp as GrpcAuctionLastAuctionResult, qf as DenomOwnersResponse, qh as GrpcValidatorCommissionRates, qm as ChainPosition, qp as GrpcParams, r as ChainGrpcDistributionTransformer, rg as CodeInfoResponse, rh as GrpcChainDerivativePosition, rm as CancelDerivativeOrderAuthz, rp as AuctionLastAuctionResult, s as ChainGrpcAuctionTransformer, sg as ContractCodeHistoryOperationType, sh as GrpcChainSpotMarket, sm as CreateSpotLimitOrderAuthz, sp as AuctionModuleStateResponse, t as ChainGrpcInsuranceFundTransformer, tg as ValidatorDescription, th as GrpcCampaignRewardPool, tm as BatchCreateDerivativeLimitOrdersAuthz, tp as AuctionEventAuctionStart, u as ChainGrpcErc20Transformer, ug as ContractStateWithPagination, uh as GrpcExchangeParams, um as Grant, up as GrpcAuctionEventAuctionResult, v as ChainGrpcGovTransformer, vg as grpcContractInfo, vh as GrpcOrderType, vm as InsuranceModuleParams, vp as GrpcPermissionPolicyStatus, w as ChainGrpcTokenFactoryApi, wg as GrpcProposalDeposit, wh as GrpcTradeRewardCampaign, wm as GrpcSupply, wp as GrpcPermissionsNamespace, x as ChainRestAuthApi, xg as GrpcGovernanceTallyParams, xh as GrpcSpotMarket, xm as MinModuleParams, xp as GrpcPermissionRoleActors, y as ChainRestTendermintApi, yg as GovModuleStateParams, yh as GrpcOrderTypeMap, ym as OracleTypeMap, yp as GrpcPermissionPolicyStatusManagerCapability, z as ChainGrpcBankApi, zf as TokenFactoryModuleState, zh as GrpcReDelegation, zm as GrpcEvmBlobScheduleConfig, zp as PermissionVoucher } from "../index-CIU3qLo9.js";
5
+ import { $f as CosmosAccountRestResponse, $h as StakingModuleParams, $m as FeeDiscountAccountInfo, $p as GrpcPeggyParams, A as ChainGrpcAuctionApi, Ag as ProposalDeposit, Ah as OrderType, Am as Account, Ap as PermissionAddressRoles, B as ChainGrpcAuthApi, Bf as TokenFactoryModuleParams, Bh as GrpcPool, Bm as GrpcEvmBlobConfig, Bp as PermissionRoleManager, C as ChainGrpcInsuranceFundApi, Cg as GrpcGovernanceTallyParams, Ch as GrpcSpotMarket, Cm as MinModuleParams, Cp as GrpcPermissionRoleActors, D as ChainGrpcTendermintApi, Dg as GrpcTallyResult, Dh as GrpcTradingRewardCampaignBoostInfo, Dm as Metadata, Dp as GrpcPermissionsParams, E as ChainGrpcPermissionsApi, Eg as GrpcProposalDeposit, Eh as GrpcTradeRewardCampaign, Em as GrpcSupply, Ep as GrpcPermissionsNamespace, F as ChainGrpcPeggyApi, Ff as RestApiResponse, Fg as VoteOption, Fh as TradingRewardCampaignInfo, Fm as EvmBlobConfig, Fp as PermissionPolicyManagerCapability, Gf as GrpcDistributionParams, Gh as GrpcUnbondingDelegation, Gm as CampaignRewardPool, Gp as GrpcTxFeesEipBaseFee, H as ChainGrpcIbcApi, Hf as DistributionModuleParams, Hh as GrpcReDelegationEntryResponse, Hm as GrpcEvmChainConfig, Hp as PermissionsModuleParams, I as ChainGrpcAuthZApi, If as BlockLatestRestResponse, Ig as VoteOptionMap, Ih as BondStatus, Im as EvmBlobScheduleConfig, Ip as PermissionPolicyStatus, Jf as DenomBalance, Jh as GrpcValidatorCommission, Jm as ChainDerivativePosition, Jp as TxFeesModuleStateParams, Kf as ValidatorRewards, Kh as GrpcUnbondingDelegationEntry, Km as ChainDenomDecimal, Kp as GrpcTxFeesParams, L as ChainGrpcWasmApi, Lf as NodeInfoRestResponse, Lg as WeightedVoteOption, Lh as Delegation, Lm as EvmChainConfig, Lp as PermissionRole, M as ChainGrpcOracleApi, Mg as ProposalStatusMap, Mh as PointsMultiplier, Mm as AuthModuleParams, Mp as PermissionGenesisState, N as ChainGrpcErc20Api, Ng as TallyResult, Nh as TradeRewardCampaign, Nm as EthAccount, Np as PermissionNamespace, O as ChainGrpcExchangeApi, Og as GrpcVote, Oh as GrpcTradingRewardCampaignInfo, Om as SendEnabled, Op as PermissionActionMap, P as ChainGrpcWasmXApi, Pf as ChainModule, Pg as Vote, Ph as TradingRewardCampaignBoostInfo, Pm as PubKey, Pp as PermissionParams, Qf as BaseAccountRestResponse, Qh as ReDelegation, Qm as ExchangeParams, Qp as TokenPair, R as ChainGrpcMintApi, Rf as AuthorityMetadata, Rh as GrpcDelegation, Rm as EvmLog, Rp as PermissionRoleActors, S as ChainRestBankApi, Sg as GrpcGovernanceDepositParams, Sh as GrpcPointsMultiplier, Sm as GrpcMintParams, Sp as GrpcPermissionRole, T as ChainGrpcDistributionApi, Tg as GrpcProposal, Th as GrpcSpotOrder, Tm as GrpcBankParams, Tp as GrpcPermissionRoleManager, U as ChainGrpcGovApi, Uf as GrpcDecCoin, Uh as GrpcReDelegationResponse, Um as GrpcEvmLog, Up as GrpcOracleParams, V as ChainGrpcEvmApi, Vf as TokenFactoryModuleState, Vh as GrpcReDelegation, Vm as GrpcEvmBlobScheduleConfig, Vp as PermissionVoucher, Wf as GrpcDelegationDelegatorReward, Wh as GrpcStakingParams, Wm as GrpcEvmParams, Wp as OracleModuleParams, Xf as AccountResponse, Xh as GrpcValidatorDescription, Xm as DepositProposalParams, Xp as GrpcTokenPair, Yf as DenomOwnersResponse, Yh as GrpcValidatorCommissionRates, Ym as ChainPosition, Yp as GrpcParams, Zf as AccountsResponse, Zh as Pool, Zm as ExchangeModuleParams, Zp as Params, _ as ChainGrpcEvmTransformer, _g as GrpcContractInfo, _h as GrpcMarketStatus, _m as GrpcInsuranceParams, _p as GrpcPermissionActorRoles, a as ChainGrpcExchangeTransformer, ag as CodeInfoResponse, ah as GrpcChainDerivativePosition, am as CancelDerivativeOrderAuthz, ap as AuctionLastAuctionResult, b as ChainRestWasmApi, bg as grpcContractInfo, bh as GrpcOrderType, bm as InsuranceModuleParams, bp as GrpcPermissionPolicyStatus, c as ChainGrpcCommonTransformer, cg as ContractCodeHistoryEntry, ch as GrpcChainPosition, cm as CreateDerivativeMarketOrderAuthz, cp as AuctionModuleStateParams, d as ChainGrpcPeggyTransformer, dg as ContractInfo, dh as GrpcDenomMinNotional, dm as GenericAuthorization, dp as GrpcAuctionBid, eg as UnBondingDelegation, eh as FeeDiscountSchedule, em as PeggyModuleParams, ep as AuctionBid, f as ChainGrpcAuthZTransformer, fg as ContractStateWithPagination, fh as GrpcExchangeParams, fm as Grant, fp as GrpcAuctionEventAuctionResult, g as ChainGrpcAuthTransformer, gg as GrpcContractCodeHistoryEntry, gh as GrpcFeeDiscountTierTTL, gm as GrpcInsuranceFund, gp as GrpcAuctionParams, h as ChainGrpcBankTransformer, hg as GrpcCodeInfoResponse, hh as GrpcFeeDiscountTierInfo, hm as GrantWithDecodedAuthorization, hp as GrpcAuctionLastAuctionResult, i as ChainGrpcPermissionsTransformer, ig as AbsoluteTxPosition, ih as GrpcChainDerivativeMarket, im as BatchCreateSpotLimitOrdersAuthz, ip as AuctionEventBid, j as ChainGrpcTxFeesApi, jg as ProposalStatus, jh as OrderTypeMap, jm as AuthBaseAccount, jp as PermissionAddressVoucher, k as ChainGrpcStakingApi, kg as Proposal, kh as IsOptedOutOfRewards, km as TotalSupply, kp as PermissionActorRoles, l as ChainGrpcTxFeesTransformer, lg as ContractCodeHistoryOperationType, lh as GrpcChainSpotMarket, lm as CreateSpotLimitOrderAuthz, lp as AuctionModuleStateResponse, m as ChainGrpcMintTransformer, mg as GrpcAbsoluteTxPosition, mh as GrpcFeeDiscountSchedule, mm as GrantAuthorizationWithDecodedAuthorization, mp as GrpcAuctionEventBid, n as ChainGrpcTokenFactoryTransformer, ng as ValidatorCommission, nh as FeeDiscountTierTTL, nm as BatchCancelSpotOrdersAuthz, np as AuctionEventAuctionResult, o as ChainGrpcStakingTransformer, og as ContractAccountBalance, oh as GrpcChainFullDerivativeMarket, om as CancelSpotOrderAuthz, op as AuctionModuleParams, p as ChainGrpcWasmTransformer, pg as GoogleProtoBufAny, ph as GrpcFeeDiscountAccountInfo, pm as GrantAuthorization, pp as GrpcAuctionEventAuctionStart, qf as BalancesResponse, qh as GrpcValidator, qm as ChainDenomMinNotional, qp as TxFeesEipBaseFee, r as ChainGrpcDistributionTransformer, rg as ValidatorDescription, rh as GrpcCampaignRewardPool, rm as BatchCreateDerivativeLimitOrdersAuthz, rp as AuctionEventAuctionStart, s as ChainGrpcAuctionTransformer, sg as ContractAccountsBalanceWithPagination, sh as GrpcChainFullSpotMarket, sm as CreateDerivativeLimitOrderAuthz, sp as AuctionModuleState, t as ChainGrpcInsuranceFundTransformer, tg as Validator, th as FeeDiscountTierInfo, tm as BatchCancelDerivativeOrdersAuthz, tp as AuctionCurrentBasket, u as ChainGrpcErc20Transformer, ug as ContractCodeHistoryOperationTypeMap, uh as GrpcDenomDecimals, um as CreateSpotMarketOrderAuthz, up as AuctionParams, v as ChainGrpcGovTransformer, vg as MarketingInfo, vh as GrpcMarketStatusMap, vm as GrpcRedemptionSchedule, vp as GrpcPermissionAddressVoucher, w as ChainGrpcTokenFactoryApi, wg as GrpcGovernanceVotingParams, wh as GrpcSpotMarketOrder, wm as BankModuleParams, wp as GrpcPermissionRoleIDs, x as ChainRestAuthApi, xg as GovModuleStateParams, xh as GrpcOrderTypeMap, xm as OracleTypeMap, xp as GrpcPermissionPolicyStatusManagerCapability, y as ChainRestTendermintApi, yg as TokenInfo, yh as GrpcOrderInfo, ym as InsuranceFund, yp as GrpcPermissionNamespace, z as ChainGrpcBankApi, zf as FactoryDenomWithMetadata, zh as GrpcDelegationResponse, zm as EvmParams, zp as PermissionRoleIDs } from "../index-IV55OZfT.js";
6
6
  import "../index-DdGVE3_u.js";
7
7
  import { ct as OracleType } from "../index-B1R417vW.js";
8
8
  import "../index-aNMYd-s0.js";
@@ -1,11 +1,11 @@
1
- import { l as ChainGrpcCommonTransformer } from "../utils-DlnuXIe8.js";
1
+ import { l as ChainGrpcCommonTransformer } from "../utils-DwGoPRTL.js";
2
2
  import "../defineProperty-Bq6QU9Te.js";
3
3
  import "../time-DYEqYFao.js";
4
4
  import "../grpc-lYZqzL0k.js";
5
- import { a as ChainGrpcAuthTransformer, c as OracleType, d as GrpcOrderTypeMap, f as OrderTypeMap, g as VoteOptionMap, h as ProposalStatusMap, i as ChainGrpcAuthApi, l as OracleTypeMap, m as ContractCodeHistoryOperationTypeMap, n as ChainRestAuthApi, o as ChainModule, p as BondStatus, r as ChainGrpcTendermintApi, s as PermissionActionMap, t as ChainRestTendermintApi, u as GrpcMarketStatusMap } from "../ChainRestTendermintApi-Cy7hYJYp.js";
5
+ import { a as ChainGrpcAuthTransformer, c as OracleType, d as GrpcOrderTypeMap, f as OrderTypeMap, g as VoteOptionMap, h as ProposalStatusMap, i as ChainGrpcAuthApi, l as OracleTypeMap, m as ContractCodeHistoryOperationTypeMap, n as ChainRestAuthApi, o as ChainModule, p as BondStatus, r as ChainGrpcTendermintApi, s as PermissionActionMap, t as ChainRestTendermintApi, u as GrpcMarketStatusMap } from "../ChainRestTendermintApi-CMrAg0Zm.js";
6
6
  import "../BaseGrpcConsumer-DptVGP0n.js";
7
- import { A as ChainGrpcAuthZTransformer, C as ChainGrpcDistributionTransformer, D as ChainGrpcTxFeesTransformer, E as ChainGrpcAuctionTransformer, F as ChainGrpcGovTransformer, M as ChainGrpcMintTransformer, N as ChainGrpcBankTransformer, O as ChainGrpcErc20Transformer, P as ChainGrpcEvmTransformer, S as ChainGrpcTokenFactoryTransformer, T as ChainGrpcStakingTransformer, _ as ChainGrpcBankApi, a as ChainGrpcDistributionApi, b as ChainGrpcGovApi, c as ChainGrpcAuctionApi, d as ChainGrpcErc20Api, f as ChainGrpcWasmXApi, g as ChainGrpcMintApi, h as ChainGrpcWasmApi, i as ChainGrpcTokenFactoryApi, j as ChainGrpcWasmTransformer, k as ChainGrpcPeggyTransformer, l as ChainGrpcTxFeesApi, m as ChainGrpcAuthZApi, n as ChainRestBankApi, o as ChainGrpcPermissionsApi, p as ChainGrpcPeggyApi, r as ChainGrpcInsuranceFundApi, s as ChainGrpcStakingApi, t as ChainRestWasmApi, u as ChainGrpcOracleApi, v as ChainGrpcEvmApi, w as ChainGrpcPermissionsTransformer, x as ChainGrpcInsuranceFundTransformer, y as ChainGrpcIbcApi } from "../chain-BquCFi0h.js";
8
- import { n as ChainGrpcExchangeTransformer, t as ChainGrpcExchangeApi } from "../ChainGrpcExchangeApi-CDMDxAJf.js";
7
+ import { A as ChainGrpcAuthZTransformer, C as ChainGrpcDistributionTransformer, D as ChainGrpcTxFeesTransformer, E as ChainGrpcAuctionTransformer, F as ChainGrpcGovTransformer, M as ChainGrpcMintTransformer, N as ChainGrpcBankTransformer, O as ChainGrpcErc20Transformer, P as ChainGrpcEvmTransformer, S as ChainGrpcTokenFactoryTransformer, T as ChainGrpcStakingTransformer, _ as ChainGrpcBankApi, a as ChainGrpcDistributionApi, b as ChainGrpcGovApi, c as ChainGrpcAuctionApi, d as ChainGrpcErc20Api, f as ChainGrpcWasmXApi, g as ChainGrpcMintApi, h as ChainGrpcWasmApi, i as ChainGrpcTokenFactoryApi, j as ChainGrpcWasmTransformer, k as ChainGrpcPeggyTransformer, l as ChainGrpcTxFeesApi, m as ChainGrpcAuthZApi, n as ChainRestBankApi, o as ChainGrpcPermissionsApi, p as ChainGrpcPeggyApi, r as ChainGrpcInsuranceFundApi, s as ChainGrpcStakingApi, t as ChainRestWasmApi, u as ChainGrpcOracleApi, v as ChainGrpcEvmApi, w as ChainGrpcPermissionsTransformer, x as ChainGrpcInsuranceFundTransformer, y as ChainGrpcIbcApi } from "../chain-phKWVf8c.js";
8
+ import { n as ChainGrpcExchangeTransformer, t as ChainGrpcExchangeApi } from "../ChainGrpcExchangeApi-C-2XsVVs.js";
9
9
  import "../BaseRestConsumer-rK4eS4W8.js";
10
10
 
11
11
  export { BondStatus, ChainGrpcAuctionApi, ChainGrpcAuctionTransformer, ChainGrpcAuthApi, ChainGrpcAuthTransformer, ChainGrpcAuthZApi, ChainGrpcAuthZTransformer, ChainGrpcBankApi, ChainGrpcBankTransformer, ChainGrpcCommonTransformer, ChainGrpcDistributionApi, ChainGrpcDistributionTransformer, ChainGrpcErc20Api, ChainGrpcErc20Transformer, ChainGrpcEvmApi, ChainGrpcEvmTransformer, ChainGrpcExchangeApi, ChainGrpcExchangeTransformer, ChainGrpcGovApi, ChainGrpcGovTransformer, ChainGrpcIbcApi, ChainGrpcInsuranceFundApi, ChainGrpcInsuranceFundTransformer, ChainGrpcMintApi, ChainGrpcMintTransformer, ChainGrpcOracleApi, ChainGrpcPeggyApi, ChainGrpcPeggyTransformer, ChainGrpcPermissionsApi, ChainGrpcPermissionsTransformer, ChainGrpcStakingApi, ChainGrpcStakingTransformer, ChainGrpcTendermintApi, ChainGrpcTokenFactoryApi, ChainGrpcTokenFactoryTransformer, ChainGrpcTxFeesApi, ChainGrpcTxFeesTransformer, ChainGrpcWasmApi, ChainGrpcWasmTransformer, ChainGrpcWasmXApi, ChainModule, ChainRestAuthApi, ChainRestBankApi, ChainRestTendermintApi, ChainRestWasmApi, ContractCodeHistoryOperationTypeMap, GrpcMarketStatusMap, GrpcOrderTypeMap, OracleType, OracleTypeMap, OrderTypeMap, PermissionActionMap, ProposalStatusMap, VoteOptionMap };