Open GustaveCharles opened 1 year ago
imo no since it's not a rule but more a general pattern that may be use as a guideline for most functions. Sometimes, like when withdrawing here, it would be difficult to check is a position is liquidatable before actually withdrawing liquidity since the amount of tokens that are withdrawn are not fixed.
If you think any bug could arise, explain them.
Saw 1-2 problems when quick checked on this pattern, just discuss it so we know if there is a real threat. @devsquaaa @0xirons @Lolshh