Closed c4-bot-2 closed 8 months ago
gzeon-c4 marked the issue as sufficient quality report
JustDravee marked the issue as grade-a
JustDravee marked the issue as selected for report
1) L 2) L 3) L 4) Why? Invalid 5) Info, potentially invalid 6) Invalid
yanisepfl (sponsor) disputed
1.
shares can be zero if the whole value has been used to service fees
True but in such a scenario reverting is intended. Note that in our code MAX_TOKENIZATION_FEE = 1e16;
which means that the tokenization fee will never exceeds 1%.
2.
We have already explained in another issue why this is intended. Short answer: _convertIBTsToSharesPreview
method is only used in _previewDepositIBT
.
3. Rounding up the amount of shares to be burnt to withdraw a given amount of assets is, as opposed to what is claimed, in favor of the protocol.
We want to integrate as much 4626s as possible, what the auditor proposes is too restrictive.
whenever the yield to be calculated would be zero the function reverts
False statement.
Confusion of the auditor here, coming from the fact that the shares of the IBT 4626 vaults are the IBTs themselves.
Therefore all the reports here are wrong and we dispute the issue
JustDravee marked the issue as not selected for report
JustDravee marked the issue as grade-c
See the markdown file with the details of this report here.