@dhedge/trading-widget 5.6.1 → 5.7.3

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 (40) hide show
  1. package/README.md +1 -0
  2. package/{complex-withdraw-asset-data-Dcnjfbe1.js → complex-withdraw-asset-data-CSbXrln9.js} +7 -7
  3. package/{complex-withdraw-asset-data-CJHcItJS.cjs → complex-withdraw-asset-data-PUJePMgr.cjs} +1 -1
  4. package/const.cjs +1 -1
  5. package/const.js +30 -27
  6. package/core-kit/const/derive.d.ts +1 -0
  7. package/core-kit/const/error.d.ts +1 -0
  8. package/core-kit/const/gmx.d.ts +1 -0
  9. package/core-kit/const/index.d.ts +1 -0
  10. package/core-kit/hooks/state/action.d.ts +8 -1
  11. package/core-kit/hooks/state/index.d.ts +1 -1
  12. package/core-kit/types/state.types.d.ts +12 -1
  13. package/derive-BmKPodpX.js +7 -0
  14. package/derive-CsdqSZEg.cjs +1 -0
  15. package/index.cjs +1 -1
  16. package/index.js +2935 -2699
  17. package/package.json +1 -1
  18. package/{storage-CHA9ReGl.js → storage-C-fGORin.js} +241 -238
  19. package/{storage-DWlbZwWV.cjs → storage-DpKnvEM4.cjs} +1 -1
  20. package/style.css +1 -1
  21. package/trading-widget/components/common/icon/sad-face-icon/sad-face-icon.d.ts +2 -0
  22. package/trading-widget/components/common/switch/switch.d.ts +3 -1
  23. package/trading-widget/components/widget/widget-buttons/withdraw-stepper-button/withdraw-stepper-button.hooks.d.ts +1 -0
  24. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/deposits/deposit-swap-error-overlay.d.ts +7 -0
  25. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/deposits/refresh-deposit-swap-quote-overlay-button.d.ts +6 -0
  26. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/deposits/refresh-deposit-swap-quote-overlay-button.hooks.d.ts +4 -0
  27. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/error-notification-overlay.hooks.d.ts +2 -0
  28. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/refresh-swap-quote-overlay-button.d.ts +7 -0
  29. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/refresh-swap-quote-overlay-button.hooks.d.ts +12 -0
  30. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/{complete-withdraw-error-overlay.d.ts → withdrawals/complete-withdraw-error-overlay.d.ts} +3 -2
  31. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/withdrawals/refresh-withdraw-swap-quote-overlay-button.d.ts +6 -0
  32. package/trading-widget/components/widget/widget-overlay/error-notification-overlay/withdrawals/refresh-withdraw-swap-quote-overlay-button.hooks.d.ts +4 -0
  33. package/trading-widget/components/widget/widget-overlay/trading-overlay/deposits/success-deposit-overlay.hooks.d.ts +2 -0
  34. package/trading-widget/components/withdraw/init-step/input-group/init-withdraw-input-group.hooks.d.ts +1 -0
  35. package/trading-widget/providers/component-provider/component-provider.d.ts +1 -0
  36. package/trading-widget/providers/component-provider/component-provider.hooks.d.ts +1 -0
  37. package/trading-widget/providers/component-provider/component-provider.types.d.ts +1 -0
  38. package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +2 -0
  39. package/utils.cjs +1 -1
  40. package/utils.js +1 -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
2
  import { formatDuration as K } from "date-fns";
3
3
  import { erc20Abi as z } from "viem";
4
- const q = "0x0000000000000000000000000000000000000000", xe = BigInt(
4
+ const X = "0x0000000000000000000000000000000000000000", Ne = BigInt(
5
5
  "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
6
- ), l = 18, Ne = "1000000000000000000", Be = 59e3, Ue = 3e4, We = 15e3, Fe = 5e3, X = 400, ke = X * 1.2, He = K({ hours: 24 }), Ve = {
7
- address: q,
6
+ ), l = 18, Be = "1000000000000000000", Ue = 59e3, We = 3e4, Fe = 15e3, ke = 5e3, q = 400, He = q * 1.2, Ve = K({ hours: 24 }), Ge = {
7
+ address: X,
8
8
  symbol: "",
9
9
  chainId: t.id,
10
10
  depositParams: { customTokens: [] },
11
11
  withdrawParams: { customTokens: [] },
12
12
  deprecated: !1
13
- }, Ge = "deposit", Ye = 1, Z = 0, Ke = 0.5, ze = 0.02, qe = 0.75, Xe = [Z], Ze = "withdrawSafe", $e = "initWithdrawal", je = "unrollAndClaim", Qe = "completeWithdrawal", Je = 3e7, et = 1.25, tt = 1e4, at = 13e3, nt = 3, st = 2e4, it = 15e3, pt = {
13
+ }, Ye = "deposit", Ke = 1, Z = 0, ze = 0.5, Xe = 0.02, qe = 0.75, Ze = [Z], $e = "withdrawSafe", je = "initWithdrawal", Qe = "unrollAndClaim", Je = "completeWithdrawal", et = 3e7, tt = 1.25, at = 1e4, nt = 13e3, st = 3, it = 2e4, pt = 15e3, rt = {
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
- }, rt = {
20
+ }, dt = {
21
21
  [a.id]: {
22
22
  nativeTokenSymbol: "ETH",
23
23
  wrappedNativeTokenName: "WETH",
@@ -54,29 +54,29 @@ const q = "0x0000000000000000000000000000000000000000", xe = BigInt(
54
54
  address: "0x5555555555555555555555555555555555555555",
55
55
  decimals: l
56
56
  }
57
- }, dt = {
57
+ }, ot = {
58
58
  [a.id]: 299e5,
59
59
  [i.id]: 299e5,
60
60
  [t.id]: 299e5,
61
61
  [s.id]: 299e5,
62
62
  [n.id]: 299e5,
63
63
  [y.id]: 299e5
64
- }, ot = {
64
+ }, yt = {
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
- }, yt = {
71
+ }, ut = {
72
72
  USD: "$",
73
73
  ETH: "Ξ",
74
74
  BTC: "₿"
75
- }, ut = {
75
+ }, lt = {
76
76
  USD: 2,
77
77
  ETH: 4,
78
78
  BTC: 6
79
- }, lt = ["USDC", "USDT"], r = {
79
+ }, mt = ["USDC", "USDT"], d = {
80
80
  INVEST_INPUT_FOCUS: "invest_input_focus",
81
81
  APPROVED_TOKEN: "approved_token",
82
82
  DEPOSIT: "deposit",
@@ -93,29 +93,29 @@ const q = "0x0000000000000000000000000000000000000000", xe = 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
- }, mt = {
97
- approve: [r.APPROVED_TOKEN],
98
- deposit: [r.DEPOSIT],
96
+ }, ct = {
97
+ approve: [d.APPROVED_TOKEN],
98
+ deposit: [d.DEPOSIT],
99
99
  multi_withdraw: [
100
- r.WITHDRAWAL,
101
- r.MULTI_ASSET_WITHDRAW
100
+ d.WITHDRAWAL,
101
+ d.MULTI_ASSET_WITHDRAW
102
102
  ],
103
103
  single_withdraw: [
104
- r.WITHDRAWAL,
105
- r.SINGLE_ASSET_WITHDRAW
104
+ d.WITHDRAWAL,
105
+ d.SINGLE_ASSET_WITHDRAW
106
106
  ],
107
107
  single_withdraw_and_claim: [
108
- r.WITHDRAWAL,
109
- r.SINGLE_ASSET_WITHDRAW_AND_CLAIM
108
+ d.WITHDRAWAL,
109
+ d.SINGLE_ASSET_WITHDRAW_AND_CLAIM
110
110
  ],
111
- claim: [r.CLAIM],
112
- swap: [r.SWAP],
113
- create_limit_sell_order: [r.CREATE_LIMIT_SELL_ORDER],
114
- limit_order_withdraw: [r.LIMIT_ORDER_WITHDRAW],
111
+ claim: [d.CLAIM],
112
+ swap: [d.SWAP],
113
+ create_limit_sell_order: [d.CREATE_LIMIT_SELL_ORDER],
114
+ limit_order_withdraw: [d.LIMIT_ORDER_WITHDRAW],
115
115
  delete_limit_order_withdraw: [
116
- r.LIMIT_ORDER_WITHDRAW_DELETE
116
+ d.LIMIT_ORDER_WITHDRAW_DELETE
117
117
  ]
118
- }, ct = {
118
+ }, Tt = {
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" },
@@ -126,7 +126,7 @@ const q = "0x0000000000000000000000000000000000000000", xe = BigInt(
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
127
  const c = process.env.NEXT_PUBLIC_INFURA_API_KEY;
128
128
  s.id + "", `${c}`, t.id + "", `${c}`, i.id + "", `${c}`, n.id + "", `${c}`, a.id + "", `${c}`;
129
- const Tt = {
129
+ const bt = {
130
130
  [s.id]: {
131
131
  ...s,
132
132
  name: "Arbitrum",
@@ -170,7 +170,7 @@ a.id + "", t.id + "", i.id + "", s.id + "", n.id + "", y.id + "";
170
170
  const E = "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 $ = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", S = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", I = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", j = "0xffFb5fB14606EB3a548C113026355020dDF27535", R = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", w = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", M = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", Q = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", h = "0xf067575Eb60c7587C11e867907AA7284833704d1", J = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", bt = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", ft = "0x1849324228d852a67eb7443e42d967e480ffe95d", g = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", O = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", ee = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", te = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", v = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", C = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", L = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", ae = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", ne = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", P = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", x = "0x45b90480D6F643dE2f128db091A357C3c90399f2", N = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", se = "0xe91505E2Ab653Dd128c71e9690EeEFd28cc5b333", ie = "0x1b7913883eEE231CeBfe3024A0B06B0cB5771343", _t = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
173
+ const $ = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", S = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", I = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", j = "0xffFb5fB14606EB3a548C113026355020dDF27535", R = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", w = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", M = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", Q = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", h = "0xf067575Eb60c7587C11e867907AA7284833704d1", J = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", ft = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", _t = "0x1849324228d852a67eb7443e42d967e480ffe95d", O = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", g = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", ee = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", te = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", v = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", C = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", L = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", ae = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", ne = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", P = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", x = "0x45b90480D6F643dE2f128db091A357C3c90399f2", N = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", se = "0xe91505E2Ab653Dd128c71e9690EeEFd28cc5b333", ie = "0x1b7913883eEE231CeBfe3024A0B06B0cB5771343", At = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
174
174
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
175
175
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
176
176
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
@@ -1389,7 +1389,7 @@ const D = [
1389
1389
  stateMutability: "nonpayable",
1390
1390
  type: "function"
1391
1391
  }
1392
- ], At = [
1392
+ ], Dt = [
1393
1393
  {
1394
1394
  type: "tuple[]",
1395
1395
  components: [
@@ -1417,7 +1417,7 @@ const D = [
1417
1417
  }
1418
1418
  ]
1419
1419
  }
1420
- ], Dt = [
1420
+ ], Et = [
1421
1421
  {
1422
1422
  type: "tuple",
1423
1423
  components: [
@@ -4034,7 +4034,7 @@ const D = [
4034
4034
  stateMutability: "nonpayable",
4035
4035
  type: "function"
4036
4036
  }
4037
- ], Et = {
4037
+ ], St = {
4038
4038
  [a.id]: {
4039
4039
  factory: $,
4040
4040
  easySwapperV2: S,
@@ -4064,14 +4064,14 @@ const D = [
4064
4064
  factory: Q,
4065
4065
  flatcoinPointsModule: J,
4066
4066
  easySwapperV2: h,
4067
- aaveLendingPoolV3: g,
4068
- limitOrder: O
4067
+ aaveLendingPoolV3: O,
4068
+ limitOrder: g
4069
4069
  },
4070
4070
  [y.id]: {
4071
4071
  factory: se,
4072
4072
  easySwapperV2: ie
4073
4073
  }
4074
- }, St = {
4074
+ }, It = {
4075
4075
  factory: pe,
4076
4076
  aaveLendingPoolV2: D,
4077
4077
  aaveLendingPoolV3: D,
@@ -4082,30 +4082,30 @@ const D = [
4082
4082
  flatcoinPointsModule: ye,
4083
4083
  easySwapperV2: le,
4084
4084
  limitOrder: me
4085
- }, It = "Gas estimate error occurred", Rt = "See console logs to report error details.", wt = "Missing simulation params", Mt = "Simulation timeout", ce = "swap_data_deposit_error", Te = "swap_data_withdraw_error", T = {
4085
+ }, Rt = "Gas estimate error occurred", wt = "See console logs to report error details.", Mt = "Missing simulation params", ht = "Simulation timeout", ce = "swap_data_deposit_error", Te = "swap_data_withdraw_error", be = "SwapFailed", T = {
4086
4086
  title: "Low Slippage",
4087
4087
  hint: "Please increase slippage tolerance and try again."
4088
- }, be = {
4088
+ }, fe = {
4089
4089
  "invalid liquidityMinted": T,
4090
4090
  "high withdraw slippage": T,
4091
4091
  "high deposit slippage": T,
4092
4092
  "high swap slippage": T,
4093
4093
  InsufficientAmountReceived: T,
4094
- SwapFailed: {
4095
- title: "Swap Failed",
4096
- hint: "Please refresh the swap quote or choose another swap source in settings and try again."
4094
+ [be]: {
4095
+ title: "Oh no we couldn’t swap the assets",
4096
+ hint: "Don’t worry your assets are still in your wallet."
4097
4097
  },
4098
4098
  "assetType not handled": {
4099
4099
  title: "Single Asset Withdrawal not available",
4100
4100
  hint: "Please use All Assets option."
4101
4101
  },
4102
4102
  [ce]: {
4103
- title: "Swap Quote Fetching Error",
4104
- hint: "Please select a different deposit option, refresh the swap quote, or choose another swap source in settings."
4103
+ title: "Oh no we couldn’t swap the assets",
4104
+ hint: "Don’t worry your assets are still in your wallet."
4105
4105
  },
4106
4106
  [Te]: {
4107
- title: "Swap Quote Fetching Error",
4108
- hint: "Please refresh the swap quote, choose another swap source in settings, or claim your assets without a swap."
4107
+ title: "Oh no we couldn’t swap the assets",
4108
+ hint: "Don’t worry your assets are still in your wallet."
4109
4109
  },
4110
4110
  dh1: {
4111
4111
  title: "Factory contract is paused",
@@ -4235,19 +4235,19 @@ const D = [
4235
4235
  title: "Maximum supply cap reached",
4236
4236
  hint: "Cannot mint such amount of vault tokens as it would exceed the maximum supply cap."
4237
4237
  }
4238
- }, fe = "Invalid limit order prices", _e = {
4238
+ }, _e = "Invalid limit order prices", Ae = {
4239
4239
  InvalidPrices: {
4240
- title: fe
4240
+ title: _e
4241
4241
  }
4242
- }, ht = [
4243
- ...Object.keys(be),
4244
- ...Object.keys(_e)
4242
+ }, Ot = [
4243
+ ...Object.keys(fe),
4244
+ ...Object.keys(Ae)
4245
4245
  ], e = 18, B = {
4246
4246
  address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
4247
4247
  symbol: "USDCe",
4248
4248
  decimals: 6,
4249
4249
  value: ""
4250
- }, d = {
4250
+ }, r = {
4251
4251
  address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
4252
4252
  symbol: "USDC",
4253
4253
  decimals: 6,
@@ -4267,37 +4267,37 @@ const D = [
4267
4267
  symbol: "tBTC",
4268
4268
  decimals: e,
4269
4269
  value: ""
4270
- }, Ot = {
4270
+ }, vt = {
4271
4271
  address: "0x5979D7b546E38E414F7E9822514be443A4800529",
4272
4272
  symbol: "wstETH",
4273
4273
  decimals: e,
4274
4274
  value: ""
4275
- }, vt = {
4275
+ }, Ct = {
4276
4276
  address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
4277
4277
  symbol: "USDT",
4278
4278
  decimals: 6,
4279
4279
  value: ""
4280
- }, Ct = {
4280
+ }, Lt = {
4281
4281
  address: "0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",
4282
4282
  symbol: "SOL",
4283
4283
  decimals: 9,
4284
4284
  value: ""
4285
- }, Lt = {
4285
+ }, Pt = {
4286
4286
  address: "0xa9004a5421372e1d83fb1f85b0fc986c912f91f3",
4287
4287
  symbol: "WBNB",
4288
4288
  decimals: e,
4289
4289
  value: ""
4290
- }, Pt = {
4290
+ }, xt = {
4291
4291
  address: "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
4292
4292
  symbol: "LINK",
4293
4293
  decimals: e,
4294
4294
  value: ""
4295
- }, Ae = {
4295
+ }, De = {
4296
4296
  address: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
4297
4297
  symbol: "USDC",
4298
4298
  decimals: 6,
4299
4299
  value: ""
4300
- }, xt = {
4300
+ }, Nt = {
4301
4301
  address: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
4302
4302
  symbol: "USDbC",
4303
4303
  decimals: 6,
@@ -4307,12 +4307,12 @@ const D = [
4307
4307
  symbol: "WETH",
4308
4308
  decimals: e,
4309
4309
  value: ""
4310
- }, Nt = {
4310
+ }, Bt = {
4311
4311
  address: "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
4312
4312
  symbol: "cbETH",
4313
4313
  decimals: e,
4314
4314
  value: ""
4315
- }, De = {
4315
+ }, Ee = {
4316
4316
  address: "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
4317
4317
  symbol: "cbBTC",
4318
4318
  decimals: 8,
@@ -4322,12 +4322,12 @@ const D = [
4322
4322
  symbol: "rETH",
4323
4323
  decimals: e,
4324
4324
  value: ""
4325
- }, Bt = {
4325
+ }, Ut = {
4326
4326
  address: "0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b",
4327
4327
  symbol: "tBTC",
4328
4328
  decimals: e,
4329
4329
  value: ""
4330
- }, Ut = {
4330
+ }, Wt = {
4331
4331
  address: "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
4332
4332
  symbol: "wstETH",
4333
4333
  decimals: e,
@@ -4337,12 +4337,12 @@ const D = [
4337
4337
  symbol: "USDCe",
4338
4338
  decimals: 6,
4339
4339
  value: ""
4340
- }, Ee = {
4340
+ }, Se = {
4341
4341
  address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
4342
4342
  symbol: "USDC",
4343
4343
  decimals: 6,
4344
4344
  value: ""
4345
- }, Se = {
4345
+ }, Ie = {
4346
4346
  address: "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
4347
4347
  symbol: "USDT",
4348
4348
  decimals: 6,
@@ -4352,12 +4352,12 @@ const D = [
4352
4352
  symbol: "WETH",
4353
4353
  decimals: e,
4354
4354
  value: ""
4355
- }, Wt = {
4355
+ }, Ft = {
4356
4356
  address: "0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9",
4357
4357
  symbol: "sUSD",
4358
4358
  decimals: e,
4359
4359
  value: ""
4360
- }, Ie = {
4360
+ }, Re = {
4361
4361
  address: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
4362
4362
  symbol: "DAI",
4363
4363
  decimals: e,
@@ -4367,22 +4367,22 @@ const D = [
4367
4367
  symbol: "WBTC",
4368
4368
  decimals: 8,
4369
4369
  value: ""
4370
- }, Ft = {
4370
+ }, kt = {
4371
4371
  address: "0xe405de8f52ba7559f9df3c368500b6e6ae6cee49",
4372
4372
  symbol: "sETH",
4373
4373
  decimals: e,
4374
4374
  value: ""
4375
- }, kt = {
4375
+ }, Ht = {
4376
4376
  address: "0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6",
4377
4377
  symbol: "LINK",
4378
4378
  decimals: e,
4379
4379
  value: ""
4380
- }, Ht = {
4380
+ }, Vt = {
4381
4381
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4382
4382
  symbol: "tBTC",
4383
4383
  decimals: e,
4384
4384
  value: ""
4385
- }, Vt = {
4385
+ }, Gt = {
4386
4386
  address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
4387
4387
  symbol: "wstETH",
4388
4388
  decimals: e,
@@ -4397,12 +4397,12 @@ const D = [
4397
4397
  symbol: "USDCe",
4398
4398
  decimals: 6,
4399
4399
  value: ""
4400
- }, Re = {
4400
+ }, we = {
4401
4401
  address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
4402
4402
  symbol: "USDC",
4403
4403
  decimals: 6,
4404
4404
  value: ""
4405
- }, Gt = {
4405
+ }, Yt = {
4406
4406
  address: "0x553d3d295e0f695b9228246232edf400ed3560b5",
4407
4407
  symbol: "PAXG",
4408
4408
  decimals: e,
@@ -4412,22 +4412,22 @@ const D = [
4412
4412
  symbol: "WBTC",
4413
4413
  decimals: 8,
4414
4414
  value: ""
4415
- }, we = {
4415
+ }, Me = {
4416
4416
  address: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
4417
4417
  symbol: "WPOL",
4418
4418
  decimals: e,
4419
4419
  value: ""
4420
- }, Me = {
4420
+ }, he = {
4421
4421
  address: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
4422
4422
  symbol: "USDT",
4423
4423
  decimals: 6,
4424
4424
  value: ""
4425
- }, he = {
4425
+ }, Oe = {
4426
4426
  address: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
4427
4427
  symbol: "DAI",
4428
4428
  decimals: e,
4429
4429
  value: ""
4430
- }, Yt = {
4430
+ }, Kt = {
4431
4431
  address: "0x236aa50979d5f3de3bd1eeb40e81137f22ab794b",
4432
4432
  symbol: "tBTC",
4433
4433
  decimals: e,
@@ -4447,17 +4447,17 @@ const D = [
4447
4447
  symbol: "WBTC",
4448
4448
  decimals: 8,
4449
4449
  value: ""
4450
- }, Oe = {
4450
+ }, ve = {
4451
4451
  address: "0xdac17f958d2ee523a2206206994597c13d831ec7",
4452
4452
  symbol: "USDT",
4453
4453
  decimals: 6,
4454
4454
  value: ""
4455
- }, Kt = {
4455
+ }, zt = {
4456
4456
  address: "0x68749665ff8d2d112fa859aa293f07a622782f38",
4457
4457
  symbol: "XAUt",
4458
4458
  decimals: 6,
4459
4459
  value: ""
4460
- }, zt = {
4460
+ }, Xt = {
4461
4461
  address: E,
4462
4462
  symbol: "all",
4463
4463
  decimals: e,
@@ -4466,59 +4466,59 @@ const D = [
4466
4466
  [B.address.toLowerCase()]: "USDCe",
4467
4467
  [W.address.toLowerCase()]: "USDCe",
4468
4468
  [H.address.toLowerCase()]: "USDCe"
4469
- }, Xt = {
4469
+ }, Zt = {
4470
4470
  [a.id]: G,
4471
4471
  [t.id]: F,
4472
4472
  [n.id]: U,
4473
4473
  [i.id]: k,
4474
4474
  [s.id]: _
4475
- }, Zt = {
4475
+ }, $t = {
4476
4476
  [t.id]: b,
4477
- [n.id]: De,
4477
+ [n.id]: Ee,
4478
4478
  [i.id]: V,
4479
4479
  [s.id]: m,
4480
4480
  [a.id]: Y
4481
- }, $t = {
4481
+ }, jt = {
4482
4482
  [t.id]: {
4483
4483
  WETH: F,
4484
- USDC: Ee,
4484
+ USDC: Se,
4485
4485
  WBTC: b,
4486
4486
  USDCe: W,
4487
- USDT: Se,
4488
- DAI: Ie
4487
+ USDT: Ie,
4488
+ DAI: Re
4489
4489
  },
4490
4490
  [i.id]: {
4491
- WMATIC: we,
4491
+ WMATIC: Me,
4492
4492
  WETH: k,
4493
- USDC: Re,
4493
+ USDC: we,
4494
4494
  WBTC: V,
4495
4495
  USDCe: H,
4496
- USDT: Me,
4497
- DAI: he
4496
+ USDT: he,
4497
+ DAI: Oe
4498
4498
  },
4499
4499
  [s.id]: {
4500
4500
  WETH: _,
4501
- USDC: d,
4501
+ USDC: r,
4502
4502
  WBTC: m,
4503
4503
  USDCe: B
4504
4504
  },
4505
4505
  [n.id]: {
4506
4506
  WETH: U,
4507
- USDC: Ae
4507
+ USDC: De
4508
4508
  },
4509
4509
  [a.id]: {
4510
4510
  WETH: G,
4511
4511
  USDC: ge,
4512
4512
  WBTC: Y,
4513
- USDT: Oe
4513
+ USDT: ve
4514
4514
  }
4515
- }, jt = "https://hermes.pyth.network", Qt = "https://flat.money/flatcoin", Jt = "https://v1.flat.money/flatcoin", f = {
4515
+ }, Qt = "https://hermes.pyth.network", Jt = "https://flat.money/flatcoin", ea = "https://v1.flat.money/flatcoin", f = {
4516
4516
  RETH_BASE: "0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768",
4517
4517
  WBTC_OPTIMISM: "0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879",
4518
4518
  WBTC_ARBITRUM: "0xb1353d51991e79fefd4bfdba2a03e9f0232814a6"
4519
- }, ea = Object.values(
4519
+ }, ta = Object.values(
4520
4520
  f
4521
- ), ta = {
4521
+ ), aa = {
4522
4522
  [f.RETH_BASE]: {
4523
4523
  symbol: A.symbol,
4524
4524
  decimals: A.decimals,
@@ -4534,11 +4534,11 @@ const D = [
4534
4534
  decimals: m.decimals,
4535
4535
  address: m.address
4536
4536
  }
4537
- }, ve = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", aa = [
4538
- ve,
4537
+ }, Ce = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", na = [
4538
+ Ce,
4539
4539
  "0x357cb23571ef7a3d6189b7facfc361ea71f7cab5"
4540
4540
  // WBTC_OPTIMISM
4541
- ], na = {
4541
+ ], sa = {
4542
4542
  [n.id]: 2e3,
4543
4543
  // Base network requires a longer delay according to manual testing
4544
4544
  [a.id]: 300,
@@ -4546,7 +4546,7 @@ const D = [
4546
4546
  [s.id]: 300,
4547
4547
  [i.id]: 300,
4548
4548
  [y.id]: 300
4549
- }, sa = {
4549
+ }, ia = {
4550
4550
  DEPOSIT: "deposit",
4551
4551
  DEPOSIT_CUSTOM: "depositWithCustomCooldown",
4552
4552
  NATIVE: "nativeDeposit",
@@ -4555,7 +4555,7 @@ const D = [
4555
4555
  ZAP_NATIVE_DEPOSIT_CUSTOM: "zapNativeDepositWithCustomCooldown",
4556
4556
  ZAP_DEPOSIT: "zapDeposit",
4557
4557
  ZAP_DEPOSIT_CUSTOM: "zapDepositWithCustomCooldown"
4558
- }, ia = [
4558
+ }, pa = [
4559
4559
  "multi_withdraw",
4560
4560
  "swap",
4561
4561
  "claim",
@@ -4574,162 +4574,165 @@ const D = [
4574
4574
  BNB_WBTC_USDC_ARBITRUM: "0x065577D05c3D4C11505ed7bc97BBF85d462A6A6f",
4575
4575
  LINK_ARBITRUM: "0x7f1fa204bb700853d36994da19f830b6ad18455c",
4576
4576
  PUMP_ARBITRUM: "0x4c0bb704529fa49a26bd854802d70206982c6f1b",
4577
- GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e"
4578
- }, pa = Object.values(
4577
+ GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e",
4578
+ AAVE_ARBITRUM: "0x1cbba6346f110c8a5ea739ef2d1eb182990e4eb2"
4579
+ }, ra = Object.values(
4579
4580
  p
4580
- ), ra = {
4581
- [p.SOL_ARBITRUM]: d,
4581
+ ), da = {
4582
+ [p.SOL_ARBITRUM]: r,
4582
4583
  [p.BTC_ARBITRUM]: m,
4583
4584
  [p.WETH_WETH_ARBITRUM]: _,
4584
4585
  [p.WETH_USDC_ARBITRUM]: _,
4585
- [p.SUI_ARBITRUM]: d,
4586
- [p.DOGE_ARBITRUM]: d,
4587
- [p.XRP_ARBITRUM]: d,
4588
- [p.CRV_ARBITRUM]: d,
4589
- [p.HYPE_ARBITRUM]: d,
4590
- [p.BNB_ARBITRUM]: d,
4591
- [p.LINK_ARBITRUM]: d,
4592
- [p.PUMP_ARBITRUM]: d,
4593
- [p.BNB_WBTC_USDC_ARBITRUM]: d,
4594
- [p.GOLD_ARBITRUM]: d
4595
- }, da = {
4596
- "0x9a916e55f5b67226734cd7b465d51bce1d11a89a": d
4597
- // USDmny Arbitrum
4586
+ [p.SUI_ARBITRUM]: r,
4587
+ [p.DOGE_ARBITRUM]: r,
4588
+ [p.XRP_ARBITRUM]: r,
4589
+ [p.CRV_ARBITRUM]: r,
4590
+ [p.HYPE_ARBITRUM]: r,
4591
+ [p.BNB_ARBITRUM]: r,
4592
+ [p.LINK_ARBITRUM]: r,
4593
+ [p.PUMP_ARBITRUM]: r,
4594
+ [p.BNB_WBTC_USDC_ARBITRUM]: r,
4595
+ [p.GOLD_ARBITRUM]: r,
4596
+ [p.AAVE_ARBITRUM]: r
4598
4597
  }, oa = {
4598
+ "0x9a916e55f5b67226734cd7b465d51bce1d11a89a": r
4599
+ // USDmny Arbitrum
4600
+ }, ya = {
4599
4601
  IS_BATCH_TRANSACTIONS_ENABLED: "isBatchTransactionsEnabled",
4600
4602
  REFERRER: "referrer",
4601
4603
  REF_POOL: "ref_pool"
4602
4604
  };
4603
4605
  export {
4604
- tt as $,
4605
- ot as A,
4606
+ at as $,
4607
+ yt as A,
4606
4608
  qt as B,
4607
- pt as C,
4608
- X as D,
4609
- Qe as E,
4610
- je as F,
4611
- Ve as G,
4612
- ke as H,
4613
- Be as I,
4614
- Fe as J,
4615
- $t as K,
4616
- ta as L,
4617
- ea as M,
4618
- aa as N,
4619
- Qt as O,
4620
- ve as P,
4621
- Jt as Q,
4622
- It as R,
4623
- et as S,
4624
- pa as T,
4609
+ rt as C,
4610
+ q as D,
4611
+ Je as E,
4612
+ Qe as F,
4613
+ Ge as G,
4614
+ He as H,
4615
+ Ue as I,
4616
+ ke as J,
4617
+ jt as K,
4618
+ aa as L,
4619
+ ta as M,
4620
+ na as N,
4621
+ Jt as O,
4622
+ Ce as P,
4623
+ ea as Q,
4624
+ Rt as R,
4625
+ tt as S,
4626
+ ra as T,
4625
4627
  p as U,
4626
- ra as V,
4627
- da as W,
4628
- fe as X,
4629
- _e as Y,
4630
- oa as Z,
4631
- mt as _,
4632
- na as a,
4633
- Y as a$,
4634
- dt as a0,
4635
- zt as a1,
4636
- xe as a2,
4637
- Je as a3,
4638
- jt as a4,
4639
- We as a5,
4640
- Mt as a6,
4641
- lt as a7,
4642
- st as a8,
4643
- ct as a9,
4644
- De as aA,
4645
- Nt as aB,
4646
- Ie as aC,
4647
- he as aD,
4648
- Pt as aE,
4649
- kt as aF,
4650
- Gt as aG,
4651
- A as aH,
4652
- oe as aI,
4653
- Ft as aJ,
4654
- Wt as aK,
4655
- gt as aL,
4656
- Bt as aM,
4657
- Ht as aN,
4658
- Yt as aO,
4659
- xt as aP,
4660
- d as aQ,
4661
- Ae as aR,
4662
- ge as aS,
4663
- Ee as aT,
4664
- Re as aU,
4665
- vt as aV,
4666
- Oe as aW,
4667
- Se as aX,
4668
- Me as aY,
4669
- Lt as aZ,
4670
- m as a_,
4671
- r as aa,
4672
- be as ab,
4673
- ht as ac,
4674
- Zt as ad,
4675
- Xt as ae,
4676
- Te as af,
4677
- St as ag,
4678
- Et as ah,
4679
- E as ai,
4680
- At as aj,
4628
+ da as V,
4629
+ oa as W,
4630
+ _e as X,
4631
+ Ae as Y,
4632
+ ya as Z,
4633
+ ct as _,
4634
+ sa as a,
4635
+ m as a$,
4636
+ ot as a0,
4637
+ Xt as a1,
4638
+ Ne as a2,
4639
+ et as a3,
4640
+ Qt as a4,
4641
+ Fe as a5,
4642
+ ht as a6,
4643
+ mt as a7,
4644
+ be as a8,
4645
+ it as a9,
4646
+ H as aA,
4647
+ Ee as aB,
4648
+ Bt as aC,
4649
+ Re as aD,
4650
+ Oe as aE,
4651
+ xt as aF,
4652
+ Ht as aG,
4653
+ Yt as aH,
4654
+ A as aI,
4655
+ oe as aJ,
4656
+ kt as aK,
4657
+ Ft as aL,
4658
+ gt as aM,
4659
+ Ut as aN,
4660
+ Vt as aO,
4661
+ Kt as aP,
4662
+ Nt as aQ,
4663
+ r as aR,
4664
+ De as aS,
4665
+ ge as aT,
4666
+ Se as aU,
4667
+ we as aV,
4668
+ Ct as aW,
4669
+ ve as aX,
4670
+ Ie as aY,
4671
+ he as aZ,
4672
+ Pt as a_,
4673
+ Tt as aa,
4674
+ d as ab,
4675
+ fe as ac,
4676
+ Ot as ad,
4677
+ $t as ae,
4678
+ Zt as af,
4679
+ Te as ag,
4680
+ It as ah,
4681
+ St as ai,
4682
+ E as aj,
4681
4683
  Dt as ak,
4682
- e as al,
4683
- bt as am,
4684
+ Et as al,
4685
+ e as am,
4684
4686
  ft as an,
4685
- pe as ao,
4686
- re as ap,
4687
- le as aq,
4688
- de as ar,
4689
- ye as as,
4690
- Tt as at,
4691
- _t as au,
4692
- me as av,
4693
- D as aw,
4694
- B as ax,
4695
- W as ay,
4696
- H as az,
4697
- q as b,
4698
- b as b0,
4699
- V as b1,
4700
- _ as b2,
4701
- U as b3,
4702
- G as b4,
4703
- F as b5,
4704
- k as b6,
4705
- we as b7,
4706
- Ct as b8,
4707
- Ot as b9,
4708
- Ut as ba,
4709
- Vt as bb,
4710
- Kt as bc,
4711
- rt as c,
4712
- ia as d,
4713
- ut as e,
4714
- yt as f,
4715
- Ge as g,
4687
+ _t as ao,
4688
+ pe as ap,
4689
+ re as aq,
4690
+ le as ar,
4691
+ de as as,
4692
+ ye as at,
4693
+ bt as au,
4694
+ At as av,
4695
+ me as aw,
4696
+ D as ax,
4697
+ B as ay,
4698
+ W as az,
4699
+ X as b,
4700
+ Y as b0,
4701
+ b as b1,
4702
+ V as b2,
4703
+ _ as b3,
4704
+ U as b4,
4705
+ G as b5,
4706
+ F as b6,
4707
+ k as b7,
4708
+ Me as b8,
4709
+ Lt as b9,
4710
+ vt as ba,
4711
+ Wt as bb,
4712
+ Gt as bc,
4713
+ zt as bd,
4714
+ dt as c,
4715
+ pa as d,
4716
+ lt as e,
4717
+ ut as f,
4718
+ Ye as g,
4716
4719
  Z as h,
4717
- Xe as i,
4718
- Rt as j,
4719
- He as k,
4720
- Ze as l,
4721
- it as m,
4722
- Ke as n,
4723
- Ue as o,
4720
+ Ze as i,
4721
+ wt as j,
4722
+ Ve as k,
4723
+ $e as l,
4724
+ pt as m,
4725
+ ze as n,
4726
+ We as o,
4724
4727
  l as p,
4725
- at as q,
4726
- ze as r,
4727
- wt as s,
4728
+ nt as q,
4729
+ Xe as r,
4730
+ Mt as s,
4728
4731
  qe as t,
4729
- Ne as u,
4730
- nt as v,
4731
- Ye as w,
4732
+ Be as u,
4733
+ st as v,
4734
+ Ke as w,
4732
4735
  ce as x,
4733
- sa as y,
4734
- $e as z
4736
+ ia as y,
4737
+ je as z
4735
4738
  };