EEtherAdapter's staking functionality may not be available
Summary
Since ETHERFI_LP has a whitelist function, if the whitelist function is turned on, EEtherAdapter's staking functionality may not be available.
Vulnerability Detail
ETHERFI has a whitelist. This affects the normal functionality of the EEtherAdapter and is a normal and non-malicious operation of the ETHERFI administrator. So I think this is worth reporting.
Impact
EEtherAdapter's staking functionality may not be available
Code Snippet
// Used by eETH staking flow
function deposit() external payable returns (uint256) {
return deposit(address(0));
}
// Used by eETH staking flow
function deposit(address _referral) public payable whenNotPaused returns (uint256) {
require(_isWhitelisted(msg.sender), "Invalid User");
Drynooo
medium
EEtherAdapter's staking functionality may not be available
Summary
Since ETHERFI_LP has a whitelist function, if the whitelist function is turned on, EEtherAdapter's staking functionality may not be available.
Vulnerability Detail
ETHERFI has a whitelist. This affects the normal functionality of the EEtherAdapter and is a normal and non-malicious operation of the ETHERFI administrator. So I think this is worth reporting.
Impact
EEtherAdapter's staking functionality may not be available
Code Snippet
Tool used
Manual Review
Recommendation
It is recommended to use try for deposit.