TIRIO / ABOUT

About Tirio

What Tirio is, what has been built so far, what the routing engine, the contracts and the order keeper do, what has been measured and what is planned.

Last updated

Tirio is a non-custodial DEX aggregator for BNB Chain, in public beta. It has a web app at tirio.io for swaps and for limit, stop and DCA orders, and a public REST API at https://api.tirio.io that needs no key. Tirio has no token.

Timeline

  • 2026-09-28: first Router and Executor deployed on BNB Chain; first swap through Tirio.
  • 2026-09-29: Router v2 and Executor v2: partner fees, EIP-2612 and Permit2 permits, exact-out swaps, capped positive slippage.
  • 2026-09-30: Orders contract and keeper: limit, stop-loss with take-profit and DCA orders, and Tirio's own order book.
  • 2026-10-01: Router protocol fee set to 0, tirio.io charges its 3 bps as a partner fee; benchmarks published.

What has been built

Routing engine

  • One API serves quotes, prices, market data and order transactions, to the app and to integrators alike.
  • Exact local math. Constant-product pools, a port of Uniswap V3's tick math (checked against the chain's QuoterV2 in live tests), Uniswap V4 and PancakeSwap Infinity singleton pools and stable pools are quoted with the same integer math the pools use. Venues that can only be priced by calling them, such as on-chain market makers, hooked pools and launchpad curves, are priced on chain.
  • Route search. Multi-hop paths through hub tokens and, for long-tail tokens, through intermediate tokens, with the amount split across several paths where that pays more after gas, and every leg computed with the exact integer amounts the contract will see.
  • Simulation. Every quote a user signs is simulated as the complete Router.swap transaction at the latest block. A route that fails in simulation is never returned.
  • Fresh state. Quotes are computed from the latest pool state. If the API falls behind the chain, quotes pause instead of answering with stale prices.
  • Venues. /bsc/protocols lists 60 liquidity sources on BNB Chain as of 2026-10-01: classic and concentrated-liquidity AMMs, Uniswap V4 and PancakeSwap Infinity CL and Bin, stable pools, on-chain market makers such as WOOFi and Tessera, launchpad curves (four.meme, Flap, Genius.fun) and Tirio's own order book.

Contracts

  • Router. The single entry point users approve. It pulls only the token being sold, only up to that swap's budget and only during the swap; it takes the fees, caps positive slippage at 1 % of the quote and reverts if the recipient would receive less than the minimum.
  • Executor. Runs the route the API built. Only the Router can call it, it holds no funds or allowances between transactions, it ends every swap with a zero balance, and the owner can replace it.
  • Orders. Escrow for limit, stop and DCA orders, filled through the same Router. A fill must pay the maker at least their net price; if the keeper stops for more than 15 minutes, anyone may fill limit orders and take-profit legs.
  • Testing. Fuzz and invariant suites, 71 mainnet-fork tests and static analysis; coverage is measured before every release, and the Orders contract went through three internal reviews.
  • Addresses are on Contracts. They were chosen to be the same on every chain the contracts are deployed to; today that is BNB Chain only.

Order keeper

A single keeper service watches open orders every few seconds, simulates each fill before sending it and submits fills through private transaction endpoints first. Its key can only fill orders and report that the keeper is alive.

Measured performance

Measured on production on 2026-10-02 from one client over the public internet, across 185 BNB Chain pairs, with KyberSwap and ParaSwap called in the same run (medians and 90th percentiles from one run):

MeasureResult
/price for a pair asked recently101 ms median, 203 ms p90
/price for a pair asked for the first time136 ms median, 304 ms p90
/quote, simulated with calldata215 ms median, 459 ms p90
KyberSwap /routes and ParaSwap /prices, same run, compared with /price418 ms and 214 ms median
Output for tokens without transfer taxlevel with KyberSwap and ParaSwap at the median
Pairs with a route182 of 184 test pairs

The method, the caveats and the reproduction command are on Benchmarks.

Business model

  • Swaps on tirio.io: a 3 bps (0.03 %) Tirio fee, taken from the token the user pays.
  • Positive slippage: on exact-in swaps of tokens without a transfer tax, output above the quote is kept up to 1 % of the quoted output, through the app and the API alike.
  • Orders: 10 bps of each fill, 3 bps between stablecoins.
  • Integrators use the API for free and can add their own partner fee of up to 10 %; the Router keeps 10 % of partner fees.

Plans

  • Robinhood Chain: planned, with no date. No contracts are deployed there.
  • Faster first quotes for pairs nobody has asked for yet.
  • More long-tail routes: finding routes for pairs that need an intermediate token outside the hubs.

Contact

Tirio has not published a contact channel yet. When it does, partnership, integration and security contacts will be listed on this page.