Documentation
introduction
Introduction
Agama is a lending market built specifically for tokenised real-world asset tranches. Lenders deposit stable, borrowers post a tokenised credit tranche as collateral and draw stable against it, and a Stability Pool absorbs liquidations as the protocol's safety net.
Current scope
| Item | Value |
|---|---|
| Reserve stablecoin | USDr (Rayls native, 1:1-backed) |
| Active markets | 6 RWA tranches — Senior + Junior across 3 issuer pools |
| Issuers (today) | AmFi (Resolvi, Digcap, Sector Condo) |
| Network | Rayls testnet, chain id 7295799 |
| Frontend | app.agama.finance |
| Liquidation settlement | Off-chain issuer redemption (D+15 cycle) |
Each market has its own (token, oracle, adapter) triplet, its own LTV / liquidation threshold / liquidation bonus, and its own debt counter — but they all share the same USDr liquidity pool. See Overview for the full architecture and How it works for a walk-through.
The 6 markets
| Symbol | Issuer pool | Tranche | Max LTV | Liq. threshold | Liq. bonus |
|---|---|---|---|---|---|
| sRESOLV | Resolvi | Senior | 75% | 85% | 3% |
| jRESOLV | Resolvi | Junior | 50% | 65% | 8% |
| sDIGCAP | Digcap | Senior | 75% | 85% | 3% |
| jDIGCAP | Digcap | Junior | 50% | 65% | 8% |
| sCONDO | Sector Condo | Senior | 75% | 85% | 3% |
| jCONDO | Sector Condo | Junior | 50% | 65% | 8% |
New markets ship by deploying an additional adapter — no Lending Pool redeploy.
Components
Getting started
- Lenders / borrowers: head to app.agama.finance, connect a wallet on Rayls testnet, and follow How it works.
- Developers: read each component overview, then the corresponding Functions reference. The Asset Adapter Interface covers the per-tranche extension points.
- Integrators building tooling on top of Agama: the per-market debt views (
DebtToken.balanceOf(user, adapter)andtotalSupply(adapter)) are the entry points for any analytics or risk dashboard.