Closed sherlock-admin3 closed 3 months ago
1 comment(s) were left on this issue during the judging contest.
z3s commented:
Invalid; Design decisions are not valid issues. Even if the design is suboptimal, but doesn't imply any loss of funds, these issues are considered informational.
karsar
medium
Minimum ETH Withdrawal Requirement Causes Delayed Requests
Summary
Withdrawals can't happen until the contract has 100 ether, making it hard to use at first.
Vulnerability Detail
The
_requestWithdrawal function
implements a minimumwithdrawAmount
of 100 ether, potentially delaying the initiation of withdrawal requests until the contract's balance reaches the specified threshold. it will make hard for users, especially those trying to withdraw smaller amounts, and may hinder the contract's initial usability.Impact
users won't be able to withdraw their funds until the contract has 100 ether, causing inconvenience and delays.
Code Snippet
https://github.com/sherlock-audit/2024-05-napier-update/blob/main/napier-v1/src/adapters/etherfi/EETHAdapter.sol#L111-L128
Tool used
Manual Review
Recommendation
Ensure that users can withdraw smaller amounts by adjusting the minimum withdrawal threshold to allow for more flexibility in accessing funds.