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

# Contracts

All contracts are deployed on Robinhood Chain (chain ID 4663) and viewable on [Blockscout](https://robinhoodchain.blockscout.com).

| Contract        | Address                                      | Purpose                          |
| --------------- | -------------------------------------------- | -------------------------------- |
| FloxAttestation | `0xAA2Ca918502aaF59f1f14C10A6795fef95A0af54` | Anchors the log head on-chain    |
| FloxCredits     | `0x9595286Dd99C9bc42e5B52D9557770F1147F9b25` | Prepaid metering for assessments |
| FloxToken       | *published at launch*                        | The FLOX token                   |

## FloxAttestation

Stores the head of the assessment log and the number of records it covers. The `commit` function rejects any update with a lower record count, so on-chain coverage can only grow. Only the attestor address can commit.

## FloxCredits

Holds user deposits and meters assessments. Users deposit ETH via a plain transfer, spend credits per query, and can withdraw unspent credits at any time. The operator can withdraw only settled revenue. Each settlement records the log head it covers.

## FloxToken

Fixed-supply ERC-20. No mint, no owner, no pause, no blacklist, no tax. See [FLOX token](/token/flox.md).


---

# 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.tryflox.xyz/reference/contracts.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.
