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. To see the code of any Minimax contract, one should get proxy address by a specific key from
Deployments
contract. This can be done by opening Deployments
contract trhough scan, opening Contract
section and choosing deployments
button from Read Contract
.
Deployments example
Here is a list of Minimax contracts keys for
Deployments
contract Base
- main contract, that stores positions and handles deposits and withdrawsAdvanced
- contract, that provides advanced operations, such as conversion deposits and withdraws, liquidationMinimaxMarket
- contract for Minimax Swap and converstion deposits and withdraws