Even though depositing USDC is not allowed in MoneyVault
any user can directly transfer their USDC to the MoneyVault
and there is no way to retrieve it .
Direct USDC transfers to MoneyVault
can lead to funds being stuck in the contract forever
There is no way to retrieve the USDC stuck in MoneyVault
because of direct transfers
Adding an EmergencyTransfer
function in MoneyVault
which can only be called when godFather
is kernel.admin()
will fix this issue .
Since, it is a function for emergency pusposes godFather
is required to become the admin of kernel to use this function , he can change the admin back to policy after calling the EmergencyTransfer
function.
In MoneyVault.sol
add the following function
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.