> For the complete documentation index, see [llms.txt](https://docs.flat.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flat.money/developer-resources.md).

# Developer Resources

## Flat Money's Smart Contracts

<table><thead><tr><th width="191">Contract</th><th width="333">Address</th><th>Description (if applicable)</th></tr></thead><tbody><tr><td>FlatcoinVault</td><td><a href="https://basescan.org/address/0x95fa1ddc9a78273f795e67abe8f1cd2cd39831ff#code">0x95Fa1ddc9a78273f795e67AbE8f1Cd2Cd39831fF</a></td><td>This contract holds the rETH deposited into the Flat Money (UNIT) Market to mint UNIT and the rETH Perpetual Futures Market as margin collateral.</td></tr><tr><td>LeverageModule</td><td><a href="https://basescan.org/address/0xdb0cd65dcc7fe07003ce1201f91e1f966fa95768#code">0xdB0Cd65dcc7fE07003cE1201f91E1F966fA95768</a></td><td>This is the leverage position NFT address. You can see holders and transfers. <strong>Note</strong>: the 0x00 holding is the closed positions.</td></tr><tr><td>StableModule</td><td><a href="https://basescan.org/address/0xb95fb324b8a2faf8ec4f76e3df46c718402736e2#code">0xb95fB324b8A2fAF8ec4f76e3dF46C718402736e2</a></td><td>The UNIT token contract.</td></tr><tr><td>DelayedOrder</td><td><a href="https://basescan.org/address/0x6d857e9d24a7566bb72a3fb0847a3e0e4e1c2879#code">0x6D857e9D24a7566bB72a3FB0847A3E0e4E1c2879</a></td><td>The contract users interact with to open orders.</td></tr><tr><td>OracleModule</td><td><a href="https://basescan.org/address/0xaba633927bd8622fbbdd35d291a914c2fdaae1ff">0xAba633927BD8622FBBDd35D291A914c2fDAaE1Ff</a></td><td>Used to fetch the Pyth and Chainlink rETH pricing information.</td></tr><tr><td>LiquidationModule</td><td><a href="https://basescan.org/address/0x981a29dc987136d23df5a0f67d86f428fb40e8aa#code">0x981a29dC987136d23dF5a0f67d86f428Fb40E8Aa</a></td><td>Handles leverage position liquidations.</td></tr><tr><td>PointsModule</td><td><a href="https://basescan.org/address/0x59525b9b23ADc475EF91d98dAe06B568BA574Ce5#code">0x59525b9b23ADc475EF91d98dAe06B568BA574Ce5</a></td><td>The Flat Money Points (FMP) contract.</td></tr><tr><td>LimitOrder</td><td><a href="https://basescan.org/address/0x3fc737910b83381fd8288fd6c6d33dacdf05307b#code">0x3FC737910B83381FD8288fD6c6d33Dacdf05307B</a></td><td>Handles leverage position limit close orders.</td></tr><tr><td>KeeperFee</td><td><a href="https://basescan.org/address/0xe68d0fe1da19d07a9265bd3ce0efc4bffb5ec715#code">0xe68D0FE1dA19D07a9265BD3cE0EFc4BfFB5EC715</a></td><td>Calculations for keeper fee estimates.</td></tr><tr><td>Viewer</td><td><a href="https://basescan.org/address/0x509b85eef0df77992b29aeddd22c7119db87ce16#code">0x509b85EEF0df77992b29aeDdD22C7119Db87ce16</a></td><td>Functions to support the frontend. Also includes the UNIT price.</td></tr></tbody></table>

*More information will be added in the near future!*


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.flat.money/developer-resources.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
