January 1, 2022· Lecture notes in computer science
article
Open access
Liquidity Analysis in Resource-Aware Programming
Abstract
Liquidity is a liveness property of programs managing resources that pinpoints those programs not freezing any resource forever. We consider a simple stateful language whose resources are assets (digital currencies, non fungible tokens, etc.). Then we define a type system that tracks in a symbolic way the input-output behaviour of functions with respect to assets. These types and their composition, which define types of computations, allow us to design two algorithms for liquidity that have different precisions and costs. We also demonstrate the correctness of the algorithms.
Community
0 commentsUse Connect Wallet in the navigation
No discussion yet
Be the first to share a question or observation.