Closed c4-bot-9 closed 8 months ago
gzeon-c4 marked the issue as sufficient quality report
JustDravee changed the severity to 2 (Med Risk)
JustDravee changed the severity to QA (Quality Assurance)
JustDravee marked the issue as grade-a
yanisepfl (sponsor) disputed
We have already disputed and provided a complete explanation as to why this is intended and not an issue.
Short answer: Yes we use slightly different rates in deposit
and previewDeposit
methods in order to respect the standards that we wish to follow, but:
when going through the deposit() route the the ptRate will be rounded down, which means slightly more shares in favor of the user.
Yes the user receives slightly more shares than in the previewDeposit
flow, but the auditor omitted or forgot that their worth in assets will also be impacted by the ptRate being rounded down. In particular, we did it so that the protocol is always favored.
JustDravee marked the issue as grade-c
See the markdown file with the details of this report here.