Incorrect token address used in DeliveryPlace.settleAskTaker
, which results in the buyer can't receive point token
In DeliveryPlace.settleAskTaker, the function calculates the amount of settled pointToken settledPointTokenAmount
in DeliveryPlace.sol#L373-L374, and the pointToken is transferred from caller in DeliveryPlace.sol#L377-L382, as used in DeliveryPlace.sol#L379, marketPlaceInfo.tokenAddress
is the point token address, and makerInfo.tokenAddress
is supposed to be the collateral token address, thus in DeliveryPlace.sol#L387, incorrect token address is used.
the buyer can't receive correct point token
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.