{
  "id": "2022/155",
  "url": "https://opencryptology.org/2022/155",
  "original_url": "https://eprint.iacr.org/2022/155",
  "title": "FairTraDEX: A Decentralised Exchange Preventing Value Extraction",
  "authors": [
    "Conor McMenamin",
    "Vanesa Daza",
    "Matthias Fitzi",
    "Padraic O'Donoghue"
  ],
  "affiliations": null,
  "abstract": "We present FairTraDEX, a decentralized exchange (DEX) protocol based on frequent batch auctions (FBAs), which provides formal game-theoretic guarantees against extractable value. FBAs when run by a trusted third-party provide unique game-theoretic optimal strategies which ensure players are shown prices equal to the liquidity provider's fair price, excluding explicit, pre-determined fees. FairTraDEX replicates the key features of an FBA that provide these game-theoretic guarantees using a combination of set-membership in zero-knowledge protocols and an escrow-enforced commit-reveal protocol. We extend the results of FBAs to handle monopolistic and/or malicious liquidity providers. We provide real-world examples that demonstrate that the costs of executing orders in existing academic and industry-standard protocols become prohibitive as order size increases due to basic value extraction techniques, popularized as maximal extractable value. We further demonstrate that FairTraDEX protects against these execution costs, guaranteeing a fixed fee model independent of order size, the first guarantee of it's kind for a DEX protocol. We also provide detailed Solidity and pseudo-code implementations of FairTraDEX, making FairTraDEX a novel and practical contribution.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“FairTraDEX: A Decentralised Exchange Preventing Value Extraction” by Conor McMenamin, Vanesa Daza, Matthias Fitzi, Padraic O'Donoghue, Cryptology ePrint Archive, Paper 2022/155, https://eprint.iacr.org/2022/155. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-02-12T06:50:57Z",
    "updated": "2022-08-04T11:35:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/155.pdf",
    "sha256": "55ef4c3b02f9d0d9302afe4dc4cf0bf10869dae72631484d0ebde5f1ed467e77",
    "size": 667925,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/155/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/155.pdf",
      "size": 667925,
      "sha256": "55ef4c3b02f9d0d9302afe4dc4cf0bf10869dae72631484d0ebde5f1ed467e77",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/155/versions/20220212T070916Z.pdf",
      "captured_at": "2022-02-12T07:09:16Z",
      "label": "copy captured 2022-02-12",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220212070916id_/https://eprint.iacr.org/2022/155.pdf",
      "size": 739196,
      "sha256": "b63609bf9301020360c6c7ba9f7fa23b7cb4c94f0adc0a4d1f46e20d63d474b0",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102092851id_/https://eprint.iacr.org/2022/155.pdf",
      "captured_at": "2026-01-02T09:28:51Z",
      "size": 619684
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/155.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 667925
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/155,\n      author = {Conor McMenamin and Vanesa Daza and Matthias Fitzi and Padraic O'Donoghue},\n      title = {FairTraDEX: A Decentralised Exchange Preventing Value Extraction},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/155},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/155}\n}"
}
