通过有限责任的巴别塔费用
Babel Fees via Limited Liabilities
摘要:
以太坊上的自定义货币(ERC-20)非常受欢迎,但它们是主要货币以太币的二等品。自定义货币比主要货币更复杂,处理成本更高,因为它们的会计核算不是由基础分类账本身执行的,而是在用户定义的合同代码中执行的。此外,非常重要的是,交易费用只能用以太币支付。在本文中,我们专注于能够以自定义货币支付交易费用。我们通过一种机制来实现这一点,该机制允许短期负债支付交易费用,同时提供定制货币来补偿这些负债。这使得区块生产者能够接受定制货币,以换取他们处理的交易的债务。我们提出了正式的分类账规则来处理负债,以及用自定义货币支付交易费用的巴贝尔费用的概念。我们还讨论了客户如何确定他们必须支付的费用,我们提出了一个背包问题的解决方案,块生产者必须解决在巴别塔费用的存在,以优化他们的利润。
英文摘要:
Custom currencies (ERC-20) on Ethereum are wildly popular, but they are second class to the primary currency Ether. Custom currencies are more complex and more expensive to handle than the primary currency as their accounting is not natively performed by the underlying ledger, but instead in user-defined contract code. Furthermore, and quite importantly, transaction fees can only be paid in Ether. In this paper, we focus on being able to pay transaction fees in custom currencies. We achieve this by way of a mechanism permitting short term liabilities to pay transaction fees in conjunction with offers of custom currencies to compensate for those liabilities. This enables block producers to accept custom currencies in exchange for settling liabilities of transactions that they process. We present formal ledger rules to handle liabilities together with the concept of babel fees to pay transaction fees in custom currencies. We also discuss how clients can determine what fees they have to pay, and we present a solution to the knapsack problem variant that block producers have to solve in the presence of babel fees to optimise their profits.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。