> For the complete documentation index, see [llms.txt](https://docs.butter.markets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.butter.markets/technical-docs/v1-dependencies.md). Agents can also search and read this documentation through its [MCP server](https://docs.butter.markets/~gitbook/mcp).

# Dependencies

{% hint style="info" %}
This page lists the external contracts and services that v1 contracts depend on.
{% endhint %}

## Conditional tokens

Gnosis' [Conditional Token framework (archived)](https://web.archive.org/web/20241002172829/https://docs.gnosis.io/conditionaltokens/) provides the ability to create and manipulate tokens that are tied to a specific condition happening. `ConditionalTokens` is the core contract that manages among others the creation and redemption of conditional tokens.

The codebase also relies on `Wrapped1155Factory` which enables wrapping 1155 conditional tokens in ERC20s so participants can trade them on any AMM.

Both these contracts are re-deployed in their original and audited versions. We updated the build pipeline with modern tooling: see [here](https://github.com/butterygg/conditional-tokens-contracts) and [here](https://github.com/butterygg/1155-to-20).

## Reality.eth

[Reality.eth](https://reality.eth.limo) is the first oracle for which an adapter has been implemented.
