If a user sends ETH to LikeRegistry
by mistake, it gets stuck forever unless the withdrawFees()
function is used.
The receive()
function exists but doesn’t allow the owner to withdraw random ETH deposits.
ETH Can be locked forever
function emergencyWithdraw() external onlyOwner {
(bool success,) = payable(owner()).call{value: address(this).balance}("");
require(success, "Withdraw failed");
}
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.