Automated market makers (AMMs) are automata that trade electronic assets at rates set by mathematical formulas. AMMs are usually implemented by smart contracts on blockchains. In practice, AMMs are often composed: and outputs from AMMs can be directed into other compatible AMMs. This paper proposes a mathematical model for AMM composition. We define sequential and parallel composition operators for AMMs in a way that ensures that AMMs are closed under composition, in a way that works for "higher-dimensional" AMMs that manage more than two asset classes, and so the composition of AMMs in "stable" states remains stable.
翻译:自动市场制造者(AMMs)是以数学公式确定的费率进行电子资产交易的自动市场制造者(AMMs),AMMs通常是通过在块链上执行的智能合同执行的,实际上,AMMs通常是由下列因素组成的:AMMs的产出可以直接用于其他兼容的AMMs。本文为AMM的构成提出了一个数学模型。我们定义了AMMs的顺序和平行组成操作者,以确保AMMs在组成中封闭,其方式是管理两个以上资产类别的“高维”AMMs,因此“稳定”国家中的AMM的构成保持稳定。