> For the complete documentation index, see [llms.txt](https://docs.radiant.capital/radiant/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.radiant.capital/radiant/contracts-and-security/scheme-of-contracts.md).

# Scheme of Contracts

### Zapping

<figure><img src="/files/Cfh38X9ies1g2NOGIopq" alt=""><figcaption><p>Zap dLP protocol flow</p></figcaption></figure>

### Lending pool, rTokens, MultiFeeDistribution

<figure><img src="/files/4kjSkl21jUDAq7f929Hm" alt=""><figcaption><p>Lending pool, rTokens, MultiFeeDistribution protocol flow</p></figcaption></figure>

### Staking Flow

<figure><img src="/files/cXXD7xD8DwyaiPC63mxa" alt=""><figcaption><p>Locking mechanics &#x26; rewards MultiFeeDsitributor.Sol</p></figcaption></figure>

### Withdraw expired Locks (dLP)

<figure><img src="/files/r1jplfYqCjmNRVdFY2bw" alt=""><figcaption><p>Withdraw expired locks MultiFeeDsitributor.Sol</p></figcaption></figure>

### Mint earnings

<figure><img src="/files/Xa1IEUruyX7dGCPssaOk" alt=""><figcaption><p>Mint earnings MultiFeeDistributor.Sol</p></figcaption></figure>

### Withdraw earnings

<figure><img src="/files/kpKlQBm8ytnlOugqhTS2" alt=""><figcaption><p>Withdraw earnings MultiFeeDistributor.Sol</p></figcaption></figure>

### ETH zapping flow

<figure><img src="/files/qxuRdIcSNlefxfEmCZMi" alt=""><figcaption><p>LockZap.Sol</p></figcaption></figure>

### Loop deposits

<figure><img src="/files/qvcIWyuzqkTwLK6lFq2G" alt=""><figcaption><p>Leverager.Sol</p></figcaption></figure>

### Stargate Integration

<figure><img src="/files/Gw26Qv5UwnS14AsXmiUn" alt=""><figcaption><p>Stargate</p></figcaption></figure>

### Bounty System

<figure><img src="/files/dy7Hthm6oHiorVMACCdi" alt=""><figcaption><p>BountyManager.Sol</p></figcaption></figure>

### Uniswap Oracle

<figure><img src="/files/uMmH9HY3UPRHXXEuUf1s" alt=""><figcaption><p>Uni V2/V3 Twap Oracle</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.radiant.capital/radiant/contracts-and-security/scheme-of-contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
