@dhedge/trading-widget 5.11.0 → 5.12.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.
@@ -1,23 +1,34 @@
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 j } from "date-fns";
3
3
  import { erc20Abi as Q } from "viem";
4
- const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
4
+ const J = "0x0000000000000000000000000000000000000000", Ue = BigInt(
5
5
  "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
6
- ), l = 18, Ue = "1000000000000000000", We = 59e3, Fe = 3e4, ke = 15e3, Ve = 5e3, ee = 400, He = ee * 1.2, Ye = j({ hours: 24 }), Ge = {
6
+ ), l = 18, We = "1000000000000000000", Fe = 59e3, ke = 3e4, Ve = 15e3, He = 5e3, ee = 400, Ge = ee * 1.2, Ye = j({ hours: 24 }), Ke = {
7
7
  address: J,
8
8
  symbol: "",
9
9
  chainId: t.id,
10
10
  depositParams: { customTokens: [] },
11
11
  withdrawParams: { customTokens: [] },
12
12
  deprecated: !1
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, pt = 2e4, rt = 15e3, dt = {
13
+ }, ze = "deposit", Xe = 0.5, te = 0, qe = 0.5, Ze = 0.02, $e = 0.5, je = [te], Qe = [
14
+ 0.05,
15
+ 0.1,
16
+ 0.3,
17
+ 0.5,
18
+ 0.75,
19
+ 1,
20
+ 1.5,
21
+ 2,
22
+ 3,
23
+ 5
24
+ ], Je = "withdrawSafe", et = "initWithdrawal", tt = "unrollAndClaim", at = "completeWithdrawal", nt = 3e7, st = 1.25, it = 1e4, rt = 13e3, pt = 3, dt = 2e4, ot = 15e3, yt = {
14
25
  [a.id]: a,
15
26
  [i.id]: i,
16
27
  [t.id]: t,
17
28
  [s.id]: s,
18
29
  [n.id]: n,
19
30
  [y.id]: y
20
- }, ot = {
31
+ }, ut = {
21
32
  [a.id]: {
22
33
  nativeTokenSymbol: "ETH",
23
34
  wrappedNativeTokenName: "WETH",
@@ -54,29 +65,29 @@ const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
54
65
  address: "0x5555555555555555555555555555555555555555",
55
66
  decimals: l
56
67
  }
57
- }, m = 299e5, yt = {
68
+ }, m = 299e5, lt = {
58
69
  [a.id]: m,
59
70
  [i.id]: m,
60
71
  [t.id]: m,
61
72
  [s.id]: m,
62
73
  [n.id]: m,
63
74
  [y.id]: m
64
- }, ut = {
75
+ }, mt = {
65
76
  [a.id]: "https://eth-mainnet.g.alchemy.com/v2",
66
77
  [t.id]: "https://opt-mainnet.g.alchemy.com/v2",
67
78
  [i.id]: "https://polygon-mainnet.g.alchemy.com/v2",
68
79
  [s.id]: "https://arb-mainnet.g.alchemy.com/v2",
69
80
  [n.id]: "https://base-mainnet.g.alchemy.com/v2",
70
81
  [y.id]: "https://hyperliquid-mainnet.g.alchemy.com/v2"
71
- }, lt = {
82
+ }, ct = {
72
83
  USD: "$",
73
84
  ETH: "Ξ",
74
85
  BTC: "₿"
75
- }, mt = {
86
+ }, Tt = {
76
87
  USD: 2,
77
88
  ETH: 4,
78
89
  BTC: 6
79
- }, ct = ["USDC", "USDT"], r = {
90
+ }, bt = ["USDC", "USDT"], p = {
80
91
  INVEST_INPUT_FOCUS: "invest_input_focus",
81
92
  APPROVED_TOKEN: "approved_token",
82
93
  DEPOSIT: "deposit",
@@ -94,30 +105,30 @@ const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
94
105
  OPEN_LIMIT_BUY_VIEW: "open_limit_buy_view",
95
106
  LIMIT_ORDER_WITHDRAW: "limit_order_withdraw",
96
107
  LIMIT_ORDER_WITHDRAW_DELETE: "limit_order_withdraw_delete"
97
- }, Tt = {
98
- approve: [r.APPROVED_TOKEN],
99
- deposit: [r.DEPOSIT],
108
+ }, ft = {
109
+ approve: [p.APPROVED_TOKEN],
110
+ deposit: [p.DEPOSIT],
100
111
  multi_withdraw: [
101
- r.WITHDRAWAL,
102
- r.MULTI_ASSET_WITHDRAW
112
+ p.WITHDRAWAL,
113
+ p.MULTI_ASSET_WITHDRAW
103
114
  ],
104
115
  single_withdraw: [
105
- r.WITHDRAWAL,
106
- r.SINGLE_ASSET_WITHDRAW
116
+ p.WITHDRAWAL,
117
+ p.SINGLE_ASSET_WITHDRAW
107
118
  ],
108
119
  single_withdraw_and_claim: [
109
- r.WITHDRAWAL,
110
- r.SINGLE_ASSET_WITHDRAW_AND_CLAIM
120
+ p.WITHDRAWAL,
121
+ p.SINGLE_ASSET_WITHDRAW_AND_CLAIM
111
122
  ],
112
- claim: [r.CLAIM],
113
- swap: [r.SWAP],
114
- create_limit_sell_order: [r.CREATE_LIMIT_SELL_ORDER],
115
- create_limit_buy_order: [r.CREATE_LIMIT_BUY_ORDER],
116
- limit_order_withdraw: [r.LIMIT_ORDER_WITHDRAW],
123
+ claim: [p.CLAIM],
124
+ swap: [p.SWAP],
125
+ create_limit_sell_order: [p.CREATE_LIMIT_SELL_ORDER],
126
+ create_limit_buy_order: [p.CREATE_LIMIT_BUY_ORDER],
127
+ limit_order_withdraw: [p.LIMIT_ORDER_WITHDRAW],
117
128
  delete_limit_order_withdraw: [
118
- r.LIMIT_ORDER_WITHDRAW_DELETE
129
+ p.LIMIT_ORDER_WITHDRAW_DELETE
119
130
  ]
120
- }, bt = {
131
+ }, _t = {
121
132
  IS_INFINITE: { NAME: "is_infinite", TYPE: "number" },
122
133
  SYMBOL: { NAME: "symbol", TYPE: "string" },
123
134
  CHAIN_ID: { NAME: "chain_id", TYPE: "number" },
@@ -127,7 +138,7 @@ const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
127
138
  var o = /* @__PURE__ */ ((u) => (u.ETH = "ETH", u.MAINNET = "MAINNET", u.POLYGON = "POLYGON", u.OE = "OPTIMISM", u.ARBI = "ARBITRUM", u.BASE = "BASE", u))(o || {});
128
139
  const T = process.env.NEXT_PUBLIC_INFURA_API_KEY;
129
140
  s.id + "", `${T}`, t.id + "", `${T}`, i.id + "", `${T}`, n.id + "", `${T}`, a.id + "", `${T}`;
130
- const ft = {
141
+ const At = {
131
142
  [s.id]: {
132
143
  ...s,
133
144
  name: "Arbitrum",
@@ -168,10 +179,10 @@ const ft = {
168
179
  };
169
180
  o.ETH + "", a.id, o.MAINNET + "", a.id, o.POLYGON + "", i.id, o.OE + "", t.id, o.ARBI + "", s.id, o.BASE + "", n.id;
170
181
  a.id + "", t.id + "", i.id + "", s.id + "", n.id + "", y.id + "";
171
- const I = "0x0000000000000000000000000000000000000000";
182
+ const ae = "0x0000000000000000000000000000000000000000";
172
183
  BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
173
184
  a.id + "", BigInt(100), t.id + "", BigInt(600), i.id + "", BigInt(600), n.id + "", BigInt(600), s.id + "", BigInt(5300);
174
- const S = "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", V = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", ie = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", pe = "0x47065E508433E22d73Be3c5B61EB9abafD450364", Dt = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
185
+ const I = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", S = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", R = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", w = "0x95B19De479bc693721cab39Da98FfECE062f5Ea4", M = "0xffFb5fB14606EB3a548C113026355020dDF27535", h = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", O = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", g = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", v = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", C = "0xf067575Eb60c7587C11e867907AA7284833704d1", ne = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", Dt = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", Et = "0x1849324228d852a67eb7443e42d967e480ffe95d", L = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", P = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", se = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", x = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", N = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", B = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", U = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", W = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", ie = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", F = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", k = "0x45b90480D6F643dE2f128db091A357C3c90399f2", V = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", re = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", pe = "0x47065E508433E22d73Be3c5B61EB9abafD450364", It = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
175
186
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
176
187
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
177
188
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
@@ -966,7 +977,7 @@ const E = [
966
977
  stateMutability: "nonpayable",
967
978
  type: "function"
968
979
  }
969
- ], re = [
980
+ ], de = [
970
981
  {
971
982
  inputs: [
972
983
  {
@@ -1056,7 +1067,7 @@ const E = [
1056
1067
  stateMutability: "view",
1057
1068
  type: "function"
1058
1069
  }
1059
- ], de = [
1070
+ ], oe = [
1060
1071
  {
1061
1072
  inputs: [
1062
1073
  {
@@ -1404,7 +1415,7 @@ const E = [
1404
1415
  stateMutability: "nonpayable",
1405
1416
  type: "function"
1406
1417
  }
1407
- ], Et = [
1418
+ ], St = [
1408
1419
  {
1409
1420
  type: "tuple[]",
1410
1421
  components: [
@@ -1432,7 +1443,7 @@ const E = [
1432
1443
  }
1433
1444
  ]
1434
1445
  }
1435
- ], It = [
1446
+ ], Rt = [
1436
1447
  {
1437
1448
  type: "tuple",
1438
1449
  components: [
@@ -1460,7 +1471,7 @@ const E = [
1460
1471
  }
1461
1472
  ]
1462
1473
  }
1463
- ], oe = [
1474
+ ], ye = [
1464
1475
  {
1465
1476
  inputs: [],
1466
1477
  name: "getFundComposition",
@@ -1625,7 +1636,7 @@ const E = [
1625
1636
  stateMutability: "view",
1626
1637
  type: "function"
1627
1638
  }
1628
- ], ye = [
1639
+ ], ue = [
1629
1640
  {
1630
1641
  anonymous: !1,
1631
1642
  inputs: [
@@ -1782,7 +1793,7 @@ const E = [
1782
1793
  stateMutability: "view",
1783
1794
  type: "function"
1784
1795
  }
1785
- ], ue = [
1796
+ ], le = [
1786
1797
  {
1787
1798
  inputs: [
1788
1799
  {
@@ -1859,7 +1870,7 @@ const E = [
1859
1870
  stateMutability: "view",
1860
1871
  type: "function"
1861
1872
  }
1862
- ], le = [
1873
+ ], me = [
1863
1874
  {
1864
1875
  inputs: [],
1865
1876
  name: "EmptyPayload",
@@ -2016,8 +2027,8 @@ const E = [
2016
2027
  name: "UnsupportedTokenTransferMethod",
2017
2028
  type: "error"
2018
2029
  }
2019
- ], me = [
2020
- ...le,
2030
+ ], ce = [
2031
+ ...me,
2021
2032
  {
2022
2033
  anonymous: !1,
2023
2034
  inputs: [
@@ -3441,7 +3452,7 @@ const E = [
3441
3452
  stateMutability: "payable",
3442
3453
  type: "function"
3443
3454
  }
3444
- ], ce = [
3455
+ ], Te = [
3445
3456
  { inputs: [], name: "ExternalCallerNotAllowed", type: "error" },
3446
3457
  {
3447
3458
  inputs: [{ internalType: "address", name: "asset", type: "address" }],
@@ -4089,22 +4100,23 @@ const E = [
4089
4100
  stateMutability: "nonpayable",
4090
4101
  type: "function"
4091
4102
  }
4092
- ], St = {
4103
+ ], wt = {
4093
4104
  [a.id]: {
4094
- factory: S,
4095
- easySwapperV2: R,
4096
- aaveLendingPoolV3: w
4105
+ factory: I,
4106
+ easySwapperV2: S,
4107
+ aaveLendingPoolV3: R,
4108
+ limitOrder: w
4097
4109
  },
4098
4110
  [i.id]: {
4099
4111
  factory: W,
4100
- aaveLendingPoolV2: se,
4112
+ aaveLendingPoolV2: ie,
4101
4113
  aaveLendingPoolV3: F,
4102
4114
  easySwapperV2: k,
4103
4115
  limitOrder: V
4104
4116
  },
4105
4117
  [t.id]: {
4106
4118
  factory: x,
4107
- rewardDistribution: ne,
4119
+ rewardDistribution: se,
4108
4120
  aaveLendingPoolV3: N,
4109
4121
  easySwapperV2: B,
4110
4122
  limitOrder: U
@@ -4117,36 +4129,36 @@ const E = [
4117
4129
  },
4118
4130
  [n.id]: {
4119
4131
  factory: v,
4120
- flatcoinPointsModule: ae,
4132
+ flatcoinPointsModule: ne,
4121
4133
  easySwapperV2: C,
4122
4134
  aaveLendingPoolV3: L,
4123
4135
  limitOrder: P
4124
4136
  },
4125
4137
  [y.id]: {
4126
- factory: ie,
4138
+ factory: re,
4127
4139
  easySwapperV2: pe
4128
4140
  }
4129
- }, Rt = {
4130
- factory: re,
4141
+ }, Mt = {
4142
+ factory: de,
4131
4143
  aaveLendingPoolV2: E,
4132
4144
  aaveLendingPoolV3: E,
4133
- rewardDistribution: ye,
4134
- poolManagerLogic: oe,
4145
+ rewardDistribution: ue,
4146
+ poolManagerLogic: ye,
4135
4147
  erc20: Q,
4136
- poolLogic: de,
4137
- flatcoinPointsModule: ue,
4138
- easySwapperV2: me,
4139
- limitOrder: ce
4140
- }, 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 = {
4148
+ poolLogic: oe,
4149
+ flatcoinPointsModule: le,
4150
+ easySwapperV2: ce,
4151
+ limitOrder: Te
4152
+ }, ht = "Gas estimate error occurred", Ot = "See console logs to report error details.", gt = "Missing simulation params", vt = "Simulation timeout", be = "swap_data_deposit_error", fe = "swap_data_withdraw_error", _e = "SwapFailed", b = {
4141
4153
  title: "Low Slippage",
4142
4154
  hint: "Please increase slippage tolerance and try again."
4143
- }, _e = {
4155
+ }, Ae = {
4144
4156
  "invalid liquidityMinted": b,
4145
4157
  "high withdraw slippage": b,
4146
4158
  "high deposit slippage": b,
4147
4159
  "high swap slippage": b,
4148
4160
  InsufficientAmountReceived: b,
4149
- [fe]: {
4161
+ [_e]: {
4150
4162
  title: "Oh no we couldn’t swap the assets",
4151
4163
  hint: "Don’t worry your assets are still in your wallet."
4152
4164
  },
@@ -4154,11 +4166,11 @@ const E = [
4154
4166
  title: "Single Asset Withdrawal not available",
4155
4167
  hint: "Please use All Assets option."
4156
4168
  },
4157
- [Te]: {
4169
+ [be]: {
4158
4170
  title: "Oh no we couldn’t swap the assets",
4159
4171
  hint: "Don’t worry your assets are still in your wallet."
4160
4172
  },
4161
- [be]: {
4173
+ [fe]: {
4162
4174
  title: "Oh no we couldn’t swap the assets",
4163
4175
  hint: "Don’t worry your assets are still in your wallet."
4164
4176
  },
@@ -4290,13 +4302,13 @@ const E = [
4290
4302
  title: "Maximum supply cap reached",
4291
4303
  hint: "Cannot mint such amount of vault tokens as it would exceed the maximum supply cap."
4292
4304
  }
4293
- }, Ae = "Invalid limit order prices", De = {
4305
+ }, De = "Invalid limit order prices", Ee = {
4294
4306
  InvalidPrices: {
4295
- title: Ae
4307
+ title: De
4296
4308
  }
4297
- }, gt = [
4298
- ...Object.keys(_e),
4299
- ...Object.keys(De)
4309
+ }, Ct = [
4310
+ ...Object.keys(Ae),
4311
+ ...Object.keys(Ee)
4300
4312
  ], e = 18, H = {
4301
4313
  address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
4302
4314
  symbol: "USDCe",
@@ -4317,57 +4329,57 @@ const E = [
4317
4329
  symbol: "WBTC",
4318
4330
  decimals: 8,
4319
4331
  value: ""
4320
- }, vt = {
4332
+ }, Lt = {
4321
4333
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4322
4334
  symbol: "tBTC",
4323
4335
  decimals: e,
4324
4336
  value: ""
4325
- }, Ct = {
4337
+ }, Pt = {
4326
4338
  address: "0x5979D7b546E38E414F7E9822514be443A4800529",
4327
4339
  symbol: "wstETH",
4328
4340
  decimals: e,
4329
4341
  value: ""
4330
- }, Lt = {
4342
+ }, xt = {
4331
4343
  address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
4332
4344
  symbol: "USDT",
4333
4345
  decimals: 6,
4334
4346
  value: ""
4335
- }, Pt = {
4347
+ }, Nt = {
4336
4348
  address: "0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",
4337
4349
  symbol: "SOL",
4338
4350
  decimals: 9,
4339
4351
  value: ""
4340
- }, xt = {
4352
+ }, Bt = {
4341
4353
  address: "0xa9004a5421372e1d83fb1f85b0fc986c912f91f3",
4342
4354
  symbol: "WBNB",
4343
4355
  decimals: e,
4344
4356
  value: ""
4345
- }, Nt = {
4357
+ }, Ut = {
4346
4358
  address: "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
4347
4359
  symbol: "LINK",
4348
4360
  decimals: e,
4349
4361
  value: ""
4350
- }, Ee = {
4362
+ }, Ie = {
4351
4363
  address: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
4352
4364
  symbol: "USDC",
4353
4365
  decimals: 6,
4354
4366
  value: ""
4355
- }, Bt = {
4367
+ }, Wt = {
4356
4368
  address: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
4357
4369
  symbol: "USDbC",
4358
4370
  decimals: 6,
4359
4371
  value: ""
4360
- }, Y = {
4372
+ }, G = {
4361
4373
  address: "0x4200000000000000000000000000000000000006",
4362
4374
  symbol: "WETH",
4363
4375
  decimals: e,
4364
4376
  value: ""
4365
- }, Ut = {
4377
+ }, Ft = {
4366
4378
  address: "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
4367
4379
  symbol: "cbETH",
4368
4380
  decimals: e,
4369
4381
  value: ""
4370
- }, Ie = {
4382
+ }, Se = {
4371
4383
  address: "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
4372
4384
  symbol: "cbBTC",
4373
4385
  decimals: 8,
@@ -4377,27 +4389,27 @@ const E = [
4377
4389
  symbol: "rETH",
4378
4390
  decimals: e,
4379
4391
  value: ""
4380
- }, Wt = {
4392
+ }, kt = {
4381
4393
  address: "0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b",
4382
4394
  symbol: "tBTC",
4383
4395
  decimals: e,
4384
4396
  value: ""
4385
- }, Ft = {
4397
+ }, Vt = {
4386
4398
  address: "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
4387
4399
  symbol: "wstETH",
4388
4400
  decimals: e,
4389
4401
  value: ""
4390
- }, G = {
4402
+ }, Y = {
4391
4403
  address: "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
4392
4404
  symbol: "USDCe",
4393
4405
  decimals: 6,
4394
4406
  value: ""
4395
- }, Se = {
4407
+ }, Re = {
4396
4408
  address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
4397
4409
  symbol: "USDC",
4398
4410
  decimals: 6,
4399
4411
  value: ""
4400
- }, Re = {
4412
+ }, we = {
4401
4413
  address: "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
4402
4414
  symbol: "USDT",
4403
4415
  decimals: 6,
@@ -4407,12 +4419,12 @@ const E = [
4407
4419
  symbol: "WETH",
4408
4420
  decimals: e,
4409
4421
  value: ""
4410
- }, kt = {
4422
+ }, Ht = {
4411
4423
  address: "0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9",
4412
4424
  symbol: "sUSD",
4413
4425
  decimals: e,
4414
4426
  value: ""
4415
- }, we = {
4427
+ }, Me = {
4416
4428
  address: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
4417
4429
  symbol: "DAI",
4418
4430
  decimals: e,
@@ -4422,22 +4434,22 @@ const E = [
4422
4434
  symbol: "WBTC",
4423
4435
  decimals: 8,
4424
4436
  value: ""
4425
- }, Vt = {
4437
+ }, Gt = {
4426
4438
  address: "0xe405de8f52ba7559f9df3c368500b6e6ae6cee49",
4427
4439
  symbol: "sETH",
4428
4440
  decimals: e,
4429
4441
  value: ""
4430
- }, Ht = {
4442
+ }, Yt = {
4431
4443
  address: "0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6",
4432
4444
  symbol: "LINK",
4433
4445
  decimals: e,
4434
4446
  value: ""
4435
- }, Yt = {
4447
+ }, Kt = {
4436
4448
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4437
4449
  symbol: "tBTC",
4438
4450
  decimals: e,
4439
4451
  value: ""
4440
- }, Gt = {
4452
+ }, zt = {
4441
4453
  address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
4442
4454
  symbol: "wstETH",
4443
4455
  decimals: e,
@@ -4452,12 +4464,12 @@ const E = [
4452
4464
  symbol: "USDCe",
4453
4465
  decimals: 6,
4454
4466
  value: ""
4455
- }, Me = {
4467
+ }, he = {
4456
4468
  address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
4457
4469
  symbol: "USDC",
4458
4470
  decimals: 6,
4459
4471
  value: ""
4460
- }, Kt = {
4472
+ }, Xt = {
4461
4473
  address: "0x553d3d295e0f695b9228246232edf400ed3560b5",
4462
4474
  symbol: "PAXG",
4463
4475
  decimals: e,
@@ -4467,22 +4479,22 @@ const E = [
4467
4479
  symbol: "WBTC",
4468
4480
  decimals: 8,
4469
4481
  value: ""
4470
- }, he = {
4482
+ }, Oe = {
4471
4483
  address: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
4472
4484
  symbol: "WPOL",
4473
4485
  decimals: e,
4474
4486
  value: ""
4475
- }, Oe = {
4487
+ }, ge = {
4476
4488
  address: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
4477
4489
  symbol: "USDT",
4478
4490
  decimals: 6,
4479
4491
  value: ""
4480
- }, ge = {
4492
+ }, ve = {
4481
4493
  address: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
4482
4494
  symbol: "DAI",
4483
4495
  decimals: e,
4484
4496
  value: ""
4485
- }, zt = {
4497
+ }, qt = {
4486
4498
  address: "0x236aa50979d5f3de3bd1eeb40e81137f22ab794b",
4487
4499
  symbol: "tBTC",
4488
4500
  decimals: e,
@@ -4492,7 +4504,7 @@ const E = [
4492
4504
  symbol: "WETH",
4493
4505
  decimals: e,
4494
4506
  value: ""
4495
- }, ve = {
4507
+ }, Ce = {
4496
4508
  address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
4497
4509
  symbol: "USDC",
4498
4510
  decimals: 6,
@@ -4502,54 +4514,54 @@ const E = [
4502
4514
  symbol: "WBTC",
4503
4515
  decimals: 8,
4504
4516
  value: ""
4505
- }, Ce = {
4517
+ }, Le = {
4506
4518
  address: "0xdac17f958d2ee523a2206206994597c13d831ec7",
4507
4519
  symbol: "USDT",
4508
4520
  decimals: 6,
4509
4521
  value: ""
4510
- }, Xt = {
4522
+ }, Zt = {
4511
4523
  address: "0x68749665ff8d2d112fa859aa293f07a622782f38",
4512
4524
  symbol: "XAUt",
4513
4525
  decimals: 6,
4514
4526
  value: ""
4515
- }, qt = {
4516
- address: I,
4527
+ }, $t = {
4528
+ address: ae,
4517
4529
  symbol: "all",
4518
4530
  decimals: e,
4519
4531
  value: ""
4520
- }, Zt = {
4532
+ }, jt = {
4521
4533
  [H.address.toLowerCase()]: "USDCe",
4522
- [G.address.toLowerCase()]: "USDCe",
4534
+ [Y.address.toLowerCase()]: "USDCe",
4523
4535
  [X.address.toLowerCase()]: "USDCe"
4524
- }, $t = {
4536
+ }, Qt = {
4525
4537
  [a.id]: Z,
4526
4538
  [t.id]: K,
4527
- [n.id]: Y,
4539
+ [n.id]: G,
4528
4540
  [i.id]: z,
4529
4541
  [s.id]: A
4530
- }, jt = {
4542
+ }, Jt = {
4531
4543
  [t.id]: f,
4532
- [n.id]: Ie,
4544
+ [n.id]: Se,
4533
4545
  [i.id]: q,
4534
4546
  [s.id]: c,
4535
4547
  [a.id]: $
4536
- }, Qt = {
4548
+ }, ea = {
4537
4549
  [t.id]: {
4538
4550
  WETH: K,
4539
- USDC: Se,
4551
+ USDC: Re,
4540
4552
  WBTC: f,
4541
- USDCe: G,
4542
- USDT: Re,
4543
- DAI: we
4553
+ USDCe: Y,
4554
+ USDT: we,
4555
+ DAI: Me
4544
4556
  },
4545
4557
  [i.id]: {
4546
- WMATIC: he,
4558
+ WMATIC: Oe,
4547
4559
  WETH: z,
4548
- USDC: Me,
4560
+ USDC: he,
4549
4561
  WBTC: q,
4550
4562
  USDCe: X,
4551
- USDT: Oe,
4552
- DAI: ge
4563
+ USDT: ge,
4564
+ DAI: ve
4553
4565
  },
4554
4566
  [s.id]: {
4555
4567
  WETH: A,
@@ -4558,22 +4570,22 @@ const E = [
4558
4570
  USDCe: H
4559
4571
  },
4560
4572
  [n.id]: {
4561
- WETH: Y,
4562
- USDC: Ee
4573
+ WETH: G,
4574
+ USDC: Ie
4563
4575
  },
4564
4576
  [a.id]: {
4565
4577
  WETH: Z,
4566
- USDC: ve,
4578
+ USDC: Ce,
4567
4579
  WBTC: $,
4568
- USDT: Ce
4580
+ USDT: Le
4569
4581
  }
4570
- }, Jt = "https://hermes.pyth.network", ea = "https://flat.money/flatcoin", ta = "https://v1.flat.money/flatcoin", _ = {
4582
+ }, ta = "https://hermes.pyth.network", aa = "https://flat.money/flatcoin", na = "https://v1.flat.money/flatcoin", _ = {
4571
4583
  RETH_BASE: "0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768",
4572
4584
  WBTC_OPTIMISM: "0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879",
4573
4585
  WBTC_ARBITRUM: "0xb1353d51991e79fefd4bfdba2a03e9f0232814a6"
4574
- }, aa = Object.values(
4586
+ }, sa = Object.values(
4575
4587
  _
4576
- ), na = {
4588
+ ), ia = {
4577
4589
  [_.RETH_BASE]: {
4578
4590
  symbol: D.symbol,
4579
4591
  decimals: D.decimals,
@@ -4589,11 +4601,11 @@ const E = [
4589
4601
  decimals: c.decimals,
4590
4602
  address: c.address
4591
4603
  }
4592
- }, Le = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", sa = [
4593
- Le,
4604
+ }, Pe = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", ra = [
4605
+ Pe,
4594
4606
  "0x357cb23571ef7a3d6189b7facfc361ea71f7cab5"
4595
4607
  // WBTC_OPTIMISM
4596
- ], ia = {
4608
+ ], pa = {
4597
4609
  [n.id]: 2e3,
4598
4610
  // Base network requires a longer delay according to manual testing
4599
4611
  [a.id]: 300,
@@ -4601,7 +4613,7 @@ const E = [
4601
4613
  [s.id]: 300,
4602
4614
  [i.id]: 300,
4603
4615
  [y.id]: 300
4604
- }, pa = {
4616
+ }, da = {
4605
4617
  DEPOSIT: "deposit",
4606
4618
  DEPOSIT_CUSTOM: "depositWithCustomCooldown",
4607
4619
  NATIVE: "nativeDeposit",
@@ -4610,12 +4622,12 @@ const E = [
4610
4622
  ZAP_NATIVE_DEPOSIT_CUSTOM: "zapNativeDepositWithCustomCooldown",
4611
4623
  ZAP_DEPOSIT: "zapDeposit",
4612
4624
  ZAP_DEPOSIT_CUSTOM: "zapDepositWithCustomCooldown"
4613
- }, ra = [
4625
+ }, oa = [
4614
4626
  "multi_withdraw",
4615
4627
  "swap",
4616
4628
  "claim",
4617
4629
  "single_withdraw_and_claim"
4618
- ], p = {
4630
+ ], r = {
4619
4631
  SOL_ARBITRUM: "0x09400d9db990d5ed3f35d7be61dfaeb900af03c9",
4620
4632
  BTC_ARBITRUM: "0x47c031236e19d024b42f8ae6780e44a573170703",
4621
4633
  WETH_WETH_ARBITRUM: "0x70d95587d40a2caf56bd97485ab3eec10bee6336",
@@ -4631,159 +4643,160 @@ const E = [
4631
4643
  PUMP_ARBITRUM: "0x4c0bb704529fa49a26bd854802d70206982c6f1b",
4632
4644
  GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e",
4633
4645
  AAVE_ARBITRUM: "0x1cbba6346f110c8a5ea739ef2d1eb182990e4eb2"
4634
- }, da = Object.values(
4635
- p
4636
- ), oa = {
4637
- [p.SOL_ARBITRUM]: d,
4638
- [p.BTC_ARBITRUM]: c,
4639
- [p.WETH_WETH_ARBITRUM]: A,
4640
- [p.WETH_USDC_ARBITRUM]: A,
4641
- [p.SUI_ARBITRUM]: d,
4642
- [p.DOGE_ARBITRUM]: d,
4643
- [p.XRP_ARBITRUM]: d,
4644
- [p.CRV_ARBITRUM]: d,
4645
- [p.HYPE_ARBITRUM]: d,
4646
- [p.BNB_ARBITRUM]: d,
4647
- [p.LINK_ARBITRUM]: d,
4648
- [p.PUMP_ARBITRUM]: d,
4649
- [p.BNB_WBTC_USDC_ARBITRUM]: d,
4650
- [p.GOLD_ARBITRUM]: d,
4651
- [p.AAVE_ARBITRUM]: d
4652
- }, ya = {
4646
+ }, ya = Object.values(
4647
+ r
4648
+ ), ua = {
4649
+ [r.SOL_ARBITRUM]: d,
4650
+ [r.BTC_ARBITRUM]: c,
4651
+ [r.WETH_WETH_ARBITRUM]: A,
4652
+ [r.WETH_USDC_ARBITRUM]: A,
4653
+ [r.SUI_ARBITRUM]: d,
4654
+ [r.DOGE_ARBITRUM]: d,
4655
+ [r.XRP_ARBITRUM]: d,
4656
+ [r.CRV_ARBITRUM]: d,
4657
+ [r.HYPE_ARBITRUM]: d,
4658
+ [r.BNB_ARBITRUM]: d,
4659
+ [r.LINK_ARBITRUM]: d,
4660
+ [r.PUMP_ARBITRUM]: d,
4661
+ [r.BNB_WBTC_USDC_ARBITRUM]: d,
4662
+ [r.GOLD_ARBITRUM]: d,
4663
+ [r.AAVE_ARBITRUM]: d
4664
+ }, la = {
4653
4665
  "0x9a916e55f5b67226734cd7b465d51bce1d11a89a": d
4654
4666
  // USDmny Arbitrum
4655
4667
  };
4656
4668
  export {
4657
- nt as $,
4658
- ut as A,
4659
- Zt as B,
4660
- dt as C,
4669
+ it as $,
4670
+ mt as A,
4671
+ jt as B,
4672
+ yt as C,
4661
4673
  ee as D,
4662
- et as E,
4663
- Qe as F,
4664
- Je as G,
4665
- Ge as H,
4666
- He as I,
4667
- We as J,
4668
- Ve as K,
4669
- Qt as L,
4670
- na as M,
4671
- aa as N,
4672
- sa as O,
4673
- ea as P,
4674
- Le as Q,
4675
- ta as R,
4676
- wt as S,
4677
- at as T,
4678
- da as U,
4679
- p as V,
4680
- oa as W,
4681
- ya as X,
4682
- Ae as Y,
4683
- De as Z,
4684
- Tt as _,
4685
- ia as a,
4686
- c as a$,
4687
- yt as a0,
4688
- qt as a1,
4689
- Be as a2,
4690
- tt as a3,
4691
- Jt as a4,
4692
- ke as a5,
4693
- Ot as a6,
4694
- ct as a7,
4695
- fe as a8,
4696
- pt as a9,
4697
- X as aA,
4698
- Ie as aB,
4699
- Ut as aC,
4700
- we as aD,
4701
- ge as aE,
4702
- Nt as aF,
4703
- Ht as aG,
4704
- Kt as aH,
4705
- D as aI,
4706
- ye as aJ,
4707
- Vt as aK,
4708
- kt as aL,
4709
- vt as aM,
4710
- Wt as aN,
4711
- Yt as aO,
4712
- zt as aP,
4713
- Bt as aQ,
4714
- d as aR,
4715
- Ee as aS,
4716
- ve as aT,
4717
- Se as aU,
4718
- Me as aV,
4719
- Lt as aW,
4720
- Ce as aX,
4721
- Re as aY,
4722
- Oe as aZ,
4723
- xt as a_,
4724
- bt as aa,
4725
- r as ab,
4726
- _e as ac,
4727
- gt as ad,
4728
- jt as ae,
4729
- $t as af,
4730
- be as ag,
4731
- Rt as ah,
4732
- St as ai,
4733
- I as aj,
4734
- Et as ak,
4735
- It as al,
4736
- e as am,
4737
- _t as an,
4738
- At as ao,
4739
- re as ap,
4674
+ at as E,
4675
+ et as F,
4676
+ tt as G,
4677
+ Ke as H,
4678
+ Ge as I,
4679
+ Fe as J,
4680
+ He as K,
4681
+ ea as L,
4682
+ ia as M,
4683
+ sa as N,
4684
+ ra as O,
4685
+ aa as P,
4686
+ Pe as Q,
4687
+ na as R,
4688
+ ht as S,
4689
+ st as T,
4690
+ ya as U,
4691
+ r as V,
4692
+ ua as W,
4693
+ la as X,
4694
+ De as Y,
4695
+ Ee as Z,
4696
+ ft as _,
4697
+ pa as a,
4698
+ Bt as a$,
4699
+ lt as a0,
4700
+ $t as a1,
4701
+ Ue as a2,
4702
+ nt as a3,
4703
+ ta as a4,
4704
+ Ve as a5,
4705
+ vt as a6,
4706
+ Qe as a7,
4707
+ bt as a8,
4708
+ _e as a9,
4709
+ Y as aA,
4710
+ X as aB,
4711
+ Se as aC,
4712
+ Ft as aD,
4713
+ Me as aE,
4714
+ ve as aF,
4715
+ Ut as aG,
4716
+ Yt as aH,
4717
+ Xt as aI,
4718
+ D as aJ,
4719
+ ue as aK,
4720
+ Gt as aL,
4721
+ Ht as aM,
4722
+ Lt as aN,
4723
+ kt as aO,
4724
+ Kt as aP,
4725
+ qt as aQ,
4726
+ Wt as aR,
4727
+ d as aS,
4728
+ Ie as aT,
4729
+ Ce as aU,
4730
+ Re as aV,
4731
+ he as aW,
4732
+ xt as aX,
4733
+ Le as aY,
4734
+ we as aZ,
4735
+ ge as a_,
4736
+ dt as aa,
4737
+ _t as ab,
4738
+ p as ac,
4739
+ Ae as ad,
4740
+ Ct as ae,
4741
+ Jt as af,
4742
+ Qt as ag,
4743
+ fe as ah,
4744
+ Mt as ai,
4745
+ wt as aj,
4746
+ ae as ak,
4747
+ St as al,
4748
+ Rt as am,
4749
+ e as an,
4750
+ Dt as ao,
4751
+ Et as ap,
4740
4752
  de as aq,
4741
- me as ar,
4742
- oe as as,
4743
- ue as at,
4744
- ft as au,
4745
- Dt as av,
4746
- ce as aw,
4747
- E as ax,
4748
- H as ay,
4749
- G as az,
4753
+ oe as ar,
4754
+ ce as as,
4755
+ ye as at,
4756
+ le as au,
4757
+ At as av,
4758
+ It as aw,
4759
+ Te as ax,
4760
+ E as ay,
4761
+ H as az,
4750
4762
  J as b,
4751
- $ as b0,
4752
- f as b1,
4753
- q as b2,
4754
- A as b3,
4755
- Y as b4,
4756
- Z as b5,
4757
- K as b6,
4758
- z as b7,
4759
- he as b8,
4760
- Pt as b9,
4761
- Ct as ba,
4762
- Ft as bb,
4763
- Gt as bc,
4764
- Xt as bd,
4765
- ot as c,
4766
- ra as d,
4767
- mt as e,
4768
- lt as f,
4769
- Ke as g,
4763
+ c as b0,
4764
+ $ as b1,
4765
+ f as b2,
4766
+ q as b3,
4767
+ A as b4,
4768
+ G as b5,
4769
+ Z as b6,
4770
+ K as b7,
4771
+ z as b8,
4772
+ Oe as b9,
4773
+ Nt as ba,
4774
+ Pt as bb,
4775
+ Vt as bc,
4776
+ zt as bd,
4777
+ Zt as be,
4778
+ ut as c,
4779
+ oa as d,
4780
+ Tt as e,
4781
+ ct as f,
4782
+ ze as g,
4770
4783
  te as h,
4771
- $e as i,
4772
- Mt as j,
4784
+ je as i,
4785
+ Ot as j,
4773
4786
  Ye as k,
4774
4787
  m as l,
4775
- je as m,
4776
- rt as n,
4777
- Xe as o,
4778
- Fe as p,
4788
+ Je as m,
4789
+ ot as n,
4790
+ qe as o,
4791
+ ke as p,
4779
4792
  l as q,
4780
- st as r,
4781
- qe as s,
4782
- ht as t,
4783
- Ze as u,
4784
- Ue as v,
4785
- it as w,
4786
- ze as x,
4787
- Te as y,
4788
- pa as z
4793
+ rt as r,
4794
+ Ze as s,
4795
+ gt as t,
4796
+ $e as u,
4797
+ We as v,
4798
+ pt as w,
4799
+ Xe as x,
4800
+ be as y,
4801
+ da as z
4789
4802
  };