The createMarket
function does not transfer the specified reward tokens (RAACToken
) to the newly created market. This could result in the market being initialized without sufficient rewards, potentially leading to unexpected behavior when users interact with it.
The function allows the owner to create a new market by specifying a _quoteAsset
, _lockDuration
, and _reward
amount.
However, while _reward
is set in the market’s storage, there is no actual token transfer from the caller (msg.sender
or contract owner) to the market contract.
This means the reward pool remains unfunded, and users expecting to receive rewards may not be able to claim them.
user is unable to redeem assets
Foundry
deposit reward token into marketCreator
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.