The remaining EUROs from LiquidationPoolManager to LiquidationPool cannot be withdrawn.
In the distributeFees() function, the protocol transfers _amount of EUROs from the LiquidationPoolManager to the LiquidationPool contract, and then distributes it among users based on their proportion.
However, this distribution incurs precision loss, meaning that the final allocation to all users may be less than _amount. The surplus EUROs tokens will remain in the protocol and cannot be withdrawn.
The surplus EUROs tokens will remain in the protocol and cannot be withdrawn.
Vscode
In the distributeFees() function, the value of the already allocated totalEUROs is first recorded. After the allocation, it is compared with _amount, and any surplus EUROs tokens are transferred to the protocol.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.