It might not be possible to withdraw tokens from the basket
Submitted by Czar102, also found by csanuragjain
Impact
When enough basket token owners exit, it will be impossible to exit pool with the last MIN_AMOUNT tokens because of this check. This will result in locking some tokens forever.
Recommended Mitigation Steps
Consider resigning from this check or performing it only for the owner balance, who would need to have at least MIN_AMOUNT tokens.
loki-sama (Amun) disagreed with severity
0xleastwood (Judge) commented:
Nice find! I think this is valid:)
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity business logic bug in Amun contest. Code4rena made it public on 7 March 2023. Found in the 2021-12-amun audit contest (finding H-02).
About Business logic
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.