Disallowing an AssetToken contract that has user deposits leads to a permanent loss since the address cannot be re-allowed again.
When disallowing an AssetToken contract address, there's no check whether the contract has user deposits. Consequently, the contract becomes delinked and all user deposits it has are lost forever.
POC. Add this test to test/unit/ThunderLoanTest.t.sol
Then run it as:
User deposits into a disallowed AssetToken contract are lost forever.
Manual review
Check that the contract to be delisted does not have any user deposits. Add this code at line Ln 240:
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.