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

# Contracts Architecture

The PerpetualMint contract suite relies on the [Chanlink VRF](https://docs.chain.link/vrf) contracts to generate provably-fair random numbers. \
\
The entirety of the PerpetualMint product is split into the contracts which handle [minting](/key-sections/minting-resolution-technical.md) (PerpetualMintDiamond), and the contracts which handle the [$MINT](/key-sections/usdmint-token.md) token (TokenDiamond). They are both upgradeable contracts via [EIP-2535 ](https://eips.ethereum.org/EIPS/eip-2535)(DiamondProxy).

<figure><img src="/files/ylm343rrSimMUOOylCPn" alt=""><figcaption><p>High-level overview of the PerpetualMint contract suite</p></figcaption></figure>
