Lune

FSE2020Top-tier venue

Towards automated verification of smart contract fairness

Ye Liu, Yi Li, Shang-Wei Lin, Rong Zhao

Abstract

Smart contracts are computer programs allowing users to define and execute transactions automatically on top of the blockchain platform. Many of such smart contracts can be viewed as games. A game-like contract accepts inputs from multiple participants, and upon ending, automatically derives an outcome while distributing assets according to some predefined rules. Without clear understanding of the game rules, participants may suffer from fraudulent advertisements and financial losses. In this paper, we present a framework to perform (semi-)automated verification of smart contract fairness, whose results can be used to refute false claims with concrete examples or certify contract implementations with respect to desired fairness properties. We implement FairCon, which is able to check fairness properties including truthfulness, efficiency, optimality, and collusion-freeness for Ethereum smart contracts. We evaluate FairCon on a set of real-world benchmarks and the experiment result indicates that FairCon is effective in detecting property violations and able to prove fairness for common types of contracts.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation cites Finding permission bugs in smart contracts with role mining
  • FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation cites ZEUS: Analyzing Safety of Smart Contracts
  • FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation cites Making Smart Contracts Smarter
  • FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation cites Securify: Practical Security Analysis of Smart Contracts
  • VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts cites ZEUS: Analyzing Safety of Smart Contracts
  • VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts cites Making Smart Contracts Smarter
  • VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts cites Securify: Practical Security Analysis of Smart Contracts
  • Finding permission bugs in smart contracts with role mining cites ZEUS: Analyzing Safety of Smart Contracts
  • Finding permission bugs in smart contracts with role mining cites Making Smart Contracts Smarter
  • ZEUS: Analyzing Safety of Smart Contracts cites Making Smart Contracts Smarter
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? cites VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? cites ZEUS: Analyzing Safety of Smart Contracts
  • Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We? cites Securify: Practical Security Analysis of Smart Contracts
  • Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications cites VERISMART: A Highly Precise Safety Verifier for Ethereum Smart Contracts
  • Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications cites ZEUS: Analyzing Safety of Smart Contracts
  • Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications cites Making Smart Contracts Smarter
  • Towards Automated Safety Vetting of Smart Contracts in Decentralized Applications cites Securify: Practical Security Analysis of Smart Contracts
  • Safeguarding DeFi Smart Contracts against Oracle Deviations cites FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation
  • Safeguarding DeFi Smart Contracts against Oracle Deviations cites ZEUS: Analyzing Safety of Smart Contracts
  • Safeguarding DeFi Smart Contracts against Oracle Deviations cites Making Smart Contracts Smarter
  • Safeguarding DeFi Smart Contracts against Oracle Deviations cites Securify: Practical Security Analysis of Smart Contracts
  • Securify: Practical Security Analysis of Smart Contracts cites ZEUS: Analyzing Safety of Smart Contracts
  • Securify: Practical Security Analysis of Smart Contracts cites Making Smart Contracts Smarter
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Finding permission bugs in smart contracts with role miningYe Liu, Yi Li, Shang-Wei Lin, Cyrille ArthoISSTA 2022 · 54 citations
  2. Static Application Security Testing (SAST) Tools for Smart Contracts: How Far Are We?Kaixuan Li, Yue Xue, Sen Chen, Han Liu et al.FSE 2024 · 26 citations
  3. Towards Automated Safety Vetting of Smart Contracts in Decentralized ApplicationsYue Duan, Xin Zhao, Yu Pan, Shucheng Li et al.CCS 2022 · 22 citations
  4. FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven ApproximationZhiyang Chen, Sidi Mohamed Beillahi, Fan LongICSE 2024 · 21 citations
  5. Safeguarding DeFi Smart Contracts against Oracle DeviationsXun Deng, Sidi Mohamed Beillahi, Cyrus Minwalla, Han Du et al.ICSE 2024 · 12 citations

Builds on6

  1. Making Smart Contracts SmarterLoi Luu, Duc-Hiep Chu, Hrishi Olickel, Prateek Saxena et al.CCS 2016 · 2,306 citations
  2. Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais et al.CCS 2018 · 1,108 citations
  3. Algorithmic Transparency via Quantitative Input Influence: Theory and Experiments with Learning SystemsAnupam Datta, Shayak Sen, Yair ZickS&P 2016 · 774 citations
  4. ZEUS: Analyzing Safety of Smart ContractsSukrit Kalra, Seep Goel, Mohan Dhawan, Subodh SharmaNDSS 2018 · 595 citations
  5. VERISMART: A Highly Precise Safety Verifier for Ethereum Smart ContractsSunbeom So, Myungho Lee, Jisu Park, Heejo Lee et al.S&P 2020 · 133 citations

Related papers

  1. VerX: Safety Verification of Smart ContractsAnton Permenev, Dimitar Dimitrov, Petar Tsankov, Dana Drachsler-Cohen et al.S&P 2020 · 251 citations
  2. TransRacer: Function Dependence-Guided Transaction Race Detection for Smart ContractsChenyang Ma, Wei Song, Jeff HuangFSE 2023 · 11 citations
  3. Automated Inference on Financial Security of Ethereum Smart ContractsWansen Wang, Wenchao Huang, Zhaoyi Meng, Yan Xiong et al.USENIX Security 2023
  4. Rich specifications for Ethereum smart contract verificationChristian Bräm, Marco Eilers, Peter Müller, Robin Sierra et al.OOPSLA 2021 · 23 citations
  5. SmartPulse: Automated Checking of Temporal Properties in Smart ContractsJon Stephens, Kostas Ferles, Benjamin Mariano, Shuvendu K. Lahiri et al.S&P 2021 · 70 citations
Dusk over the sea between two cliffs drawn in fine vertical lines