Documentation Index
Fetch the complete documentation index at: https://docs.ratiofx.com/llms.txt
Use this file to discover all available pages before exploring further.
Liquidity & Pools
Ratio’s liquidity model uses dedicated single-sided stablecoin pools. Each supported currency has its own pool — there are no paired AMM pools, no bonding curves, and no impermanent loss. This design gives you predictable, deep liquidity without the execution degradation that paired AMM pools produce at institutional transaction sizes.Single-sided pool design
- No impermanent loss for LPs — Liquidity providers deposit a single asset and receive that same asset back. There is no forced rebalancing between paired tokens that erodes LP returns, which means deeper, more stable liquidity.
- Independent depth management — Each pool’s balance, utilisation, and health are tracked separately. A drain on the IDRX pool does not affect the USDT pool or any other corridor.
- Clean inventory tracking — Per-pool design enables precise monitoring and targeted rebalancing, which feeds directly into the inventory spread component to keep pricing accurate.
Supported pools
Phase 1 supports four stablecoin pools:| Pool | Currency | Corridors served |
|---|---|---|
| USDT pool | US Dollar | USD↔IDR, USD↔SGD |
| IDRX pool | Indonesian Rupiah | USD↔IDR, MYR↔IDR |
| tnSGD pool | Singapore Dollar | USD↔SGD |
| MYRC pool | Malaysian Ringgit | MYR↔IDR |
Pools are per-currency, not per-corridor. The USDT pool serves both the USD-IDR and USD-SGD corridors. The IDRX pool serves both USD-IDR and MYR-IDR. When you query pool depth for a corridor, the available liquidity is shared across all corridors that draw from the same pool.
How liquidity providers fund pools
Liquidity comes from Liquidity Providers (LPs) who deposit stablecoins into Ratio’s pools. LPs include stablecoin issuers (such as the IDRX issuer), professional market makers, OTC desks, and institutional partners with stablecoin treasury. When an LP deposits into a pool, they receive kTokens in return — for example, kUSD for the USDT pool or kIDR for the IDRX pool. kTokens are receipt tokens that represent the LP’s proportional share of the pool. As the pool earns swap fees, kToken balances increase automatically. LPs do not need to manually claim yield.The Liquidity Hub
The Liquidity Hub is the coordination layer that manages pool health across all corridors. It monitors pool balances, utilisation rates, and inventory skew in real time, and coordinates rebalancing activity when imbalances develop. FX flows naturally create imbalances. If many swaps go USDT→IDRX in a short period, the USDT pool grows while the IDRX pool shrinks. Left unchecked, this would deplete one side and make that corridor unavailable. The Liquidity Hub prevents this through three mechanisms:- Inventory-aware pricing — The FX Engine dynamically adjusts the mid-rate to make the flow direction that reduces imbalance cheaper, and the direction that worsens it more expensive. This naturally attracts offsetting flow without manual action.
- Automated rebalancing — When imbalances exceed configurable thresholds, the Liquidity Hub coordinates external rebalancing via market makers and OTC partners to restore target pool levels.
- Yield recycling — Idle liquidity that is not needed for active FX execution is deployed into yield strategies. When demand increases, that liquidity is recalled automatically to meet execution needs.