article Open access

Auction and Classification of Smart Contracts

  • Mathematics
  • Multidisciplinary Digital Publishing Institute
Research footprint

At a glance

Citations
3
References
31
Comments
0
Paper overview

Abstract

The execution of smart contracts (SCs) relies on consensus algorithms that validate the miner who executes the contract and gets a fee to cover her expenditure. In this sense, miners are strategic agents who may focus on executing those contracts with the largest fee, to the detriment of other SCs’ execution times, which also harms the blockchain’s reputation. This paper analyzes the impact of miners’ competition on SCs’ execution times in a public blockchain. First, we explain that the Proof-of-Work mechanism casts similarities with a time auction, where the one who first adds blocks is the one who executes the contract and gets the fee. At equilibrium, costs negatively affect execution times, while the opposite holds concerning fees. However, this result does not capture the competition for other contracts; hence, we apply the Naïve Bayes method to classify SCs by considering a simulated database that comprises miners’ competition for several contracts. We observe that simultaneous competition generates patterns that differ from the ones expected by the auction solution. For example, miners’ valuation does not accelerate contracts’ execution, and high-cost smart contracts do not necessarily execute at last places.

Record transparency

Publication details

DOI
10.3390/math10071033
OpenAlex
W4220984572
Document type
article
Language
EN
Source
Mathematics
Last metadata update
Community

Comments

Log in to join the discussion.

  1. No comments yet. Start the discussion.