In UpliftOnlyExample.sol
contract, the comment mentions the user is restricted to only be able to deposit 100 times.
However, the code allows users to deposit 101 times, which differs from the comment and documentation.
In the addLiquidityProportional()
function:
We can see the if()
condition will revert when the current deposit length is greater than 100.
Let's imagine this scenario:
Alice already has 100 deposits.
She deposits once again.
The if()
condition will check if her deposits are more than 100 or not.
Because it's 100, and it doesn't meet the revert condition, the function does not revert.
Now Alice has 101 deposits.
Different behavior from the code comment and documentation.
Manual Review
Only 1 more NFT won’t have any impact. Informational.
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.