highLogic errorEVM-Solidity
Usual V1: Withdrawal fee for UsualX vault will be mis-calculated.
- Payout
- $0
- Protocol
- Usual V1
- Disclosed
- Nov 10, 2024
- Source
- sherlock
UsualX is an ERC-4626 yield vault in the Usual V1 pegasus codebase. Its withdraw() and previewWithdraw() functions disagree on how the withdrawal fee is computed: withdraw() divides the fee by BASIS_POINT_BASE while previewWithdraw(), which determines the shar …
Similar reports
- No close matches yet.
References
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.