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

# Architecture

Most of Prime Staked ETH's contracts are upgradeable via a well-known proxy wrapper and implementation contract. The architecture can be seen below.&#x20;

<figure><img src="https://4246464185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlmyLnMMxdXp2GLoAHKda%2Fuploads%2FDSro0wsPwUOrbeD503sl%2FprimeBaseContracts.png?alt=media&amp;token=92a2b7b6-b9a7-4391-8c77-9c5bd1562f19" alt=""><figcaption><p>primeETH contract dependencies</p></figcaption></figure>
