# Contracts

**`SettlementManger.sol`**&#x52;esponsible for validating requests and settling results for events. Integrates UMA OOV2. \
`Address: 0x1878f3dCa77F8401460a81cDc4f97A3242ADc37F`\
\
\&#xNAN;**`OrderBookieFactory.sol`** This contract is responsible for creating bookies. \
`Address: 0xDb0CC6920F3812ba62e19c502aaBa10485Eb6068`

**`OrderBookie.sol`** This contract holds all the logic for a orderbookie that is is respobsilbe for taking bets, matching bettors with coutnerparties, and paying out users.

**`BookieLibrary.sol`** This contract is responsible for holding all the necessary utility functions that are used to run the other contracts.\
`Address: 0x40ED7Bd1eaabc19B126b40212FA66c4455278063`


---

# Agent Instructions: 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://bookies.gitbook.io/bookies/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.
