Directionality and sign handling in multi-hop AMM routing
Determine, for multi-hop routing across automated market makers with intermediate tokens between an input token X and an output token Y, how to select the correct trade direction between each intermediate token pair and whether allocation amounts may change sign during the routing algorithm’s execution, thereby enabling a robust multi-hop extension of the concave-continuation-based transfer algorithm.
References
Theoretically, concave continuation is the first step toward a multi-hop transfer algorithm: If there are some intermediate tokens M and N in the trade from token X to Y, we do not know a priori what the trade direction between M and N should be nor are we certain the allocation will flip signs or not during the routing algorithm's run. This remains future work.