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

ItemValue
Reserve stablecoinUSDr (Rayls native, 1:1-backed)
Active markets6 RWA tranches — Senior + Junior across 3 issuer pools
Issuers (today)AmFi (Resolvi, Digcap, Sector Condo)
NetworkRayls testnet, chain id 7295799
Frontendapp.agama.finance
Liquidation settlementOff-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

SymbolIssuer poolTrancheMax LTVLiq. thresholdLiq. bonus
sRESOLVResolviSenior75%85%3%
jRESOLVResolviJunior50%65%8%
sDIGCAPDigcapSenior75%85%3%
jDIGCAPDigcapJunior50%65%8%
sCONDOSector CondoSenior75%85%3%
jCONDOSector CondoJunior50%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) and totalSupply(adapter)) are the entry points for any analytics or risk dashboard.