Araya Finance

Hybrid Auto Router

Auto Router, often known as Smart Routing, is the capacity to locate better pricing for traders on Araya Finance.
This includes:
  • Smart routing which optimizes execution of transactions across several pools
  • More potent mechanism that takes a larger data set into account for greater trades and better prices.

High-level Design of the Auto Router

Diagram of Hybrid Auto Router
In general, the method identifies the optimal allocation among pools of identical pairs and the optimal path utilizing a single hop or intermediary pool.
The Auto Router additionally makes use of the StableSwap function, mixing normal and stable pools as potential intermediary pools.