Maker who owns AskOffer type Turbo (not origin), after tge he can call DeliveryPlace::settleAskMaker
and increase his withdrawable balance in CapitalPool
Firstly Bob chooses any Turbo askOffer and calls createTaker
, to make a Turbo bidOrder
Then Bob calls PreMarkets::listOffer
to make his askOffer corresponding to his Turbo bidOrder
Now after the tge Bob will be able to call DeliveryPlace::settleAskMaker
, deposit X
amount of tokens that should be enough for _settledPoints == offerInfo.usedPoints
check to pass and finally his withdrawable amount from CapitalPool
will be increased by X * CollateralRatio
, which basically allows him to steal X * (CollateralRatio - 1)
amount of tokens from CapitalPool
Loss of funds for users, due to not enough quantity in CapitalPool
Manual review
Valid high severity, this allows resellers listing offers via `listOffer/relistOffer` to game the system. Based on the inherent design of Turbo mode not requiring takers making ask offers for the original maker offer to deposit collateral, the wrong refund of collateral to takers even when they did not deposit collateral due to turbo mode during settleAskMaker allows possible draining of pools.
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.