Usage of address.transfer built-in method might revert if Owner is a contract containing heavy operations on receive or fallback since transfer only supports a max gas usage of gasLimit = 2300 . producing DOS which locks the funds of SpookySwap forever.
built-in transfer function not recommended.
Protocol's Funds stay locked unless recipient handles receive ether under less than 2300 gas. SpookySwap:changeOwner mechanism doesn’t directly mitigate the risk of funds being inaccessible.
Manual Review
Foundry testing tool
use low level address.call instead
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.