Return to search

Implementation and Evaluation of the Decentralized Fund Protocol : Creating a decentralized asset management system / Implementation och utvärdering av Decentralized Fund Protocol : utformning av ett decentraliserat tillgångsförvaltningssystem

The Decentralized Fund Protocol is a novel decentralized finance protocol that enables the creation of completely decentralized funds. This paper proposes practical implementation solutions to the Fund Recalibration System, in particular the recalibration and depositing of assets into the fund to alter and shift the underlying asset backing of the fund. These proposed solutions are partially implemented and transaction fees, also known as gas costs are evaluated with Hardhat and ethers.js. Additionally security test are performed with the Smartbugs solidity test suite to ensure that the prototype has no obvious security issues. The thesis finds that the favourable implementation of the Fund Recalibration System is a solution that allows the fund move assets into the fund with the same cost independent of the number of participants in the system. This is achieved by utilizing an asset pool which participants manually pool assets into, paying for their own participation. The fund can consequently move all assets in the pool all at once into the fund and can thus perform the same computations independent of how many participants that contributed to the pool. / Protokollet Decentralized Fund Protocol är ett nytt decentraliserat finansprotokoll som gör det möjligt att skapa helt decentraliserade fonder. Detta arbete föreslår praktiska implementeringslösningar för fondrekalibrationssystemet (Fund Recalibration System), i synnerhet rekalibreringen och insättning av tillgångar i fonden för att förändra och skifta fondens underliggande tillgångar. Dessa föreslagna lösningar är delvis implementerade, och i samband med detta utvärderas transaktionsavgifter, även kända som gaskostnader, med Hardhat och ethers.js. Dessutom utförs säkerhetstest med Smartbugs solidity test suite för att säkerställa att prototypen inte har några uppenbara säkerhetsproblem. Raporten finner att den mest gynnsamma implementeringen av fondförvaltningssystemet är en lösning som tillåter fonden att slå samman tillgångar i fonden med samma kostnad oberoende av antalet deltagare i systemet. Detta uppnås genom att använda en tillgångspool som deltagarna manuellt samlar tillgångar till och betalar för sitt eget deltagande. Fonden kan följaktligen flytta alla tillgångar i poolen på en gång till fonden och kan därmed utföra samma beräkningar oberoende av hur många deltagare som bidragit till poolen.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kth-345830
Date January 2024
CreatorsSvanholm, Fredrik
PublisherKTH, Skolan för elektroteknik och datavetenskap (EECS), Stockholm : KTH Royal Institute of Technology
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess
RelationTRITA-EECS-EX ; 2024:58

Page generated in 0.002 seconds