After the Emergency Migration occurs, funds are not protected and they can still be withdrawn from the MoneyShelf.sol
contract.
Once the Emergency Migration occurs, funds are supposed to be protected inside of the MoneyVault.sol
contract. However, this does not happen. The Laundrette.sol::withdrawMoney
function is hard coded to call the moneyShelf.withdrawUSDC
function. This means that even after the Emergency Migration, funds can be withdrawn from MoneyShelf.sol
.
The test below passes showing that funds can be withdrawn from MoneyShelf.sol
even after the Emergency Migration occurs.
--Foundry
It is recommended to change the Laundrette.sol::withdrawMoney
function to be dynamic and call the Module using the active Keycode "MONEY". This way, after the migration, the correct Module/Contract will be called.
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.