Open sherlock-admin3 opened 2 months ago
The protocol team fixed this issue in the following PRs/commits: https://github.com/RedDuck-Software/midas-contracts/pull/68
@pkqs90 could I get your clarification, this report is specifically about the minimum redemption limit and not about any other limitations, correct?
@pkqs90 could I get your clarification, this report is specifically about the minimum redemption limit and not about any other limitations, correct?
Yes.
pkqs90
Medium
RedemptionVaultWIthBUIDL does not redeem full balance if BUIDL balance is less than 250k post transaction.
Summary
RedemptionVaultWIthBUIDL does not redeem full balance if BUIDL balance is less than 250k post transaction.
Vulnerability Detail
According to the specs, there should be a feature that when redeeming BUIDL tokens, it should redeem full balance if the remaining BUIDL tokens is less than 250k. However, no such feature is implemented.
Contest readme states that "Please note that discrepancies between the spec and the code can be reported as issues", thus reporting this as a medium severity issue.
Also, note that this feature is required because BUIDL token has a minimum redemption limit of 250k (according to https://www.steakhouse.financial/projects/blackrock-buidl). Thus lack of this feature may result in lock of BUIDL tokens within the RedemptionVaultWIthBUIDL contract.
Impact
Code Snippet
Tool used
Manual Review
Recommendation
Implement such feature.