EconPapers    
Economics at your fingertips  
 

Auction and Classification of Smart Contracts

Damián-Emilio Gibaja-Romero and Rosa-María Cantón-Croda
Additional contact information
Damián-Emilio Gibaja-Romero: Department of Mathematics, UPAEP-University, C. 17 Sur 901, Barrio de Santiago, Puebla 72410, Mexico
Rosa-María Cantón-Croda: Deanship of Engineering, UPAEP-University, C. 17 Sur 901, Barrio de Santiago, Puebla 72410, Mexico

Mathematics, 2022, vol. 10, issue 7, 1-18

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.

Keywords: Naïve Bayes classification; smart contracts; execution times; sealed bid auction (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2022
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2227-7390/10/7/1033/pdf (application/pdf)
https://www.mdpi.com/2227-7390/10/7/1033/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:10:y:2022:i:7:p:1033-:d:778208

Access Statistics for this article

Mathematics is currently edited by Ms. Emma He

More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jmathe:v:10:y:2022:i:7:p:1033-:d:778208