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

# Smart contracts

We have several smart contracts backing Minimax app. For ease of access and management, we have a small contract `Deployments`, which stores all most current contracts addresses by keys. Moreover, we use `Proxy` contracts, and all transaction go through them.&#x20;

To see the code of any Minimax contract, one should get proxy address by a [specific key](#deployment-keys) from `Deployments` contract. This can be done by opening `Deployments` contract trhough scan, opening `Contract` section and choosing `deployments` button from `Read Contract`.

<figure><img src="/files/2UAZSxHudn1GnWuELdl1" alt=""><figcaption><p>Deployments example</p></figcaption></figure>

### Deployment keys

Here is a list of Minimax contracts keys for `Deployments` contract&#x20;

* `Base` - main contract, that stores positions and handles deposits and withdraws
* `Advanced` - contract, that provides advanced operations, such as conversion deposits and withdraws, liquidation
* `MinimaxMarket` - contract for Minimax Swap and converstion deposits and withdraws

### Contract addresses

#### **BNB Chain**

ProxyAdmin – [0x48376979c2aDB31EE0e574084a8843B1112525d9](https://bscscan.com/address/0x48376979c2aDB31EE0e574084a8843B1112525d9)

Deployments - [0x5D6397a2aC36762d1A8F96b0cA915c49c2958D84](https://bscscan.com/address/0x5D6397a2aC36762d1A8F96b0cA915c49c2958D84)

#### **Polygon**

ProxyAdmin – [0xA205c55FdCD98A64AbE3B2cF3DE01DC8509D02b5](https://polygonscan.com/address/0xA205c55FdCD98A64AbE3B2cF3DE01DC8509D02b5)

Deployments - [0x8f441e875C67e908Bb0e407d48D002E8a7BDcDD4](https://polygonscan.com/address/0x8f441e875C67e908Bb0e407d48D002E8a7BDcDD4)

#### **Fantom**

ProxyAdmin – [0x2e34168Bf6532523AD01A73394Ce7Fb634898F26](https://ftmscan.com/address/0x2e34168Bf6532523AD01A73394Ce7Fb634898F26)

Deployments - [0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b](https://ftmscan.com/address/0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b)

#### **Avalanche**

ProxyAdmin – [0x2e34168Bf6532523AD01A73394Ce7Fb634898F26](https://snowtrace.io/address/0x2e34168Bf6532523AD01A73394Ce7Fb634898F26)

Deployments - [0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b](https://snowtrace.io/address/0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b)

#### **Arbitrum**

ProxyAdmin – [0x2e34168Bf6532523AD01A73394Ce7Fb634898F26](https://arbiscan.io/address/0x2e34168Bf6532523AD01A73394Ce7Fb634898F26)

Deployments - [0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b](https://arbiscan.io/address/0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b)

#### **Aurora**

ProxyAdmin – [0x2e34168Bf6532523AD01A73394Ce7Fb634898F26](https://aurorascan.dev/address/0x2e34168Bf6532523AD01A73394Ce7Fb634898F26)

Deployments - [0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b](https://aurorascan.dev/address/0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b)

#### **Moonbeam**

ProxyAdmin – [0x495430C075a1670D1810C9c2c3745f7D0B09937a](https://moonscan.io/address/0x495430C075a1670D1810C9c2c3745f7D0B09937a)

Deployments - [0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b](https://moonscan.io/address/0x2274Fb44b7eBbB49E764B28B0A31F5ed2Ef1833b)

#### Ethereum

ProxyAdmin - [0x1193320eA26E043A75033a5ad839236a30De8218](https://etherscan.io/address/0x1193320eA26E043A75033a5ad839236a30De8218)

Deployments - [0x17b92cc90425090E706E3d602068dD58b99B8f1f](https://etherscan.io/address/0x17b92cc90425090E706E3d602068dD58b99B8f1f)

#### **Meter**

ProxyAdmin – [0x8319b78cB30528c96c6102DA9D1e14B4eBD26B7a](https://scan.meter.io/address/0x8319b78cb30528c96c6102da9d1e14b4ebd26b7a)

Deployments - [0x46302D86973cd300cACD35eA738032c597EdBB07](https://scan.meter.io/address/0x46302d86973cd300cacd35ea738032c597edbb07)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.minimax.finance/developers/smart-contracts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
