In UnripeFacet.sol
, multiple functions contain payable
keyword which indicates that native ethers can be sent along the call. Those functions are:
UnripeFacet.sol::chop
UnripeFacet.sol::pick
UnripeFacet.sol::addUnripeToken
UnripeFacet.sol::addMigratedUnderlying
UnripeFacet.sol::switchUnderlyingToken
However, these functions doesn't expect to handle ethers and protocol users accidentally send native ethers to these functions, their ethers will be stucked in the contract forever.
Native ethers send along with these functions will be lost forever.
Manual Analysis
Remove payable
keyword if native ether is not expected for the mentioned functions or add checks require(msg.value == 0, "native ethers doesn't accept here.");
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.