@dhedge/trading-widget 5.7.4 → 5.8.1
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/README.md +52 -13
- package/{complex-withdraw-asset-data-CSbXrln9.js → complex-withdraw-asset-data-Cf9Ea0VI.js} +55 -54
- package/complex-withdraw-asset-data-Cmnlgieq.cjs +1 -0
- package/const.cjs +1 -1
- package/const.js +62 -61
- package/core-kit/abi/easy-swapper-v2.d.ts +32 -0
- package/core-kit/abi/index.d.ts +1 -1
- package/core-kit/const/default-data.d.ts +2 -2
- package/core-kit/const/network.d.ts +1 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +74 -0
- package/core-kit/hooks/pool/use-has-single-asset-withdraw-blockers.d.ts +10 -0
- package/core-kit/hooks/referral/index.d.ts +2 -1
- package/core-kit/hooks/referral/use-legacy-referral-program.d.ts +2 -0
- package/core-kit/hooks/referral/use-referral-address.d.ts +15 -0
- package/core-kit/hooks/state/action.d.ts +3 -0
- package/core-kit/hooks/state/index.d.ts +1 -1
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +32 -0
- package/core-kit/hooks/trading/use-easy-swapper-tracked-assets.d.ts +32 -0
- package/core-kit/hooks/trading/withdraw-v2/complete-step/use-complete-withdraw-tracked-assets.d.ts +10 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-estimated-receive-assets.d.ts +10 -0
- package/core-kit/hooks/trading/withdraw-v2/use-withdraw-assets-info.d.ts +10 -0
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +32 -0
- package/core-kit/types/referral.types.d.ts +6 -1
- package/core-kit/types/state.types.d.ts +4 -0
- package/core-kit/utils/deposit.d.ts +4 -3
- package/index.cjs +1 -1
- package/index.d.ts +4 -4
- package/index.js +2856 -2798
- package/package.json +1 -1
- package/storage-Bbr6G6F3.cjs +1 -0
- package/{storage-C-fGORin.js → storage-DhvdxqW3.js} +392 -337
- package/trading-widget/components/widget/widget-settings/slippage-selector/slippage-selector.hooks.d.ts +2 -0
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +1 -1
- package/trading-widget/providers/config-provider/index.d.ts +1 -0
- package/trading-widget/providers/config-provider/use-resolved-default-withdraw-slippage.d.ts +1 -0
- package/utils.cjs +1 -1
- package/utils.js +1 -1
- package/complex-withdraw-asset-data-PUJePMgr.cjs +0 -1
- package/core-kit/abi/pool-factory.d.ts +0 -57
- package/core-kit/hooks/referral/use-referral-program.d.ts +0 -2
- package/storage-DpKnvEM4.cjs +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { optimism as t, hyperEvm as y, base as n, arbitrum as s, polygon as i, mainnet as a } from "wagmi/chains";
|
|
2
|
-
import { formatDuration as
|
|
3
|
-
import { erc20Abi as
|
|
4
|
-
const
|
|
2
|
+
import { formatDuration as j } from "date-fns";
|
|
3
|
+
import { erc20Abi as Q } from "viem";
|
|
4
|
+
const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
|
|
5
5
|
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
|
|
6
|
-
), l = 18,
|
|
7
|
-
address:
|
|
6
|
+
), l = 18, Ue = "1000000000000000000", We = 59e3, Fe = 3e4, ke = 15e3, He = 5e3, ee = 400, Ve = ee * 1.2, Ge = j({ hours: 24 }), Ye = {
|
|
7
|
+
address: J,
|
|
8
8
|
symbol: "",
|
|
9
9
|
chainId: t.id,
|
|
10
10
|
depositParams: { customTokens: [] },
|
|
11
11
|
withdrawParams: { customTokens: [] },
|
|
12
12
|
deprecated: !1
|
|
13
|
-
},
|
|
13
|
+
}, Ke = "deposit", ze = 0.5, te = 0, Xe = 0.5, qe = 0.02, Ze = 0.5, $e = [te], je = "withdrawSafe", Qe = "initWithdrawal", Je = "unrollAndClaim", et = "completeWithdrawal", tt = 3e7, at = 1.25, nt = 1e4, st = 13e3, it = 3, rt = 2e4, pt = 15e3, dt = {
|
|
14
14
|
[a.id]: a,
|
|
15
15
|
[i.id]: i,
|
|
16
16
|
[t.id]: t,
|
|
17
17
|
[s.id]: s,
|
|
18
18
|
[n.id]: n,
|
|
19
19
|
[y.id]: y
|
|
20
|
-
},
|
|
20
|
+
}, ot = {
|
|
21
21
|
[a.id]: {
|
|
22
22
|
nativeTokenSymbol: "ETH",
|
|
23
23
|
wrappedNativeTokenName: "WETH",
|
|
@@ -54,29 +54,29 @@ const X = "0x0000000000000000000000000000000000000000", Ne = BigInt(
|
|
|
54
54
|
address: "0x5555555555555555555555555555555555555555",
|
|
55
55
|
decimals: l
|
|
56
56
|
}
|
|
57
|
-
},
|
|
58
|
-
[a.id]:
|
|
59
|
-
[i.id]:
|
|
60
|
-
[t.id]:
|
|
61
|
-
[s.id]:
|
|
62
|
-
[n.id]:
|
|
63
|
-
[y.id]:
|
|
64
|
-
},
|
|
57
|
+
}, m = 299e5, yt = {
|
|
58
|
+
[a.id]: m,
|
|
59
|
+
[i.id]: m,
|
|
60
|
+
[t.id]: m,
|
|
61
|
+
[s.id]: m,
|
|
62
|
+
[n.id]: m,
|
|
63
|
+
[y.id]: m
|
|
64
|
+
}, ut = {
|
|
65
65
|
[a.id]: "https://eth-mainnet.g.alchemy.com/v2",
|
|
66
66
|
[t.id]: "https://opt-mainnet.g.alchemy.com/v2",
|
|
67
67
|
[i.id]: "https://polygon-mainnet.g.alchemy.com/v2",
|
|
68
68
|
[s.id]: "https://arb-mainnet.g.alchemy.com/v2",
|
|
69
69
|
[n.id]: "https://base-mainnet.g.alchemy.com/v2",
|
|
70
70
|
[y.id]: "https://hyperliquid-mainnet.g.alchemy.com/v2"
|
|
71
|
-
},
|
|
71
|
+
}, lt = {
|
|
72
72
|
USD: "$",
|
|
73
73
|
ETH: "Ξ",
|
|
74
74
|
BTC: "₿"
|
|
75
|
-
},
|
|
75
|
+
}, mt = {
|
|
76
76
|
USD: 2,
|
|
77
77
|
ETH: 4,
|
|
78
78
|
BTC: 6
|
|
79
|
-
},
|
|
79
|
+
}, ct = ["USDC", "USDT"], d = {
|
|
80
80
|
INVEST_INPUT_FOCUS: "invest_input_focus",
|
|
81
81
|
APPROVED_TOKEN: "approved_token",
|
|
82
82
|
DEPOSIT: "deposit",
|
|
@@ -93,7 +93,7 @@ const X = "0x0000000000000000000000000000000000000000", Ne = BigInt(
|
|
|
93
93
|
OPEN_LIMIT_SELL_VIEW: "open_limit_sell_view",
|
|
94
94
|
LIMIT_ORDER_WITHDRAW: "limit_order_withdraw",
|
|
95
95
|
LIMIT_ORDER_WITHDRAW_DELETE: "limit_order_withdraw_delete"
|
|
96
|
-
},
|
|
96
|
+
}, Tt = {
|
|
97
97
|
approve: [d.APPROVED_TOKEN],
|
|
98
98
|
deposit: [d.DEPOSIT],
|
|
99
99
|
multi_withdraw: [
|
|
@@ -115,7 +115,7 @@ const X = "0x0000000000000000000000000000000000000000", Ne = BigInt(
|
|
|
115
115
|
delete_limit_order_withdraw: [
|
|
116
116
|
d.LIMIT_ORDER_WITHDRAW_DELETE
|
|
117
117
|
]
|
|
118
|
-
},
|
|
118
|
+
}, bt = {
|
|
119
119
|
IS_INFINITE: { NAME: "is_infinite", TYPE: "number" },
|
|
120
120
|
SYMBOL: { NAME: "symbol", TYPE: "string" },
|
|
121
121
|
CHAIN_ID: { NAME: "chain_id", TYPE: "number" },
|
|
@@ -124,9 +124,9 @@ const X = "0x0000000000000000000000000000000000000000", Ne = BigInt(
|
|
|
124
124
|
SOURCE: { NAME: "source", TYPE: "string" }
|
|
125
125
|
};
|
|
126
126
|
var o = /* @__PURE__ */ ((u) => (u.ETH = "ETH", u.MAINNET = "MAINNET", u.POLYGON = "POLYGON", u.OE = "OPTIMISM", u.ARBI = "ARBITRUM", u.BASE = "BASE", u))(o || {});
|
|
127
|
-
const
|
|
128
|
-
s.id + "", `${
|
|
129
|
-
const
|
|
127
|
+
const T = process.env.NEXT_PUBLIC_INFURA_API_KEY;
|
|
128
|
+
s.id + "", `${T}`, t.id + "", `${T}`, i.id + "", `${T}`, n.id + "", `${T}`, a.id + "", `${T}`;
|
|
129
|
+
const ft = {
|
|
130
130
|
[s.id]: {
|
|
131
131
|
...s,
|
|
132
132
|
name: "Arbitrum",
|
|
@@ -167,14 +167,15 @@ const bt = {
|
|
|
167
167
|
};
|
|
168
168
|
o.ETH + "", a.id, o.MAINNET + "", a.id, o.POLYGON + "", i.id, o.OE + "", t.id, o.ARBI + "", s.id, o.BASE + "", n.id;
|
|
169
169
|
a.id + "", t.id + "", i.id + "", s.id + "", n.id + "", y.id + "";
|
|
170
|
-
const
|
|
170
|
+
const S = "0x0000000000000000000000000000000000000000";
|
|
171
171
|
BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
172
172
|
a.id + "", BigInt(100), t.id + "", BigInt(600), i.id + "", BigInt(600), n.id + "", BigInt(600), s.id + "", BigInt(5300);
|
|
173
|
-
const
|
|
173
|
+
const I = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", R = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", w = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", M = "0xffFb5fB14606EB3a548C113026355020dDF27535", h = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", O = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", g = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", v = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", C = "0xf067575Eb60c7587C11e867907AA7284833704d1", ae = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", _t = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", At = "0x1849324228d852a67eb7443e42d967e480ffe95d", L = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", P = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", ne = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", x = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", N = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", B = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", U = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", W = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", se = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", F = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", k = "0x45b90480D6F643dE2f128db091A357C3c90399f2", H = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", ie = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", re = "0x47065E508433E22d73Be3c5B61EB9abafD450364", Dt = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
|
|
174
|
+
a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
|
|
174
175
|
a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
|
|
175
176
|
a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
|
|
176
177
|
a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
|
|
177
|
-
const
|
|
178
|
+
const E = [
|
|
178
179
|
{
|
|
179
180
|
anonymous: !1,
|
|
180
181
|
inputs: [
|
|
@@ -1040,8 +1041,21 @@ const D = [
|
|
|
1040
1041
|
],
|
|
1041
1042
|
stateMutability: "view",
|
|
1042
1043
|
type: "function"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
inputs: [],
|
|
1047
|
+
name: "referralManager",
|
|
1048
|
+
outputs: [
|
|
1049
|
+
{
|
|
1050
|
+
internalType: "address",
|
|
1051
|
+
name: "",
|
|
1052
|
+
type: "address"
|
|
1053
|
+
}
|
|
1054
|
+
],
|
|
1055
|
+
stateMutability: "view",
|
|
1056
|
+
type: "function"
|
|
1043
1057
|
}
|
|
1044
|
-
],
|
|
1058
|
+
], de = [
|
|
1045
1059
|
{
|
|
1046
1060
|
inputs: [
|
|
1047
1061
|
{
|
|
@@ -1389,7 +1403,7 @@ const D = [
|
|
|
1389
1403
|
stateMutability: "nonpayable",
|
|
1390
1404
|
type: "function"
|
|
1391
1405
|
}
|
|
1392
|
-
],
|
|
1406
|
+
], Et = [
|
|
1393
1407
|
{
|
|
1394
1408
|
type: "tuple[]",
|
|
1395
1409
|
components: [
|
|
@@ -1417,7 +1431,7 @@ const D = [
|
|
|
1417
1431
|
}
|
|
1418
1432
|
]
|
|
1419
1433
|
}
|
|
1420
|
-
],
|
|
1434
|
+
], St = [
|
|
1421
1435
|
{
|
|
1422
1436
|
type: "tuple",
|
|
1423
1437
|
components: [
|
|
@@ -1445,7 +1459,7 @@ const D = [
|
|
|
1445
1459
|
}
|
|
1446
1460
|
]
|
|
1447
1461
|
}
|
|
1448
|
-
],
|
|
1462
|
+
], oe = [
|
|
1449
1463
|
{
|
|
1450
1464
|
inputs: [],
|
|
1451
1465
|
name: "getFundComposition",
|
|
@@ -1610,7 +1624,7 @@ const D = [
|
|
|
1610
1624
|
stateMutability: "view",
|
|
1611
1625
|
type: "function"
|
|
1612
1626
|
}
|
|
1613
|
-
],
|
|
1627
|
+
], ye = [
|
|
1614
1628
|
{
|
|
1615
1629
|
anonymous: !1,
|
|
1616
1630
|
inputs: [
|
|
@@ -1767,7 +1781,7 @@ const D = [
|
|
|
1767
1781
|
stateMutability: "view",
|
|
1768
1782
|
type: "function"
|
|
1769
1783
|
}
|
|
1770
|
-
],
|
|
1784
|
+
], ue = [
|
|
1771
1785
|
{
|
|
1772
1786
|
inputs: [
|
|
1773
1787
|
{
|
|
@@ -1844,7 +1858,7 @@ const D = [
|
|
|
1844
1858
|
stateMutability: "view",
|
|
1845
1859
|
type: "function"
|
|
1846
1860
|
}
|
|
1847
|
-
],
|
|
1861
|
+
], le = [
|
|
1848
1862
|
{
|
|
1849
1863
|
inputs: [],
|
|
1850
1864
|
name: "EmptyPayload",
|
|
@@ -2001,8 +2015,8 @@ const D = [
|
|
|
2001
2015
|
name: "UnsupportedTokenTransferMethod",
|
|
2002
2016
|
type: "error"
|
|
2003
2017
|
}
|
|
2004
|
-
],
|
|
2005
|
-
...
|
|
2018
|
+
], me = [
|
|
2019
|
+
...le,
|
|
2006
2020
|
{
|
|
2007
2021
|
anonymous: !1,
|
|
2008
2022
|
inputs: [
|
|
@@ -2444,6 +2458,11 @@ const D = [
|
|
|
2444
2458
|
internalType: "uint256",
|
|
2445
2459
|
name: "_expectedAmountReceived",
|
|
2446
2460
|
type: "uint256"
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
internalType: "bytes",
|
|
2464
|
+
name: "_referralData",
|
|
2465
|
+
type: "bytes"
|
|
2447
2466
|
}
|
|
2448
2467
|
],
|
|
2449
2468
|
name: "deposit",
|
|
@@ -2501,6 +2520,11 @@ const D = [
|
|
|
2501
2520
|
internalType: "uint256",
|
|
2502
2521
|
name: "_expectedAmountReceived",
|
|
2503
2522
|
type: "uint256"
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
internalType: "bytes",
|
|
2526
|
+
name: "_referralData",
|
|
2527
|
+
type: "bytes"
|
|
2504
2528
|
}
|
|
2505
2529
|
],
|
|
2506
2530
|
name: "depositWithCustomCooldown",
|
|
@@ -2788,6 +2812,11 @@ const D = [
|
|
|
2788
2812
|
internalType: "uint256",
|
|
2789
2813
|
name: "_expectedAmountReceived",
|
|
2790
2814
|
type: "uint256"
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
internalType: "bytes",
|
|
2818
|
+
name: "_referralData",
|
|
2819
|
+
type: "bytes"
|
|
2791
2820
|
}
|
|
2792
2821
|
],
|
|
2793
2822
|
name: "nativeDeposit",
|
|
@@ -2806,6 +2835,11 @@ const D = [
|
|
|
2806
2835
|
internalType: "uint256",
|
|
2807
2836
|
name: "_expectedAmountReceived",
|
|
2808
2837
|
type: "uint256"
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
internalType: "bytes",
|
|
2841
|
+
name: "_referralData",
|
|
2842
|
+
type: "bytes"
|
|
2809
2843
|
}
|
|
2810
2844
|
],
|
|
2811
2845
|
name: "nativeDepositWithCustomCooldown",
|
|
@@ -3151,6 +3185,11 @@ const D = [
|
|
|
3151
3185
|
internalType: "uint256",
|
|
3152
3186
|
name: "_expectedAmountReceived",
|
|
3153
3187
|
type: "uint256"
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
internalType: "bytes",
|
|
3191
|
+
name: "_referralData",
|
|
3192
|
+
type: "bytes"
|
|
3154
3193
|
}
|
|
3155
3194
|
],
|
|
3156
3195
|
name: "zapDeposit",
|
|
@@ -3227,6 +3266,11 @@ const D = [
|
|
|
3227
3266
|
internalType: "uint256",
|
|
3228
3267
|
name: "_expectedAmountReceived",
|
|
3229
3268
|
type: "uint256"
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
internalType: "bytes",
|
|
3272
|
+
name: "_referralData",
|
|
3273
|
+
type: "bytes"
|
|
3230
3274
|
}
|
|
3231
3275
|
],
|
|
3232
3276
|
name: "zapDepositWithCustomCooldown",
|
|
@@ -3303,6 +3347,11 @@ const D = [
|
|
|
3303
3347
|
internalType: "uint256",
|
|
3304
3348
|
name: "_expectedAmountReceived",
|
|
3305
3349
|
type: "uint256"
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
internalType: "bytes",
|
|
3353
|
+
name: "_referralData",
|
|
3354
|
+
type: "bytes"
|
|
3306
3355
|
}
|
|
3307
3356
|
],
|
|
3308
3357
|
name: "zapNativeDeposit",
|
|
@@ -3379,6 +3428,11 @@ const D = [
|
|
|
3379
3428
|
internalType: "uint256",
|
|
3380
3429
|
name: "_expectedAmountReceived",
|
|
3381
3430
|
type: "uint256"
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
internalType: "bytes",
|
|
3434
|
+
name: "_referralData",
|
|
3435
|
+
type: "bytes"
|
|
3382
3436
|
}
|
|
3383
3437
|
],
|
|
3384
3438
|
name: "zapNativeDepositWithCustomCooldown",
|
|
@@ -3386,7 +3440,7 @@ const D = [
|
|
|
3386
3440
|
stateMutability: "payable",
|
|
3387
3441
|
type: "function"
|
|
3388
3442
|
}
|
|
3389
|
-
],
|
|
3443
|
+
], ce = [
|
|
3390
3444
|
{ inputs: [], name: "ExternalCallerNotAllowed", type: "error" },
|
|
3391
3445
|
{
|
|
3392
3446
|
inputs: [{ internalType: "address", name: "asset", type: "address" }],
|
|
@@ -4034,64 +4088,64 @@ const D = [
|
|
|
4034
4088
|
stateMutability: "nonpayable",
|
|
4035
4089
|
type: "function"
|
|
4036
4090
|
}
|
|
4037
|
-
],
|
|
4091
|
+
], It = {
|
|
4038
4092
|
[a.id]: {
|
|
4039
|
-
factory:
|
|
4040
|
-
easySwapperV2:
|
|
4041
|
-
aaveLendingPoolV3:
|
|
4093
|
+
factory: I,
|
|
4094
|
+
easySwapperV2: R,
|
|
4095
|
+
aaveLendingPoolV3: w
|
|
4042
4096
|
},
|
|
4043
4097
|
[i.id]: {
|
|
4044
|
-
factory:
|
|
4045
|
-
aaveLendingPoolV2:
|
|
4046
|
-
aaveLendingPoolV3:
|
|
4047
|
-
easySwapperV2:
|
|
4048
|
-
limitOrder:
|
|
4098
|
+
factory: W,
|
|
4099
|
+
aaveLendingPoolV2: se,
|
|
4100
|
+
aaveLendingPoolV3: F,
|
|
4101
|
+
easySwapperV2: k,
|
|
4102
|
+
limitOrder: H
|
|
4049
4103
|
},
|
|
4050
4104
|
[t.id]: {
|
|
4051
|
-
factory:
|
|
4052
|
-
rewardDistribution:
|
|
4053
|
-
aaveLendingPoolV3:
|
|
4054
|
-
easySwapperV2:
|
|
4055
|
-
limitOrder:
|
|
4105
|
+
factory: x,
|
|
4106
|
+
rewardDistribution: ne,
|
|
4107
|
+
aaveLendingPoolV3: N,
|
|
4108
|
+
easySwapperV2: B,
|
|
4109
|
+
limitOrder: U
|
|
4056
4110
|
},
|
|
4057
4111
|
[s.id]: {
|
|
4058
|
-
factory:
|
|
4059
|
-
aaveLendingPoolV3:
|
|
4060
|
-
easySwapperV2:
|
|
4061
|
-
limitOrder:
|
|
4112
|
+
factory: M,
|
|
4113
|
+
aaveLendingPoolV3: h,
|
|
4114
|
+
easySwapperV2: O,
|
|
4115
|
+
limitOrder: g
|
|
4062
4116
|
},
|
|
4063
4117
|
[n.id]: {
|
|
4064
|
-
factory:
|
|
4065
|
-
flatcoinPointsModule:
|
|
4066
|
-
easySwapperV2:
|
|
4067
|
-
aaveLendingPoolV3:
|
|
4068
|
-
limitOrder:
|
|
4118
|
+
factory: v,
|
|
4119
|
+
flatcoinPointsModule: ae,
|
|
4120
|
+
easySwapperV2: C,
|
|
4121
|
+
aaveLendingPoolV3: L,
|
|
4122
|
+
limitOrder: P
|
|
4069
4123
|
},
|
|
4070
4124
|
[y.id]: {
|
|
4071
|
-
factory:
|
|
4072
|
-
easySwapperV2:
|
|
4125
|
+
factory: ie,
|
|
4126
|
+
easySwapperV2: re
|
|
4073
4127
|
}
|
|
4074
|
-
},
|
|
4128
|
+
}, Rt = {
|
|
4075
4129
|
factory: pe,
|
|
4076
|
-
aaveLendingPoolV2:
|
|
4077
|
-
aaveLendingPoolV3:
|
|
4078
|
-
rewardDistribution:
|
|
4079
|
-
poolManagerLogic:
|
|
4080
|
-
erc20:
|
|
4081
|
-
poolLogic:
|
|
4082
|
-
flatcoinPointsModule:
|
|
4083
|
-
easySwapperV2:
|
|
4084
|
-
limitOrder:
|
|
4085
|
-
},
|
|
4130
|
+
aaveLendingPoolV2: E,
|
|
4131
|
+
aaveLendingPoolV3: E,
|
|
4132
|
+
rewardDistribution: ye,
|
|
4133
|
+
poolManagerLogic: oe,
|
|
4134
|
+
erc20: Q,
|
|
4135
|
+
poolLogic: de,
|
|
4136
|
+
flatcoinPointsModule: ue,
|
|
4137
|
+
easySwapperV2: me,
|
|
4138
|
+
limitOrder: ce
|
|
4139
|
+
}, wt = "Gas estimate error occurred", Mt = "See console logs to report error details.", ht = "Missing simulation params", Ot = "Simulation timeout", Te = "swap_data_deposit_error", be = "swap_data_withdraw_error", fe = "SwapFailed", b = {
|
|
4086
4140
|
title: "Low Slippage",
|
|
4087
4141
|
hint: "Please increase slippage tolerance and try again."
|
|
4088
|
-
},
|
|
4089
|
-
"invalid liquidityMinted":
|
|
4090
|
-
"high withdraw slippage":
|
|
4091
|
-
"high deposit slippage":
|
|
4092
|
-
"high swap slippage":
|
|
4093
|
-
InsufficientAmountReceived:
|
|
4094
|
-
[
|
|
4142
|
+
}, _e = {
|
|
4143
|
+
"invalid liquidityMinted": b,
|
|
4144
|
+
"high withdraw slippage": b,
|
|
4145
|
+
"high deposit slippage": b,
|
|
4146
|
+
"high swap slippage": b,
|
|
4147
|
+
InsufficientAmountReceived: b,
|
|
4148
|
+
[fe]: {
|
|
4095
4149
|
title: "Oh no we couldn’t swap the assets",
|
|
4096
4150
|
hint: "Don’t worry your assets are still in your wallet."
|
|
4097
4151
|
},
|
|
@@ -4099,11 +4153,11 @@ const D = [
|
|
|
4099
4153
|
title: "Single Asset Withdrawal not available",
|
|
4100
4154
|
hint: "Please use All Assets option."
|
|
4101
4155
|
},
|
|
4102
|
-
[
|
|
4156
|
+
[Te]: {
|
|
4103
4157
|
title: "Oh no we couldn’t swap the assets",
|
|
4104
4158
|
hint: "Don’t worry your assets are still in your wallet."
|
|
4105
4159
|
},
|
|
4106
|
-
[
|
|
4160
|
+
[be]: {
|
|
4107
4161
|
title: "Oh no we couldn’t swap the assets",
|
|
4108
4162
|
hint: "Don’t worry your assets are still in your wallet."
|
|
4109
4163
|
},
|
|
@@ -4235,310 +4289,310 @@ const D = [
|
|
|
4235
4289
|
title: "Maximum supply cap reached",
|
|
4236
4290
|
hint: "Cannot mint such amount of vault tokens as it would exceed the maximum supply cap."
|
|
4237
4291
|
}
|
|
4238
|
-
},
|
|
4292
|
+
}, Ae = "Invalid limit order prices", De = {
|
|
4239
4293
|
InvalidPrices: {
|
|
4240
|
-
title:
|
|
4294
|
+
title: Ae
|
|
4241
4295
|
}
|
|
4242
|
-
},
|
|
4243
|
-
...Object.keys(
|
|
4244
|
-
...Object.keys(
|
|
4245
|
-
], e = 18,
|
|
4296
|
+
}, gt = [
|
|
4297
|
+
...Object.keys(_e),
|
|
4298
|
+
...Object.keys(De)
|
|
4299
|
+
], e = 18, V = {
|
|
4246
4300
|
address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
|
|
4247
4301
|
symbol: "USDCe",
|
|
4248
4302
|
decimals: 6,
|
|
4249
4303
|
value: ""
|
|
4250
|
-
},
|
|
4304
|
+
}, p = {
|
|
4251
4305
|
address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
|
|
4252
4306
|
symbol: "USDC",
|
|
4253
4307
|
decimals: 6,
|
|
4254
4308
|
value: ""
|
|
4255
|
-
},
|
|
4309
|
+
}, A = {
|
|
4256
4310
|
address: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
|
|
4257
4311
|
symbol: "WETH",
|
|
4258
4312
|
decimals: e,
|
|
4259
4313
|
value: ""
|
|
4260
|
-
},
|
|
4314
|
+
}, c = {
|
|
4261
4315
|
address: "0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f",
|
|
4262
4316
|
symbol: "WBTC",
|
|
4263
4317
|
decimals: 8,
|
|
4264
4318
|
value: ""
|
|
4265
|
-
},
|
|
4319
|
+
}, vt = {
|
|
4266
4320
|
address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
|
|
4267
4321
|
symbol: "tBTC",
|
|
4268
4322
|
decimals: e,
|
|
4269
4323
|
value: ""
|
|
4270
|
-
},
|
|
4324
|
+
}, Ct = {
|
|
4271
4325
|
address: "0x5979D7b546E38E414F7E9822514be443A4800529",
|
|
4272
4326
|
symbol: "wstETH",
|
|
4273
4327
|
decimals: e,
|
|
4274
4328
|
value: ""
|
|
4275
|
-
},
|
|
4329
|
+
}, Lt = {
|
|
4276
4330
|
address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
|
|
4277
4331
|
symbol: "USDT",
|
|
4278
4332
|
decimals: 6,
|
|
4279
4333
|
value: ""
|
|
4280
|
-
},
|
|
4334
|
+
}, Pt = {
|
|
4281
4335
|
address: "0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",
|
|
4282
4336
|
symbol: "SOL",
|
|
4283
4337
|
decimals: 9,
|
|
4284
4338
|
value: ""
|
|
4285
|
-
},
|
|
4339
|
+
}, xt = {
|
|
4286
4340
|
address: "0xa9004a5421372e1d83fb1f85b0fc986c912f91f3",
|
|
4287
4341
|
symbol: "WBNB",
|
|
4288
4342
|
decimals: e,
|
|
4289
4343
|
value: ""
|
|
4290
|
-
},
|
|
4344
|
+
}, Nt = {
|
|
4291
4345
|
address: "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
|
|
4292
4346
|
symbol: "LINK",
|
|
4293
4347
|
decimals: e,
|
|
4294
4348
|
value: ""
|
|
4295
|
-
},
|
|
4349
|
+
}, Ee = {
|
|
4296
4350
|
address: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
|
|
4297
4351
|
symbol: "USDC",
|
|
4298
4352
|
decimals: 6,
|
|
4299
4353
|
value: ""
|
|
4300
|
-
},
|
|
4354
|
+
}, Bt = {
|
|
4301
4355
|
address: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
|
|
4302
4356
|
symbol: "USDbC",
|
|
4303
4357
|
decimals: 6,
|
|
4304
4358
|
value: ""
|
|
4305
|
-
},
|
|
4359
|
+
}, G = {
|
|
4306
4360
|
address: "0x4200000000000000000000000000000000000006",
|
|
4307
4361
|
symbol: "WETH",
|
|
4308
4362
|
decimals: e,
|
|
4309
4363
|
value: ""
|
|
4310
|
-
},
|
|
4364
|
+
}, Ut = {
|
|
4311
4365
|
address: "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
|
|
4312
4366
|
symbol: "cbETH",
|
|
4313
4367
|
decimals: e,
|
|
4314
4368
|
value: ""
|
|
4315
|
-
},
|
|
4369
|
+
}, Se = {
|
|
4316
4370
|
address: "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
|
|
4317
4371
|
symbol: "cbBTC",
|
|
4318
4372
|
decimals: 8,
|
|
4319
4373
|
value: ""
|
|
4320
|
-
},
|
|
4374
|
+
}, D = {
|
|
4321
4375
|
address: "0xb6fe221fe9eef5aba221c348ba20a1bf5e73624c",
|
|
4322
4376
|
symbol: "rETH",
|
|
4323
4377
|
decimals: e,
|
|
4324
4378
|
value: ""
|
|
4325
|
-
},
|
|
4379
|
+
}, Wt = {
|
|
4326
4380
|
address: "0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b",
|
|
4327
4381
|
symbol: "tBTC",
|
|
4328
4382
|
decimals: e,
|
|
4329
4383
|
value: ""
|
|
4330
|
-
},
|
|
4384
|
+
}, Ft = {
|
|
4331
4385
|
address: "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
|
|
4332
4386
|
symbol: "wstETH",
|
|
4333
4387
|
decimals: e,
|
|
4334
4388
|
value: ""
|
|
4335
|
-
},
|
|
4389
|
+
}, Y = {
|
|
4336
4390
|
address: "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
|
|
4337
4391
|
symbol: "USDCe",
|
|
4338
4392
|
decimals: 6,
|
|
4339
4393
|
value: ""
|
|
4340
|
-
},
|
|
4394
|
+
}, Ie = {
|
|
4341
4395
|
address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
|
|
4342
4396
|
symbol: "USDC",
|
|
4343
4397
|
decimals: 6,
|
|
4344
4398
|
value: ""
|
|
4345
|
-
},
|
|
4399
|
+
}, Re = {
|
|
4346
4400
|
address: "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
|
|
4347
4401
|
symbol: "USDT",
|
|
4348
4402
|
decimals: 6,
|
|
4349
4403
|
value: ""
|
|
4350
|
-
},
|
|
4404
|
+
}, K = {
|
|
4351
4405
|
address: "0x4200000000000000000000000000000000000006",
|
|
4352
4406
|
symbol: "WETH",
|
|
4353
4407
|
decimals: e,
|
|
4354
4408
|
value: ""
|
|
4355
|
-
},
|
|
4409
|
+
}, kt = {
|
|
4356
4410
|
address: "0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9",
|
|
4357
4411
|
symbol: "sUSD",
|
|
4358
4412
|
decimals: e,
|
|
4359
4413
|
value: ""
|
|
4360
|
-
},
|
|
4414
|
+
}, we = {
|
|
4361
4415
|
address: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
|
|
4362
4416
|
symbol: "DAI",
|
|
4363
4417
|
decimals: e,
|
|
4364
4418
|
value: ""
|
|
4365
|
-
},
|
|
4419
|
+
}, f = {
|
|
4366
4420
|
address: "0x68f180fcce6836688e9084f035309e29bf0a2095",
|
|
4367
4421
|
symbol: "WBTC",
|
|
4368
4422
|
decimals: 8,
|
|
4369
4423
|
value: ""
|
|
4370
|
-
},
|
|
4424
|
+
}, Ht = {
|
|
4371
4425
|
address: "0xe405de8f52ba7559f9df3c368500b6e6ae6cee49",
|
|
4372
4426
|
symbol: "sETH",
|
|
4373
4427
|
decimals: e,
|
|
4374
4428
|
value: ""
|
|
4375
|
-
},
|
|
4429
|
+
}, Vt = {
|
|
4376
4430
|
address: "0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6",
|
|
4377
4431
|
symbol: "LINK",
|
|
4378
4432
|
decimals: e,
|
|
4379
4433
|
value: ""
|
|
4380
|
-
},
|
|
4434
|
+
}, Gt = {
|
|
4381
4435
|
address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
|
|
4382
4436
|
symbol: "tBTC",
|
|
4383
4437
|
decimals: e,
|
|
4384
4438
|
value: ""
|
|
4385
|
-
},
|
|
4439
|
+
}, Yt = {
|
|
4386
4440
|
address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
|
|
4387
4441
|
symbol: "wstETH",
|
|
4388
4442
|
decimals: e,
|
|
4389
4443
|
value: ""
|
|
4390
|
-
},
|
|
4444
|
+
}, z = {
|
|
4391
4445
|
address: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
|
|
4392
4446
|
symbol: "WETH",
|
|
4393
4447
|
decimals: e,
|
|
4394
4448
|
value: ""
|
|
4395
|
-
},
|
|
4449
|
+
}, X = {
|
|
4396
4450
|
address: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
|
|
4397
4451
|
symbol: "USDCe",
|
|
4398
4452
|
decimals: 6,
|
|
4399
4453
|
value: ""
|
|
4400
|
-
},
|
|
4454
|
+
}, Me = {
|
|
4401
4455
|
address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
|
|
4402
4456
|
symbol: "USDC",
|
|
4403
4457
|
decimals: 6,
|
|
4404
4458
|
value: ""
|
|
4405
|
-
},
|
|
4459
|
+
}, Kt = {
|
|
4406
4460
|
address: "0x553d3d295e0f695b9228246232edf400ed3560b5",
|
|
4407
4461
|
symbol: "PAXG",
|
|
4408
4462
|
decimals: e,
|
|
4409
4463
|
value: ""
|
|
4410
|
-
},
|
|
4464
|
+
}, q = {
|
|
4411
4465
|
address: "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
|
|
4412
4466
|
symbol: "WBTC",
|
|
4413
4467
|
decimals: 8,
|
|
4414
4468
|
value: ""
|
|
4415
|
-
},
|
|
4469
|
+
}, he = {
|
|
4416
4470
|
address: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
|
|
4417
4471
|
symbol: "WPOL",
|
|
4418
4472
|
decimals: e,
|
|
4419
4473
|
value: ""
|
|
4420
|
-
},
|
|
4474
|
+
}, Oe = {
|
|
4421
4475
|
address: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
|
|
4422
4476
|
symbol: "USDT",
|
|
4423
4477
|
decimals: 6,
|
|
4424
4478
|
value: ""
|
|
4425
|
-
},
|
|
4479
|
+
}, ge = {
|
|
4426
4480
|
address: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
|
|
4427
4481
|
symbol: "DAI",
|
|
4428
4482
|
decimals: e,
|
|
4429
4483
|
value: ""
|
|
4430
|
-
},
|
|
4484
|
+
}, zt = {
|
|
4431
4485
|
address: "0x236aa50979d5f3de3bd1eeb40e81137f22ab794b",
|
|
4432
4486
|
symbol: "tBTC",
|
|
4433
4487
|
decimals: e,
|
|
4434
4488
|
value: ""
|
|
4435
|
-
},
|
|
4489
|
+
}, Z = {
|
|
4436
4490
|
address: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
|
|
4437
4491
|
symbol: "WETH",
|
|
4438
4492
|
decimals: e,
|
|
4439
4493
|
value: ""
|
|
4440
|
-
},
|
|
4494
|
+
}, ve = {
|
|
4441
4495
|
address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
|
4442
4496
|
symbol: "USDC",
|
|
4443
4497
|
decimals: 6,
|
|
4444
4498
|
value: ""
|
|
4445
|
-
},
|
|
4499
|
+
}, $ = {
|
|
4446
4500
|
address: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
|
|
4447
4501
|
symbol: "WBTC",
|
|
4448
4502
|
decimals: 8,
|
|
4449
4503
|
value: ""
|
|
4450
|
-
},
|
|
4504
|
+
}, Ce = {
|
|
4451
4505
|
address: "0xdac17f958d2ee523a2206206994597c13d831ec7",
|
|
4452
4506
|
symbol: "USDT",
|
|
4453
4507
|
decimals: 6,
|
|
4454
4508
|
value: ""
|
|
4455
|
-
},
|
|
4509
|
+
}, Xt = {
|
|
4456
4510
|
address: "0x68749665ff8d2d112fa859aa293f07a622782f38",
|
|
4457
4511
|
symbol: "XAUt",
|
|
4458
4512
|
decimals: 6,
|
|
4459
4513
|
value: ""
|
|
4460
|
-
},
|
|
4461
|
-
address:
|
|
4514
|
+
}, qt = {
|
|
4515
|
+
address: S,
|
|
4462
4516
|
symbol: "all",
|
|
4463
4517
|
decimals: e,
|
|
4464
4518
|
value: ""
|
|
4465
|
-
}, qt = {
|
|
4466
|
-
[B.address.toLowerCase()]: "USDCe",
|
|
4467
|
-
[W.address.toLowerCase()]: "USDCe",
|
|
4468
|
-
[H.address.toLowerCase()]: "USDCe"
|
|
4469
4519
|
}, Zt = {
|
|
4470
|
-
[
|
|
4471
|
-
[
|
|
4472
|
-
[
|
|
4473
|
-
[i.id]: k,
|
|
4474
|
-
[s.id]: _
|
|
4520
|
+
[V.address.toLowerCase()]: "USDCe",
|
|
4521
|
+
[Y.address.toLowerCase()]: "USDCe",
|
|
4522
|
+
[X.address.toLowerCase()]: "USDCe"
|
|
4475
4523
|
}, $t = {
|
|
4476
|
-
[
|
|
4477
|
-
[
|
|
4478
|
-
[
|
|
4479
|
-
[
|
|
4480
|
-
[
|
|
4524
|
+
[a.id]: Z,
|
|
4525
|
+
[t.id]: K,
|
|
4526
|
+
[n.id]: G,
|
|
4527
|
+
[i.id]: z,
|
|
4528
|
+
[s.id]: A
|
|
4481
4529
|
}, jt = {
|
|
4530
|
+
[t.id]: f,
|
|
4531
|
+
[n.id]: Se,
|
|
4532
|
+
[i.id]: q,
|
|
4533
|
+
[s.id]: c,
|
|
4534
|
+
[a.id]: $
|
|
4535
|
+
}, Qt = {
|
|
4482
4536
|
[t.id]: {
|
|
4483
|
-
WETH:
|
|
4484
|
-
USDC:
|
|
4485
|
-
WBTC:
|
|
4486
|
-
USDCe:
|
|
4487
|
-
USDT:
|
|
4488
|
-
DAI:
|
|
4537
|
+
WETH: K,
|
|
4538
|
+
USDC: Ie,
|
|
4539
|
+
WBTC: f,
|
|
4540
|
+
USDCe: Y,
|
|
4541
|
+
USDT: Re,
|
|
4542
|
+
DAI: we
|
|
4489
4543
|
},
|
|
4490
4544
|
[i.id]: {
|
|
4491
|
-
WMATIC:
|
|
4492
|
-
WETH:
|
|
4493
|
-
USDC:
|
|
4494
|
-
WBTC:
|
|
4495
|
-
USDCe:
|
|
4496
|
-
USDT:
|
|
4497
|
-
DAI:
|
|
4545
|
+
WMATIC: he,
|
|
4546
|
+
WETH: z,
|
|
4547
|
+
USDC: Me,
|
|
4548
|
+
WBTC: q,
|
|
4549
|
+
USDCe: X,
|
|
4550
|
+
USDT: Oe,
|
|
4551
|
+
DAI: ge
|
|
4498
4552
|
},
|
|
4499
4553
|
[s.id]: {
|
|
4500
|
-
WETH:
|
|
4501
|
-
USDC:
|
|
4502
|
-
WBTC:
|
|
4503
|
-
USDCe:
|
|
4554
|
+
WETH: A,
|
|
4555
|
+
USDC: p,
|
|
4556
|
+
WBTC: c,
|
|
4557
|
+
USDCe: V
|
|
4504
4558
|
},
|
|
4505
4559
|
[n.id]: {
|
|
4506
|
-
WETH:
|
|
4507
|
-
USDC:
|
|
4560
|
+
WETH: G,
|
|
4561
|
+
USDC: Ee
|
|
4508
4562
|
},
|
|
4509
4563
|
[a.id]: {
|
|
4510
|
-
WETH:
|
|
4511
|
-
USDC:
|
|
4512
|
-
WBTC:
|
|
4513
|
-
USDT:
|
|
4564
|
+
WETH: Z,
|
|
4565
|
+
USDC: ve,
|
|
4566
|
+
WBTC: $,
|
|
4567
|
+
USDT: Ce
|
|
4514
4568
|
}
|
|
4515
|
-
},
|
|
4569
|
+
}, Jt = "https://hermes.pyth.network", ea = "https://flat.money/flatcoin", ta = "https://v1.flat.money/flatcoin", _ = {
|
|
4516
4570
|
RETH_BASE: "0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768",
|
|
4517
4571
|
WBTC_OPTIMISM: "0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879",
|
|
4518
4572
|
WBTC_ARBITRUM: "0xb1353d51991e79fefd4bfdba2a03e9f0232814a6"
|
|
4519
|
-
},
|
|
4520
|
-
|
|
4521
|
-
),
|
|
4522
|
-
[
|
|
4523
|
-
symbol:
|
|
4524
|
-
decimals:
|
|
4525
|
-
address:
|
|
4526
|
-
},
|
|
4527
|
-
[
|
|
4528
|
-
symbol:
|
|
4529
|
-
decimals:
|
|
4530
|
-
address:
|
|
4531
|
-
},
|
|
4532
|
-
[
|
|
4533
|
-
symbol:
|
|
4534
|
-
decimals:
|
|
4535
|
-
address:
|
|
4573
|
+
}, aa = Object.values(
|
|
4574
|
+
_
|
|
4575
|
+
), na = {
|
|
4576
|
+
[_.RETH_BASE]: {
|
|
4577
|
+
symbol: D.symbol,
|
|
4578
|
+
decimals: D.decimals,
|
|
4579
|
+
address: D.address
|
|
4580
|
+
},
|
|
4581
|
+
[_.WBTC_OPTIMISM]: {
|
|
4582
|
+
symbol: f.symbol,
|
|
4583
|
+
decimals: f.decimals,
|
|
4584
|
+
address: f.address
|
|
4585
|
+
},
|
|
4586
|
+
[_.WBTC_ARBITRUM]: {
|
|
4587
|
+
symbol: c.symbol,
|
|
4588
|
+
decimals: c.decimals,
|
|
4589
|
+
address: c.address
|
|
4536
4590
|
}
|
|
4537
|
-
},
|
|
4538
|
-
|
|
4591
|
+
}, Le = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", sa = [
|
|
4592
|
+
Le,
|
|
4539
4593
|
"0x357cb23571ef7a3d6189b7facfc361ea71f7cab5"
|
|
4540
4594
|
// WBTC_OPTIMISM
|
|
4541
|
-
],
|
|
4595
|
+
], ia = {
|
|
4542
4596
|
[n.id]: 2e3,
|
|
4543
4597
|
// Base network requires a longer delay according to manual testing
|
|
4544
4598
|
[a.id]: 300,
|
|
@@ -4546,7 +4600,7 @@ const D = [
|
|
|
4546
4600
|
[s.id]: 300,
|
|
4547
4601
|
[i.id]: 300,
|
|
4548
4602
|
[y.id]: 300
|
|
4549
|
-
},
|
|
4603
|
+
}, ra = {
|
|
4550
4604
|
DEPOSIT: "deposit",
|
|
4551
4605
|
DEPOSIT_CUSTOM: "depositWithCustomCooldown",
|
|
4552
4606
|
NATIVE: "nativeDeposit",
|
|
@@ -4560,7 +4614,7 @@ const D = [
|
|
|
4560
4614
|
"swap",
|
|
4561
4615
|
"claim",
|
|
4562
4616
|
"single_withdraw_and_claim"
|
|
4563
|
-
],
|
|
4617
|
+
], r = {
|
|
4564
4618
|
SOL_ARBITRUM: "0x09400d9db990d5ed3f35d7be61dfaeb900af03c9",
|
|
4565
4619
|
BTC_ARBITRUM: "0x47c031236e19d024b42f8ae6780e44a573170703",
|
|
4566
4620
|
WETH_WETH_ARBITRUM: "0x70d95587d40a2caf56bd97485ab3eec10bee6336",
|
|
@@ -4576,163 +4630,164 @@ const D = [
|
|
|
4576
4630
|
PUMP_ARBITRUM: "0x4c0bb704529fa49a26bd854802d70206982c6f1b",
|
|
4577
4631
|
GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e",
|
|
4578
4632
|
AAVE_ARBITRUM: "0x1cbba6346f110c8a5ea739ef2d1eb182990e4eb2"
|
|
4579
|
-
},
|
|
4580
|
-
|
|
4581
|
-
),
|
|
4582
|
-
[
|
|
4583
|
-
[
|
|
4584
|
-
[
|
|
4585
|
-
[
|
|
4586
|
-
[
|
|
4587
|
-
[
|
|
4588
|
-
[
|
|
4589
|
-
[
|
|
4590
|
-
[
|
|
4591
|
-
[
|
|
4592
|
-
[
|
|
4593
|
-
[
|
|
4594
|
-
[
|
|
4595
|
-
[
|
|
4596
|
-
[
|
|
4597
|
-
}, oa = {
|
|
4598
|
-
"0x9a916e55f5b67226734cd7b465d51bce1d11a89a": r
|
|
4599
|
-
// USDmny Arbitrum
|
|
4633
|
+
}, da = Object.values(
|
|
4634
|
+
r
|
|
4635
|
+
), oa = {
|
|
4636
|
+
[r.SOL_ARBITRUM]: p,
|
|
4637
|
+
[r.BTC_ARBITRUM]: c,
|
|
4638
|
+
[r.WETH_WETH_ARBITRUM]: A,
|
|
4639
|
+
[r.WETH_USDC_ARBITRUM]: A,
|
|
4640
|
+
[r.SUI_ARBITRUM]: p,
|
|
4641
|
+
[r.DOGE_ARBITRUM]: p,
|
|
4642
|
+
[r.XRP_ARBITRUM]: p,
|
|
4643
|
+
[r.CRV_ARBITRUM]: p,
|
|
4644
|
+
[r.HYPE_ARBITRUM]: p,
|
|
4645
|
+
[r.BNB_ARBITRUM]: p,
|
|
4646
|
+
[r.LINK_ARBITRUM]: p,
|
|
4647
|
+
[r.PUMP_ARBITRUM]: p,
|
|
4648
|
+
[r.BNB_WBTC_USDC_ARBITRUM]: p,
|
|
4649
|
+
[r.GOLD_ARBITRUM]: p,
|
|
4650
|
+
[r.AAVE_ARBITRUM]: p
|
|
4600
4651
|
}, ya = {
|
|
4652
|
+
"0x9a916e55f5b67226734cd7b465d51bce1d11a89a": p
|
|
4653
|
+
// USDmny Arbitrum
|
|
4654
|
+
}, ua = {
|
|
4601
4655
|
IS_BATCH_TRANSACTIONS_ENABLED: "isBatchTransactionsEnabled",
|
|
4602
4656
|
REFERRER: "referrer",
|
|
4603
4657
|
REF_POOL: "ref_pool"
|
|
4604
4658
|
};
|
|
4605
4659
|
export {
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4660
|
+
Tt as $,
|
|
4661
|
+
ut as A,
|
|
4662
|
+
Zt as B,
|
|
4663
|
+
dt as C,
|
|
4664
|
+
ee as D,
|
|
4665
|
+
et as E,
|
|
4612
4666
|
Qe as F,
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4667
|
+
Je as G,
|
|
4668
|
+
Ye as H,
|
|
4669
|
+
Ve as I,
|
|
4670
|
+
We as J,
|
|
4671
|
+
He as K,
|
|
4672
|
+
Qt as L,
|
|
4673
|
+
na as M,
|
|
4674
|
+
aa as N,
|
|
4675
|
+
sa as O,
|
|
4676
|
+
ea as P,
|
|
4677
|
+
Le as Q,
|
|
4678
|
+
ta as R,
|
|
4679
|
+
wt as S,
|
|
4680
|
+
at as T,
|
|
4681
|
+
da as U,
|
|
4682
|
+
r as V,
|
|
4629
4683
|
oa as W,
|
|
4630
|
-
|
|
4684
|
+
ya as X,
|
|
4631
4685
|
Ae as Y,
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4686
|
+
De as Z,
|
|
4687
|
+
ua as _,
|
|
4688
|
+
ia as a,
|
|
4689
|
+
xt as a$,
|
|
4690
|
+
nt as a0,
|
|
4691
|
+
yt as a1,
|
|
4692
|
+
qt as a2,
|
|
4693
|
+
Be as a3,
|
|
4694
|
+
tt as a4,
|
|
4695
|
+
Jt as a5,
|
|
4696
|
+
ke as a6,
|
|
4697
|
+
Ot as a7,
|
|
4698
|
+
ct as a8,
|
|
4699
|
+
fe as a9,
|
|
4700
|
+
Y as aA,
|
|
4701
|
+
X as aB,
|
|
4702
|
+
Se as aC,
|
|
4703
|
+
Ut as aD,
|
|
4704
|
+
we as aE,
|
|
4705
|
+
ge as aF,
|
|
4706
|
+
Nt as aG,
|
|
4707
|
+
Vt as aH,
|
|
4708
|
+
Kt as aI,
|
|
4709
|
+
D as aJ,
|
|
4710
|
+
ye as aK,
|
|
4711
|
+
Ht as aL,
|
|
4712
|
+
kt as aM,
|
|
4713
|
+
vt as aN,
|
|
4714
|
+
Wt as aO,
|
|
4715
|
+
Gt as aP,
|
|
4716
|
+
zt as aQ,
|
|
4717
|
+
Bt as aR,
|
|
4718
|
+
p as aS,
|
|
4719
|
+
Ee as aT,
|
|
4720
|
+
ve as aU,
|
|
4721
|
+
Ie as aV,
|
|
4722
|
+
Me as aW,
|
|
4723
|
+
Lt as aX,
|
|
4724
|
+
Ce as aY,
|
|
4725
|
+
Re as aZ,
|
|
4726
|
+
Oe as a_,
|
|
4727
|
+
rt as aa,
|
|
4728
|
+
bt as ab,
|
|
4729
|
+
d as ac,
|
|
4730
|
+
_e as ad,
|
|
4731
|
+
gt as ae,
|
|
4732
|
+
jt as af,
|
|
4733
|
+
$t as ag,
|
|
4734
|
+
be as ah,
|
|
4735
|
+
Rt as ai,
|
|
4736
|
+
It as aj,
|
|
4737
|
+
S as ak,
|
|
4684
4738
|
Et as al,
|
|
4685
|
-
|
|
4686
|
-
|
|
4739
|
+
St as am,
|
|
4740
|
+
e as an,
|
|
4687
4741
|
_t as ao,
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4742
|
+
At as ap,
|
|
4743
|
+
pe as aq,
|
|
4744
|
+
de as ar,
|
|
4745
|
+
me as as,
|
|
4746
|
+
oe as at,
|
|
4747
|
+
ue as au,
|
|
4748
|
+
ft as av,
|
|
4749
|
+
Dt as aw,
|
|
4750
|
+
ce as ax,
|
|
4751
|
+
E as ay,
|
|
4752
|
+
V as az,
|
|
4753
|
+
J as b,
|
|
4754
|
+
c as b0,
|
|
4755
|
+
$ as b1,
|
|
4756
|
+
f as b2,
|
|
4757
|
+
q as b3,
|
|
4758
|
+
A as b4,
|
|
4705
4759
|
G as b5,
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4760
|
+
Z as b6,
|
|
4761
|
+
K as b7,
|
|
4762
|
+
z as b8,
|
|
4763
|
+
he as b9,
|
|
4764
|
+
Pt as ba,
|
|
4765
|
+
Ct as bb,
|
|
4766
|
+
Ft as bc,
|
|
4767
|
+
Yt as bd,
|
|
4768
|
+
Xt as be,
|
|
4769
|
+
ot as c,
|
|
4715
4770
|
pa as d,
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4771
|
+
mt as e,
|
|
4772
|
+
lt as f,
|
|
4773
|
+
Ke as g,
|
|
4774
|
+
te as h,
|
|
4775
|
+
$e as i,
|
|
4776
|
+
Mt as j,
|
|
4777
|
+
Ge as k,
|
|
4778
|
+
m as l,
|
|
4779
|
+
je as m,
|
|
4780
|
+
pt as n,
|
|
4781
|
+
Xe as o,
|
|
4782
|
+
Fe as p,
|
|
4783
|
+
l as q,
|
|
4784
|
+
st as r,
|
|
4785
|
+
qe as s,
|
|
4786
|
+
ht as t,
|
|
4787
|
+
Ze as u,
|
|
4788
|
+
Ue as v,
|
|
4789
|
+
it as w,
|
|
4790
|
+
ze as x,
|
|
4791
|
+
Te as y,
|
|
4792
|
+
ra as z
|
|
4738
4793
|
};
|