calling KittyPool::depawsitMeowllateral will revert since the collateral vault is not approved to spend the user's collateral token.
In KittyPool::depawsitMeowllateral, since the KittyVault contract of that token isn't approved to transfer the user's collateral token, the safeTransferFrom implemented in KittyVault::executeDepawsit will not work automatically except the user manually approves the vault before calling KittyPool::depawsitMeowllateral . this is poor UX design leading to potential DoS for users.
poor UX leading to potential DoS except in rare cases where the user is either a smart contract developer or she is highly knowledgeable about how ERC20s work
manual review
foundry test
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.