@dhedge/trading-widget 5.14.0-canary.3 → 6.0.0

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 (33) hide show
  1. package/const.cjs +1 -1
  2. package/const.js +39 -38
  3. package/core-kit/const/network.d.ts +27 -10
  4. package/core-kit/const/tokens.d.ts +1 -0
  5. package/core-kit/hooks/trading/limit-order-withdraw/use-limit-order-withdraw-delete-transaction.d.ts +1 -0
  6. package/core-kit/hooks/trading/limit-order-withdraw/use-on-demand-pricing-asset.d.ts +2 -0
  7. package/core-kit/hooks/trading/limit-order-withdraw/use-pending-limit-order-withdraw.d.ts +4 -0
  8. package/core-kit/services/ondo/api.d.ts +17 -0
  9. package/core-kit/services/ondo/firebase-app-check.d.ts +25 -0
  10. package/core-kit/services/ondo/index.d.ts +3 -0
  11. package/{trading-widget/providers/config-provider/ondo.types.d.ts → core-kit/services/ondo/types.d.ts} +18 -15
  12. package/core-kit/utils/ondo.d.ts +3 -2
  13. package/{gmx-2PubisAI.js → gmx-Cu3Ax-nZ.js} +281 -270
  14. package/gmx-DwT1ybQ5.cjs +1 -0
  15. package/index.cjs +1 -1
  16. package/index.d.ts +2 -1
  17. package/index.js +3014 -2796
  18. package/ondo-RW9qMjVL.cjs +1 -0
  19. package/ondo-v5VUY6Q9.js +520 -0
  20. package/package.json +7 -1
  21. package/style.css +1 -1
  22. package/trading-widget/components/widget/widget-input/all-assets-composition-table/all-assets-composition-table.utils.d.ts +2 -5
  23. package/trading-widget/components/withdraw/init-step/meta/pending-limit-order-withdraw-banner.d.ts +2 -0
  24. package/trading-widget/components/withdraw/init-step/meta/pending-limit-order-withdraw-banner.hooks.d.ts +8 -0
  25. package/trading-widget/providers/config-provider/config-provider.hooks.d.ts +1 -0
  26. package/trading-widget/providers/config-provider/config-provider.types.d.ts +3 -3
  27. package/trading-widget/providers/config-provider/index.d.ts +1 -2
  28. package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +1 -0
  29. package/utils.cjs +1 -1
  30. package/utils.js +1 -1
  31. package/gmx-CZmEi9pW.cjs +0 -1
  32. package/ondo-BKKTC6rT.cjs +0 -1
  33. package/ondo-kEuPkMU1.js +0 -521
@@ -1,16 +1,16 @@
1
1
  import { optimism as t, hyperEvm as p, base as n, arbitrum as s, polygon as i, mainnet as a } from "wagmi/chains";
2
- import { formatDuration as ee } from "date-fns";
3
- import { erc20Abi as te } from "viem";
4
- const ae = "0x0000000000000000000000000000000000000000", Fe = BigInt(
2
+ import { formatDuration as te } from "date-fns";
3
+ import { erc20Abi as ae } from "viem";
4
+ const ne = "0x0000000000000000000000000000000000000000", Ve = BigInt(
5
5
  "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
6
- ), l = 18, ke = "1000000000000000000", Ve = 59e3, He = 3e4, Ye = 15e3, Ge = 5e3, ne = 400, Ke = ne * 1.2, ze = ee({ hours: 24 }), qe = {
7
- address: ae,
6
+ ), l = 18, He = "1000000000000000000", Ye = 59e3, Ge = 3e4, Ke = 15e3, ze = 5e3, se = 400, qe = se * 1.2, Xe = te({ hours: 24 }), Ze = {
7
+ address: ne,
8
8
  symbol: "",
9
9
  chainId: t.id,
10
10
  depositParams: { customTokens: [] },
11
11
  withdrawParams: { customTokens: [] },
12
12
  deprecated: !1
13
- }, Xe = "deposit", Ze = 0.5, se = 0, $e = 0.5, je = 0.02, Qe = 0.5, Je = [se], et = [
13
+ }, $e = "deposit", je = 0.5, ie = 0, Qe = 0.5, Je = 0.02, et = 0.5, tt = [ie], at = [
14
14
  0.05,
15
15
  0.1,
16
16
  0.3,
@@ -21,14 +21,14 @@ const ae = "0x0000000000000000000000000000000000000000", Fe = BigInt(
21
21
  2,
22
22
  3,
23
23
  5
24
- ], tt = "withdrawSafe", at = "initWithdrawal", nt = "unrollAndClaim", st = "completeWithdrawal", it = 3e7, pt = 1.25, rt = 1e4, dt = 13e3, ot = 3, yt = 2e4, ut = 1e4, lt = {
24
+ ], nt = "withdrawSafe", st = "initWithdrawal", it = "unrollAndClaim", pt = "completeWithdrawal", rt = 3e7, dt = 1.25, ot = 1e4, yt = 13e3, ut = 3, lt = 2e4, mt = 1e4, ct = {
25
25
  [a.id]: a,
26
26
  [i.id]: i,
27
27
  [t.id]: t,
28
28
  [s.id]: s,
29
29
  [n.id]: n,
30
30
  [p.id]: p
31
- }, mt = {
31
+ }, Tt = {
32
32
  [a.id]: {
33
33
  nativeTokenSymbol: "ETH",
34
34
  wrappedNativeTokenName: "WETH",
@@ -65,29 +65,29 @@ const ae = "0x0000000000000000000000000000000000000000", Fe = BigInt(
65
65
  address: "0x5555555555555555555555555555555555555555",
66
66
  decimals: l
67
67
  }
68
- }, m = 299e5, ct = {
68
+ }, m = 299e5, bt = {
69
69
  [a.id]: m,
70
70
  [i.id]: m,
71
71
  [t.id]: m,
72
72
  [s.id]: m,
73
73
  [n.id]: m,
74
74
  [p.id]: m
75
- }, Tt = {
75
+ }, ft = {
76
76
  [a.id]: "https://eth-mainnet.g.alchemy.com/v2",
77
77
  [t.id]: "https://opt-mainnet.g.alchemy.com/v2",
78
78
  [i.id]: "https://polygon-mainnet.g.alchemy.com/v2",
79
79
  [s.id]: "https://arb-mainnet.g.alchemy.com/v2",
80
80
  [n.id]: "https://base-mainnet.g.alchemy.com/v2",
81
81
  [p.id]: "https://hyperliquid-mainnet.g.alchemy.com/v2"
82
- }, bt = {
82
+ }, _t = {
83
83
  USD: "$",
84
84
  ETH: "Ξ",
85
85
  BTC: "₿"
86
- }, ft = {
86
+ }, At = {
87
87
  USD: 2,
88
88
  ETH: 4,
89
89
  BTC: 6
90
- }, _t = ["USDC", "USDT"], d = {
90
+ }, Dt = ["USDC", "USDT"], d = {
91
91
  INVEST_INPUT_FOCUS: "invest_input_focus",
92
92
  APPROVED_TOKEN: "approved_token",
93
93
  DEPOSIT: "deposit",
@@ -106,7 +106,7 @@ const ae = "0x0000000000000000000000000000000000000000", Fe = BigInt(
106
106
  LIMIT_ORDER_WITHDRAW: "limit_order_withdraw",
107
107
  LIMIT_ORDER_WITHDRAW_DELETE: "limit_order_withdraw_delete",
108
108
  UPDATE_ONDO_PRICES: "update_ondo_prices"
109
- }, At = {
109
+ }, Et = {
110
110
  approve: [d.APPROVED_TOKEN],
111
111
  deposit: [d.DEPOSIT],
112
112
  multi_withdraw: [
@@ -130,7 +130,7 @@ const ae = "0x0000000000000000000000000000000000000000", Fe = BigInt(
130
130
  d.LIMIT_ORDER_WITHDRAW_DELETE
131
131
  ],
132
132
  update_ondo_prices: [d.UPDATE_ONDO_PRICES]
133
- }, Dt = {
133
+ }, It = {
134
134
  IS_INFINITE: { NAME: "is_infinite", TYPE: "number" },
135
135
  SYMBOL: { NAME: "symbol", TYPE: "string" },
136
136
  CHAIN_ID: { NAME: "chain_id", TYPE: "number" },
@@ -140,7 +140,7 @@ const ae = "0x0000000000000000000000000000000000000000", Fe = BigInt(
140
140
  var y = /* @__PURE__ */ ((u) => (u.ETH = "ETH", u.MAINNET = "MAINNET", u.POLYGON = "POLYGON", u.OE = "OPTIMISM", u.ARBI = "ARBITRUM", u.BASE = "BASE", u.HYPEREVM = "HYPEREVM", u))(y || {});
141
141
  const T = process.env.NEXT_PUBLIC_INFURA_API_KEY;
142
142
  s.id + "", `${T}`, t.id + "", `${T}`, i.id + "", `${T}`, n.id + "", `${T}`, a.id + "", `${T}`, p.id + "";
143
- const Et = {
143
+ const St = {
144
144
  [s.id]: {
145
145
  ...s,
146
146
  name: "Arbitrum",
@@ -188,15 +188,15 @@ const Et = {
188
188
  };
189
189
  y.ETH + "", a.id, y.MAINNET + "", a.id, y.POLYGON + "", i.id, y.OE + "", t.id, y.ARBI + "", s.id, y.BASE + "", n.id, y.HYPEREVM + "", p.id;
190
190
  a.id + "", t.id + "", i.id + "", s.id + "", n.id + "", p.id + "";
191
- const E = "0x0000000000000000000000000000000000000000";
191
+ const I = "0x0000000000000000000000000000000000000000";
192
192
  BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
193
193
  a.id + "", BigInt(100), t.id + "", BigInt(600), i.id + "", BigInt(600), n.id + "", BigInt(600), s.id + "", BigInt(5300), p.id + "", BigInt(6e3);
194
- const S = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", R = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", M = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", w = "0x95B19De479bc693721cab39Da98FfECE062f5Ea4", ie = "0xD6049430DDFa9bCd1F33064BF697313A1a93ace9", h = "0xffFb5fB14606EB3a548C113026355020dDF27535", O = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", g = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", v = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", C = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", P = "0xf067575Eb60c7587C11e867907AA7284833704d1", pe = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", It = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", St = "0x1849324228d852a67eb7443e42d967e480ffe95d", L = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", x = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", re = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", N = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", B = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", U = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", W = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", F = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", de = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", k = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", V = "0x45b90480D6F643dE2f128db091A357C3c90399f2", H = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", Y = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", G = "0x47065E508433E22d73Be3c5B61EB9abafD450364", Rt = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
194
+ const S = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", R = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", M = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", w = "0x95B19De479bc693721cab39Da98FfECE062f5Ea4", pe = "0xD6049430DDFa9bCd1F33064BF697313A1a93ace9", O = "0xffFb5fB14606EB3a548C113026355020dDF27535", h = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", g = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", v = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", C = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", P = "0xf067575Eb60c7587C11e867907AA7284833704d1", re = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", Rt = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", Mt = "0x1849324228d852a67eb7443e42d967e480ffe95d", L = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", x = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", de = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", N = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", B = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", U = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", W = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", F = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", oe = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", k = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", V = "0x45b90480D6F643dE2f128db091A357C3c90399f2", H = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", Y = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", G = "0x47065E508433E22d73Be3c5B61EB9abafD450364", K = "0x6b696eA2602068a7043C92961B5F202a65A3eF9C", wt = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
195
195
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "", p.id + "";
196
196
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "", p.id + "";
197
197
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "", p.id + "";
198
198
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "", p.id + "";
199
- const I = [
199
+ const E = [
200
200
  {
201
201
  anonymous: !1,
202
202
  inputs: [
@@ -986,7 +986,7 @@ const I = [
986
986
  stateMutability: "nonpayable",
987
987
  type: "function"
988
988
  }
989
- ], oe = [
989
+ ], ye = [
990
990
  {
991
991
  inputs: [
992
992
  {
@@ -1095,7 +1095,7 @@ const I = [
1095
1095
  stateMutability: "view",
1096
1096
  type: "function"
1097
1097
  }
1098
- ], ye = [
1098
+ ], ue = [
1099
1099
  {
1100
1100
  inputs: [
1101
1101
  {
@@ -1443,7 +1443,7 @@ const I = [
1443
1443
  stateMutability: "nonpayable",
1444
1444
  type: "function"
1445
1445
  }
1446
- ], Mt = [
1446
+ ], Ot = [
1447
1447
  {
1448
1448
  type: "tuple[]",
1449
1449
  components: [
@@ -1471,7 +1471,7 @@ const I = [
1471
1471
  }
1472
1472
  ]
1473
1473
  }
1474
- ], wt = [
1474
+ ], ht = [
1475
1475
  {
1476
1476
  type: "tuple",
1477
1477
  components: [
@@ -1499,7 +1499,7 @@ const I = [
1499
1499
  }
1500
1500
  ]
1501
1501
  }
1502
- ], ue = [
1502
+ ], le = [
1503
1503
  {
1504
1504
  inputs: [],
1505
1505
  name: "getFundComposition",
@@ -1664,7 +1664,7 @@ const I = [
1664
1664
  stateMutability: "view",
1665
1665
  type: "function"
1666
1666
  }
1667
- ], le = [
1667
+ ], me = [
1668
1668
  {
1669
1669
  anonymous: !1,
1670
1670
  inputs: [
@@ -1821,7 +1821,7 @@ const I = [
1821
1821
  stateMutability: "view",
1822
1822
  type: "function"
1823
1823
  }
1824
- ], me = [
1824
+ ], ce = [
1825
1825
  {
1826
1826
  inputs: [
1827
1827
  {
@@ -1898,7 +1898,7 @@ const I = [
1898
1898
  stateMutability: "view",
1899
1899
  type: "function"
1900
1900
  }
1901
- ], ce = [
1901
+ ], Te = [
1902
1902
  {
1903
1903
  inputs: [],
1904
1904
  name: "EmptyPayload",
@@ -2055,8 +2055,8 @@ const I = [
2055
2055
  name: "UnsupportedTokenTransferMethod",
2056
2056
  type: "error"
2057
2057
  }
2058
- ], Te = [
2059
- ...ce,
2058
+ ], be = [
2059
+ ...Te,
2060
2060
  {
2061
2061
  anonymous: !1,
2062
2062
  inputs: [
@@ -3480,7 +3480,7 @@ const I = [
3480
3480
  stateMutability: "payable",
3481
3481
  type: "function"
3482
3482
  }
3483
- ], be = [
3483
+ ], fe = [
3484
3484
  { inputs: [], name: "ExternalCallerNotAllowed", type: "error" },
3485
3485
  {
3486
3486
  inputs: [{ internalType: "address", name: "asset", type: "address" }],
@@ -4128,7 +4128,7 @@ const I = [
4128
4128
  stateMutability: "nonpayable",
4129
4129
  type: "function"
4130
4130
  }
4131
- ], fe = [
4131
+ ], _e = [
4132
4132
  {
4133
4133
  inputs: [
4134
4134
  {
@@ -4158,67 +4158,68 @@ const I = [
4158
4158
  stateMutability: "nonpayable",
4159
4159
  type: "function"
4160
4160
  }
4161
- ], ht = {
4161
+ ], gt = {
4162
4162
  [a.id]: {
4163
4163
  factory: S,
4164
4164
  easySwapperV2: R,
4165
4165
  aaveLendingPoolV3: M,
4166
4166
  limitOrder: w,
4167
- ondoPriceOracle: ie
4167
+ ondoPriceOracle: pe
4168
4168
  },
4169
4169
  [i.id]: {
4170
4170
  factory: F,
4171
- aaveLendingPoolV2: de,
4171
+ aaveLendingPoolV2: oe,
4172
4172
  aaveLendingPoolV3: k,
4173
4173
  easySwapperV2: V,
4174
4174
  limitOrder: H
4175
4175
  },
4176
4176
  [t.id]: {
4177
4177
  factory: N,
4178
- rewardDistribution: re,
4178
+ rewardDistribution: de,
4179
4179
  aaveLendingPoolV3: B,
4180
4180
  easySwapperV2: U,
4181
4181
  limitOrder: W
4182
4182
  },
4183
4183
  [s.id]: {
4184
- factory: h,
4185
- aaveLendingPoolV3: O,
4184
+ factory: O,
4185
+ aaveLendingPoolV3: h,
4186
4186
  easySwapperV2: g,
4187
4187
  limitOrder: v
4188
4188
  },
4189
4189
  [n.id]: {
4190
4190
  factory: C,
4191
- flatcoinPointsModule: pe,
4191
+ flatcoinPointsModule: re,
4192
4192
  easySwapperV2: P,
4193
4193
  aaveLendingPoolV3: L,
4194
4194
  limitOrder: x
4195
4195
  },
4196
4196
  [p.id]: {
4197
4197
  factory: Y,
4198
- easySwapperV2: G
4198
+ easySwapperV2: G,
4199
+ limitOrder: K
4199
4200
  }
4200
- }, Ot = {
4201
- factory: oe,
4202
- aaveLendingPoolV2: I,
4203
- aaveLendingPoolV3: I,
4204
- rewardDistribution: le,
4205
- poolManagerLogic: ue,
4206
- erc20: te,
4207
- poolLogic: ye,
4208
- flatcoinPointsModule: me,
4209
- easySwapperV2: Te,
4210
- limitOrder: be,
4211
- ondoPriceOracle: fe
4212
- }, gt = "Gas estimate error occurred", vt = "See console logs to report error details.", Ct = "Missing simulation params", Pt = "Simulation timeout", _e = "swap_data_deposit_error", Ae = "swap_data_withdraw_error", De = "SwapFailed", b = {
4201
+ }, vt = {
4202
+ factory: ye,
4203
+ aaveLendingPoolV2: E,
4204
+ aaveLendingPoolV3: E,
4205
+ rewardDistribution: me,
4206
+ poolManagerLogic: le,
4207
+ erc20: ae,
4208
+ poolLogic: ue,
4209
+ flatcoinPointsModule: ce,
4210
+ easySwapperV2: be,
4211
+ limitOrder: fe,
4212
+ ondoPriceOracle: _e
4213
+ }, Ct = "Gas estimate error occurred", Pt = "See console logs to report error details.", Lt = "Missing simulation params", xt = "Simulation timeout", Ae = "swap_data_deposit_error", De = "swap_data_withdraw_error", Ee = "SwapFailed", b = {
4213
4214
  title: "Low Slippage",
4214
4215
  hint: "Please increase slippage tolerance and try again."
4215
- }, Ee = {
4216
+ }, Ie = {
4216
4217
  "invalid liquidityMinted": b,
4217
4218
  "high withdraw slippage": b,
4218
4219
  "high deposit slippage": b,
4219
4220
  "high swap slippage": b,
4220
4221
  InsufficientAmountReceived: b,
4221
- [De]: {
4222
+ [Ee]: {
4222
4223
  title: "Oh no we couldn’t swap the assets",
4223
4224
  hint: "Don’t worry your assets are still in your wallet."
4224
4225
  },
@@ -4226,11 +4227,11 @@ const I = [
4226
4227
  title: "Single Asset Withdrawal not available",
4227
4228
  hint: "Please use All Assets option."
4228
4229
  },
4229
- [_e]: {
4230
+ [Ae]: {
4230
4231
  title: "Oh no we couldn’t swap the assets",
4231
4232
  hint: "Don’t worry your assets are still in your wallet."
4232
4233
  },
4233
- [Ae]: {
4234
+ [De]: {
4234
4235
  title: "Oh no we couldn’t swap the assets",
4235
4236
  hint: "Don’t worry your assets are still in your wallet."
4236
4237
  },
@@ -4362,14 +4363,14 @@ const I = [
4362
4363
  title: "Maximum supply cap reached",
4363
4364
  hint: "Cannot mint such amount of vault tokens as it would exceed the maximum supply cap."
4364
4365
  }
4365
- }, Ie = "Invalid limit order prices", Se = {
4366
+ }, Se = "Invalid limit order prices", Re = {
4366
4367
  InvalidPrices: {
4367
- title: Ie
4368
+ title: Se
4368
4369
  }
4369
- }, Lt = [
4370
- ...Object.keys(Ee),
4371
- ...Object.keys(Se)
4372
- ], e = 18, K = {
4370
+ }, Nt = [
4371
+ ...Object.keys(Ie),
4372
+ ...Object.keys(Re)
4373
+ ], e = 18, Bt = 4, z = {
4373
4374
  address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
4374
4375
  symbol: "USDCe",
4375
4376
  decimals: 6,
@@ -4389,57 +4390,57 @@ const I = [
4389
4390
  symbol: "WBTC",
4390
4391
  decimals: 8,
4391
4392
  value: ""
4392
- }, xt = {
4393
+ }, Ut = {
4393
4394
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4394
4395
  symbol: "tBTC",
4395
4396
  decimals: e,
4396
4397
  value: ""
4397
- }, Nt = {
4398
+ }, Wt = {
4398
4399
  address: "0x5979D7b546E38E414F7E9822514be443A4800529",
4399
4400
  symbol: "wstETH",
4400
4401
  decimals: e,
4401
4402
  value: ""
4402
- }, Bt = {
4403
+ }, Ft = {
4403
4404
  address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
4404
4405
  symbol: "USDT",
4405
4406
  decimals: 6,
4406
4407
  value: ""
4407
- }, Ut = {
4408
+ }, kt = {
4408
4409
  address: "0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",
4409
4410
  symbol: "SOL",
4410
4411
  decimals: 9,
4411
4412
  value: ""
4412
- }, Wt = {
4413
+ }, Vt = {
4413
4414
  address: "0xa9004a5421372e1d83fb1f85b0fc986c912f91f3",
4414
4415
  symbol: "WBNB",
4415
4416
  decimals: e,
4416
4417
  value: ""
4417
- }, Ft = {
4418
+ }, Ht = {
4418
4419
  address: "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
4419
4420
  symbol: "LINK",
4420
4421
  decimals: e,
4421
4422
  value: ""
4422
- }, Re = {
4423
+ }, Me = {
4423
4424
  address: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
4424
4425
  symbol: "USDC",
4425
4426
  decimals: 6,
4426
4427
  value: ""
4427
- }, kt = {
4428
+ }, Yt = {
4428
4429
  address: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
4429
4430
  symbol: "USDbC",
4430
4431
  decimals: 6,
4431
4432
  value: ""
4432
- }, z = {
4433
+ }, q = {
4433
4434
  address: "0x4200000000000000000000000000000000000006",
4434
4435
  symbol: "WETH",
4435
4436
  decimals: e,
4436
4437
  value: ""
4437
- }, Vt = {
4438
+ }, Gt = {
4438
4439
  address: "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
4439
4440
  symbol: "cbETH",
4440
4441
  decimals: e,
4441
4442
  value: ""
4442
- }, Me = {
4443
+ }, we = {
4443
4444
  address: "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
4444
4445
  symbol: "cbBTC",
4445
4446
  decimals: 8,
@@ -4449,22 +4450,22 @@ const I = [
4449
4450
  symbol: "rETH",
4450
4451
  decimals: e,
4451
4452
  value: ""
4452
- }, Ht = {
4453
+ }, Kt = {
4453
4454
  address: "0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b",
4454
4455
  symbol: "tBTC",
4455
4456
  decimals: e,
4456
4457
  value: ""
4457
- }, Yt = {
4458
+ }, zt = {
4458
4459
  address: "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
4459
4460
  symbol: "wstETH",
4460
4461
  decimals: e,
4461
4462
  value: ""
4462
- }, q = {
4463
+ }, X = {
4463
4464
  address: "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
4464
4465
  symbol: "USDCe",
4465
4466
  decimals: 6,
4466
4467
  value: ""
4467
- }, we = {
4468
+ }, Oe = {
4468
4469
  address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
4469
4470
  symbol: "USDC",
4470
4471
  decimals: 6,
@@ -4474,17 +4475,17 @@ const I = [
4474
4475
  symbol: "USDT",
4475
4476
  decimals: 6,
4476
4477
  value: ""
4477
- }, X = {
4478
+ }, Z = {
4478
4479
  address: "0x4200000000000000000000000000000000000006",
4479
4480
  symbol: "WETH",
4480
4481
  decimals: e,
4481
4482
  value: ""
4482
- }, Gt = {
4483
+ }, qt = {
4483
4484
  address: "0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9",
4484
4485
  symbol: "sUSD",
4485
4486
  decimals: e,
4486
4487
  value: ""
4487
- }, Oe = {
4488
+ }, ge = {
4488
4489
  address: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
4489
4490
  symbol: "DAI",
4490
4491
  decimals: e,
@@ -4494,158 +4495,165 @@ const I = [
4494
4495
  symbol: "WBTC",
4495
4496
  decimals: 8,
4496
4497
  value: ""
4497
- }, Kt = {
4498
+ }, Xt = {
4498
4499
  address: "0xe405de8f52ba7559f9df3c368500b6e6ae6cee49",
4499
4500
  symbol: "sETH",
4500
4501
  decimals: e,
4501
4502
  value: ""
4502
- }, zt = {
4503
+ }, Zt = {
4503
4504
  address: "0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6",
4504
4505
  symbol: "LINK",
4505
4506
  decimals: e,
4506
4507
  value: ""
4507
- }, qt = {
4508
+ }, $t = {
4508
4509
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4509
4510
  symbol: "tBTC",
4510
4511
  decimals: e,
4511
4512
  value: ""
4512
- }, Xt = {
4513
+ }, jt = {
4513
4514
  address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
4514
4515
  symbol: "wstETH",
4515
4516
  decimals: e,
4516
4517
  value: ""
4517
- }, Z = {
4518
+ }, $ = {
4518
4519
  address: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
4519
4520
  symbol: "WETH",
4520
4521
  decimals: e,
4521
4522
  value: ""
4522
- }, $ = {
4523
+ }, j = {
4523
4524
  address: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
4524
4525
  symbol: "USDCe",
4525
4526
  decimals: 6,
4526
4527
  value: ""
4527
- }, ge = {
4528
+ }, ve = {
4528
4529
  address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
4529
4530
  symbol: "USDC",
4530
4531
  decimals: 6,
4531
4532
  value: ""
4532
- }, Zt = {
4533
+ }, Qt = {
4533
4534
  address: "0x553d3d295e0f695b9228246232edf400ed3560b5",
4534
4535
  symbol: "PAXG",
4535
4536
  decimals: e,
4536
4537
  value: ""
4537
- }, j = {
4538
+ }, Q = {
4538
4539
  address: "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
4539
4540
  symbol: "WBTC",
4540
4541
  decimals: 8,
4541
4542
  value: ""
4542
- }, ve = {
4543
+ }, Ce = {
4543
4544
  address: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
4544
4545
  symbol: "WPOL",
4545
4546
  decimals: e,
4546
4547
  value: ""
4547
- }, Ce = {
4548
+ }, Pe = {
4548
4549
  address: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
4549
4550
  symbol: "USDT",
4550
4551
  decimals: 6,
4551
4552
  value: ""
4552
- }, Pe = {
4553
+ }, Le = {
4553
4554
  address: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
4554
4555
  symbol: "DAI",
4555
4556
  decimals: e,
4556
4557
  value: ""
4557
- }, $t = {
4558
+ }, Jt = {
4558
4559
  address: "0x236aa50979d5f3de3bd1eeb40e81137f22ab794b",
4559
4560
  symbol: "tBTC",
4560
4561
  decimals: e,
4561
4562
  value: ""
4562
- }, Q = {
4563
+ }, J = {
4563
4564
  address: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
4564
4565
  symbol: "WETH",
4565
4566
  decimals: e,
4566
4567
  value: ""
4567
- }, Le = {
4568
+ }, xe = {
4568
4569
  address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
4569
4570
  symbol: "USDC",
4570
4571
  decimals: 6,
4571
4572
  value: ""
4572
- }, J = {
4573
+ }, ee = {
4573
4574
  address: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
4574
4575
  symbol: "WBTC",
4575
4576
  decimals: 8,
4576
4577
  value: ""
4577
- }, xe = {
4578
+ }, Ne = {
4578
4579
  address: "0xdac17f958d2ee523a2206206994597c13d831ec7",
4579
4580
  symbol: "USDT",
4580
4581
  decimals: 6,
4581
4582
  value: ""
4582
- }, jt = {
4583
+ }, ea = {
4583
4584
  address: "0x68749665ff8d2d112fa859aa293f07a622782f38",
4584
4585
  symbol: "XAUt",
4585
4586
  decimals: 6,
4586
4587
  value: ""
4587
- }, Qt = {
4588
- address: E,
4588
+ }, Be = {
4589
+ address: "0xb88339cb7199b77e23db6e890353e22632ba630f",
4590
+ symbol: "USDC",
4591
+ decimals: 6,
4592
+ value: ""
4593
+ }, ta = {
4594
+ address: I,
4589
4595
  symbol: "all",
4590
4596
  decimals: e,
4591
4597
  value: ""
4592
- }, Jt = {
4593
- [K.address.toLowerCase()]: "USDCe",
4594
- [q.address.toLowerCase()]: "USDCe",
4595
- [$.address.toLowerCase()]: "USDCe"
4596
- }, ea = {
4597
- [a.id]: Q,
4598
- [t.id]: X,
4599
- [n.id]: z,
4600
- [i.id]: Z,
4598
+ }, aa = {
4599
+ [z.address.toLowerCase()]: "USDCe",
4600
+ [X.address.toLowerCase()]: "USDCe",
4601
+ [j.address.toLowerCase()]: "USDCe"
4602
+ }, na = {
4603
+ [a.id]: J,
4604
+ [t.id]: Z,
4605
+ [n.id]: q,
4606
+ [i.id]: $,
4601
4607
  [s.id]: A
4602
- }, ta = {
4608
+ }, sa = {
4603
4609
  [t.id]: f,
4604
- [n.id]: Me,
4605
- [i.id]: j,
4610
+ [n.id]: we,
4611
+ [i.id]: Q,
4606
4612
  [s.id]: c,
4607
- [a.id]: J
4608
- }, aa = {
4613
+ [a.id]: ee
4614
+ }, ia = {
4609
4615
  [t.id]: {
4610
- WETH: X,
4611
- USDC: we,
4616
+ WETH: Z,
4617
+ USDC: Oe,
4612
4618
  WBTC: f,
4613
- USDCe: q,
4619
+ USDCe: X,
4614
4620
  USDT: he,
4615
- DAI: Oe
4621
+ DAI: ge
4616
4622
  },
4617
4623
  [i.id]: {
4618
- WMATIC: ve,
4619
- WETH: Z,
4620
- USDC: ge,
4621
- WBTC: j,
4622
- USDCe: $,
4623
- USDT: Ce,
4624
- DAI: Pe
4624
+ WMATIC: Ce,
4625
+ WETH: $,
4626
+ USDC: ve,
4627
+ WBTC: Q,
4628
+ USDCe: j,
4629
+ USDT: Pe,
4630
+ DAI: Le
4625
4631
  },
4626
4632
  [s.id]: {
4627
4633
  WETH: A,
4628
4634
  USDC: o,
4629
4635
  WBTC: c,
4630
- USDCe: K
4636
+ USDCe: z
4631
4637
  },
4632
4638
  [n.id]: {
4633
- WETH: z,
4634
- USDC: Re
4639
+ WETH: q,
4640
+ USDC: Me
4635
4641
  },
4636
4642
  [a.id]: {
4637
- WETH: Q,
4638
- USDC: Le,
4639
- WBTC: J,
4640
- USDT: xe
4643
+ WETH: J,
4644
+ USDC: xe,
4645
+ WBTC: ee,
4646
+ USDT: Ne
4641
4647
  }
4642
- }, na = "https://hermes.pyth.network", sa = "https://flat.money/flatcoin", ia = "https://v1.flat.money/flatcoin", _ = {
4648
+ }, pa = {
4649
+ [p.id]: Be
4650
+ }, ra = "https://hermes.pyth.network", da = "https://flat.money/flatcoin", oa = "https://v1.flat.money/flatcoin", _ = {
4643
4651
  RETH_BASE: "0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768",
4644
4652
  WBTC_OPTIMISM: "0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879",
4645
4653
  WBTC_ARBITRUM: "0xb1353d51991e79fefd4bfdba2a03e9f0232814a6"
4646
- }, pa = Object.values(
4654
+ }, ya = Object.values(
4647
4655
  _
4648
- ), ra = {
4656
+ ), ua = {
4649
4657
  [_.RETH_BASE]: {
4650
4658
  symbol: D.symbol,
4651
4659
  decimals: D.decimals,
@@ -4661,18 +4669,18 @@ const I = [
4661
4669
  decimals: c.decimals,
4662
4670
  address: c.address
4663
4671
  }
4664
- }, Ne = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", da = [
4665
- Ne,
4672
+ }, Ue = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", la = [
4673
+ Ue,
4666
4674
  "0x357cb23571ef7a3d6189b7facfc361ea71f7cab5"
4667
4675
  // WBTC_OPTIMISM
4668
- ], oa = {
4676
+ ], ma = {
4669
4677
  [n.id]: 2e3,
4670
4678
  [a.id]: 500,
4671
4679
  [t.id]: 2e3,
4672
4680
  [s.id]: 500,
4673
4681
  [i.id]: 500,
4674
4682
  [p.id]: 500
4675
- }, ya = {
4683
+ }, ca = {
4676
4684
  DEPOSIT: "deposit",
4677
4685
  DEPOSIT_CUSTOM: "depositWithCustomCooldown",
4678
4686
  NATIVE: "nativeDeposit",
@@ -4681,7 +4689,7 @@ const I = [
4681
4689
  ZAP_NATIVE_DEPOSIT_CUSTOM: "zapNativeDepositWithCustomCooldown",
4682
4690
  ZAP_DEPOSIT: "zapDeposit",
4683
4691
  ZAP_DEPOSIT_CUSTOM: "zapDepositWithCustomCooldown"
4684
- }, ua = [
4692
+ }, Ta = [
4685
4693
  "multi_withdraw",
4686
4694
  "swap",
4687
4695
  "claim",
@@ -4702,9 +4710,9 @@ const I = [
4702
4710
  PUMP_ARBITRUM: "0x4c0bb704529fa49a26bd854802d70206982c6f1b",
4703
4711
  GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e",
4704
4712
  AAVE_ARBITRUM: "0x1cbba6346f110c8a5ea739ef2d1eb182990e4eb2"
4705
- }, la = Object.values(
4713
+ }, ba = Object.values(
4706
4714
  r
4707
- ), ma = {
4715
+ ), fa = {
4708
4716
  [r.SOL_ARBITRUM]: o,
4709
4717
  [r.BTC_ARBITRUM]: c,
4710
4718
  [r.WETH_WETH_ARBITRUM]: A,
@@ -4720,142 +4728,145 @@ const I = [
4720
4728
  [r.BNB_WBTC_USDC_ARBITRUM]: o,
4721
4729
  [r.GOLD_ARBITRUM]: o,
4722
4730
  [r.AAVE_ARBITRUM]: o
4723
- }, ca = {
4731
+ }, _a = {
4724
4732
  "0x9a916e55f5b67226734cd7b465d51bce1d11a89a": o
4725
4733
  // USDmny Arbitrum
4726
4734
  };
4727
4735
  export {
4728
- ct as $,
4729
- Tt as A,
4730
- Jt as B,
4731
- lt as C,
4732
- ne as D,
4733
- st as E,
4734
- nt as F,
4735
- qe as G,
4736
- Ke as H,
4737
- Ve as I,
4738
- Ge as J,
4739
- aa as K,
4740
- ra as L,
4741
- pa as M,
4742
- da as N,
4743
- sa as O,
4744
- Ne as P,
4745
- ia as Q,
4746
- gt as R,
4747
- pt as S,
4748
- la as T,
4736
+ bt as $,
4737
+ ft as A,
4738
+ aa as B,
4739
+ ct as C,
4740
+ se as D,
4741
+ pt as E,
4742
+ it as F,
4743
+ Ze as G,
4744
+ qe as H,
4745
+ Ye as I,
4746
+ ze as J,
4747
+ ia as K,
4748
+ ua as L,
4749
+ ya as M,
4750
+ la as N,
4751
+ da as O,
4752
+ Ue as P,
4753
+ oa as Q,
4754
+ Ct as R,
4755
+ dt as S,
4756
+ ba as T,
4749
4757
  r as U,
4750
- ma as V,
4751
- ca as W,
4752
- Ie as X,
4753
- Se as Y,
4754
- At as Z,
4755
- rt as _,
4756
- ae as a,
4757
- Wt as a$,
4758
- Qt as a0,
4759
- Fe as a1,
4760
- it as a2,
4761
- na as a3,
4762
- Ye as a4,
4763
- Pt as a5,
4764
- et as a6,
4765
- _t as a7,
4766
- De as a8,
4767
- yt as a9,
4768
- Et as aA,
4769
- Rt as aB,
4770
- xe as aC,
4771
- be as aD,
4772
- I as aE,
4773
- K as aF,
4774
- q as aG,
4775
- $ as aH,
4776
- Me as aI,
4777
- Vt as aJ,
4778
- Oe as aK,
4779
- Pe as aL,
4780
- Ft as aM,
4781
- zt as aN,
4782
- Zt as aO,
4783
- D as aP,
4784
- le as aQ,
4785
- Kt as aR,
4786
- Gt as aS,
4787
- xt as aT,
4788
- Ht as aU,
4758
+ fa as V,
4759
+ _a as W,
4760
+ Se as X,
4761
+ Re as Y,
4762
+ Et as Z,
4763
+ ot as _,
4764
+ ne as a,
4765
+ Ft as a$,
4766
+ ta as a0,
4767
+ Ve as a1,
4768
+ rt as a2,
4769
+ pa as a3,
4770
+ ra as a4,
4771
+ Ke as a5,
4772
+ xt as a6,
4773
+ at as a7,
4774
+ Dt as a8,
4775
+ Ee as a9,
4776
+ le as aA,
4777
+ ce as aB,
4778
+ St as aC,
4779
+ wt as aD,
4780
+ Ne as aE,
4781
+ fe as aF,
4782
+ Bt as aG,
4783
+ E as aH,
4784
+ z as aI,
4785
+ X as aJ,
4786
+ j as aK,
4787
+ we as aL,
4788
+ Gt as aM,
4789
+ ge as aN,
4790
+ Le as aO,
4791
+ Ht as aP,
4792
+ Zt as aQ,
4793
+ Qt as aR,
4794
+ D as aS,
4795
+ me as aT,
4796
+ Xt as aU,
4789
4797
  qt as aV,
4790
- $t as aW,
4791
- kt as aX,
4792
- Bt as aY,
4793
- he as aZ,
4794
- Ce as a_,
4795
- Dt as aa,
4796
- d as ab,
4797
- Ee as ac,
4798
- Lt as ad,
4799
- oa as ae,
4800
- ta as af,
4801
- ea as ag,
4802
- Ae as ah,
4803
- Ot as ai,
4804
- ht as aj,
4805
- E as ak,
4806
- Mt as al,
4807
- wt as am,
4808
- e as an,
4809
- It as ao,
4810
- St as ap,
4811
- Le as aq,
4812
- ge as ar,
4813
- we as as,
4814
- Re as at,
4815
- o as au,
4816
- oe as av,
4817
- ye as aw,
4818
- Te as ax,
4798
+ Ut as aW,
4799
+ Kt as aX,
4800
+ $t as aY,
4801
+ Jt as aZ,
4802
+ Yt as a_,
4803
+ lt as aa,
4804
+ It as ab,
4805
+ d as ac,
4806
+ Ie as ad,
4807
+ Nt as ae,
4808
+ ma as af,
4809
+ sa as ag,
4810
+ na as ah,
4811
+ De as ai,
4812
+ vt as aj,
4813
+ gt as ak,
4814
+ I as al,
4815
+ Ot as am,
4816
+ ht as an,
4817
+ e as ao,
4818
+ Rt as ap,
4819
+ Mt as aq,
4820
+ Be as ar,
4821
+ xe as as,
4822
+ ve as at,
4823
+ Oe as au,
4824
+ Me as av,
4825
+ o as aw,
4826
+ ye as ax,
4819
4827
  ue as ay,
4820
- me as az,
4821
- mt as b,
4822
- c as b0,
4823
- J as b1,
4824
- f as b2,
4825
- j as b3,
4826
- A as b4,
4827
- z as b5,
4828
+ be as az,
4829
+ Tt as b,
4830
+ he as b0,
4831
+ Pe as b1,
4832
+ Vt as b2,
4833
+ c as b3,
4834
+ ee as b4,
4835
+ f as b5,
4828
4836
  Q as b6,
4829
- X as b7,
4830
- Z as b8,
4831
- ve as b9,
4832
- Ut as ba,
4833
- Nt as bb,
4834
- Yt as bc,
4835
- Xt as bd,
4836
- jt as be,
4837
- ua as c,
4838
- ft as d,
4839
- bt as e,
4840
- Xe as f,
4841
- se as g,
4842
- Je as h,
4843
- vt as i,
4844
- ze as j,
4837
+ A as b7,
4838
+ q as b8,
4839
+ J as b9,
4840
+ Z as ba,
4841
+ $ as bb,
4842
+ Ce as bc,
4843
+ kt as bd,
4844
+ Wt as be,
4845
+ zt as bf,
4846
+ jt as bg,
4847
+ ea as bh,
4848
+ Ta as c,
4849
+ At as d,
4850
+ _t as e,
4851
+ $e as f,
4852
+ ie as g,
4853
+ tt as h,
4854
+ Pt as i,
4855
+ Xe as j,
4845
4856
  m as k,
4846
- tt as l,
4847
- ut as m,
4848
- $e as n,
4849
- He as o,
4857
+ nt as l,
4858
+ mt as m,
4859
+ Qe as n,
4860
+ Ge as o,
4850
4861
  l as p,
4851
- dt as q,
4852
- je as r,
4853
- Ct as s,
4854
- Qe as t,
4855
- ke as u,
4856
- ot as v,
4857
- Ze as w,
4858
- _e as x,
4859
- ya as y,
4860
- at as z
4862
+ yt as q,
4863
+ Je as r,
4864
+ Lt as s,
4865
+ et as t,
4866
+ He as u,
4867
+ ut as v,
4868
+ je as w,
4869
+ Ae as x,
4870
+ ca as y,
4871
+ st as z
4861
4872
  };