> ## Documentation Index
> Fetch the complete documentation index at: https://docs.areal.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Smart contracts of the RWT protocol

# Smart Contracts

The on-chain core of the RWT protocol is kept deliberately minimal — it accepts assets,
tracks Book NAV, mints RWT against the mint invariant, and distributes staking rewards
through a rising exchange rate. All price logic, oracles, and buyback/mint strategy live
in an off-chain layer.

Two token systems make up the protocol. Open either one for its on-chain addresses.

<a href="/contracts/rwt" className="rwt-card">
  <img src="https://mintcdn.com/areal/GW8KOHcnZ4w6FV2C/images/rwt.png?fit=max&auto=format&n=GW8KOHcnZ4w6FV2C&q=85&s=ef85d9a68de9044ee391da1c9cec3ef6" alt="RWT" className="rwt-card-logo" width="1024" height="1024" data-path="images/rwt.png" />

  <div>
    <div className="rwt-card-title">RWT contracts</div>
    <div className="rwt-card-desc">Token mint, the earn program, and the EarnConfig PDA that tracks Book NAV.</div>
  </div>
</a>

<a href="/contracts/strwt" className="rwt-card">
  <img src="https://mintcdn.com/areal/GW8KOHcnZ4w6FV2C/images/strwt.png?fit=max&auto=format&n=GW8KOHcnZ4w6FV2C&q=85&s=bfc9f1c8651a4d3a3c57939dae778ba0" alt="stRWT" className="rwt-card-logo" width="1024" height="1024" data-path="images/strwt.png" />

  <div>
    <div className="rwt-card-title">stRWT contracts</div>
    <div className="rwt-card-desc">Staked token mint, the staking program, its config PDA, and the pool vault.</div>
  </div>
</a>
