@pioneer-platform/pioneer-react 0.2.42 → 0.2.45
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.
- package/dist/index.d.ts +3 -8
- package/dist/index.js +18 -16
- package/dist/{index_2ae7b728.js → index_00dd884e.js} +5 -6
- package/dist/{index_d62adee3.js → index_089e7234.js} +1 -1
- package/dist/{index_6fc14522.js → index_1a6a5598.js} +5 -6
- package/dist/{index_5cbed275.js → index_1afbfab1.js} +246 -4473
- package/dist/{index_f59a43d2.js → index_2149ed8d.js} +8 -8
- package/dist/{index_7f071019.js → index_25e511bb.js} +15 -15
- package/dist/{index_b2be5e4e.js → index_28e5444b.js} +3 -4
- package/dist/{index_f575e7b4.js → index_31d055bf.js} +8 -9
- package/dist/{index_ebeabe97.js → index_3433fe56.js} +3 -4
- package/dist/{index_318d1d68.js → index_3ed7e242.js} +28 -28
- package/dist/{index_0d526d38.js → index_3fea9d52.js} +19 -19
- package/dist/{index_47b407db.js → index_40cbc1cb.js} +4 -5
- package/dist/{index_7d621758.js → index_40f2115a.js} +3 -4
- package/dist/{index_ed259edc.js → index_47217799.js} +5 -6
- package/dist/{index_5d556ec6.js → index_51bbd44a.js} +3 -4
- package/dist/{index_8e0864da.js → index_53605da3.js} +2 -2
- package/dist/{index_45b009da.js → index_5c12821e.js} +10 -11
- package/dist/{index_9fef85a2.js → index_5dc59e18.js} +3 -4
- package/dist/{index_ac8af4f0.js → index_61702928.js} +3 -4
- package/dist/{index_4b36612f.js → index_64ff18e7.js} +1 -1
- package/dist/{index_13b1e6a1.js → index_65017d87.js} +1 -1
- package/dist/{index_b752bc5a.js → index_6becad0b.js} +13 -13
- package/dist/{index_89463ea0.js → index_740490f1.js} +4 -5
- package/dist/{index_de955e45.js → index_75f700d8.js} +4 -5
- package/dist/{index_e525ec6b.js → index_7640e861.js} +8 -453
- package/dist/{index_d85153be.js → index_7c11b3c7.js} +3 -3
- package/dist/{index_61bfdb70.js → index_7c574e7d.js} +8 -9
- package/dist/{index_97f1ff39.js → index_7ddfebf7.js} +14 -14
- package/dist/{index_e47e2842.js → index_81dd7d0f.js} +7 -8
- package/dist/{index_a005a882.js → index_87afedd4.js} +8 -8
- package/dist/{index_0bbcbffb.js → index_87d14dd6.js} +6 -7
- package/dist/{index_aa947e34.js → index_9346dd3d.js} +7 -7
- package/dist/{index_70cc14bd.js → index_96d5aad1.js} +1223 -40
- package/dist/{index_ff288a7a.js → index_97081f9b.js} +7 -8
- package/dist/{index_4c07ec7c.js → index_9c378228.js} +11 -13
- package/dist/{index_54e4e367.js → index_a96dcbb2.js} +13 -13
- package/dist/{index_265bb459.js → index_a9d0b958.js} +29 -52
- package/dist/{index_d869d4f8.js → index_abaa7487.js} +6 -7
- package/dist/{index_d90e262e.js → index_b1b7d385.js} +13 -13
- package/dist/index_b4b501fc.js +449 -0
- package/dist/index_b62d8ff4.js +30 -0
- package/dist/{index_81d780b7.js → index_b6e5a809.js} +1 -1
- package/dist/{index_6424cb67.js → index_bd7bbccf.js} +2 -4
- package/dist/{index_381aee34.js → index_c2bc068c.js} +1 -1
- package/dist/{index_7861fcf0.js → index_c587fd1b.js} +3 -4
- package/dist/{index_239b8e07.js → index_c8c2dada.js} +1 -1
- package/dist/{index_bfa7b443.js → index_d26b5754.js} +7 -8
- package/dist/{index_015b6eba.js → index_d77fc157.js} +6154 -32027
- package/dist/{index_e4776b9a.js → index_db264e60.js} +13 -13
- package/dist/{index_2143ad7f.js → index_f044b02a.js} +1 -1
- package/dist/{index_1d49c612.js → index_fad80d95.js} +4 -5
- package/dist/lib/components/pioneer/Pioneer/Balances.js +4 -4
- package/dist/lib/components/pioneer/Pioneer/Paths.js +4 -4
- package/dist/lib/components/pioneer/Pioneer/Pubkeys.js +4 -4
- package/dist/lib/components/pioneer/Pioneer/Send.js +1 -1
- package/dist/lib/components/pioneer/Pioneer/Wallets.js +1 -1
- package/dist/lib/components/pioneer/index.js +7 -7
- package/dist/lib/pages/home/index.js +2 -9
- package/package.json +2 -2
- package/src/index.tsx +21 -21
- package/src/lib/components/pioneer/Pioneer/Balances.tsx +4 -4
- package/src/lib/components/pioneer/Pioneer/Paths.tsx +4 -4
- package/src/lib/components/pioneer/Pioneer/Pubkeys.tsx +4 -4
- package/src/lib/components/pioneer/Pioneer/Send.tsx +1 -1
- package/src/lib/components/pioneer/Pioneer/Wallets.tsx +2 -2
- package/src/lib/components/pioneer/index.tsx +6 -41
- package/src/lib/pages/home/index.tsx +5 -5
- package/dist/index_bbcb3c14.js +0 -31
- package/dist/lib/components/AssetSelect/index.d.ts +0 -4
- package/dist/lib/components/AssetSelect/index.js +0 -72
- package/dist/lib/components/BlockchainSelect/index.d.ts +0 -4
- package/dist/lib/components/BlockchainSelect/index.js +0 -88
- package/dist/lib/components/MiddleEllipsis/index.d.ts +0 -6
- package/dist/lib/components/MiddleEllipsis/index.js +0 -12
- package/dist/lib/components/Onboarding/index.d.ts +0 -6
- package/dist/lib/components/Onboarding/index.js +0 -113
- package/dist/lib/components/WalletSelect/index.d.ts +0 -4
- package/dist/lib/components/WalletSelect/index.js +0 -62
- package/dist/lib/components/modals/AssetModal.d.ts +0 -7
- package/dist/lib/components/modals/AssetModal.js +0 -28
- package/dist/lib/components/modals/SettingsModal.d.ts +0 -7
- package/dist/lib/components/modals/SettingsModal.js +0 -33
- package/src/lib/components/AssetSelect/index.tsx +0 -168
- package/src/lib/components/BlockchainSelect/index.tsx +0 -166
- package/src/lib/components/MiddleEllipsis/index.tsx +0 -27
- package/src/lib/components/Onboarding/index.tsx +0 -251
- package/src/lib/components/WalletSelect/index.tsx +0 -112
- package/src/lib/components/modals/AssetModal.tsx +0 -67
- package/src/lib/components/modals/SettingsModal.tsx +0 -95
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { d as dist, E as EventEmitter$1 } from "./
|
|
1
|
+
import { d as dist, E as EventEmitter$1 } from "./index_a9d0b958.js";
|
|
2
2
|
import { TransportInterfaceNotAvailable as A, DisconnectedDeviceDuringOperation as N, TransportWebUSBGestureRequired as u, TransportOpenUserCancelled as C$1, TransportError as U, TransportStatusError as I, StatusCodes as E, TransportRaceCondition as d$1, DisconnectedDevice as x } from "./index_d8a5e2ef.js";
|
|
3
|
-
import { identifyUSBProductId as z$1, ledgerUSBVendorId as k } from "./
|
|
3
|
+
import { identifyUSBProductId as z$1, ledgerUSBVendorId as k } from "./index_6becad0b.js";
|
|
4
4
|
import { d } from "./index_10812439.js";
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
5
|
+
import "./index_f044b02a.js";
|
|
6
|
+
import "./index_b4b501fc.js";
|
|
7
|
+
import "./index_bd7bbccf.js";
|
|
8
|
+
import "./index_1afbfab1.js";
|
|
9
|
+
import "./index_64ff18e7.js";
|
|
10
|
+
import "./index_7640e861.js";
|
|
11
|
+
import "./index_53605da3.js";
|
|
12
|
+
import "./index_65017d87.js";
|
|
13
|
+
import "./index_c2bc068c.js";
|
|
13
14
|
import "./index_86436d56.js";
|
|
14
|
-
import "./
|
|
15
|
+
import "./index_d77fc157.js";
|
|
15
16
|
import "react";
|
|
16
17
|
import "@chakra-ui/react";
|
|
17
|
-
import "
|
|
18
|
-
import "./
|
|
19
|
-
import "./index_70cc14bd.js";
|
|
18
|
+
import "./index_7c11b3c7.js";
|
|
19
|
+
import "./index_96d5aad1.js";
|
|
20
20
|
var g = globalThis && globalThis.__awaiter || function(u2, e, n, t) {
|
|
21
21
|
function s(o) {
|
|
22
22
|
return o instanceof n ? o : new n(function(i) {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { g as global } from "./index_86436d56.js";
|
|
2
|
-
import { G as GaiaToolbox, T as ThorchainToolbox } from "./
|
|
3
|
-
import "./
|
|
4
|
-
import { S as SN, O as ON, T as TN, A as AN } from "./
|
|
5
|
-
import { x as xB, Y as YM, M as MB, B as BB, S as SB, X as XM, e as eB } from "./
|
|
6
|
-
import "./
|
|
2
|
+
import { G as GaiaToolbox, T as ThorchainToolbox } from "./index_3ed7e242.js";
|
|
3
|
+
import "./index_64ff18e7.js";
|
|
4
|
+
import { S as SN, O as ON, T as TN, A as AN } from "./index_3fea9d52.js";
|
|
5
|
+
import { x as xB, Y as YM, M as MB, B as BB, S as SB, X as XM, e as eB } from "./index_87afedd4.js";
|
|
6
|
+
import "./index_d77fc157.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "@chakra-ui/react";
|
|
9
|
-
|
|
10
|
-
const __dirname = "/Users/highlander/WebstormProjects/pioneer-react-v2/node_modules/.pnpm/registry.npmjs.org+@coinmasters+wallet-metamask@2.0.0_@babel+core@7.23.2_@coinmasters+toolbox_me5zsvmz45anjou2oubrt32opi/node_modules/@coinmasters/wallet-metamask/dist";
|
|
9
|
+
const __dirname = "/Users/highlander/WebstormProjects/pioneer-react-v2/node_modules/.pnpm/@coinmasters+wallet-metamask@2.0.0_@babel+core@7.23.2_@coinmasters+toolbox-cosmos@3.0.0_@coin_n66clrj2ydqimsdmabrk4w5r4m/node_modules/@coinmasters/wallet-metamask/dist";
|
|
11
10
|
var mg = Object.defineProperty;
|
|
12
11
|
var _g = (e107, n, a) => n in e107 ? mg(e107, n, { enumerable: true, configurable: true, writable: true, value: a }) : e107[n] = a;
|
|
13
12
|
var An = (e107, n, a) => (_g(e107, typeof n != "symbol" ? n + "" : n, a), a), fd = (e107, n, a) => {
|
|
@@ -54591,7 +54590,7 @@ class MetaMaskSigner extends AbstractSigner {
|
|
|
54591
54590
|
throw new Error("Missing maxFeePerGas");
|
|
54592
54591
|
if (!J && !N)
|
|
54593
54592
|
throw new Error("Missing gasPrice");
|
|
54594
|
-
const { toHexString: C } = await import("./
|
|
54593
|
+
const { toHexString: C } = await import("./index_3433fe56.js"), k = "0x" + BigInt(_ || await this.provider.getTransactionCount(await this.getAddress(), "pending")).toString(16);
|
|
54595
54594
|
console.log("value: ", d2);
|
|
54596
54595
|
let V = {
|
|
54597
54596
|
gas: C(BigInt(h2)),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as global } from "./index_86436d56.js";
|
|
2
|
-
import { A, b as bt, y as yt, G, M as Mt$1, m as mt } from "./
|
|
2
|
+
import { A, b as bt, y as yt, G, M as Mt$1, m as mt } from "./index_64ff18e7.js";
|
|
3
3
|
var Uv = Object.defineProperty;
|
|
4
4
|
var Fv = (t10, e, r) => e in t10 ? Uv(t10, e, { enumerable: true, configurable: true, writable: true, value: r }) : t10[e] = r;
|
|
5
5
|
var Y = (t10, e, r) => (Fv(t10, typeof e != "symbol" ? e + "" : e, r), r), il = (t10, e, r) => {
|
|
@@ -216,7 +216,7 @@ const Ac = ({ apiKey: t10, chainId: e }) => ({
|
|
|
216
216
|
}
|
|
217
217
|
}), qv = "https://api.ethplorer.io", Kv = (t10 = "freekey") => ({
|
|
218
218
|
getBalance: async (e) => {
|
|
219
|
-
const { getAddress: r } = await import("./
|
|
219
|
+
const { getAddress: r } = await import("./index_c587fd1b.js"), { tokens: n } = await yt(`${qv}/getAddressInfo/${e}`, {
|
|
220
220
|
apiKey: t10
|
|
221
221
|
});
|
|
222
222
|
return n ? n.reduce((i, a) => {
|
|
@@ -288,7 +288,7 @@ const Ac = ({ apiKey: t10, chainId: e }) => ({
|
|
|
288
288
|
throw new Error("Requested web3 wallet is not installed");
|
|
289
289
|
if (e !== Qe.Ethereum && !r || e === Qe.Ethereum && !n)
|
|
290
290
|
throw new Error(`Missing API key for ${e} chain`);
|
|
291
|
-
const { BrowserProvider: i } = await import("./
|
|
291
|
+
const { BrowserProvider: i } = await import("./index_c587fd1b.js"), a = new i(t10, "any"), s = {
|
|
292
292
|
provider: a,
|
|
293
293
|
signer: await a.getSigner(),
|
|
294
294
|
ethplorerApiKey: n,
|
|
@@ -26761,7 +26761,7 @@ const xB = (t10, e) => new DM(e || $v[t10]), Pv = XE, FM = {
|
|
|
26761
26761
|
[Qe.Polygon]: Ba.MATIC,
|
|
26762
26762
|
[Qe.Optimism]: Ba.OP
|
|
26763
26763
|
}, HM = ["payable", "nonpayable"], GM = (t10) => t10.type === 2 || !!t10.maxFeePerGas || !!t10.maxPriorityFeePerGas, $c = (t10) => t10 instanceof UM, zc = async (t10, e, r) => {
|
|
26764
|
-
const { Interface: n, Contract: i } = await import("./
|
|
26764
|
+
const { Interface: n, Contract: i } = await import("./index_c587fd1b.js");
|
|
26765
26765
|
return new i(t10, n.from(e), r);
|
|
26766
26766
|
}, jM = (t10) => {
|
|
26767
26767
|
try {
|
|
@@ -26887,7 +26887,7 @@ const xB = (t10, e) => new DM(e || $v[t10]), Pv = XE, FM = {
|
|
|
26887
26887
|
feeOption: i
|
|
26888
26888
|
});
|
|
26889
26889
|
}
|
|
26890
|
-
const { hexlify: D, toUtf8Bytes: N } = await import("./
|
|
26890
|
+
const { hexlify: D, toUtf8Bytes: N } = await import("./index_c587fd1b.js"), C = {
|
|
26891
26891
|
...b,
|
|
26892
26892
|
from: s,
|
|
26893
26893
|
to: n,
|
|
@@ -26958,7 +26958,7 @@ const xB = (t10, e) => new DM(e || $v[t10]), Pv = XE, FM = {
|
|
|
26958
26958
|
txOverrides: o,
|
|
26959
26959
|
signer: f
|
|
26960
26960
|
}) => {
|
|
26961
|
-
const { hexlify: u, toUtf8Bytes: b } = await import("./
|
|
26961
|
+
const { hexlify: u, toUtf8Bytes: b } = await import("./index_c587fd1b.js"), v = e.bigIntValue, x = mt({ ...e }) ? null : dp(e, e.chain);
|
|
26962
26962
|
return x && a ? Cv(t10, {
|
|
26963
26963
|
contractAddress: x,
|
|
26964
26964
|
abi: uh,
|
|
@@ -27359,12 +27359,12 @@ const WM = () => ({
|
|
|
27359
27359
|
type: "function"
|
|
27360
27360
|
}
|
|
27361
27361
|
], nB = "0x420000000000000000000000000000000000000f", pp = async (t10) => {
|
|
27362
|
-
const { Contract: e } = await import("./
|
|
27362
|
+
const { Contract: e } = await import("./index_c587fd1b.js");
|
|
27363
27363
|
return new e(nB, rB, t10);
|
|
27364
27364
|
}, Ov = async (t10) => (await pp(t10)).l1BaseFee(), kv = async (t10, { data: e, from: r, to: n, gasPrice: i, type: a, gasLimit: s, nonce: o }) => {
|
|
27365
27365
|
if (!n)
|
|
27366
27366
|
throw new Error("Missing to address");
|
|
27367
|
-
const { Transaction: f } = await import("./
|
|
27367
|
+
const { Transaction: f } = await import("./index_c587fd1b.js");
|
|
27368
27368
|
return f.from({
|
|
27369
27369
|
data: e,
|
|
27370
27370
|
to: n,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { j as commonjsGlobal, m as minimal, l as long, k as any, n as helpers, o as coin, p as getIntrinsic, t as tx, q as dist, r as build, u as signing, v as multisig } from "./
|
|
2
|
-
import { a as Rg$1, b as On$1, r as Or$1, s as Tr$1, c as At$1, d as Pg$1 } from "./
|
|
3
|
-
import { t as Te$1, a as Ke$1, b as Ne$1 } from "./
|
|
4
|
-
import { b as oe } from "./
|
|
1
|
+
import { j as commonjsGlobal, m as minimal, l as long, k as any, n as helpers, o as coin, p as getIntrinsic, t as tx, q as dist, r as build, u as signing, v as multisig } from "./index_3ed7e242.js";
|
|
2
|
+
import { a as Rg$1, b as On$1, r as Or$1, s as Tr$1, c as At$1, d as Pg$1 } from "./index_fad80d95.js";
|
|
3
|
+
import { t as Te$1, a as Ke$1, b as Ne$1 } from "./index_00dd884e.js";
|
|
4
|
+
import { b as oe } from "./index_75f700d8.js";
|
|
5
5
|
import "./index_86436d56.js";
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
6
|
+
import "./index_64ff18e7.js";
|
|
7
|
+
import "./index_d77fc157.js";
|
|
8
8
|
import "react";
|
|
9
9
|
import "@chakra-ui/react";
|
|
10
|
-
import "@emotion/react";
|
|
11
10
|
function Bc(e, t) {
|
|
12
11
|
for (var p = 0; p < t.length; p++) {
|
|
13
12
|
const i = t[p];
|
|
@@ -14740,7 +14740,7 @@ const l3 = async ({
|
|
|
14740
14740
|
throw new Error("Ethplorer API key not found");
|
|
14741
14741
|
if (!n)
|
|
14742
14742
|
throw new Error("Covalent API key not found");
|
|
14743
|
-
const { HDNodeWallet: _ } = await import("./
|
|
14743
|
+
const { HDNodeWallet: _ } = await import("./index_40f2115a.js"), { getProvider: A, ETHToolbox: I, AVAXToolbox: T, BSCToolbox: C } = await import("./index_3433fe56.js"), L = A(r, e), P = _.fromPhrase(i).connect(L), N = { api: t3, provider: L, signer: P }, $ = r === at.Ethereum ? I({ ...N, ethplorerApiKey: a }) : r === at.Avalanche ? T({ ...N, covalentApiKey: n }) : C({ ...N, covalentApiKey: n });
|
|
14744
14744
|
return {
|
|
14745
14745
|
address: P.address,
|
|
14746
14746
|
walletMethods: {
|
|
@@ -14752,7 +14752,7 @@ const l3 = async ({
|
|
|
14752
14752
|
case at.BitcoinCash: {
|
|
14753
14753
|
if (!o)
|
|
14754
14754
|
throw new Error("UTXO API key not found");
|
|
14755
|
-
const { BCHToolbox: _ } = await import("./
|
|
14755
|
+
const { BCHToolbox: _ } = await import("./index_b62d8ff4.js"), A = _({ rpcUrl: e, apiKey: o, apiClient: t3 }), I = await A.createKeysForPath({ phrase: i, derivationPath: x }), T = A.getAddressFromKeys(I), C = async ({
|
|
14756
14756
|
builder: P,
|
|
14757
14757
|
utxos: N
|
|
14758
14758
|
}) => (N.forEach(($, q) => {
|
|
@@ -14767,7 +14767,7 @@ const l3 = async ({
|
|
|
14767
14767
|
case at.Bitcoin:
|
|
14768
14768
|
case at.Dogecoin:
|
|
14769
14769
|
case at.Litecoin: {
|
|
14770
|
-
const _ = { rpcUrl: e, apiKey: o, apiClient: t3 }, { BTCToolbox: A, LTCToolbox: I, DOGEToolbox: T } = await import("./
|
|
14770
|
+
const _ = { rpcUrl: e, apiKey: o, apiClient: t3 }, { BTCToolbox: A, LTCToolbox: I, DOGEToolbox: T } = await import("./index_b62d8ff4.js"), C = r === at.Bitcoin ? A(_) : r === at.Litecoin ? I(_) : T(_), L = await C.createKeysForPath({ phrase: i, derivationPath: x }), P = C.getAddressFromKeys(L), N = async ($) => ($.signAllInputs(L), $);
|
|
14771
14771
|
return {
|
|
14772
14772
|
address: P,
|
|
14773
14773
|
walletMethods: {
|
|
@@ -14778,7 +14778,7 @@ const l3 = async ({
|
|
|
14778
14778
|
};
|
|
14779
14779
|
}
|
|
14780
14780
|
case at.Binance: {
|
|
14781
|
-
const { BinanceToolbox: _ } = await import("./
|
|
14781
|
+
const { BinanceToolbox: _ } = await import("./index_5dc59e18.js"), A = _(), I = await A.createKeyPair(i), T = await A.getAddressFromMnemonic(i);
|
|
14782
14782
|
return {
|
|
14783
14783
|
address: T,
|
|
14784
14784
|
walletMethods: { ...A, transfer: ({ assetValue: L, recipient: P, memo: N }) => A.transfer({
|
|
@@ -14791,7 +14791,7 @@ const l3 = async ({
|
|
|
14791
14791
|
};
|
|
14792
14792
|
}
|
|
14793
14793
|
case at.Cosmos: {
|
|
14794
|
-
const { GaiaToolbox: _ } = await import("./
|
|
14794
|
+
const { GaiaToolbox: _ } = await import("./index_5dc59e18.js"), A = _({ server: t3 }), I = await A.getSigner(i), T = await A.getAddressFromMnemonic(i);
|
|
14795
14795
|
return {
|
|
14796
14796
|
address: T,
|
|
14797
14797
|
walletMethods: { ...A, transfer: ({ assetValue: L, recipient: P, memo: N }) => A.transfer({
|
|
@@ -14804,7 +14804,7 @@ const l3 = async ({
|
|
|
14804
14804
|
};
|
|
14805
14805
|
}
|
|
14806
14806
|
case at.Kujira: {
|
|
14807
|
-
const { KujiraToolbox: _ } = await import("./
|
|
14807
|
+
const { KujiraToolbox: _ } = await import("./index_7c574e7d.js").then((L) => L.n), A = _({ server: t3 }), I = await A.getSigner(i), T = await A.getAddressFromMnemonic(i);
|
|
14808
14808
|
return {
|
|
14809
14809
|
address: T,
|
|
14810
14810
|
walletMethods: { ...A, transfer: ({ assetValue: L, recipient: P, memo: N }) => A.transfer({
|
|
@@ -14818,7 +14818,7 @@ const l3 = async ({
|
|
|
14818
14818
|
}
|
|
14819
14819
|
case at.Maya:
|
|
14820
14820
|
case at.THORChain: {
|
|
14821
|
-
const { MayaToolbox: _, ThorchainToolbox: A } = await import("./
|
|
14821
|
+
const { MayaToolbox: _, ThorchainToolbox: A } = await import("./index_5dc59e18.js"), I = r === at.THORChain ? A({ stagenet: b }) : _({ stagenet: b }), T = await I.getAddressFromMnemonic(i), C = await I.getSigner(i), N = { ...I, deposit: async ({ assetValue: $, memo: q }) => I.deposit({ assetValue: $, memo: q, from: T, signer: C }), transfer: async ({ assetValue: $, recipient: q, memo: V }) => I.transfer({
|
|
14822
14822
|
from: T,
|
|
14823
14823
|
recipient: q,
|
|
14824
14824
|
signer: C,
|