The function LendginPool::_withdrawFromVault
attempts to call the withdraw
function on the curveVault
. However, the function call is using an incorrect interface, as the actual withdraw
function in the real contract only accepts 3 arguments, not 5.
The function is using the wrong interface for the withdraw
function in the curveVault
. The real contract’s withdraw
function accepts only 3 arguments: assets
, receiver
, and owner
. The current implementation includes 5 arguments, which could result in a failure to interact correctly with the Curve vault or cause an error due to the mismatch in the number of arguments.
The mismatched function signature will likely cause the transaction to fail when interacting with the Curve vault.
Manual review
Update the function call to match the correct signature of the withdraw
function in the curveVault
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.