Typing Fallback Functions : A Semantic Approach to Type Safe Smart Contracts
| dc.contributor.author | Lybech, Stian | |
| dc.contributor.author | Gorla, Daniele | |
| dc.contributor.author | Aceto, Luca | |
| dc.contributor.author | Krebbers, Robbert | |
| dc.contributor.author | Silva, Alexandra | |
| dc.contributor.department | Department of Computer Science | |
| dc.date.accessioned | 2026-09-02T10:46:01Z | |
| dc.date.available | 2026-09-02T10:46:01Z | |
| dc.date.issued | 2026-06-25 | |
| dc.description | Publisher Copyright: © Stian Lybech, Daniele Gorla, and Luca Aceto. | en |
| dc.description.abstract | This paper develops semantic typing in a smart-contract setting to ensure type safety of code that uses statically untypable language constructs, such as the fallback function. The idea is that the creator of a contract on the blockchain equips code containing such constructs with a formal proof of its type safety, given in terms of the semantics of types. Then, a user of the contract only needs to check the validity of the provided “proof certificate” of type safety. This is a form of proof-carrying code, which naturally fits with the immutable nature of the blockchain environment. As a concrete application of our approach, we focus on ensuring information flow control and non-interference for TinySol, a distilled version of the Solidity language, through security types. We provide the semantics of types in terms of a typed operational semantics of TinySol and we express the proofs of safety as coinductively-defined typing interpretations, which can be represented compactly via up-to techniques, similar to those used for bisimilarity. We also show how our machinery can be used to type the typical pointer-to-implementation pattern based on the fallback function and to reject a distilled version of the infamous Parity Multisig Wallet Attack. | en |
| dc.description.version | Peer reviewed | en |
| dc.format.extent | 1074597 | |
| dc.format.extent | ||
| dc.format.extent | ||
| dc.identifier.citation | Lybech, S, Gorla, D & Aceto, L 2026, Typing Fallback Functions : A Semantic Approach to Type Safe Smart Contracts. in R Krebbers & A Silva (eds), 40th European Conference on Object-Oriented Programming, ECOOP 2026., 19, Leibniz International Proceedings in Informatics, LIPIcs, vol. 372, Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing, 40th European Conference on Object-Oriented Programming, ECOOP 2026, Brussels, Belgium, 29/06/26. https://doi.org/10.4230/LIPIcs.ECOOP.2026.19 | en |
| dc.identifier.citation | conference | en |
| dc.identifier.doi | 10.4230/LIPIcs.ECOOP.2026.19 | |
| dc.identifier.isbn | 9783959774239 | |
| dc.identifier.issn | 1868-8969 | |
| dc.identifier.other | 250697286 | |
| dc.identifier.other | aef1f924-1f91-430e-8f70-ef2ba4ec8ab2 | |
| dc.identifier.other | 105043923113 | |
| dc.identifier.uri | https://hdl.handle.net/20.500.11815/8123 | |
| dc.language.iso | en | |
| dc.publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing | |
| dc.relation.ispartofseries | 40th European Conference on Object-Oriented Programming, ECOOP 2026; () | en |
| dc.relation.ispartofseries | Leibniz International Proceedings in Informatics, LIPIcs; 372() | en |
| dc.relation.url | https://www.scopus.com/pages/publications/105043923113 | en |
| dc.rights | info:eu-repo/semantics/openAccess | en |
| dc.subject | information flow control | en |
| dc.subject | non-interference | en |
| dc.subject | semantic typing | en |
| dc.subject | smart contracts | en |
| dc.subject | Software | en |
| dc.title | Typing Fallback Functions : A Semantic Approach to Type Safe Smart Contracts | en |
| dc.type | /dk/atira/pure/researchoutput/researchoutputtypes/contributiontobookanthology/conference | en |
Skrár
Original bundle
1 - 1 af 1
- Nafn:
- LIPIcs.ECOOP.2026.19.pdf
- Stærð:
- 1.02 MB
- Snið:
- Adobe Portable Document Format