Incorrect tokenAdress being used in the Premarktes::settleAskTaker
and PreMarktes::closeBidTaker
causing the wrong tokens to be sent.
the point token amount is added to a user's balance but with the wrong token address.
The receiving user does not get the point token but instead gets the token whose token address was provided which is bad because the whole point of participating in the protocol for the receiver was to get the point token.
And for the protocol, it loses the tokens given to the receiver.
Manual Analysis
Change the token address provided to the point token address.
Valid high severity, In `settleAskTaker/closeBidTaker`, by assigning collateral token to user balance instead of point token, if collateral token is worth more than point, this can cause stealing of other users collateral tokens within the CapitalPool contract, If the opposite occurs, user loses funds based on the points they are supposed to receive
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.