Sok: Decentralized exchanges (dex) with automated market maker (amm) protocols

J Xu, K Paruch, S Cousaert, Y Feng - ACM Computing Surveys, 2023 - dl.acm.org
As an integral part of the decentralized finance (DeFi) ecosystem, decentralized exchanges
(DEXs) with automated market maker (AMM) protocols have gained massive traction with …

Smart contract: Attacks and protections

S Sayeed, H Marco-Gisbert, T Caira - Ieee Access, 2020 - ieeexplore.ieee.org
Smart contracts are programs that reside within decentralized blockchains and are executed
pursuant to triggered instructions. A smart contract acts in a similar way to a traditional …

Reap the harvest on blockchain: A survey of yield farming protocols

J Xu, Y Feng - IEEE Transactions on Network and Service …, 2022 - ieeexplore.ieee.org
Yield farming represents an immensely popular asset management activity in decentralized
finance (DeFi). It involves supplying, borrowing, or staking crypto assets to earn an income …

Compositional security for reentrant applications

E Cecchetti, S Yao, H Ni… - 2021 IEEE Symposium on …, 2021 - ieeexplore.ieee.org
The disastrous vulnerabilities in smart contracts sharply remind us of our ignorance: we do
not know how to write code that is secure in composition with malicious code. Information …

Robust resource bounds with static analysis and Bayesian inference

L Pham, FA Saad, J Hoffmann - … of the ACM on Programming Languages, 2024 - dl.acm.org
There are two approaches to automatically deriving symbolic worst-case resource bounds
for programs: static analysis of the source code and data-driven analysis of cost …

Pacta sunt servanda: legal contracts in Stipula

S Crafa, C Laneve, G Sartor, A Veschetti - Science of Computer …, 2023 - Elsevier
We present Stipula, a domain specific language that may assist legal practitioners in
programming legal contracts through specific patterns. The language is based on a small set …

Generalising projection in asynchronous multiparty session types

R Majumdar, M Mukund, F Stutz, D Zufferey - arXiv preprint arXiv …, 2021 - arxiv.org
Multiparty session types (MSTs) provide an efficient methodology for specifying and verifying
message passing software systems. In the theory of MSTs, a global type specifies the …

Resource-aware session types for digital contracts

A Das, S Balzer, J Hoffmann… - 2021 IEEE 34th …, 2021 - ieeexplore.ieee.org
Programming digital contracts comes with unique challenges, which include (i) expressing
and enforcing protocols of interaction,(ii) controlling resource usage, and (iii) preventing the …

Client-server sessions in linear logic

Z Qian, GA Kavvos, L Birkedal - … of the ACM on Programming Languages, 2021 - dl.acm.org
We introduce coexponentials, a new set of modalities for Classical Linear Logic. As duals to
exponentials, the coexponentials codify a distributed form of the structural rules of …

Asynchronous Multiparty Session Type Implementability is Decidable--Lessons Learned from Message Sequence Charts

F Stutz - arXiv preprint arXiv:2302.11272, 2023 - arxiv.org
Multiparty session types (MSTs) provide efficient means to specify and verify asynchronous
message-passing systems. For a global type, which specifies all interactions between roles …