@dhedge/trading-widget 5.13.1 → 5.13.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.
@@ -1,16 +1,16 @@
1
1
  import { optimism as t, hyperEvm as r, 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", Ue = BigInt(
2
+ import { formatDuration as te } from "date-fns";
3
+ import { erc20Abi as ae } from "viem";
4
+ const ne = "0x0000000000000000000000000000000000000000", Fe = BigInt(
5
5
  "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
6
- ), l = 18, We = "1000000000000000000", Fe = 59e3, ke = 3e4, Ve = 15e3, He = 5e3, ne = 400, Ye = ne * 1.2, Ge = ee({ hours: 24 }), Ke = {
7
- address: ae,
6
+ ), u = 18, ke = "1000000000000000000", Ve = 59e3, He = 3e4, Ye = 15e3, Ge = 5e3, se = 400, Ke = se * 1.2, ze = te({ hours: 24 }), Xe = {
7
+ address: ne,
8
8
  symbol: "",
9
9
  chainId: t.id,
10
10
  depositParams: { customTokens: [] },
11
11
  withdrawParams: { customTokens: [] },
12
12
  deprecated: !1
13
- }, ze = "deposit", Xe = 0.5, se = 0, qe = 0.5, Ze = 0.02, $e = 0.5, je = [se], Qe = [
13
+ }, qe = "deposit", Ze = 0.5, ie = 0, $e = 0.5, je = 0.02, Qe = 0.5, Je = [ie], et = [
14
14
  0.05,
15
15
  0.1,
16
16
  0.3,
@@ -21,73 +21,73 @@ const ae = "0x0000000000000000000000000000000000000000", Ue = BigInt(
21
21
  2,
22
22
  3,
23
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 = {
24
+ ], tt = "withdrawSafe", at = "initWithdrawal", nt = "unrollAndClaim", st = "completeWithdrawal", it = 3e7, rt = 1.25, pt = 1e4, dt = 13e3, ot = 3, yt = 2e4, lt = 15e3, ut = {
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
  [r.id]: r
31
- }, ut = {
31
+ }, mt = {
32
32
  [a.id]: {
33
33
  nativeTokenSymbol: "ETH",
34
34
  wrappedNativeTokenName: "WETH",
35
35
  address: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
36
- decimals: l
36
+ decimals: u
37
37
  },
38
38
  [i.id]: {
39
39
  nativeTokenSymbol: "POL",
40
40
  wrappedNativeTokenName: "WPOL",
41
41
  address: "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
42
- decimals: l
42
+ decimals: u
43
43
  },
44
44
  [t.id]: {
45
45
  nativeTokenSymbol: "ETH",
46
46
  wrappedNativeTokenName: "WETH",
47
47
  address: "0x4200000000000000000000000000000000000006",
48
- decimals: l
48
+ decimals: u
49
49
  },
50
50
  [s.id]: {
51
51
  nativeTokenSymbol: "ETH",
52
52
  wrappedNativeTokenName: "WETH",
53
53
  address: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
54
- decimals: l
54
+ decimals: u
55
55
  },
56
56
  [n.id]: {
57
57
  nativeTokenSymbol: "ETH",
58
58
  wrappedNativeTokenName: "WETH",
59
59
  address: "0x4200000000000000000000000000000000000006",
60
- decimals: l
60
+ decimals: u
61
61
  },
62
62
  [r.id]: {
63
63
  nativeTokenSymbol: "HYPE",
64
64
  wrappedNativeTokenName: "WHYPE",
65
65
  address: "0x5555555555555555555555555555555555555555",
66
- decimals: l
66
+ decimals: u
67
67
  }
68
- }, m = 299e5, lt = {
68
+ }, m = 299e5, ct = {
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
  [r.id]: m
75
- }, mt = {
75
+ }, Tt = {
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
  [r.id]: "https://hyperliquid-mainnet.g.alchemy.com/v2"
82
- }, ct = {
82
+ }, bt = {
83
83
  USD: "$",
84
84
  ETH: "Ξ",
85
85
  BTC: "₿"
86
- }, Tt = {
86
+ }, ft = {
87
87
  USD: 2,
88
88
  ETH: 4,
89
89
  BTC: 6
90
- }, bt = ["USDC", "USDT"], d = {
90
+ }, _t = ["USDC", "USDT"], d = {
91
91
  INVEST_INPUT_FOCUS: "invest_input_focus",
92
92
  APPROVED_TOKEN: "approved_token",
93
93
  DEPOSIT: "deposit",
@@ -105,7 +105,7 @@ const ae = "0x0000000000000000000000000000000000000000", Ue = BigInt(
105
105
  OPEN_LIMIT_BUY_VIEW: "open_limit_buy_view",
106
106
  LIMIT_ORDER_WITHDRAW: "limit_order_withdraw",
107
107
  LIMIT_ORDER_WITHDRAW_DELETE: "limit_order_withdraw_delete"
108
- }, ft = {
108
+ }, At = {
109
109
  approve: [d.APPROVED_TOKEN],
110
110
  deposit: [d.DEPOSIT],
111
111
  multi_withdraw: [
@@ -128,17 +128,17 @@ const ae = "0x0000000000000000000000000000000000000000", Ue = BigInt(
128
128
  delete_limit_order_withdraw: [
129
129
  d.LIMIT_ORDER_WITHDRAW_DELETE
130
130
  ]
131
- }, _t = {
131
+ }, Dt = {
132
132
  IS_INFINITE: { NAME: "is_infinite", TYPE: "number" },
133
133
  SYMBOL: { NAME: "symbol", TYPE: "string" },
134
134
  CHAIN_ID: { NAME: "chain_id", TYPE: "number" },
135
135
  ADDRESS: { NAME: "address", TYPE: "string" },
136
136
  SOURCE: { NAME: "source", TYPE: "string" }
137
137
  };
138
- 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 || {});
138
+ var y = /* @__PURE__ */ ((l) => (l.ETH = "ETH", l.MAINNET = "MAINNET", l.POLYGON = "POLYGON", l.OE = "OPTIMISM", l.ARBI = "ARBITRUM", l.BASE = "BASE", l.HYPEREVM = "HYPEREVM", l))(y || {});
139
139
  const T = process.env.NEXT_PUBLIC_INFURA_API_KEY;
140
140
  s.id + "", `${T}`, t.id + "", `${T}`, i.id + "", `${T}`, n.id + "", `${T}`, a.id + "", `${T}`, r.id + "";
141
- const At = {
141
+ const Et = {
142
142
  [s.id]: {
143
143
  ...s,
144
144
  name: "Arbitrum",
@@ -186,15 +186,15 @@ const At = {
186
186
  };
187
187
  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 + "", r.id;
188
188
  a.id + "", t.id + "", i.id + "", s.id + "", n.id + "", r.id + "";
189
- const E = "0x0000000000000000000000000000000000000000";
189
+ const I = "0x0000000000000000000000000000000000000000";
190
190
  BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
191
191
  a.id + "", BigInt(100), t.id + "", BigInt(600), i.id + "", BigInt(600), n.id + "", BigInt(600), s.id + "", BigInt(5300), r.id + "", BigInt(6e3);
192
- const S = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", R = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", w = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", M = "0x95B19De479bc693721cab39Da98FfECE062f5Ea4", h = "0xffFb5fB14606EB3a548C113026355020dDF27535", O = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", g = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", v = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", C = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", L = "0xf067575Eb60c7587C11e867907AA7284833704d1", ie = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", Dt = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", Et = "0x1849324228d852a67eb7443e42d967e480ffe95d", P = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", x = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", re = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", N = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", B = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", U = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", W = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", F = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", pe = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", k = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", V = "0x45b90480D6F643dE2f128db091A357C3c90399f2", H = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", Y = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", G = "0x47065E508433E22d73Be3c5B61EB9abafD450364", It = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
192
+ const S = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", R = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", M = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", w = "0x95B19De479bc693721cab39Da98FfECE062f5Ea4", h = "0xffFb5fB14606EB3a548C113026355020dDF27535", O = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", g = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", v = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", C = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", L = "0xf067575Eb60c7587C11e867907AA7284833704d1", re = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", It = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", St = "0x1849324228d852a67eb7443e42d967e480ffe95d", P = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5", x = "0xFcBEc28c43E356693971a24bf3F2Fd7D965E2ebA", pe = "0x07e144e336fcc3fe928a8a2a5714da64354c1aab", N = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", B = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", U = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", W = "0x3bFE2a472d2964Ea4070725b7Fb0A868b3f08b63", F = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", de = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", k = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", V = "0x45b90480D6F643dE2f128db091A357C3c90399f2", H = "0xB71410736d2C8F2DAf30dA9D332dA10534d2624d", Y = "0x615037C2Df6FA97634c5aD2d8144708b9dd3B176", G = "0x47065E508433E22d73Be3c5B61EB9abafD450364", K = "0x6b696eA2602068a7043C92961B5F202a65A3eF9C", Rt = "0x4F754e0F0924afD74980886b0B479Fa1D7C58D0D";
193
193
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "", r.id + "";
194
194
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "", r.id + "";
195
195
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "", r.id + "";
196
196
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "", r.id + "";
197
- const I = [
197
+ const E = [
198
198
  {
199
199
  anonymous: !1,
200
200
  inputs: [
@@ -984,7 +984,7 @@ const I = [
984
984
  stateMutability: "nonpayable",
985
985
  type: "function"
986
986
  }
987
- ], de = [
987
+ ], oe = [
988
988
  {
989
989
  inputs: [
990
990
  {
@@ -1074,7 +1074,7 @@ const I = [
1074
1074
  stateMutability: "view",
1075
1075
  type: "function"
1076
1076
  }
1077
- ], oe = [
1077
+ ], ye = [
1078
1078
  {
1079
1079
  inputs: [
1080
1080
  {
@@ -1422,7 +1422,7 @@ const I = [
1422
1422
  stateMutability: "nonpayable",
1423
1423
  type: "function"
1424
1424
  }
1425
- ], St = [
1425
+ ], Mt = [
1426
1426
  {
1427
1427
  type: "tuple[]",
1428
1428
  components: [
@@ -1450,7 +1450,7 @@ const I = [
1450
1450
  }
1451
1451
  ]
1452
1452
  }
1453
- ], Rt = [
1453
+ ], wt = [
1454
1454
  {
1455
1455
  type: "tuple",
1456
1456
  components: [
@@ -1478,7 +1478,7 @@ const I = [
1478
1478
  }
1479
1479
  ]
1480
1480
  }
1481
- ], ye = [
1481
+ ], le = [
1482
1482
  {
1483
1483
  inputs: [],
1484
1484
  name: "getFundComposition",
@@ -1800,7 +1800,7 @@ const I = [
1800
1800
  stateMutability: "view",
1801
1801
  type: "function"
1802
1802
  }
1803
- ], le = [
1803
+ ], me = [
1804
1804
  {
1805
1805
  inputs: [
1806
1806
  {
@@ -1877,7 +1877,7 @@ const I = [
1877
1877
  stateMutability: "view",
1878
1878
  type: "function"
1879
1879
  }
1880
- ], me = [
1880
+ ], ce = [
1881
1881
  {
1882
1882
  inputs: [],
1883
1883
  name: "EmptyPayload",
@@ -2034,8 +2034,8 @@ const I = [
2034
2034
  name: "UnsupportedTokenTransferMethod",
2035
2035
  type: "error"
2036
2036
  }
2037
- ], ce = [
2038
- ...me,
2037
+ ], Te = [
2038
+ ...ce,
2039
2039
  {
2040
2040
  anonymous: !1,
2041
2041
  inputs: [
@@ -3459,7 +3459,7 @@ const I = [
3459
3459
  stateMutability: "payable",
3460
3460
  type: "function"
3461
3461
  }
3462
- ], Te = [
3462
+ ], be = [
3463
3463
  { inputs: [], name: "ExternalCallerNotAllowed", type: "error" },
3464
3464
  {
3465
3465
  inputs: [{ internalType: "address", name: "asset", type: "address" }],
@@ -4107,23 +4107,23 @@ const I = [
4107
4107
  stateMutability: "nonpayable",
4108
4108
  type: "function"
4109
4109
  }
4110
- ], wt = {
4110
+ ], ht = {
4111
4111
  [a.id]: {
4112
4112
  factory: S,
4113
4113
  easySwapperV2: R,
4114
- aaveLendingPoolV3: w,
4115
- limitOrder: M
4114
+ aaveLendingPoolV3: M,
4115
+ limitOrder: w
4116
4116
  },
4117
4117
  [i.id]: {
4118
4118
  factory: F,
4119
- aaveLendingPoolV2: pe,
4119
+ aaveLendingPoolV2: de,
4120
4120
  aaveLendingPoolV3: k,
4121
4121
  easySwapperV2: V,
4122
4122
  limitOrder: H
4123
4123
  },
4124
4124
  [t.id]: {
4125
4125
  factory: N,
4126
- rewardDistribution: re,
4126
+ rewardDistribution: pe,
4127
4127
  aaveLendingPoolV3: B,
4128
4128
  easySwapperV2: U,
4129
4129
  limitOrder: W
@@ -4136,36 +4136,37 @@ const I = [
4136
4136
  },
4137
4137
  [n.id]: {
4138
4138
  factory: C,
4139
- flatcoinPointsModule: ie,
4139
+ flatcoinPointsModule: re,
4140
4140
  easySwapperV2: L,
4141
4141
  aaveLendingPoolV3: P,
4142
4142
  limitOrder: x
4143
4143
  },
4144
4144
  [r.id]: {
4145
4145
  factory: Y,
4146
- easySwapperV2: G
4146
+ easySwapperV2: G,
4147
+ limitOrder: K
4147
4148
  }
4148
- }, Mt = {
4149
- factory: de,
4150
- aaveLendingPoolV2: I,
4151
- aaveLendingPoolV3: I,
4149
+ }, Ot = {
4150
+ factory: oe,
4151
+ aaveLendingPoolV2: E,
4152
+ aaveLendingPoolV3: E,
4152
4153
  rewardDistribution: ue,
4153
- poolManagerLogic: ye,
4154
- erc20: te,
4155
- poolLogic: oe,
4156
- flatcoinPointsModule: le,
4157
- easySwapperV2: ce,
4158
- limitOrder: Te
4159
- }, 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 = {
4154
+ poolManagerLogic: le,
4155
+ erc20: ae,
4156
+ poolLogic: ye,
4157
+ flatcoinPointsModule: me,
4158
+ easySwapperV2: Te,
4159
+ limitOrder: be
4160
+ }, gt = "Gas estimate error occurred", vt = "See console logs to report error details.", Ct = "Missing simulation params", Lt = "Simulation timeout", fe = "swap_data_deposit_error", _e = "swap_data_withdraw_error", Ae = "SwapFailed", b = {
4160
4161
  title: "Low Slippage",
4161
4162
  hint: "Please increase slippage tolerance and try again."
4162
- }, Ae = {
4163
+ }, De = {
4163
4164
  "invalid liquidityMinted": b,
4164
4165
  "high withdraw slippage": b,
4165
4166
  "high deposit slippage": b,
4166
4167
  "high swap slippage": b,
4167
4168
  InsufficientAmountReceived: b,
4168
- [_e]: {
4169
+ [Ae]: {
4169
4170
  title: "Oh no we couldn’t swap the assets",
4170
4171
  hint: "Don’t worry your assets are still in your wallet."
4171
4172
  },
@@ -4173,11 +4174,11 @@ const I = [
4173
4174
  title: "Single Asset Withdrawal not available",
4174
4175
  hint: "Please use All Assets option."
4175
4176
  },
4176
- [be]: {
4177
+ [fe]: {
4177
4178
  title: "Oh no we couldn’t swap the assets",
4178
4179
  hint: "Don’t worry your assets are still in your wallet."
4179
4180
  },
4180
- [fe]: {
4181
+ [_e]: {
4181
4182
  title: "Oh no we couldn’t swap the assets",
4182
4183
  hint: "Don’t worry your assets are still in your wallet."
4183
4184
  },
@@ -4309,14 +4310,14 @@ const I = [
4309
4310
  title: "Maximum supply cap reached",
4310
4311
  hint: "Cannot mint such amount of vault tokens as it would exceed the maximum supply cap."
4311
4312
  }
4312
- }, De = "Invalid limit order prices", Ee = {
4313
+ }, Ee = "Invalid limit order prices", Ie = {
4313
4314
  InvalidPrices: {
4314
- title: De
4315
+ title: Ee
4315
4316
  }
4316
- }, Ct = [
4317
- ...Object.keys(Ae),
4318
- ...Object.keys(Ee)
4319
- ], e = 18, K = {
4317
+ }, Pt = [
4318
+ ...Object.keys(De),
4319
+ ...Object.keys(Ie)
4320
+ ], e = 18, xt = 4, z = {
4320
4321
  address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
4321
4322
  symbol: "USDCe",
4322
4323
  decimals: 6,
@@ -4336,57 +4337,57 @@ const I = [
4336
4337
  symbol: "WBTC",
4337
4338
  decimals: 8,
4338
4339
  value: ""
4339
- }, Lt = {
4340
+ }, Nt = {
4340
4341
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4341
4342
  symbol: "tBTC",
4342
4343
  decimals: e,
4343
4344
  value: ""
4344
- }, Pt = {
4345
+ }, Bt = {
4345
4346
  address: "0x5979D7b546E38E414F7E9822514be443A4800529",
4346
4347
  symbol: "wstETH",
4347
4348
  decimals: e,
4348
4349
  value: ""
4349
- }, xt = {
4350
+ }, Ut = {
4350
4351
  address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
4351
4352
  symbol: "USDT",
4352
4353
  decimals: 6,
4353
4354
  value: ""
4354
- }, Nt = {
4355
+ }, Wt = {
4355
4356
  address: "0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",
4356
4357
  symbol: "SOL",
4357
4358
  decimals: 9,
4358
4359
  value: ""
4359
- }, Bt = {
4360
+ }, Ft = {
4360
4361
  address: "0xa9004a5421372e1d83fb1f85b0fc986c912f91f3",
4361
4362
  symbol: "WBNB",
4362
4363
  decimals: e,
4363
4364
  value: ""
4364
- }, Ut = {
4365
+ }, kt = {
4365
4366
  address: "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
4366
4367
  symbol: "LINK",
4367
4368
  decimals: e,
4368
4369
  value: ""
4369
- }, Ie = {
4370
+ }, Se = {
4370
4371
  address: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
4371
4372
  symbol: "USDC",
4372
4373
  decimals: 6,
4373
4374
  value: ""
4374
- }, Wt = {
4375
+ }, Vt = {
4375
4376
  address: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
4376
4377
  symbol: "USDbC",
4377
4378
  decimals: 6,
4378
4379
  value: ""
4379
- }, z = {
4380
+ }, X = {
4380
4381
  address: "0x4200000000000000000000000000000000000006",
4381
4382
  symbol: "WETH",
4382
4383
  decimals: e,
4383
4384
  value: ""
4384
- }, Ft = {
4385
+ }, Ht = {
4385
4386
  address: "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
4386
4387
  symbol: "cbETH",
4387
4388
  decimals: e,
4388
4389
  value: ""
4389
- }, Se = {
4390
+ }, Re = {
4390
4391
  address: "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
4391
4392
  symbol: "cbBTC",
4392
4393
  decimals: 8,
@@ -4396,22 +4397,22 @@ const I = [
4396
4397
  symbol: "rETH",
4397
4398
  decimals: e,
4398
4399
  value: ""
4399
- }, kt = {
4400
+ }, Yt = {
4400
4401
  address: "0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b",
4401
4402
  symbol: "tBTC",
4402
4403
  decimals: e,
4403
4404
  value: ""
4404
- }, Vt = {
4405
+ }, Gt = {
4405
4406
  address: "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
4406
4407
  symbol: "wstETH",
4407
4408
  decimals: e,
4408
4409
  value: ""
4409
- }, X = {
4410
+ }, q = {
4410
4411
  address: "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
4411
4412
  symbol: "USDCe",
4412
4413
  decimals: 6,
4413
4414
  value: ""
4414
- }, Re = {
4415
+ }, Me = {
4415
4416
  address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
4416
4417
  symbol: "USDC",
4417
4418
  decimals: 6,
@@ -4421,17 +4422,17 @@ const I = [
4421
4422
  symbol: "USDT",
4422
4423
  decimals: 6,
4423
4424
  value: ""
4424
- }, q = {
4425
+ }, Z = {
4425
4426
  address: "0x4200000000000000000000000000000000000006",
4426
4427
  symbol: "WETH",
4427
4428
  decimals: e,
4428
4429
  value: ""
4429
- }, Ht = {
4430
+ }, Kt = {
4430
4431
  address: "0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9",
4431
4432
  symbol: "sUSD",
4432
4433
  decimals: e,
4433
4434
  value: ""
4434
- }, Me = {
4435
+ }, he = {
4435
4436
  address: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
4436
4437
  symbol: "DAI",
4437
4438
  decimals: e,
@@ -4441,158 +4442,165 @@ const I = [
4441
4442
  symbol: "WBTC",
4442
4443
  decimals: 8,
4443
4444
  value: ""
4444
- }, Yt = {
4445
+ }, zt = {
4445
4446
  address: "0xe405de8f52ba7559f9df3c368500b6e6ae6cee49",
4446
4447
  symbol: "sETH",
4447
4448
  decimals: e,
4448
4449
  value: ""
4449
- }, Gt = {
4450
+ }, Xt = {
4450
4451
  address: "0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6",
4451
4452
  symbol: "LINK",
4452
4453
  decimals: e,
4453
4454
  value: ""
4454
- }, Kt = {
4455
+ }, qt = {
4455
4456
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4456
4457
  symbol: "tBTC",
4457
4458
  decimals: e,
4458
4459
  value: ""
4459
- }, zt = {
4460
+ }, Zt = {
4460
4461
  address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
4461
4462
  symbol: "wstETH",
4462
4463
  decimals: e,
4463
4464
  value: ""
4464
- }, Z = {
4465
+ }, $ = {
4465
4466
  address: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
4466
4467
  symbol: "WETH",
4467
4468
  decimals: e,
4468
4469
  value: ""
4469
- }, $ = {
4470
+ }, j = {
4470
4471
  address: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
4471
4472
  symbol: "USDCe",
4472
4473
  decimals: 6,
4473
4474
  value: ""
4474
- }, he = {
4475
+ }, Oe = {
4475
4476
  address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
4476
4477
  symbol: "USDC",
4477
4478
  decimals: 6,
4478
4479
  value: ""
4479
- }, Xt = {
4480
+ }, $t = {
4480
4481
  address: "0x553d3d295e0f695b9228246232edf400ed3560b5",
4481
4482
  symbol: "PAXG",
4482
4483
  decimals: e,
4483
4484
  value: ""
4484
- }, j = {
4485
+ }, Q = {
4485
4486
  address: "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
4486
4487
  symbol: "WBTC",
4487
4488
  decimals: 8,
4488
4489
  value: ""
4489
- }, Oe = {
4490
+ }, ge = {
4490
4491
  address: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
4491
4492
  symbol: "WPOL",
4492
4493
  decimals: e,
4493
4494
  value: ""
4494
- }, ge = {
4495
+ }, ve = {
4495
4496
  address: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
4496
4497
  symbol: "USDT",
4497
4498
  decimals: 6,
4498
4499
  value: ""
4499
- }, ve = {
4500
+ }, Ce = {
4500
4501
  address: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
4501
4502
  symbol: "DAI",
4502
4503
  decimals: e,
4503
4504
  value: ""
4504
- }, qt = {
4505
+ }, jt = {
4505
4506
  address: "0x236aa50979d5f3de3bd1eeb40e81137f22ab794b",
4506
4507
  symbol: "tBTC",
4507
4508
  decimals: e,
4508
4509
  value: ""
4509
- }, Q = {
4510
+ }, J = {
4510
4511
  address: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
4511
4512
  symbol: "WETH",
4512
4513
  decimals: e,
4513
4514
  value: ""
4514
- }, Ce = {
4515
+ }, Le = {
4515
4516
  address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
4516
4517
  symbol: "USDC",
4517
4518
  decimals: 6,
4518
4519
  value: ""
4519
- }, J = {
4520
+ }, ee = {
4520
4521
  address: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
4521
4522
  symbol: "WBTC",
4522
4523
  decimals: 8,
4523
4524
  value: ""
4524
- }, Le = {
4525
+ }, Pe = {
4525
4526
  address: "0xdac17f958d2ee523a2206206994597c13d831ec7",
4526
4527
  symbol: "USDT",
4527
4528
  decimals: 6,
4528
4529
  value: ""
4529
- }, Zt = {
4530
+ }, Qt = {
4530
4531
  address: "0x68749665ff8d2d112fa859aa293f07a622782f38",
4531
4532
  symbol: "XAUt",
4532
4533
  decimals: 6,
4533
4534
  value: ""
4534
- }, $t = {
4535
- address: E,
4535
+ }, xe = {
4536
+ address: "0xb88339cb7199b77e23db6e890353e22632ba630f",
4537
+ symbol: "USDC",
4538
+ decimals: 6,
4539
+ value: ""
4540
+ }, Jt = {
4541
+ address: I,
4536
4542
  symbol: "all",
4537
4543
  decimals: e,
4538
4544
  value: ""
4539
- }, jt = {
4540
- [K.address.toLowerCase()]: "USDCe",
4541
- [X.address.toLowerCase()]: "USDCe",
4542
- [$.address.toLowerCase()]: "USDCe"
4543
- }, Qt = {
4544
- [a.id]: Q,
4545
- [t.id]: q,
4546
- [n.id]: z,
4547
- [i.id]: Z,
4545
+ }, ea = {
4546
+ [z.address.toLowerCase()]: "USDCe",
4547
+ [q.address.toLowerCase()]: "USDCe",
4548
+ [j.address.toLowerCase()]: "USDCe"
4549
+ }, ta = {
4550
+ [a.id]: J,
4551
+ [t.id]: Z,
4552
+ [n.id]: X,
4553
+ [i.id]: $,
4548
4554
  [s.id]: A
4549
- }, Jt = {
4555
+ }, aa = {
4550
4556
  [t.id]: f,
4551
- [n.id]: Se,
4552
- [i.id]: j,
4557
+ [n.id]: Re,
4558
+ [i.id]: Q,
4553
4559
  [s.id]: c,
4554
- [a.id]: J
4555
- }, ea = {
4560
+ [a.id]: ee
4561
+ }, na = {
4556
4562
  [t.id]: {
4557
- WETH: q,
4558
- USDC: Re,
4563
+ WETH: Z,
4564
+ USDC: Me,
4559
4565
  WBTC: f,
4560
- USDCe: X,
4566
+ USDCe: q,
4561
4567
  USDT: we,
4562
- DAI: Me
4568
+ DAI: he
4563
4569
  },
4564
4570
  [i.id]: {
4565
- WMATIC: Oe,
4566
- WETH: Z,
4567
- USDC: he,
4568
- WBTC: j,
4569
- USDCe: $,
4570
- USDT: ge,
4571
- DAI: ve
4571
+ WMATIC: ge,
4572
+ WETH: $,
4573
+ USDC: Oe,
4574
+ WBTC: Q,
4575
+ USDCe: j,
4576
+ USDT: ve,
4577
+ DAI: Ce
4572
4578
  },
4573
4579
  [s.id]: {
4574
4580
  WETH: A,
4575
4581
  USDC: o,
4576
4582
  WBTC: c,
4577
- USDCe: K
4583
+ USDCe: z
4578
4584
  },
4579
4585
  [n.id]: {
4580
- WETH: z,
4581
- USDC: Ie
4586
+ WETH: X,
4587
+ USDC: Se
4582
4588
  },
4583
4589
  [a.id]: {
4584
- WETH: Q,
4585
- USDC: Ce,
4586
- WBTC: J,
4587
- USDT: Le
4590
+ WETH: J,
4591
+ USDC: Le,
4592
+ WBTC: ee,
4593
+ USDT: Pe
4588
4594
  }
4589
- }, ta = "https://hermes.pyth.network", aa = "https://flat.money/flatcoin", na = "https://v1.flat.money/flatcoin", _ = {
4595
+ }, sa = {
4596
+ [r.id]: xe
4597
+ }, ia = "https://hermes.pyth.network", ra = "https://flat.money/flatcoin", pa = "https://v1.flat.money/flatcoin", _ = {
4590
4598
  RETH_BASE: "0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768",
4591
4599
  WBTC_OPTIMISM: "0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879",
4592
4600
  WBTC_ARBITRUM: "0xb1353d51991e79fefd4bfdba2a03e9f0232814a6"
4593
- }, sa = Object.values(
4601
+ }, da = Object.values(
4594
4602
  _
4595
- ), ia = {
4603
+ ), oa = {
4596
4604
  [_.RETH_BASE]: {
4597
4605
  symbol: D.symbol,
4598
4606
  decimals: D.decimals,
@@ -4608,18 +4616,18 @@ const I = [
4608
4616
  decimals: c.decimals,
4609
4617
  address: c.address
4610
4618
  }
4611
- }, Pe = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", ra = [
4612
- Pe,
4619
+ }, Ne = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", ya = [
4620
+ Ne,
4613
4621
  "0x357cb23571ef7a3d6189b7facfc361ea71f7cab5"
4614
4622
  // WBTC_OPTIMISM
4615
- ], pa = {
4623
+ ], la = {
4616
4624
  [n.id]: 2e3,
4617
4625
  [a.id]: 500,
4618
4626
  [t.id]: 2e3,
4619
4627
  [s.id]: 500,
4620
4628
  [i.id]: 500,
4621
4629
  [r.id]: 500
4622
- }, da = {
4630
+ }, ua = {
4623
4631
  DEPOSIT: "deposit",
4624
4632
  DEPOSIT_CUSTOM: "depositWithCustomCooldown",
4625
4633
  NATIVE: "nativeDeposit",
@@ -4628,7 +4636,7 @@ const I = [
4628
4636
  ZAP_NATIVE_DEPOSIT_CUSTOM: "zapNativeDepositWithCustomCooldown",
4629
4637
  ZAP_DEPOSIT: "zapDeposit",
4630
4638
  ZAP_DEPOSIT_CUSTOM: "zapDepositWithCustomCooldown"
4631
- }, oa = [
4639
+ }, ma = [
4632
4640
  "multi_withdraw",
4633
4641
  "swap",
4634
4642
  "claim",
@@ -4649,9 +4657,9 @@ const I = [
4649
4657
  PUMP_ARBITRUM: "0x4c0bb704529fa49a26bd854802d70206982c6f1b",
4650
4658
  GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e",
4651
4659
  AAVE_ARBITRUM: "0x1cbba6346f110c8a5ea739ef2d1eb182990e4eb2"
4652
- }, ya = Object.values(
4660
+ }, ca = Object.values(
4653
4661
  p
4654
- ), ua = {
4662
+ ), Ta = {
4655
4663
  [p.SOL_ARBITRUM]: o,
4656
4664
  [p.BTC_ARBITRUM]: c,
4657
4665
  [p.WETH_WETH_ARBITRUM]: A,
@@ -4667,142 +4675,145 @@ const I = [
4667
4675
  [p.BNB_WBTC_USDC_ARBITRUM]: o,
4668
4676
  [p.GOLD_ARBITRUM]: o,
4669
4677
  [p.AAVE_ARBITRUM]: o
4670
- }, la = {
4678
+ }, ba = {
4671
4679
  "0x9a916e55f5b67226734cd7b465d51bce1d11a89a": o
4672
4680
  // USDmny Arbitrum
4673
4681
  };
4674
4682
  export {
4675
- lt as $,
4676
- mt as A,
4677
- jt as B,
4678
- yt as C,
4679
- ne as D,
4680
- at as E,
4681
- tt as F,
4682
- Ke as G,
4683
- Ye as H,
4684
- Fe as I,
4685
- He as J,
4686
- ea as K,
4687
- ia as L,
4688
- sa as M,
4689
- ra as N,
4690
- aa as O,
4691
- Pe as P,
4692
- na as Q,
4693
- ht as R,
4694
- st as S,
4695
- ya as T,
4683
+ ct as $,
4684
+ Tt as A,
4685
+ ea as B,
4686
+ ut as C,
4687
+ se as D,
4688
+ st as E,
4689
+ nt as F,
4690
+ Xe as G,
4691
+ Ke as H,
4692
+ Ve as I,
4693
+ Ge as J,
4694
+ na as K,
4695
+ oa as L,
4696
+ da as M,
4697
+ ya as N,
4698
+ ra as O,
4699
+ Ne as P,
4700
+ pa as Q,
4701
+ gt as R,
4702
+ rt as S,
4703
+ ca as T,
4696
4704
  p as U,
4697
- ua as V,
4698
- la as W,
4699
- De as X,
4700
- Ee as Y,
4701
- ft as Z,
4702
- it as _,
4703
- ae as a,
4704
- Bt as a$,
4705
- $t as a0,
4706
- Ue as a1,
4707
- nt as a2,
4708
- ta as a3,
4709
- Ve as a4,
4710
- vt as a5,
4711
- Qe as a6,
4712
- bt as a7,
4713
- _e as a8,
4714
- dt as a9,
4715
- Re as aA,
4716
- Ie as aB,
4717
- o as aC,
4718
- Te as aD,
4719
- I as aE,
4720
- K as aF,
4721
- X as aG,
4722
- $ as aH,
4723
- Se as aI,
4724
- Ft as aJ,
4725
- Me as aK,
4726
- ve as aL,
4727
- Ut as aM,
4728
- Gt as aN,
4729
- Xt as aO,
4730
- D as aP,
4731
- ue as aQ,
4732
- Yt as aR,
4733
- Ht as aS,
4734
- Lt as aT,
4735
- kt as aU,
4705
+ Ta as V,
4706
+ ba as W,
4707
+ Ee as X,
4708
+ Ie as Y,
4709
+ At as Z,
4710
+ pt as _,
4711
+ ne as a,
4712
+ Ut as a$,
4713
+ Jt as a0,
4714
+ Fe as a1,
4715
+ it as a2,
4716
+ sa as a3,
4717
+ ia as a4,
4718
+ Ye as a5,
4719
+ Lt as a6,
4720
+ et as a7,
4721
+ _t as a8,
4722
+ Ae as a9,
4723
+ le as aA,
4724
+ me as aB,
4725
+ Et as aC,
4726
+ Rt as aD,
4727
+ Pe as aE,
4728
+ be as aF,
4729
+ xt as aG,
4730
+ E as aH,
4731
+ z as aI,
4732
+ q as aJ,
4733
+ j as aK,
4734
+ Re as aL,
4735
+ Ht as aM,
4736
+ he as aN,
4737
+ Ce as aO,
4738
+ kt as aP,
4739
+ Xt as aQ,
4740
+ $t as aR,
4741
+ D as aS,
4742
+ ue as aT,
4743
+ zt as aU,
4736
4744
  Kt as aV,
4737
- qt as aW,
4738
- Wt as aX,
4739
- xt as aY,
4740
- we as aZ,
4741
- ge as a_,
4742
- _t as aa,
4743
- d as ab,
4744
- Ae as ac,
4745
- Ct as ad,
4746
- pa as ae,
4747
- Jt as af,
4748
- Qt as ag,
4749
- fe as ah,
4750
- Mt as ai,
4751
- wt as aj,
4752
- E as ak,
4753
- St as al,
4754
- Rt as am,
4755
- e as an,
4756
- Dt as ao,
4757
- Et as ap,
4758
- de as aq,
4759
- oe as ar,
4760
- ce as as,
4761
- ye as at,
4762
- le as au,
4763
- At as av,
4764
- It as aw,
4765
- Le as ax,
4766
- Ce as ay,
4767
- he as az,
4768
- ut as b,
4769
- c as b0,
4770
- J as b1,
4771
- f as b2,
4772
- j as b3,
4773
- A as b4,
4774
- z as b5,
4745
+ Nt as aW,
4746
+ Yt as aX,
4747
+ qt as aY,
4748
+ jt as aZ,
4749
+ Vt as a_,
4750
+ yt as aa,
4751
+ Dt as ab,
4752
+ d as ac,
4753
+ De as ad,
4754
+ Pt as ae,
4755
+ la as af,
4756
+ aa as ag,
4757
+ ta as ah,
4758
+ _e as ai,
4759
+ Ot as aj,
4760
+ ht as ak,
4761
+ I as al,
4762
+ Mt as am,
4763
+ wt as an,
4764
+ e as ao,
4765
+ It as ap,
4766
+ St as aq,
4767
+ xe as ar,
4768
+ Le as as,
4769
+ Oe as at,
4770
+ Me as au,
4771
+ Se as av,
4772
+ o as aw,
4773
+ oe as ax,
4774
+ ye as ay,
4775
+ Te as az,
4776
+ mt as b,
4777
+ we as b0,
4778
+ ve as b1,
4779
+ Ft as b2,
4780
+ c as b3,
4781
+ ee as b4,
4782
+ f as b5,
4775
4783
  Q as b6,
4776
- q as b7,
4777
- Z as b8,
4778
- Oe as b9,
4779
- Nt as ba,
4780
- Pt as bb,
4781
- Vt as bc,
4782
- zt as bd,
4783
- Zt as be,
4784
- oa as c,
4785
- Tt as d,
4786
- ct as e,
4787
- ze as f,
4788
- se as g,
4789
- je as h,
4790
- Ot as i,
4791
- Ge as j,
4784
+ A as b7,
4785
+ X as b8,
4786
+ J as b9,
4787
+ Z as ba,
4788
+ $ as bb,
4789
+ ge as bc,
4790
+ Wt as bd,
4791
+ Bt as be,
4792
+ Gt as bf,
4793
+ Zt as bg,
4794
+ Qt as bh,
4795
+ ma as c,
4796
+ ft as d,
4797
+ bt as e,
4798
+ qe as f,
4799
+ ie as g,
4800
+ Je as h,
4801
+ vt as i,
4802
+ ze as j,
4792
4803
  m as k,
4793
- Je as l,
4794
- ot as m,
4795
- qe as n,
4796
- ke as o,
4797
- l as p,
4798
- rt as q,
4799
- Ze as r,
4800
- gt as s,
4801
- $e as t,
4802
- We as u,
4803
- pt as v,
4804
- Xe as w,
4805
- be as x,
4806
- da as y,
4807
- et as z
4804
+ tt as l,
4805
+ lt as m,
4806
+ $e as n,
4807
+ He as o,
4808
+ u as p,
4809
+ dt as q,
4810
+ je as r,
4811
+ Ct as s,
4812
+ Qe as t,
4813
+ ke as u,
4814
+ ot as v,
4815
+ Ze as w,
4816
+ fe as x,
4817
+ ua as y,
4818
+ at as z
4808
4819
  };