@pioneer-platform/pioneer-react 0.2.47 → 0.2.49

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 (57) hide show
  1. package/dist/index.js +198340 -146844
  2. package/dist/{index_0e37f5ff.js → index_0652205a.js} +6 -6
  3. package/dist/{index_f9d1a3bf.js → index_096371b1.js} +3 -1
  4. package/dist/{index_ae6c3b10.js → index_0a5ed442.js} +3 -3
  5. package/dist/{index_e233a036.js → index_0a6e5811.js} +1 -1
  6. package/dist/{index_547d2868.js → index_0b5f5f6a.js} +4 -4
  7. package/dist/index_10812439.js +25 -0
  8. package/dist/{index_4a548214.js → index_1093b1b4.js} +8 -8
  9. package/dist/{index_3a6b0cd3.js → index_169417bf.js} +3 -3
  10. package/dist/{index_e168f4c0.js → index_1d5f0f00.js} +7 -7
  11. package/dist/{index_e57ba5a5.js → index_278505c5.js} +3 -3
  12. package/dist/{index_a4f5a15a.js → index_2845411a.js} +19 -19
  13. package/dist/{index_003befba.js → index_29be6ff5.js} +1122 -1312
  14. package/dist/{index_a6b45215.js → index_2dc95f2a.js} +7 -3
  15. package/dist/{index_6d2a3e5c.js → index_3402bab8.js} +6 -2
  16. package/dist/{index_310b7772.js → index_3c54e5ec.js} +9 -9
  17. package/dist/{index_f9d461d1.js → index_423ea09e.js} +3 -3
  18. package/dist/{index_37894947.js → index_4425b278.js} +3 -3
  19. package/dist/{index_61a33920.js → index_514c608b.js} +6 -6
  20. package/dist/index_51b338c1.js +121 -0
  21. package/dist/{index_0364269a.js → index_5d8426fb.js} +3 -3
  22. package/dist/index_628b22bc.js +11003 -0
  23. package/dist/index_63a883f7.js +446 -0
  24. package/dist/{index_d8e757ba.js → index_654fef3a.js} +3 -3
  25. package/dist/index_691fd636.js +12913 -0
  26. package/dist/{index_674ffbfa.js → index_69b0f47b.js} +9 -9
  27. package/dist/{index_a682c1a8.js → index_6cd7bc1a.js} +3 -1
  28. package/dist/{index_c8ebd6e3.js → index_6ebe4744.js} +900 -900
  29. package/dist/{index_7382dec1.js → index_7f735685.js} +5 -5
  30. package/dist/{index_b3022c1a.js → index_82348f63.js} +5 -5
  31. package/dist/index_849386d3.js +1115 -0
  32. package/dist/{index_85b01410.js → index_8610c3c4.js} +6 -6
  33. package/dist/index_8d6422b9.js +112 -0
  34. package/dist/{index_167c5f7a.js → index_8fd2c24a.js} +3 -3
  35. package/dist/{index_1990afbf.js → index_942c3b80.js} +4 -4
  36. package/dist/index_94b7968d.js +22872 -0
  37. package/dist/index_94d38802.js +2856 -0
  38. package/dist/{index_bd7e0d56.js → index_a5ca5cc4.js} +2 -2
  39. package/dist/{index_f80541a0.js → index_aa71379e.js} +307 -267
  40. package/dist/{index_354cce52.js → index_aa773d39.js} +3 -3
  41. package/dist/{index_29e62962.js → index_b022faaa.js} +4 -4
  42. package/dist/index_b1028d5f.js +65 -0
  43. package/dist/index_c232ca43.js +25 -0
  44. package/dist/{index_f19b5fe5.js → index_c9105338.js} +3 -3
  45. package/dist/{index_7c12bb44.js → index_cebbd50e.js} +1 -1
  46. package/dist/{index_ca633a1c.js → index_d477606a.js} +7 -7
  47. package/dist/index_d8a5e2ef.js +116 -0
  48. package/dist/{index_542dbb9a.js → index_de4af619.js} +4 -4
  49. package/dist/{index_7a1bb0b1.js → index_df47a9c6.js} +8 -8
  50. package/dist/{index_8b9255eb.js → index_e0b32f2f.js} +10 -10
  51. package/dist/{index_b21f58b7.js → index_e2794130.js} +4 -4
  52. package/dist/{index_2cbf1530.js → index_ecce7b22.js} +6 -6
  53. package/dist/{index_3891b298.js → index_f2d68730.js} +1 -1
  54. package/dist/index_f66728ba.js +130 -0
  55. package/dist/{index_f3922fc1.js → index_f8bc80e1.js} +3 -3
  56. package/package.json +19 -18
  57. package/src/lib/context/Pioneer/sdk/connect.ts +11 -11
@@ -1,4 +1,4 @@
1
- import { D, i, b as b$1, q as q$1 } from "./index_f80541a0.js";
1
+ import { L as L$1, i, b as b$1, q as q$1 } from "./index_aa71379e.js";
2
2
  var rt = Object.defineProperty;
3
3
  var st = (n, t, e) => t in n ? rt(n, t, { enumerable: true, configurable: true, writable: true, value: e }) : n[t] = e;
4
4
  var _ = (n, t, e) => (st(n, typeof t != "symbol" ? t + "" : t, e), e), it = (n, t, e) => {
@@ -66,9 +66,9 @@ const Tt = ([n, t, e, r, s]) => `${n}'/${t}'/${e}'/${r}${typeof s != "number" ?
66
66
  }
67
67
  };
68
68
  ({
69
- [D.Average]: 1.2,
70
- [D.Fast]: 1.5,
71
- [D.Fastest]: 2
69
+ [L$1.Average]: 1.2,
70
+ [L$1.Fast]: 1.5,
71
+ [L$1.Fastest]: 2
72
72
  });
73
73
  const mt = ({ chain: n, symbol: t }) => {
74
74
  switch (n) {
@@ -408,8 +408,8 @@ class A extends E {
408
408
  } = await import("./index_8503fb04.js");
409
409
  q = [a, ...Object.values(c)].reduce(
410
410
  (l, { tokens: u }) => (u.forEach(({ identifier: g, chain: $, ...v }) => {
411
- const D2 = "decimals" in v ? v.decimals : b$1[$];
412
- l.set(g, { identifier: g, decimal: D2 });
411
+ const D = "decimals" in v ? v.decimals : b$1[$];
412
+ l.set(g, { identifier: g, decimal: D });
413
413
  }), l),
414
414
  /* @__PURE__ */ new Map()
415
415
  ), e({ ok: true });
@@ -1,4 +1,4 @@
1
- import { r as require$$0, c as commonjsGlobal } from "./index_f80541a0.js";
1
+ import { r as require$$0, c as commonjsGlobal, a as getDefaultExportFromCjs } from "./index_aa71379e.js";
2
2
  var bn = { exports: {} };
3
3
  bn.exports;
4
4
  (function(module) {
@@ -2791,6 +2791,8 @@ bn.exports;
2791
2791
  })(module, commonjsGlobal);
2792
2792
  })(bn);
2793
2793
  var bnExports = bn.exports;
2794
+ const Sg = /* @__PURE__ */ getDefaultExportFromCjs(bnExports);
2794
2795
  export {
2796
+ Sg as S,
2795
2797
  bnExports as b
2796
2798
  };
@@ -1,6 +1,6 @@
1
- import { f, g, I, V, j, U, i, k, q, m, s, p, n, r, G, u, O, v, w, y, H, z, C, D, F, L, N, R, T, W, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd } from "./index_674ffbfa.js";
2
- import "./index_0e37f5ff.js";
3
- import "./index_f80541a0.js";
1
+ import { f, g, I, V, j, U, i, k, q, m, s, p, n, r, G, u, O, v, w, y, H, z, C, D, F, L, N, R, T, W, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd } from "./index_69b0f47b.js";
2
+ import "./index_0652205a.js";
3
+ import "./index_aa71379e.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -27,7 +27,7 @@ var __privateMethod = (obj, member, method) => {
27
27
  return method;
28
28
  };
29
29
  var _r, _s, _v, _networkV, _privateKey, _type, _to, _data, _nonce, _gasLimit, _gasPrice, _maxPriorityFeePerGas, _maxFeePerGas, _value, _chainId, _sig, _accessList, _transactions, _logs, _startBlock, _throwUnsupported, throwUnsupported_fn;
30
- import { e as crypto } from "./index_f80541a0.js";
30
+ import { h as crypto } from "./index_aa71379e.js";
31
31
  function number(n) {
32
32
  if (!Number.isSafeInteger(n) || n < 0)
33
33
  throw new Error(`Wrong positive integer: ${n}`);
@@ -1,10 +1,10 @@
1
- import { n as Sc, s as Zn$1, T as Ql, o as S4, R as kp, t as x4, a as Ot$1, y as di$1, p as ir$1 } from "./index_542dbb9a.js";
2
- import { d as dist } from "./index_310b7772.js";
3
- import "./index_f80541a0.js";
1
+ import { n as Sc, s as Zn$1, T as Ql, o as S4, R as kp, t as x4, a as Ot$1, y as di$1, p as ir$1 } from "./index_de4af619.js";
2
+ import { d as dist } from "./index_3c54e5ec.js";
3
+ import "./index_aa71379e.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
7
- import "./index_e233a036.js";
7
+ import "./index_0a6e5811.js";
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2019 Google LLC
@@ -0,0 +1,25 @@
1
+ var o = 0, e = [], d = function(r, n, i) {
2
+ var t = {
3
+ type: r,
4
+ id: String(++o),
5
+ date: /* @__PURE__ */ new Date()
6
+ };
7
+ n && (t.message = n), i && (t.data = i), f(t);
8
+ }, a = function(r) {
9
+ return e.push(r), function() {
10
+ var n = e.indexOf(r);
11
+ n !== -1 && (e[n] = e[e.length - 1], e.pop());
12
+ };
13
+ };
14
+ function f(r) {
15
+ for (var n = 0; n < e.length; n++)
16
+ try {
17
+ e[n](r);
18
+ } catch (i) {
19
+ console.error(i);
20
+ }
21
+ }
22
+ typeof window < "u" && (window.__ledgerLogsListen = a);
23
+ export {
24
+ d
25
+ };
@@ -1,6 +1,6 @@
1
- import { r as re } from "./index_7a1bb0b1.js";
2
- import { A as A$1 } from "./index_0e37f5ff.js";
3
- import "./index_f80541a0.js";
1
+ import { r as re } from "./index_df47a9c6.js";
2
+ import { A as A$1 } from "./index_0652205a.js";
3
+ import "./index_aa71379e.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -20231,7 +20231,7 @@ class CosmosClient {
20231
20231
  }) => {
20232
20232
  if (!F)
20233
20233
  throw new Error("Signer not defined");
20234
- const { SigningStargateClient: Y } = await import("./index_ca633a1c.js").then((J) => J.i);
20234
+ const { SigningStargateClient: Y } = await import("./index_d477606a.js").then((J) => J.i);
20235
20235
  return (await (await Y.connectWithSigner(this.rpcUrl, F)).sendTokens(
20236
20236
  h,
20237
20237
  P,
@@ -20240,10 +20240,10 @@ class CosmosClient {
20240
20240
  $
20241
20241
  )).transactionHash;
20242
20242
  }), tt(this, Zr, async () => {
20243
- const { StargateClient: h } = await import("./index_ca633a1c.js").then((P) => P.i);
20243
+ const { StargateClient: h } = await import("./index_d477606a.js").then((P) => P.i);
20244
20244
  return await h.connect(this.rpcUrl);
20245
20245
  }), tt(this, Xr, async (h, P) => {
20246
- const { Secp256k1HdWallet: v } = await import("./index_b3022c1a.js").then((g) => g.i), { stringToPath: $ } = await import("./index_1990afbf.js").then((g) => g.i);
20246
+ const { Secp256k1HdWallet: v } = await import("./index_82348f63.js").then((g) => g.i), { stringToPath: $ } = await import("./index_942c3b80.js").then((g) => g.i);
20247
20247
  return await v.fromMnemonic(h, {
20248
20248
  prefix: this.prefix,
20249
20249
  hdPaths: [$(P)]
@@ -20341,14 +20341,14 @@ const O$1 = (u85) => ("recipientAddress" in u85 && u85.recipientAddress && (u85.
20341
20341
  }) => ({
20342
20342
  transfer: c.transfer,
20343
20343
  getSigner: async (l) => {
20344
- const { DirectSecp256k1HdWallet: m } = await import("./index_61a33920.js").then((h) => h.i), { stringToPath: q } = await import("./index_1990afbf.js").then((h) => h.i);
20344
+ const { DirectSecp256k1HdWallet: m } = await import("./index_514c608b.js").then((h) => h.i), { stringToPath: q } = await import("./index_942c3b80.js").then((h) => h.i);
20345
20345
  return m.fromMnemonic(l, {
20346
20346
  prefix: c.prefix,
20347
20347
  hdPaths: [q(`${u85}/0`)]
20348
20348
  });
20349
20349
  },
20350
20350
  getSignerFromPrivateKey: async (l) => {
20351
- const { DirectSecp256k1Wallet: m } = await import("./index_61a33920.js").then((q) => q.i);
20351
+ const { DirectSecp256k1Wallet: m } = await import("./index_514c608b.js").then((q) => q.i);
20352
20352
  return m.fromKey(l, c.prefix);
20353
20353
  },
20354
20354
  getAccount: c.getAccount,
@@ -1,6 +1,6 @@
1
- import { S, Y, X, o, t, e, M, P, B, a, A, l, K, J, _, x, d, h, b, Z, E, c, Q } from "./index_674ffbfa.js";
2
- import "./index_0e37f5ff.js";
3
- import "./index_f80541a0.js";
1
+ import { S, Y, X, o, t, e, M, P, B, a, A, l, K, J, _, x, d, h, b, Z, E, c, Q } from "./index_69b0f47b.js";
2
+ import "./index_0652205a.js";
3
+ import "./index_aa71379e.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -1,6 +1,6 @@
1
- import { g as global } from "./index_f80541a0.js";
2
- import { T as Tt$1, b as bt$1 } from "./index_0e37f5ff.js";
3
- import { A as AbstractSigner } from "./index_e233a036.js";
1
+ import { g as global } from "./index_aa71379e.js";
2
+ import { T as Tt$1, b as bt$1 } from "./index_0652205a.js";
3
+ import { A as AbstractSigner } from "./index_0a6e5811.js";
4
4
  import "react";
5
5
  import "@chakra-ui/react";
6
6
  import "react-dom";
@@ -23947,7 +23947,7 @@ class gs extends AbstractSigner {
23947
23947
  throw new Error("Missing maxFeePerGas");
23948
23948
  if (!l && !o)
23949
23949
  throw new Error("Missing gasPrice");
23950
- const { toHexString: h } = await import("./index_3a6b0cd3.js"), v = {
23950
+ const { toHexString: h } = await import("./index_169417bf.js"), v = {
23951
23951
  from: (s5 == null ? void 0 : s5.toString()) || await this.getAddress(),
23952
23952
  chainId: parseInt(Lp[this.chain], 16),
23953
23953
  to: n5.toString(),
@@ -23967,7 +23967,7 @@ class gs extends AbstractSigner {
23967
23967
  });
23968
23968
  if (!p.success)
23969
23969
  throw new Error(p.payload.error);
23970
- const { r: _, s: x, v: R } = p.payload, { Transaction: B } = await import("./index_f19b5fe5.js"), O = B.from({
23970
+ const { r: _, s: x, v: R } = p.payload, { Transaction: B } = await import("./index_c9105338.js"), O = B.from({
23971
23971
  ...v,
23972
23972
  nonce: parseInt(v.nonce),
23973
23973
  type: l ? 2 : 0,
@@ -24029,7 +24029,7 @@ const M3 = async ({
24029
24029
  throw new Error("Ethplorer API key not found");
24030
24030
  if (n !== je.Ethereum && !s)
24031
24031
  throw new Error("Covalent API key not found");
24032
- const { getProvider: f, ETHToolbox: c, AVAXToolbox: a, BSCToolbox: o } = await import("./index_3a6b0cd3.js"), l = f(n, t), h = await A3({ chain: n, derivationPath: xl(r), provider: l }), v = await h.getAddress(), p = { api: e5, signer: h, provider: l }, _ = n === je.Ethereum ? c({ ...p, ethplorerApiKey: i }) : (n === je.Avalanche ? a : o)({
24032
+ const { getProvider: f, ETHToolbox: c, AVAXToolbox: a, BSCToolbox: o } = await import("./index_169417bf.js"), l = f(n, t), h = await A3({ chain: n, derivationPath: xl(r), provider: l }), v = await h.getAddress(), p = { api: e5, signer: h, provider: l }, _ = n === je.Ethereum ? c({ ...p, ethplorerApiKey: i }) : (n === je.Avalanche ? a : o)({
24033
24033
  ...p,
24034
24034
  covalentApiKey: s
24035
24035
  });
@@ -24041,7 +24041,7 @@ const M3 = async ({
24041
24041
  case je.Litecoin: {
24042
24042
  if (!u && !e5)
24043
24043
  throw new Error("UTXO API key not found");
24044
- const f = n.toLowerCase(), { BTCToolbox: c, BCHToolbox: a, LTCToolbox: o, DOGEToolbox: l } = await import("./index_167c5f7a.js");
24044
+ const f = n.toLowerCase(), { BTCToolbox: c, BCHToolbox: a, LTCToolbox: o, DOGEToolbox: l } = await import("./index_8fd2c24a.js");
24045
24045
  let h = xl(r);
24046
24046
  const v = h[0] === 84 ? { input: "SPENDWITNESS", output: "PAYTOWITNESS" } : h[0] === 49 ? { input: "SPENDP2SHWITNESS", output: "PAYTOP2SHWITNESS" } : h[0] === 44 ? { input: "SPENDADDRESS", output: "PAYTOADDRESS" } : void 0;
24047
24047
  if (!v)
@@ -1,9 +1,9 @@
1
- import { j as commonjsGlobal, N as bnExports$1, x as requireElliptic, q as dist, O as requireCryptoBrowserify, r as build, P as getAugmentedNamespace } from "./index_a4f5a15a.js";
2
- import "./index_f80541a0.js";
1
+ import { j as commonjsGlobal, N as bnExports$1, x as requireElliptic, q as dist, O as requireCryptoBrowserify, r as build, P as getAugmentedNamespace } from "./index_2845411a.js";
2
+ import "./index_aa71379e.js";
3
3
  import "react";
4
4
  import "@chakra-ui/react";
5
5
  import "react-dom";
6
- import "./index_0e37f5ff.js";
6
+ import "./index_0652205a.js";
7
7
  const __dirname = "/Users/highlander/WebstormProjects/pioneer-react-v2/node_modules/.pnpm/@coinmasters+toolbox-cosmos@3.0.0_@coinmasters+helpers@3.0.0/node_modules/@coinmasters/toolbox-cosmos/dist";
8
8
  function zi(O, q) {
9
9
  for (var nA = 0; nA < q.length; nA++) {
@@ -1,5 +1,5 @@
1
- import { g as global } from "./index_f80541a0.js";
2
- import { A as A$1, b as bt$1, y as yt, c as ct } from "./index_0e37f5ff.js";
1
+ import { g as global } from "./index_aa71379e.js";
2
+ import { A as A$1, b as bt$1, y as yt, c as ct } from "./index_0652205a.js";
3
3
  var nt = Object.defineProperty;
4
4
  var at = (u85, c, h) => c in u85 ? nt(u85, c, { enumerable: true, configurable: true, writable: true, value: h }) : u85[c] = h;
5
5
  var qr = (u85, c, h) => (at(u85, typeof c != "symbol" ? c + "" : c, h), h), ot = (u85, c, h) => {
@@ -20385,7 +20385,7 @@ const sha256 = (u85) => {
20385
20385
  const c = cryptoJsExports.enc.Hex.parse(u85);
20386
20386
  return cryptoJsExports.SHA256(c).toString();
20387
20387
  }, generatePubKey = (u85) => new ellipticExports.ec("secp256k1").keyFromPrivate(u85).getPublic(), generateSignature = async (u85, c) => {
20388
- const h = await import("./index_0364269a.js").then((q) => q.j), v = sha256(u85), m = dist.Buffer.from(v, "hex");
20388
+ const h = await import("./index_5d8426fb.js").then((q) => q.j), v = sha256(u85), m = dist.Buffer.from(v, "hex");
20389
20389
  return h.sign(
20390
20390
  m,
20391
20391
  typeof c == "string" ? dist.Buffer.from(c, "hex") : c
@@ -20482,7 +20482,7 @@ const getDenom = (u85, c = false) => c ? u85.toLowerCase() : u85, createCosmJS =
20482
20482
  offlineSigner: u85,
20483
20483
  rpcUrl: c
20484
20484
  }) => {
20485
- const { SigningStargateClient: h, GasPrice: v } = await import("./index_2cbf1530.js").then((m) => m.i);
20485
+ const { SigningStargateClient: h, GasPrice: v } = await import("./index_ecce7b22.js").then((m) => m.i);
20486
20486
  return h.connectWithSigner(c || I$2.Cosmos, u85, {
20487
20487
  gasPrice: v.fromString("0.0003uatom")
20488
20488
  });
@@ -20557,7 +20557,7 @@ class CosmosClient {
20557
20557
  }) => {
20558
20558
  if (!q)
20559
20559
  throw new Error("Signer not defined");
20560
- const { SigningStargateClient: g } = await import("./index_2cbf1530.js").then(($) => $.i);
20560
+ const { SigningStargateClient: g } = await import("./index_ecce7b22.js").then(($) => $.i);
20561
20561
  return (await (await g.connectWithSigner(this.rpcUrl, q)).sendTokens(
20562
20562
  c2,
20563
20563
  h2,
@@ -20567,11 +20567,11 @@ class CosmosClient {
20567
20567
  )).transactionHash;
20568
20568
  });
20569
20569
  tt(this, Zr, async () => {
20570
- const { StargateClient: c2 } = await import("./index_2cbf1530.js").then((h2) => h2.i);
20570
+ const { StargateClient: c2 } = await import("./index_ecce7b22.js").then((h2) => h2.i);
20571
20571
  return await c2.connect(this.rpcUrl);
20572
20572
  });
20573
20573
  tt(this, Xr, async (c2, h2) => {
20574
- const { Secp256k1HdWallet: v2 } = await import("./index_29e62962.js").then((l) => l.i), { stringToPath: m2 } = await import("./index_e57ba5a5.js").then((l) => l.i);
20574
+ const { Secp256k1HdWallet: v2 } = await import("./index_b022faaa.js").then((l) => l.i), { stringToPath: m2 } = await import("./index_278505c5.js").then((l) => l.i);
20575
20575
  return await v2.fromMnemonic(c2, {
20576
20576
  prefix: this.prefix,
20577
20577
  hdPaths: [m2(h2)]
@@ -20670,14 +20670,14 @@ const O$1 = (u85) => ("recipientAddress" in u85 && u85.recipientAddress && (u85.
20670
20670
  }) => ({
20671
20671
  transfer: c.transfer,
20672
20672
  getSigner: async (h) => {
20673
- const { DirectSecp256k1HdWallet: v } = await import("./index_7382dec1.js").then((l) => l.i), { stringToPath: m } = await import("./index_e57ba5a5.js").then((l) => l.i);
20673
+ const { DirectSecp256k1HdWallet: v } = await import("./index_7f735685.js").then((l) => l.i), { stringToPath: m } = await import("./index_278505c5.js").then((l) => l.i);
20674
20674
  return v.fromMnemonic(h, {
20675
20675
  prefix: c.prefix,
20676
20676
  hdPaths: [m(`${u85}/0`)]
20677
20677
  });
20678
20678
  },
20679
20679
  getSignerFromPrivateKey: async (h) => {
20680
- const { DirectSecp256k1Wallet: v } = await import("./index_7382dec1.js").then((m) => m.i);
20680
+ const { DirectSecp256k1Wallet: v } = await import("./index_7f735685.js").then((m) => m.i);
20681
20681
  return v.fromKey(h, c.prefix);
20682
20682
  },
20683
20683
  getAccount: c.getAccount,
@@ -20777,7 +20777,7 @@ const O$1 = (u85) => ("recipientAddress" in u85 && u85.recipientAddress && (u85.
20777
20777
  const { transaction: c, signMsg: h } = await createTransactionAndSignMsg(u85), v = dist.Buffer.from(u85.privkey).toString("hex"), m = await c.sign(v, h);
20778
20778
  return (q = (await sendRawTransaction(m.serialize(), true))[0]) == null ? void 0 : q.hash;
20779
20779
  }, createKeyPair = async (u85) => {
20780
- const { Bip39: c, EnglishMnemonic: h, Slip10: v, Slip10Curve: m, stringToPath: l } = await import("./index_e57ba5a5.js").then(($) => $.i), q = l(`${B$1.BNB}/0`), g = new h(u85), P = await c.mnemonicToSeed(g), { privkey: F } = v.derivePath(m.Secp256k1, P, q);
20780
+ const { Bip39: c, EnglishMnemonic: h, Slip10: v, Slip10Curve: m, stringToPath: l } = await import("./index_278505c5.js").then(($) => $.i), q = l(`${B$1.BNB}/0`), g = new h(u85), P = await c.mnemonicToSeed(g), { privkey: F } = v.derivePath(m.Secp256k1, P, q);
20781
20781
  return F;
20782
20782
  }, getPublicKey = (u85) => new ellipticExports.ec("secp256k1").keyFromPublic(u85, "hex").getPublic(), BinanceToolbox = ({ stagenet: u85 } = {}) => {
20783
20783
  const c = new CosmosClient({
@@ -24075,20 +24075,20 @@ const getDefaultChainFee = (u85) => {
24075
24075
  };
24076
24076
  }
24077
24077
  }, secp256k1HdWalletFromMnemonic = ({ prefix: u85, derivationPath: c }) => async (h, v = 0) => {
24078
- const { Secp256k1HdWallet: m } = await import("./index_29e62962.js").then((q) => q.i), { stringToPath: l } = await import("./index_e57ba5a5.js").then((q) => q.i);
24078
+ const { Secp256k1HdWallet: m } = await import("./index_b022faaa.js").then((q) => q.i), { stringToPath: l } = await import("./index_278505c5.js").then((q) => q.i);
24079
24079
  return m.fromMnemonic(h, {
24080
24080
  hdPaths: [l(`${c}/${v}`)],
24081
24081
  prefix: u85
24082
24082
  });
24083
24083
  }, createDefaultRegistry = async () => {
24084
- const u85 = await import("./index_f9d461d1.js"), { Registry: c } = await import("./index_7382dec1.js").then((v) => v.i), { defaultRegistryTypes: h } = await import("./index_2cbf1530.js").then((v) => v.i);
24084
+ const u85 = await import("./index_423ea09e.js"), { Registry: c } = await import("./index_7f735685.js").then((v) => v.i), { defaultRegistryTypes: h } = await import("./index_ecce7b22.js").then((v) => v.i);
24085
24085
  return new c([
24086
24086
  ...h,
24087
24087
  ["/types.MsgSend", { ...u85.default.types.MsgSend }],
24088
24088
  ["/types.MsgDeposit", { ...u85.default.types.MsgDeposit }]
24089
24089
  ]);
24090
24090
  }, createDefaultAminoTypes = async () => {
24091
- const { AminoTypes: u85 } = await import("./index_2cbf1530.js").then((c) => c.i);
24091
+ const { AminoTypes: u85 } = await import("./index_ecce7b22.js").then((c) => c.i);
24092
24092
  return new u85({
24093
24093
  "/types.MsgSend": {
24094
24094
  aminoType: "thorchain/MsgSend",
@@ -24118,7 +24118,7 @@ const getDefaultChainFee = (u85) => {
24118
24118
  }
24119
24119
  });
24120
24120
  }, exportSignature = (u85) => base64$2.encode(u85), signMultisigTx = async (u85, c) => {
24121
- const { msgs: h, accountNumber: v, sequence: m, chainId: l, fee: q, memo: g } = JSON.parse(c), P = (await u85.getAccounts())[0].address, { SigningStargateClient: F } = await import("./index_2cbf1530.js").then((Y) => Y.i), $ = await F.offline(u85, {
24121
+ const { msgs: h, accountNumber: v, sequence: m, chainId: l, fee: q, memo: g } = JSON.parse(c), P = (await u85.getAccounts())[0].address, { SigningStargateClient: F } = await import("./index_ecce7b22.js").then((Y) => Y.i), $ = await F.offline(u85, {
24122
24122
  registry: await createDefaultRegistry(),
24123
24123
  aminoTypes: await createDefaultAminoTypes()
24124
24124
  }), {
@@ -24142,7 +24142,7 @@ const getDefaultChainFee = (u85) => {
24142
24142
  const { sequence: q, fee: g } = JSON.parse(h), P = await createMultisig(
24143
24143
  v.map((ae) => ae.pubKey),
24144
24144
  m
24145
- ), { pubkeyToAddress: F, encodeSecp256k1Pubkey: $ } = await import("./index_29e62962.js").then((ae) => ae.i), { StargateClient: J, makeMultisignedTx: W } = await import("./index_2cbf1530.js").then((ae) => ae.i), Y = v.map((ae) => [
24145
+ ), { pubkeyToAddress: F, encodeSecp256k1Pubkey: $ } = await import("./index_b022faaa.js").then((ae) => ae.i), { StargateClient: J, makeMultisignedTx: W } = await import("./index_ecce7b22.js").then((ae) => ae.i), Y = v.map((ae) => [
24146
24146
  F($(base64$2.decode(ae.pubKey)), u85),
24147
24147
  base64$2.decode(ae.signature)
24148
24148
  ]), Q = await J.connect(c), ne = W(
@@ -24156,13 +24156,13 @@ const getDefaultChainFee = (u85) => {
24156
24156
  );
24157
24157
  return ee;
24158
24158
  }, createMultisig = async (u85, c) => {
24159
- const { encodeSecp256k1Pubkey: h, createMultisigThresholdPubkey: v } = await import("./index_29e62962.js").then((m) => m.i);
24159
+ const { encodeSecp256k1Pubkey: h, createMultisigThresholdPubkey: v } = await import("./index_b022faaa.js").then((m) => m.i);
24160
24160
  return v(
24161
24161
  u85.map((m) => h(base64$2.decode(m))),
24162
24162
  c
24163
24163
  );
24164
24164
  }, importSignature = (u85) => base64$2.decode(u85), __REEXPORT__pubkeyToAddress = (u85) => async (c) => {
24165
- const { pubkeyToAddress: h } = await import("./index_29e62962.js").then((v) => v.i);
24165
+ const { pubkeyToAddress: h } = await import("./index_b022faaa.js").then((v) => v.i);
24166
24166
  return h(c, u85);
24167
24167
  }, BaseThorchainToolbox = ({ chain: u85, stagenet: c }) => {
24168
24168
  const h = u85 === i$1.THORChain, v = h ? T$2.THORChain : T$2.Maya, m = c ? x$1.ThornodeStagenet : x$1.ThornodeMainnet, l = `${c ? "s" : ""}${u85.toLowerCase()}`, q = B$1[u85], g = getRPC(v, c), P = new CosmosClient({ server: m, chainId: v, prefix: l, stagenet: c }), F = getDefaultChainFee(u85), $ = BaseCosmosToolbox({ client: P, derivationPath: q, decimal: b$1[u85] }), J = async (ne) => {
@@ -24177,7 +24177,7 @@ const getDefaultChainFee = (u85) => {
24177
24177
  deposit: async ({ signer: ne, assetValue: ee, memo: ae, from: ue }) => {
24178
24178
  if (!ne)
24179
24179
  throw new Error("Signer not defined");
24180
- const { SigningStargateClient: le } = await import("./index_2cbf1530.js").then((se) => se.i), ve = await le.connectWithSigner(g, ne, {
24180
+ const { SigningStargateClient: le } = await import("./index_ecce7b22.js").then((se) => se.i), ve = await le.connectWithSigner(g, ne, {
24181
24181
  registry: await createDefaultRegistry()
24182
24182
  }), Se = {
24183
24183
  typeUrl: "/types.MsgDeposit",
@@ -24209,7 +24209,7 @@ const getDefaultChainFee = (u85) => {
24209
24209
  }) => {
24210
24210
  if (!ve)
24211
24211
  throw new Error("Signer not defined");
24212
- const { SigningStargateClient: Se } = await import("./index_2cbf1530.js").then((xe) => xe.i), Me = await Se.connectWithSigner(g, ve, {
24212
+ const { SigningStargateClient: Se } = await import("./index_ecce7b22.js").then((xe) => xe.i), Me = await Se.connectWithSigner(g, ve, {
24213
24213
  registry: await createDefaultRegistry()
24214
24214
  }), se = {
24215
24215
  typeUrl: "/types.MsgSend",