The doc spec of the TSwapPool:deposit
outlines that the deadline
parameter is for the transaction to be completed by, in some blockchains (like Ethereum) transactions take up to 15 minutes to complete. This deadline is to ensure that the end user (the one triggering the deposit) gets their fair share. Allowing someone to frontrun a deposit and taking a bigger portion of the shares before someone's deposit.
Allows someone to frontrun a deposti if there is no deadline.
Front-running deposits may be possible on slow time-to-finality blockchains.
N/A
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.