As described in the known issues ZlpVault
is EIP4626 non compliant. However, in the known issues it is listed that it is non compliant due to "previewDeposit and previewRedeem including fees". It is also non compliant because maxDeposit
"MUST NOT rely on balanceOf of asset" but it does.
As described in the known issues ZlpVault
is EIP4626 non compliant. However, in the known issues it is listed that it is non compliant due to "previewDeposit and previewRedeem including fees". It is also non compliant because maxDeposit
"MUST NOT rely on balanceOf of asset" but it does. The returned value depends on the totalAssetsCached
value which relies on balanceOf
.
Other protocols that integrate with the given protocol may wrongly assume that the functions are EIP4626 compliant. Thus, it might cause integration problems that can lead to wide range of issues for both parties. Also it can cause confusion for off chain services integrating with the given protocol
Manual Review
Refactor the maxDeposit
function to be EIP4626 compliant or describe this issue in the documentation of the protocol so others can know not to expect it to be compliant with the given EIP.
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.