The Tadle protocol implements asymmetric settlement mechanisms for ask and bid offers in its pre-market infrastructure. This asymmetry allows for partial settlements of ask offers but requires full settlements of bid offers, creating opportunities for sophisticated attackers to artificially influence market prices and liquidity.
The asymmetry in settlement mechanisms is primarily observed in two functions within the DeliveryPlace
contract:
settleAskMaker
function allows partial settlements:
closeBidOffer
function requires full settlement:
This asymmetry is further compounded by the createTaker
function in the PreMarkets
contract, which handles both ask and bid offers:
The impact of this design choice includes:
Liquidity Imbalances: The ability to partially settle ask offers but not bid offers could lead to skewed market liquidity.
Price Volatility: Rapid creation and partial settlement of ask offers combined with full closures of bid offers could induce artificial price swings.
User Losses: Smaller traders or less sophisticated users might find themselves trapped in unfavorable positions due to rapid market movements.
Manual Review
Implement Symmetric Settlement: Allow partial settlements for both ask and bid offers, or require full settlements for both. This would eliminate the asymmetry that could be exploited.
Gradual Settlement: For large offers, implement a mechanism for gradual settlement over time, rather than allowing instant large-scale settlements.
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.