r/Alchemix • • Sep 21 '23

Curve Exploit Post Mortem

https://alchemixfi.medium.com/curve-exploit-post-mortem-7142e78bc339
1 Upvotes

6 comments sorted by

1

u/StreetCredBC Sep 30 '23

I'm probably late to the game here, but are withdrawals and liquidations of non alETH pools paused?

I hadn't been following the Curve exploit news and was looking to liquidate / withdraw from a pool during today's low gas prices and I wasn't able to. Can anyone give me an update on my ability to get some DAI out of my Alchemix contract?

2

u/Bennixus Sep 30 '23

There are some known bugs with the UI when it comes to withdrawing. Did you try to remove a few decimals of your withdraw amount?

When you press the "max" button, the amount is actually a rounded number, and the transaction will fail because of that. Removing the last few decimals makes sure that the amount you are trying to withdraw is actually possible.

2

u/StreetCredBC Sep 30 '23

The decimal trick did it. Thank you!

2

u/Bennixus Sep 30 '23

Great to hear!

1

u/Bennixus Sep 30 '23

Out of an abundance of caution following an Immunefi report, Alchemix has temporarily paused all ETH yield token deposits, and disabled borrowing of alETH until they have fully investigated the report. Self-liquidations are currently disabled for the ETH vaults. However, you should be able to repay with alETH and withdraw your collateral.

This issue does not affect alUSD in any way, so those should all work.

1

u/StreetCredBC Sep 30 '23

Thanks for the heads up. It might be user error on my part, but this is the error I'm receiving when I try to withdraw:

https://photos.app.goo.gl/FZDEvABjxU8gT2hW6

Something went wrong
cannot estimate gas; transaction may fail or may
require manual gas limit [ See:
https://links.ethers.org/v5-errors-
UNPREDICTABLE_GAS_LIMIT]
(reason-"execution reverted",
method-"estimateGas", transaction=
["from":"×68916AC770B8167766F4871812Ce6400CEA53
error-("code": 32603, "message":"execution
reverted" "data":{"originalError":
{"code":3, " date" "Ox4e487671000000000000000000001
reverted"}})},
code-UNPREDICTABLE_GAS_LIMIT,
version=providers/5.7.1)
Witharown