Psampoo:一个DSL,为安全的区块链资产提供流量
Psamathe: A DSL with Flows for Safe Blockchain Assets
摘要:
区块链托管用于众筹、代币和许多其他目的的智能合约。合同中的漏洞经常被发现,导致大量资金的损失。Psamming是一种新的语言,我们正在围绕一种新的流抽象进行设计,减少资产错误,使合同比现有语言更简洁。我们提出了一个概述Psamaret,包括部分形式化。我们还讨论了Psammary中的几个示例合同,并将Psammary示例与Solidity中编写的相同合同进行了比较。
英文摘要:
Blockchains host smart contracts for crowdfunding, tokens, and many other purposes. Vulnerabilities in contracts are often discovered, leading to the loss of large quantities of money. Psamathe is a new language we are designing around a new flow abstraction, reducing asset bugs and making contracts more concise than in existing languages. We present an overview of Psamathe, including a partial formalization. We also discuss several example contracts in Psamathe, and compare the Psamathe examples to the same contracts written in Solidity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。