Passing block.timestamp
to deadline
is basically saying that the sender is willing to accept the transaction to be included at any block.
Malicious validators can withold the transaction until the block is in their favor (such as maximum slippages) which is unfavorable to the sender. Here's the code for quick reference.
Swap losses everytime.
Delayed execution which might ire users.
Manual Review
Parameterize the value of deadline
and make calculations off-chain.
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.