在存在Gas费用的常数函数市场 maker 中的最优路由
Optimal Routing across Constant Function Market Makers with Gas Fees
AI总结:
本文提出了一种考虑Gas费用的最优路由优化框架,通过混合整数模型引入激活阈值,并推导出显式KKT系统以确定最优交易条件。
摘要:
我们研究了在基于常数函数市场 maker 的去中心化交易所中,当交易可以跨多个异质池拆分且执行会带来固定链上成本(Gas费用)时的最优路由问题。尽管先前的路由公式通常忽略了固定激活成本,但实际链上执行中的Gas费用却不容忽视。它们在凹凸性假设下会变成凸函数。我们提出一个通用的优化框架,允许除全局凸性外的可微不变函数,并通过混合整数模型引入固定Gas费用,从而诱导激活阈值。随后,我们引入了该模型的放松形式,其中我们推导出必要最优条件,得到一个显式的Karush-Kuhn-Tucker系统,将价格、费用和激活联系起来。我们进一步使用广义凸性工具(伪凹/伪凸和准线性),得出足够的最优条件,从而在不需要凸交易函数的情况下提供可验证的最优性特征。最后,我们通过提供显式的近似界限,将放松解与原始混合整数模型联系起来,这些界限量化了由于放松而产生的效用差距。我们的结果扩展了路由的数学理论,通过在存在Gas费用的情况下提供碎片化链上市场的无交易条件。
英文摘要:
We study the optimal routing problem in decentralized exchanges built on Constant Function Market Makers when trades can be split across multiple heterogeneous pools and execution incurs fixed on-chain costs (gas fees). While prior routing formulations typically abstract from fixed activation costs, real on-chain execution presents non-negligible gas fees. They also become convex under concavity/convexity assumptions on the invariant functions. We propose a general optimization framework that allows differentiable invariant functions beyond global convexity and incorporates fixed gas fees through a mixed-integer model that induces activation thresholds. Subsequently, we introduce a relaxed formulation of this model, whereby we deduce necessary optimality conditions, obtaining an explicit Karush-Kuhn-Tucker system that links prices, fees, and activation. We further establish sufficient optimality conditions using tools from generalized convexity (pseudoconcavity/pseudoconvexity and quasilinearity), yielding a verifiable optimality characterization without requiring convex trade functions. Finally, we relate the relaxed solution to the original mixed-integer model by providing explicit approximation bounds that quantify the utility gap induced by relaxation. Our results extend the mathematical theory for routing by offering no-trade conditions in fragmented on-chain markets in the presence of gas fees.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。