The _freeFunds
function attempts to release a specified amount (_amount
) of funds from the transmuter
. If the transmuter
has insufficient liquidity, it releases only the available funds, creating a potential discrepancy between the requested and released amounts. This difference is treated as a loss, which is passed on to the withdrawer. This mechanism risks realizing a "false loss" due to temporary liquidity shortages, negatively impacting the withdrawer's balance.
False Loss Realization: The withdrawer may bear an artificial loss caused by temporary liquidity constraints in the transmuter
, not due to actual underlying asset performance or default.
User Dissatisfaction: Users experiencing reduced withdrawals due to liquidity shortages may lose trust in the protocol, perceiving it as unfair or inefficient.
Rollback on Insufficient Liquidity: Modify the _freeFunds
function to revert the transaction if the transmuter
cannot release the full _amount
. This ensures no false losses are realized and allows the user to retry later when liquidity is restored.
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.