Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: low
Invalid

missing slippage on curve vault withdrawal

contracts sets max_loss to zero, which allows withdrawal from curveVault exposed to high slippage.

function _withdrawFromVault(uint256 amount) internal {
curveVault.withdraw(amount, address(this), msg.sender, 0, new address[](0));<@

Impact

withdraws from vaults are exposed to unlimited slippage

Recommendation

Add acceptable max_loss on vault withdrawal

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.