RHEOS / DESIGN SPECIFICATION

Documentation

A technical introduction to the proposed Rheos liquidity routing layer for Elysium.

Development preview — proposed specifications, not a deployed protocol. No live quotes, wallet permissions or transactions.

Overview

Rheos aims to aggregate compatible decentralized markets into a single routing interface. The intended objective is to maximize net output subject to user constraints, not to guarantee the best price.

Architecture

User intent → Quote discovery → Route optimizer
            → Transaction validation → Settlement

Adapters normalize venue quotes. The optimizer compares direct, multi-hop and split routes using fees, gas estimates, price impact and liquidity depth. A future settlement contract would enforce the selected route constraints atomically.

Routing mechanics

For exact-input swaps, compare expected output after trading fees and estimated execution costs. Reject expired or inconsistent quotes. Split routes only when the expected benefit exceeds the added cost. The frontend demo uses fixed illustrative prices and does not implement this optimizer.

Slippage and execution

For a quote with expected output Q and tolerance b in basis points, a proposed minimum output is floor(Q × (10,000 − b) / 10,000). The future contract must enforce this minimum, the intended recipient and a deadline; otherwise revert. Token decimals and rounding require explicit validation.

Developer integration

Planned adapter interface (illustrative pseudocode, not an available SDK or API):

quote(tokenIn, tokenOut, amountIn) → candidate
validate(candidate, constraints) → valid | invalid
execute(validatedRoute, minOut, deadline) → amountOut

Network configuration, supported venues, contract addresses and API endpoints will be published only after verification and deployment.

Try the demo

The local simulator illustrates asset selection and split paths without requesting wallet access.

Open router ↗