In a decentralized environment, exchanging resources requires users to bargain until an agreement is found. Moreover, human agreements involve a combination of collaborative and selfish behavior and often induce circularity, complicating the evaluation of exchange requests. We introduce MuAC, a policy language that allows users to state in isolation under which conditions they are open to grant their resources and what they require in return. In MuAC, exchange requests are evaluated automatically with the guarantee that the only exchanges that will take place are those that mutually satisfy users' conditions. Moreover, MuAC can be used as an enforcement mechanism to prevent users from cheating. As a proof of concept, we implement a blockchain smart contract that allows users to exchange their non-fungible tokens.
翻译:在一个分散的环境中,交换资源要求用户在达成协议之前进行讨价还价。此外,人类协定涉及合作和自私行为,往往引起循环,使交换请求的评估复杂化。我们引入了MuAC,这是一种政策语言,允许用户孤立地声明在何种条件下他们可以提供其资源以及他们需要什么回报。在MuAC,对交换请求进行自动评估,保证进行的唯一交换是相互满足用户条件的交换。此外,MuAC可以用作一种执行机制,防止用户作弊。作为概念的证明,我们实施了一项连锁智能合同,允许用户交换其不可伪造的牌子。