<!-- canonical: https://0xsimao.com/findings/districtone-deadline-ole-further-mev -->

# Deadline in Ole swap could be sent as a parameter to further prevent MEV

Low/Info · Three Sigma · Social money games · 13th June, 2024

Finding 3S-D1-N02 of the DistrictOne security review.

- Protocol: https://districtone.io/
- Report: /reports/districtone
- Source: https://cdn.sanity.io/files/qoqld077/production/fd2142f1d189dd29db23dff49d4018d4da9c01d6.pdf

---

### Description

The deadline parameter to swap Ole is block.timestamp, so there is some room for MEV,
although this is technically not possible on Blast as there is not a public mempool.

### Recommendation

Send the deadline as a parameter.

### Status

Acknowledged

---

Related findings:

- [Deadline parameter in SyrupUserActions::_swapViaBalancer() could be set to minimize MEV](https://0xsimao.com/findings/maple-finance-syrup-balancer-swap-deadline): Maple Syrup
- [Gas forwarded by the CurveGaugeDistributor could be limited to further prevent OOG](https://0xsimao.com/findings/felix-gas-forwarded-curve-limited): Felix Price Feeds
- [Swapping with deadline as block.timestamp and 0 minimum amount out is vulnerable to MEV](https://0xsimao.com/findings/clip-finance-i-swapping-deadline-timestamp-mev): Clip Finance Strategies
