Extreme valuation and volatility of cryptocurrencies require investors to diversify often which demands secure exchange protocols. A cross-chain swap protocol allows distrusting parties to securely exchange their assets. However, the current models and protocols assume predefined user preferences for acceptable outcomes. This paper presents a generalized model of swaps that allows each party to specify its preferences on the subsets of its incoming and outgoing assets. It shows that the existing swap protocols are not necessarily a strong Nash equilibrium in this model. It characterizes the class of swap graphs that have protocols that are safe, live and a strong Nash equilibrium, and presents such a protocol for this class. Further, it shows that deciding whether a swap is in this class is NP-hard through a reduction from 3SAT, and further is $\Sigma_2^{\mathsf{P}}$-complete through a reduction from $\exists\forall\mathsf{DNF}$.
翻译:加密的极端估值和波动性要求投资者往往需要多样化,这需要安全的交换协议。跨链互换协议允许不信任方安全交换资产。 但是,当前的模式和协议假定预先确定的用户对可接受的结果的偏好。 本文提供了一个通用的互换模式, 允许每个当事人对其进出资产的子集给予明确的偏好。 它表明现有的互换协议不一定是这一模式中强大的纳什平衡。 它具有协议安全、 活的和强大的纳什平衡的互换图类别, 并为这一类提供这样的协议。 此外, 它表明, 3SAT 的减值决定这一类的互换是否硬化了NP, 并且通过从$\deversal\ forall\mathfsf{DNF}$的减值完成 $\ sigma_ 2\\ mathsf{P ⁇ $。