Skip navigation
Please use this identifier to cite or link to this item: https://repositorio.ufpe.br/handle/123456789/49987

Share on

Título : Generating Formal Specifications for Smart Contracts from Textual Descriptions in Natural Language
Autor : LEITE, Gabriel Nogueira
Palabras clave : Blockchain; Smart contract; Formal methods; Natural language processing
Fecha de publicación : 4-may-2023
Citación : NOGUEIRA, Gabriel. Generating Formal Specifications for Smart Contracts from Textual Descriptions in Natural Language. 2023. Trabalho de Conclusão de Curso (Ciência da Computação) – Universidade Federal de Pernambuco, Recife, 2023.
Resumen : The increasing adoption of smart contracts in decentralized finance (DeFi) and in other areas has led to a growing need for robust and error-free code. This paper addresses this challenge by introducing a grammar-based approach for generating formal specifications from textual descriptions in natural language, specifically post-conditions for ERC20 functions of Solidity smart contracts. Particularly, our approach allows developers to transform natural language descriptions into formal specifications, and vice versa (bidirectional). Thus, developers can automatically derive postconditions from comments to verify conformance, or even generate textual descriptions for complex formal annotations in existing smart contracts to improve legibility.
URI : https://repositorio.ufpe.br/handle/123456789/49987
Appears in Collections:(TCC) - Ciência da Computação

Files in This Item:
Fichero Descripción Tamaño Formato  
TCC Gabriel Nogueira Leite.pdf671.06 kBAdobe PDFThumbnail
View/Open


This item is protected by original copyright



Este ítem está sujeto a una licencia Creative Commons Licencia Creative Commons Creative Commons