@dhedge/trading-widget 5.12.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,16 +1,16 @@
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, Ge = j({ hours: 24 }), Ye = {
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 = [
13
+ }, ze = "deposit", Xe = 0.5, te = 0, qe = 0.5, Ze = 0.02, $e = 0.5, je = [te], Qe = [
14
14
  0.05,
15
15
  0.1,
16
16
  0.3,
@@ -21,14 +21,14 @@ const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
21
21
  2,
22
22
  3,
23
23
  5
24
- ], Qe = "withdrawSafe", Je = "initWithdrawal", et = "unrollAndClaim", tt = "completeWithdrawal", at = 3e7, nt = 1.25, st = 1e4, it = 13e3, pt = 3, rt = 2e4, dt = 15e3, ot = {
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 = {
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
  [y.id]: y
31
- }, yt = {
31
+ }, ut = {
32
32
  [a.id]: {
33
33
  nativeTokenSymbol: "ETH",
34
34
  wrappedNativeTokenName: "WETH",
@@ -65,29 +65,29 @@ const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
65
65
  address: "0x5555555555555555555555555555555555555555",
66
66
  decimals: l
67
67
  }
68
- }, m = 299e5, ut = {
68
+ }, m = 299e5, lt = {
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
  [y.id]: m
75
- }, lt = {
75
+ }, mt = {
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
  [y.id]: "https://hyperliquid-mainnet.g.alchemy.com/v2"
82
- }, mt = {
82
+ }, ct = {
83
83
  USD: "$",
84
84
  ETH: "Ξ",
85
85
  BTC: "₿"
86
- }, ct = {
86
+ }, Tt = {
87
87
  USD: 2,
88
88
  ETH: 4,
89
89
  BTC: 6
90
- }, Tt = ["USDC", "USDT"], r = {
90
+ }, bt = ["USDC", "USDT"], p = {
91
91
  INVEST_INPUT_FOCUS: "invest_input_focus",
92
92
  APPROVED_TOKEN: "approved_token",
93
93
  DEPOSIT: "deposit",
@@ -105,30 +105,30 @@ const J = "0x0000000000000000000000000000000000000000", Be = 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
- }, bt = {
109
- approve: [r.APPROVED_TOKEN],
110
- deposit: [r.DEPOSIT],
108
+ }, ft = {
109
+ approve: [p.APPROVED_TOKEN],
110
+ deposit: [p.DEPOSIT],
111
111
  multi_withdraw: [
112
- r.WITHDRAWAL,
113
- r.MULTI_ASSET_WITHDRAW
112
+ p.WITHDRAWAL,
113
+ p.MULTI_ASSET_WITHDRAW
114
114
  ],
115
115
  single_withdraw: [
116
- r.WITHDRAWAL,
117
- r.SINGLE_ASSET_WITHDRAW
116
+ p.WITHDRAWAL,
117
+ p.SINGLE_ASSET_WITHDRAW
118
118
  ],
119
119
  single_withdraw_and_claim: [
120
- r.WITHDRAWAL,
121
- r.SINGLE_ASSET_WITHDRAW_AND_CLAIM
120
+ p.WITHDRAWAL,
121
+ p.SINGLE_ASSET_WITHDRAW_AND_CLAIM
122
122
  ],
123
- claim: [r.CLAIM],
124
- swap: [r.SWAP],
125
- create_limit_sell_order: [r.CREATE_LIMIT_SELL_ORDER],
126
- create_limit_buy_order: [r.CREATE_LIMIT_BUY_ORDER],
127
- 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],
128
128
  delete_limit_order_withdraw: [
129
- r.LIMIT_ORDER_WITHDRAW_DELETE
129
+ p.LIMIT_ORDER_WITHDRAW_DELETE
130
130
  ]
131
- }, ft = {
131
+ }, _t = {
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" },
@@ -138,7 +138,7 @@ const J = "0x0000000000000000000000000000000000000000", Be = BigInt(
138
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 || {});
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}`;
141
- const _t = {
141
+ const At = {
142
142
  [s.id]: {
143
143
  ...s,
144
144
  name: "Arbitrum",
@@ -179,10 +179,10 @@ const _t = {
179
179
  };
180
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;
181
181
  a.id + "", t.id + "", i.id + "", s.id + "", n.id + "", y.id + "";
182
- const I = "0x0000000000000000000000000000000000000000";
182
+ const ae = "0x0000000000000000000000000000000000000000";
183
183
  BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
184
184
  a.id + "", BigInt(100), t.id + "", BigInt(600), i.id + "", BigInt(600), n.id + "", BigInt(600), s.id + "", BigInt(5300);
185
- const S = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", R = "0xbDd84294bC8299861A2121F749A25EFEb7168a32", w = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", M = "0xffFb5fB14606EB3a548C113026355020dDF27535", h = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", O = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", g = "0x26a687e8244f1866E9Aa2D400c8b9957Aa8e6Ad4", v = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", C = "0xf067575Eb60c7587C11e867907AA7284833704d1", ae = "0x59525b9b23adc475ef91d98dae06b568ba574ce5", At = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5", Dt = "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", Et = "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";
186
186
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
187
187
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
188
188
  a.id + "", s.id + "", n.id + "", t.id + "", i.id + "";
@@ -977,7 +977,7 @@ const E = [
977
977
  stateMutability: "nonpayable",
978
978
  type: "function"
979
979
  }
980
- ], re = [
980
+ ], de = [
981
981
  {
982
982
  inputs: [
983
983
  {
@@ -1067,7 +1067,7 @@ const E = [
1067
1067
  stateMutability: "view",
1068
1068
  type: "function"
1069
1069
  }
1070
- ], de = [
1070
+ ], oe = [
1071
1071
  {
1072
1072
  inputs: [
1073
1073
  {
@@ -1415,7 +1415,7 @@ const E = [
1415
1415
  stateMutability: "nonpayable",
1416
1416
  type: "function"
1417
1417
  }
1418
- ], It = [
1418
+ ], St = [
1419
1419
  {
1420
1420
  type: "tuple[]",
1421
1421
  components: [
@@ -1443,7 +1443,7 @@ const E = [
1443
1443
  }
1444
1444
  ]
1445
1445
  }
1446
- ], St = [
1446
+ ], Rt = [
1447
1447
  {
1448
1448
  type: "tuple",
1449
1449
  components: [
@@ -1471,7 +1471,7 @@ const E = [
1471
1471
  }
1472
1472
  ]
1473
1473
  }
1474
- ], oe = [
1474
+ ], ye = [
1475
1475
  {
1476
1476
  inputs: [],
1477
1477
  name: "getFundComposition",
@@ -1636,7 +1636,7 @@ const E = [
1636
1636
  stateMutability: "view",
1637
1637
  type: "function"
1638
1638
  }
1639
- ], ye = [
1639
+ ], ue = [
1640
1640
  {
1641
1641
  anonymous: !1,
1642
1642
  inputs: [
@@ -1793,7 +1793,7 @@ const E = [
1793
1793
  stateMutability: "view",
1794
1794
  type: "function"
1795
1795
  }
1796
- ], ue = [
1796
+ ], le = [
1797
1797
  {
1798
1798
  inputs: [
1799
1799
  {
@@ -1870,7 +1870,7 @@ const E = [
1870
1870
  stateMutability: "view",
1871
1871
  type: "function"
1872
1872
  }
1873
- ], le = [
1873
+ ], me = [
1874
1874
  {
1875
1875
  inputs: [],
1876
1876
  name: "EmptyPayload",
@@ -2027,8 +2027,8 @@ const E = [
2027
2027
  name: "UnsupportedTokenTransferMethod",
2028
2028
  type: "error"
2029
2029
  }
2030
- ], me = [
2031
- ...le,
2030
+ ], ce = [
2031
+ ...me,
2032
2032
  {
2033
2033
  anonymous: !1,
2034
2034
  inputs: [
@@ -3452,7 +3452,7 @@ const E = [
3452
3452
  stateMutability: "payable",
3453
3453
  type: "function"
3454
3454
  }
3455
- ], ce = [
3455
+ ], Te = [
3456
3456
  { inputs: [], name: "ExternalCallerNotAllowed", type: "error" },
3457
3457
  {
3458
3458
  inputs: [{ internalType: "address", name: "asset", type: "address" }],
@@ -4100,22 +4100,23 @@ const E = [
4100
4100
  stateMutability: "nonpayable",
4101
4101
  type: "function"
4102
4102
  }
4103
- ], Rt = {
4103
+ ], wt = {
4104
4104
  [a.id]: {
4105
- factory: S,
4106
- easySwapperV2: R,
4107
- aaveLendingPoolV3: w
4105
+ factory: I,
4106
+ easySwapperV2: S,
4107
+ aaveLendingPoolV3: R,
4108
+ limitOrder: w
4108
4109
  },
4109
4110
  [i.id]: {
4110
4111
  factory: W,
4111
- aaveLendingPoolV2: se,
4112
+ aaveLendingPoolV2: ie,
4112
4113
  aaveLendingPoolV3: F,
4113
4114
  easySwapperV2: k,
4114
4115
  limitOrder: V
4115
4116
  },
4116
4117
  [t.id]: {
4117
4118
  factory: x,
4118
- rewardDistribution: ne,
4119
+ rewardDistribution: se,
4119
4120
  aaveLendingPoolV3: N,
4120
4121
  easySwapperV2: B,
4121
4122
  limitOrder: U
@@ -4128,36 +4129,36 @@ const E = [
4128
4129
  },
4129
4130
  [n.id]: {
4130
4131
  factory: v,
4131
- flatcoinPointsModule: ae,
4132
+ flatcoinPointsModule: ne,
4132
4133
  easySwapperV2: C,
4133
4134
  aaveLendingPoolV3: L,
4134
4135
  limitOrder: P
4135
4136
  },
4136
4137
  [y.id]: {
4137
- factory: ie,
4138
+ factory: re,
4138
4139
  easySwapperV2: pe
4139
4140
  }
4140
- }, wt = {
4141
- factory: re,
4141
+ }, Mt = {
4142
+ factory: de,
4142
4143
  aaveLendingPoolV2: E,
4143
4144
  aaveLendingPoolV3: E,
4144
- rewardDistribution: ye,
4145
- poolManagerLogic: oe,
4145
+ rewardDistribution: ue,
4146
+ poolManagerLogic: ye,
4146
4147
  erc20: Q,
4147
- poolLogic: de,
4148
- flatcoinPointsModule: ue,
4149
- easySwapperV2: me,
4150
- limitOrder: ce
4151
- }, Mt = "Gas estimate error occurred", ht = "See console logs to report error details.", Ot = "Missing simulation params", gt = "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 = {
4152
4153
  title: "Low Slippage",
4153
4154
  hint: "Please increase slippage tolerance and try again."
4154
- }, _e = {
4155
+ }, Ae = {
4155
4156
  "invalid liquidityMinted": b,
4156
4157
  "high withdraw slippage": b,
4157
4158
  "high deposit slippage": b,
4158
4159
  "high swap slippage": b,
4159
4160
  InsufficientAmountReceived: b,
4160
- [fe]: {
4161
+ [_e]: {
4161
4162
  title: "Oh no we couldn’t swap the assets",
4162
4163
  hint: "Don’t worry your assets are still in your wallet."
4163
4164
  },
@@ -4165,11 +4166,11 @@ const E = [
4165
4166
  title: "Single Asset Withdrawal not available",
4166
4167
  hint: "Please use All Assets option."
4167
4168
  },
4168
- [Te]: {
4169
+ [be]: {
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
  },
4172
- [be]: {
4173
+ [fe]: {
4173
4174
  title: "Oh no we couldn’t swap the assets",
4174
4175
  hint: "Don’t worry your assets are still in your wallet."
4175
4176
  },
@@ -4301,13 +4302,13 @@ const E = [
4301
4302
  title: "Maximum supply cap reached",
4302
4303
  hint: "Cannot mint such amount of vault tokens as it would exceed the maximum supply cap."
4303
4304
  }
4304
- }, Ae = "Invalid limit order prices", De = {
4305
+ }, De = "Invalid limit order prices", Ee = {
4305
4306
  InvalidPrices: {
4306
- title: Ae
4307
+ title: De
4307
4308
  }
4308
- }, vt = [
4309
- ...Object.keys(_e),
4310
- ...Object.keys(De)
4309
+ }, Ct = [
4310
+ ...Object.keys(Ae),
4311
+ ...Object.keys(Ee)
4311
4312
  ], e = 18, H = {
4312
4313
  address: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
4313
4314
  symbol: "USDCe",
@@ -4328,42 +4329,42 @@ const E = [
4328
4329
  symbol: "WBTC",
4329
4330
  decimals: 8,
4330
4331
  value: ""
4331
- }, Ct = {
4332
+ }, Lt = {
4332
4333
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4333
4334
  symbol: "tBTC",
4334
4335
  decimals: e,
4335
4336
  value: ""
4336
- }, Lt = {
4337
+ }, Pt = {
4337
4338
  address: "0x5979D7b546E38E414F7E9822514be443A4800529",
4338
4339
  symbol: "wstETH",
4339
4340
  decimals: e,
4340
4341
  value: ""
4341
- }, Pt = {
4342
+ }, xt = {
4342
4343
  address: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9",
4343
4344
  symbol: "USDT",
4344
4345
  decimals: 6,
4345
4346
  value: ""
4346
- }, xt = {
4347
+ }, Nt = {
4347
4348
  address: "0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",
4348
4349
  symbol: "SOL",
4349
4350
  decimals: 9,
4350
4351
  value: ""
4351
- }, Nt = {
4352
+ }, Bt = {
4352
4353
  address: "0xa9004a5421372e1d83fb1f85b0fc986c912f91f3",
4353
4354
  symbol: "WBNB",
4354
4355
  decimals: e,
4355
4356
  value: ""
4356
- }, Bt = {
4357
+ }, Ut = {
4357
4358
  address: "0xf97f4df75117a78c1a5a0dbb814af92458539fb4",
4358
4359
  symbol: "LINK",
4359
4360
  decimals: e,
4360
4361
  value: ""
4361
- }, Ee = {
4362
+ }, Ie = {
4362
4363
  address: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
4363
4364
  symbol: "USDC",
4364
4365
  decimals: 6,
4365
4366
  value: ""
4366
- }, Ut = {
4367
+ }, Wt = {
4367
4368
  address: "0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca",
4368
4369
  symbol: "USDbC",
4369
4370
  decimals: 6,
@@ -4373,12 +4374,12 @@ const E = [
4373
4374
  symbol: "WETH",
4374
4375
  decimals: e,
4375
4376
  value: ""
4376
- }, Wt = {
4377
+ }, Ft = {
4377
4378
  address: "0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22",
4378
4379
  symbol: "cbETH",
4379
4380
  decimals: e,
4380
4381
  value: ""
4381
- }, Ie = {
4382
+ }, Se = {
4382
4383
  address: "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",
4383
4384
  symbol: "cbBTC",
4384
4385
  decimals: 8,
@@ -4388,12 +4389,12 @@ const E = [
4388
4389
  symbol: "rETH",
4389
4390
  decimals: e,
4390
4391
  value: ""
4391
- }, Ft = {
4392
+ }, kt = {
4392
4393
  address: "0x236aa50979D5f3De3Bd1Eeb40E81137F22ab794b",
4393
4394
  symbol: "tBTC",
4394
4395
  decimals: e,
4395
4396
  value: ""
4396
- }, kt = {
4397
+ }, Vt = {
4397
4398
  address: "0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452",
4398
4399
  symbol: "wstETH",
4399
4400
  decimals: e,
@@ -4403,12 +4404,12 @@ const E = [
4403
4404
  symbol: "USDCe",
4404
4405
  decimals: 6,
4405
4406
  value: ""
4406
- }, Se = {
4407
+ }, Re = {
4407
4408
  address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
4408
4409
  symbol: "USDC",
4409
4410
  decimals: 6,
4410
4411
  value: ""
4411
- }, Re = {
4412
+ }, we = {
4412
4413
  address: "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
4413
4414
  symbol: "USDT",
4414
4415
  decimals: 6,
@@ -4418,12 +4419,12 @@ const E = [
4418
4419
  symbol: "WETH",
4419
4420
  decimals: e,
4420
4421
  value: ""
4421
- }, Vt = {
4422
+ }, Ht = {
4422
4423
  address: "0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9",
4423
4424
  symbol: "sUSD",
4424
4425
  decimals: e,
4425
4426
  value: ""
4426
- }, we = {
4427
+ }, Me = {
4427
4428
  address: "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
4428
4429
  symbol: "DAI",
4429
4430
  decimals: e,
@@ -4433,22 +4434,22 @@ const E = [
4433
4434
  symbol: "WBTC",
4434
4435
  decimals: 8,
4435
4436
  value: ""
4436
- }, Ht = {
4437
+ }, Gt = {
4437
4438
  address: "0xe405de8f52ba7559f9df3c368500b6e6ae6cee49",
4438
4439
  symbol: "sETH",
4439
4440
  decimals: e,
4440
4441
  value: ""
4441
- }, Gt = {
4442
+ }, Yt = {
4442
4443
  address: "0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6",
4443
4444
  symbol: "LINK",
4444
4445
  decimals: e,
4445
4446
  value: ""
4446
- }, Yt = {
4447
+ }, Kt = {
4447
4448
  address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40",
4448
4449
  symbol: "tBTC",
4449
4450
  decimals: e,
4450
4451
  value: ""
4451
- }, Kt = {
4452
+ }, zt = {
4452
4453
  address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb",
4453
4454
  symbol: "wstETH",
4454
4455
  decimals: e,
@@ -4463,12 +4464,12 @@ const E = [
4463
4464
  symbol: "USDCe",
4464
4465
  decimals: 6,
4465
4466
  value: ""
4466
- }, Me = {
4467
+ }, he = {
4467
4468
  address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
4468
4469
  symbol: "USDC",
4469
4470
  decimals: 6,
4470
4471
  value: ""
4471
- }, zt = {
4472
+ }, Xt = {
4472
4473
  address: "0x553d3d295e0f695b9228246232edf400ed3560b5",
4473
4474
  symbol: "PAXG",
4474
4475
  decimals: e,
@@ -4478,22 +4479,22 @@ const E = [
4478
4479
  symbol: "WBTC",
4479
4480
  decimals: 8,
4480
4481
  value: ""
4481
- }, he = {
4482
+ }, Oe = {
4482
4483
  address: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
4483
4484
  symbol: "WPOL",
4484
4485
  decimals: e,
4485
4486
  value: ""
4486
- }, Oe = {
4487
+ }, ge = {
4487
4488
  address: "0xc2132d05d31c914a87c6611c10748aeb04b58e8f",
4488
4489
  symbol: "USDT",
4489
4490
  decimals: 6,
4490
4491
  value: ""
4491
- }, ge = {
4492
+ }, ve = {
4492
4493
  address: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
4493
4494
  symbol: "DAI",
4494
4495
  decimals: e,
4495
4496
  value: ""
4496
- }, Xt = {
4497
+ }, qt = {
4497
4498
  address: "0x236aa50979d5f3de3bd1eeb40e81137f22ab794b",
4498
4499
  symbol: "tBTC",
4499
4500
  decimals: e,
@@ -4503,7 +4504,7 @@ const E = [
4503
4504
  symbol: "WETH",
4504
4505
  decimals: e,
4505
4506
  value: ""
4506
- }, ve = {
4507
+ }, Ce = {
4507
4508
  address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
4508
4509
  symbol: "USDC",
4509
4510
  decimals: 6,
@@ -4513,54 +4514,54 @@ const E = [
4513
4514
  symbol: "WBTC",
4514
4515
  decimals: 8,
4515
4516
  value: ""
4516
- }, Ce = {
4517
+ }, Le = {
4517
4518
  address: "0xdac17f958d2ee523a2206206994597c13d831ec7",
4518
4519
  symbol: "USDT",
4519
4520
  decimals: 6,
4520
4521
  value: ""
4521
- }, qt = {
4522
+ }, Zt = {
4522
4523
  address: "0x68749665ff8d2d112fa859aa293f07a622782f38",
4523
4524
  symbol: "XAUt",
4524
4525
  decimals: 6,
4525
4526
  value: ""
4526
- }, Zt = {
4527
- address: I,
4527
+ }, $t = {
4528
+ address: ae,
4528
4529
  symbol: "all",
4529
4530
  decimals: e,
4530
4531
  value: ""
4531
- }, $t = {
4532
+ }, jt = {
4532
4533
  [H.address.toLowerCase()]: "USDCe",
4533
4534
  [Y.address.toLowerCase()]: "USDCe",
4534
4535
  [X.address.toLowerCase()]: "USDCe"
4535
- }, jt = {
4536
+ }, Qt = {
4536
4537
  [a.id]: Z,
4537
4538
  [t.id]: K,
4538
4539
  [n.id]: G,
4539
4540
  [i.id]: z,
4540
4541
  [s.id]: A
4541
- }, Qt = {
4542
+ }, Jt = {
4542
4543
  [t.id]: f,
4543
- [n.id]: Ie,
4544
+ [n.id]: Se,
4544
4545
  [i.id]: q,
4545
4546
  [s.id]: c,
4546
4547
  [a.id]: $
4547
- }, Jt = {
4548
+ }, ea = {
4548
4549
  [t.id]: {
4549
4550
  WETH: K,
4550
- USDC: Se,
4551
+ USDC: Re,
4551
4552
  WBTC: f,
4552
4553
  USDCe: Y,
4553
- USDT: Re,
4554
- DAI: we
4554
+ USDT: we,
4555
+ DAI: Me
4555
4556
  },
4556
4557
  [i.id]: {
4557
- WMATIC: he,
4558
+ WMATIC: Oe,
4558
4559
  WETH: z,
4559
- USDC: Me,
4560
+ USDC: he,
4560
4561
  WBTC: q,
4561
4562
  USDCe: X,
4562
- USDT: Oe,
4563
- DAI: ge
4563
+ USDT: ge,
4564
+ DAI: ve
4564
4565
  },
4565
4566
  [s.id]: {
4566
4567
  WETH: A,
@@ -4570,21 +4571,21 @@ const E = [
4570
4571
  },
4571
4572
  [n.id]: {
4572
4573
  WETH: G,
4573
- USDC: Ee
4574
+ USDC: Ie
4574
4575
  },
4575
4576
  [a.id]: {
4576
4577
  WETH: Z,
4577
- USDC: ve,
4578
+ USDC: Ce,
4578
4579
  WBTC: $,
4579
- USDT: Ce
4580
+ USDT: Le
4580
4581
  }
4581
- }, ea = "https://hermes.pyth.network", ta = "https://flat.money/flatcoin", aa = "https://v1.flat.money/flatcoin", _ = {
4582
+ }, ta = "https://hermes.pyth.network", aa = "https://flat.money/flatcoin", na = "https://v1.flat.money/flatcoin", _ = {
4582
4583
  RETH_BASE: "0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768",
4583
4584
  WBTC_OPTIMISM: "0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879",
4584
4585
  WBTC_ARBITRUM: "0xb1353d51991e79fefd4bfdba2a03e9f0232814a6"
4585
- }, na = Object.values(
4586
+ }, sa = Object.values(
4586
4587
  _
4587
- ), sa = {
4588
+ ), ia = {
4588
4589
  [_.RETH_BASE]: {
4589
4590
  symbol: D.symbol,
4590
4591
  decimals: D.decimals,
@@ -4600,8 +4601,8 @@ const E = [
4600
4601
  decimals: c.decimals,
4601
4602
  address: c.address
4602
4603
  }
4603
- }, Le = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", ia = [
4604
- Le,
4604
+ }, Pe = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2", ra = [
4605
+ Pe,
4605
4606
  "0x357cb23571ef7a3d6189b7facfc361ea71f7cab5"
4606
4607
  // WBTC_OPTIMISM
4607
4608
  ], pa = {
@@ -4612,7 +4613,7 @@ const E = [
4612
4613
  [s.id]: 300,
4613
4614
  [i.id]: 300,
4614
4615
  [y.id]: 300
4615
- }, ra = {
4616
+ }, da = {
4616
4617
  DEPOSIT: "deposit",
4617
4618
  DEPOSIT_CUSTOM: "depositWithCustomCooldown",
4618
4619
  NATIVE: "nativeDeposit",
@@ -4621,12 +4622,12 @@ const E = [
4621
4622
  ZAP_NATIVE_DEPOSIT_CUSTOM: "zapNativeDepositWithCustomCooldown",
4622
4623
  ZAP_DEPOSIT: "zapDeposit",
4623
4624
  ZAP_DEPOSIT_CUSTOM: "zapDepositWithCustomCooldown"
4624
- }, da = [
4625
+ }, oa = [
4625
4626
  "multi_withdraw",
4626
4627
  "swap",
4627
4628
  "claim",
4628
4629
  "single_withdraw_and_claim"
4629
- ], p = {
4630
+ ], r = {
4630
4631
  SOL_ARBITRUM: "0x09400d9db990d5ed3f35d7be61dfaeb900af03c9",
4631
4632
  BTC_ARBITRUM: "0x47c031236e19d024b42f8ae6780e44a573170703",
4632
4633
  WETH_WETH_ARBITRUM: "0x70d95587d40a2caf56bd97485ab3eec10bee6336",
@@ -4642,120 +4643,120 @@ const E = [
4642
4643
  PUMP_ARBITRUM: "0x4c0bb704529fa49a26bd854802d70206982c6f1b",
4643
4644
  GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e",
4644
4645
  AAVE_ARBITRUM: "0x1cbba6346f110c8a5ea739ef2d1eb182990e4eb2"
4645
- }, oa = Object.values(
4646
- p
4647
- ), ya = {
4648
- [p.SOL_ARBITRUM]: d,
4649
- [p.BTC_ARBITRUM]: c,
4650
- [p.WETH_WETH_ARBITRUM]: A,
4651
- [p.WETH_USDC_ARBITRUM]: A,
4652
- [p.SUI_ARBITRUM]: d,
4653
- [p.DOGE_ARBITRUM]: d,
4654
- [p.XRP_ARBITRUM]: d,
4655
- [p.CRV_ARBITRUM]: d,
4656
- [p.HYPE_ARBITRUM]: d,
4657
- [p.BNB_ARBITRUM]: d,
4658
- [p.LINK_ARBITRUM]: d,
4659
- [p.PUMP_ARBITRUM]: d,
4660
- [p.BNB_WBTC_USDC_ARBITRUM]: d,
4661
- [p.GOLD_ARBITRUM]: d,
4662
- [p.AAVE_ARBITRUM]: d
4663
- }, ua = {
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 = {
4664
4665
  "0x9a916e55f5b67226734cd7b465d51bce1d11a89a": d
4665
4666
  // USDmny Arbitrum
4666
4667
  };
4667
4668
  export {
4668
- st as $,
4669
- lt as A,
4670
- $t as B,
4671
- ot as C,
4669
+ it as $,
4670
+ mt as A,
4671
+ jt as B,
4672
+ yt as C,
4672
4673
  ee as D,
4673
- tt as E,
4674
- Je as F,
4675
- et as G,
4676
- Ye as H,
4677
- He as I,
4678
- We as J,
4679
- Ve as K,
4680
- Jt as L,
4681
- sa as M,
4682
- na as N,
4683
- ia as O,
4684
- ta as P,
4685
- Le as Q,
4686
- aa as R,
4687
- Mt as S,
4688
- nt as T,
4689
- oa as U,
4690
- p as V,
4691
- ya as W,
4692
- ua as X,
4693
- Ae as Y,
4694
- De as Z,
4695
- bt as _,
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 _,
4696
4697
  pa as a,
4697
- Nt as a$,
4698
- ut as a0,
4699
- Zt as a1,
4700
- Be as a2,
4701
- at as a3,
4702
- ea as a4,
4703
- ke as a5,
4704
- gt as a6,
4705
- je as a7,
4706
- Tt as a8,
4707
- fe as a9,
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,
4708
4709
  Y as aA,
4709
4710
  X as aB,
4710
- Ie as aC,
4711
- Wt as aD,
4712
- we as aE,
4713
- ge as aF,
4714
- Bt as aG,
4715
- Gt as aH,
4716
- zt as aI,
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,
4717
4718
  D as aJ,
4718
- ye as aK,
4719
- Ht as aL,
4720
- Vt as aM,
4721
- Ct as aN,
4722
- Ft as aO,
4723
- Yt as aP,
4724
- Xt as aQ,
4725
- Ut as aR,
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,
4726
4727
  d as aS,
4727
- Ee as aT,
4728
- ve as aU,
4729
- Se as aV,
4730
- Me as aW,
4731
- Pt as aX,
4732
- Ce as aY,
4733
- Re as aZ,
4734
- Oe as a_,
4735
- rt as aa,
4736
- ft as ab,
4737
- r as ac,
4738
- _e as ad,
4739
- vt as ae,
4740
- Qt as af,
4741
- jt as ag,
4742
- be as ah,
4743
- wt as ai,
4744
- Rt as aj,
4745
- I as ak,
4746
- It as al,
4747
- St as am,
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,
4748
4749
  e as an,
4749
- At as ao,
4750
- Dt as ap,
4751
- re as aq,
4752
- de as ar,
4753
- me as as,
4754
- oe as at,
4755
- ue as au,
4756
- _t as av,
4757
- Et as aw,
4758
- ce as ax,
4750
+ Dt as ao,
4751
+ Et as ap,
4752
+ de as aq,
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,
4759
4760
  E as ay,
4760
4761
  H as az,
4761
4762
  J as b,
@@ -4768,34 +4769,34 @@ export {
4768
4769
  Z as b6,
4769
4770
  K as b7,
4770
4771
  z as b8,
4771
- he as b9,
4772
- xt as ba,
4773
- Lt as bb,
4774
- kt as bc,
4775
- Kt as bd,
4776
- qt as be,
4777
- yt as c,
4778
- da as d,
4779
- ct as e,
4780
- mt as f,
4781
- Ke as g,
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,
4782
4783
  te as h,
4783
- $e as i,
4784
- ht as j,
4785
- Ge as k,
4784
+ je as i,
4785
+ Ot as j,
4786
+ Ye as k,
4786
4787
  m as l,
4787
- Qe as m,
4788
- dt as n,
4789
- Xe as o,
4790
- Fe as p,
4788
+ Je as m,
4789
+ ot as n,
4790
+ qe as o,
4791
+ ke as p,
4791
4792
  l as q,
4792
- it as r,
4793
- qe as s,
4794
- Ot as t,
4795
- Ze as u,
4796
- Ue as v,
4793
+ rt as r,
4794
+ Ze as s,
4795
+ gt as t,
4796
+ $e as u,
4797
+ We as v,
4797
4798
  pt as w,
4798
- ze as x,
4799
- Te as y,
4800
- ra as z
4799
+ Xe as x,
4800
+ be as y,
4801
+ da as z
4801
4802
  };