How it works (DEX Aggregator)
Exchange Aggregation
Aura aggregates order books and liquidity pools from multiple sources on the Plasma blockchain. The protocol evaluates possible trading routes for each swap, including direct and multi-hop paths, to determine the most efficient way to execute the trade based on price, gas cost, and available liquidity.
Core Functions
Best Rate Discovery
Aura continuously queries all supported liquidity sources for available token pairs.
For each trade, it calculates and compares effective exchange rates, taking into account price impact, transaction size, slippage, and gas costs. The route with the best effective rate is selected for execution.
Optimized Order Execution
When a single liquidity source cannot fulfill a trade at an optimal rate, Aura can split the order into multiple sub-transactions across different sources. This approach minimizes slippage and ensures efficient execution for both small and large orders.
MultiPath Routing
Aura supports indirect swaps involving two or more intermediate tokens.
This allows execution of trades where direct liquidity between two assets may be limited.
MultiPath routing can also combine multiple DeFi operations into one transaction, such as swapping a token and subsequently depositing it into a lending or staking protocol.
Example:
A user swapping PLS → USDC → depositing USDC into a lending platform can execute the entire sequence as a single transaction.
Gas Optimization
Gas costs are included as a factor in all routing calculations. Aura selects the path that minimizes total cost, balancing exchange rate, gas usage, and transaction complexity. Internal optimizations are applied to reduce redundant on-chain operations and improve overall gas efficiency.
Last updated