存在 Hooks 时的最优路由:三个案例研究
Optimal Routing in the Presence of Hooks: Three Case Studies
AI总结:
本文研究在 Uniswap 引入 hooks 的背景下,如何通过凸优化和动态规划方法,在限价单路由、最优清算与 TWAMM、不可组合 hooks 三个场景中实现 CFMM 网络上的最优交易路由。
摘要:
我们考虑在存在 hooks 的情况下,如何在恒定函数做市商(CFMM)网络上最优执行用户交易的问题。Hooks 是在即将发布的 Uniswap 版本中引入的辅助智能合约,允许向流动性池添加额外信息。这使得流动性提供者能够对交易施加约束,使 CFMM 能够读取外部数据(如波动率信息),并实现链上限价单等附加功能。我们考虑在存在 hooks 时如何最优路由交易的三个重要案例研究:1)通过限价单进行路由,2)最优清算与时间加权平均做市商(TWAMM),以及 3)不可组合的 hooks,它们以承担成交风险为代价提供额外输出。利用凸优化和动态规划的工具,我们提出了用于表述和求解这些问题的简单方法,对实践者具有实用价值。
英文摘要:
We consider the problem of optimally executing a user trade over networks of constant function market makers (CFMMs) in the presence of hooks. Hooks, introduced in an upcoming version of Uniswap, are auxiliary smart contracts that allow for extra information to be added to liquidity pools. This allows liquidity providers to enable constraints on trades, allowing CFMMs to read external data, such as volatility information, and implement additional features, such as onchain limit orders. We consider three important case studies for how to optimally route trades in the presence of hooks: 1) routing through limit orders, 2) optimal liquidations and time-weighted average market makers (TWAMMs), and 3) noncomposable hooks, which provide additional output in exchange for fill risk. Leveraging tools from convex optimization and dynamic programming, we propose simple methods for formulating and solving these problems that can be useful for practitioners.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。