Leftover tokens might be stuck in TokenManager
In case TokenManager.tillIn() is called, some user ETH might be stuck into the TokenManager contract directly. They won't be accounted as a deposit and the user won't be able to withdraw them.
This is because _amount is used as a param to deposit() and _safe_transfer(), instead of msg.value
User's loss of ETH which cannot be recovered by them
Manual review
Modify those line in https://github.com/Cyfrin/2024-08-tadle/blob/main/src/core/TokenManager.sol#L89-L90
Invalid, these are by default, invalid based on codehawks [general guidelines](https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity#findings-that-may-be-invalid). The check implemented is simply a sufficiency check, it is users responsibility to only send an appropriate amount of native tokens where amount == msg.value when native token is intended to be used as collateral (which will subsequently be deposited as wrapped token). All excess ETH can be rescued using the `Rescuable.sol` contract. > Users sending ETH/native tokens > If contracts allow users to send tokens acc111identally.
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.