When depositing into the curveVault, the owner of the shares is set as the LendingPool.sol. But the withdrawal is done assuming that the owner is the msg.sender. This will cause the function to fail
The curveVault mints the shares to the LendingPool upon depositing into the vault. But the _withdrawFromVault function tries to withdraw the msg.sender's shares. This will fail as the msg.sender isnt supposed to be expected to approve/ even hold the shares in the curve vault contract.
once the curve vault is set the withdraw/borrow etc functions wont work
manual review
change the msg.sender to address(this).
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.