h wonder

Reward Router

The Smart Reward Router is a novel approach that optimizes reward distribution value routes by finding the most efficient paths across liquidity pools for rewards based on dollar value.

The Reward Router:

  1. Uses data from registered keepers (Jupiter, Uniswap, Radium, CoinGecko, and Dextools) to track and index time-weighted average prices in a oracle
  2. Analyzes available liquidity in various POL (protocol owned liquidity) pools
  3. Factors in slippage, price impact, and network fees to determine optimal routes
  4. Automates pool liquidation when necessary (swapping tokens into the primary reward tokens liquidity)
  5. Long-Live execution - retries quotes in USDC value rather than token amount to adjust for volatility of net token value.

The router continues to evolve with use and protocol versioning.

The Price Oracle component of the router updates base rates from keepers every 800ms from various providers.

A key aspect is how the router handles reward execution - if a user earns a $12 reward, the router will either find the most liquid route against the reward pool or queue the transaction for a reattempt rather than executing a high-slippage transaction that would deliver significantly less value to the user.