> For the complete documentation index, see [llms.txt](https://ivx-smart-contracts.gitbook.io/diem-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ivx-smart-contracts.gitbook.io/diem-documents/introduction.md).

# Introduction

<figure><img src="/files/DIZn4VdNaQuXRSiNqSLX" alt=""><figcaption></figcaption></figure>

Diem is an options Automated Market Maker (AMM) which facilitates long and short options trading in a permissionless and decentralized way for options with less than 24 hours to expiry. In addition, it acts as a single pool, and offers options on multiple underlying assets which are collateralized by this pool. It is the first step toward unifying option liquidity into a single collateral pool for multiple assets and strike prices. It forms the foundation for expanding the IVX AMM to encompass a broad spectrum of expiry times.&#x20;

<figure><img src="/files/eOWRYsZ7zkMQ0ZqpOW2W" alt=""><figcaption></figcaption></figure>

## Architecture

IVX is the first protocol to put volatility oracles on-chain, these oracles are periodically pushed updates which contain both asset-market sensitivities β and volatility metrics σ which the Diem AMM has read access to:

<figure><img src="/files/Mw15OeWpSHZIx4H93zxV" alt=""><figcaption><p>Option Contract is now ERC-1155 instead of ERC-721</p></figcaption></figure>

The Diem AMM facilitates two-way option markets for daily expiry contracts across many different underlying assets in the same collateral pool.

It also hedges market delta by taking short futures positions through GMX’s GLP pool.

<figure><img src="/files/ZktiehWSCSPlHEEPcaQw" alt=""><figcaption></figcaption></figure>
