The contract assumes that the user has approved their tokens for the contract, while generally safe to assume, it is unsafe since some non-native defi users can easily assume approving the contract means sending the contract your tokens, like we've seen before with many examples.
could lead to stuck tokens in escrow factory contract
loss of funds
manual review
add an approve call at the beginning of the contract, approving the amount price
from the callers balance
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.