Skip to main content

Overview

The Pawdex Aggregator is the core routing engine designed to execute swaps at the best possible rates on the Oasis Network. Instead of relying on a single liquidity pool, the aggregator scans multiple decentralized exchanges and liquidity sources in real-time to find the most cost-effective path for every trade. Our algorithm provides instant quotes and executes trades in a single atomic transaction. This ensures that users, dApps, and autonomous agents consistently get the maximum output for their input without needing to manually compare rates across the network.

How It Works

When a swap is submitted, the aggregator performs a high-speed execution sequence:
  1. Liquidity Scanning: It instantly queries active AMMs, concentrated liquidity pools, and other accessible liquidity layers across Oasis.
  2. Path Optimization: It calculates the optimal route, factoring in current token reserves, pool depth, price impact, and gas fees.
  3. Trade Splitting: For larger volume trades, the protocol can fracture the order across multiple different pools simultaneously to minimize slippage.
  4. Atomic Execution: The entire route is bundled and executed in one transaction. If the expected minimum output isn’t met, the transaction reverts to protect user funds.
For a technical breakdown of how the algorithm splits volume across multiple pools, read the Smart Routing documentation.

Ecosystem Benefits

By connecting fragmented liquidity and routing volume through the most efficient paths, the aggregator actively improves the capital efficiency of the entire network.
  • For Users: Access the fastest, cheapest routes across Oasis in a single click.
  • For Liquidity Providers: Idle liquidity across the network gets utilized, generating consistent volume and fees for LPs.
  • For Developers: Wallets, Telegram bots, and external dApps can integrate our routing API directly to offer their users optimal swap rates without building custom infrastructure.