Smart Contract Addresses
Dolomite's smart contracts are deployed to various decentralized networks.
The
Core
contracts are officially deployed to the following networks:Contract Name | Description | Address |
---|---|---|
Sets interest rates for the alt coins in the system that mimics AAVE's utilization curve | ||
Sets interest rates for the stable coins in the system that mimics AAVE's utilization curve | ||
DolomiteMargin library containing admin functions | ||
Sets the interest rates for a market and always returns 0%. Useful for assets that should not be borrowable. | ||
Proxy contract for opening borrow positions. This makes indexing easier and lowers gas costs on Arbitrum by minimizing call data. | ||
Proxy contract for opening borrow positions. This makes indexing easier and lowers gas costs on Arbitrum by minimizing call data. V2 enables opening borrow positions between wallet owners. | ||
DolomiteMargin library containing the logic for executing general invocations from DolomiteMargin to an arbitrary address | ||
Price oracle for all assets, utilizing Chainlink | ||
DolomiteMargin library containing the logic for executing deposits | ||
Contract for making deposits into DolomiteMargin easily, and it utilizes significantly less call-data, which lowers the gas fees significantly on Arbitrum. | ||
Factory for creating templated AMM pools. These AMM pools allow users to trade with on-chain liquidity. They also are natively integrated with DolomiteMargin, so LPs also accrue interest from borrowers | ||
Routing contract for trading against Dolomite AMM pools | ||
Main margin contract | ||
Sets interest rates for the system based on each asset's utilization (% of the total pool that's borrowed) | ||
Handles account expirations | ||
Operational multi signature wallet that owns the DelayedMultiSig wallet | ||
DolomiteMargin library containing liquidation and vaporization functions. Designed to be used within OperationImpl | ||
A global registry for tracking which held tokens can be liquidated by which proxy contracts | ||
Proxy contract for liquidating other accounts | ||
Proxy contract for liquidating accounts using any valid trader for normal tokens or Isolation Mode tokens | ||
A utility contract for aggregating calls to the RPC node | ||
DolomiteMargin library containing operation functions | ||
Multi-signature wallet that owns the DolomiteMargin . Time-gates admin changes for a certain period of time. Learn more in Admin Privileges. | ||
WETH wrapper proxy | ||
Contract for sending signed operations on behalf of another account owner | ||
Can potentially own the admin fees that are accrued by AMM liquidity providers (LPs) | ||
DolomiteMargin library containing the logic for executing internal trades and trades with external accounts, outside of DolomiteMargin | ||
DolomiteMargin library containing the logic for executing transfers | ||
Contract for transferring funds within Dolomite to other users | ||
DolomiteMargin library containing the logic for executing withdrawals |
Contract Name | Description | Address |
---|---|---|
Sets interest rates for the alt coins in the system that mimics AAVE's utilization curve | ||
Sets interest rates for the stable coins in the system that mimics AAVE's utilization curve | ||
DolomiteMargin library containing admin functions | ||
Sets the interest rates for a market and always returns 0%. Useful for assets that should not be borrowable. | ||
Proxy contract for opening borrow positions. This makes indexing easier and lowers gas costs on Arbitrum by minimizing call data. | ||
Proxy contract for opening borrow positions. This makes indexing easier and lowers gas costs on Arbitrum by minimizing call data. V2 enables opening borrow positions between wallet owners. | ||
DolomiteMargin library containing the logic for executing general invocations from DolomiteMargin to an arbitrary address | ||
Price oracle for all assets, utilizing Chainlink | ||
Multi-signature wallet that owns the DolomiteMargin protocol. On the testnet, all changes are time-gated for 60 seconds. | ||
DolomiteMargin library containing the logic for executing deposits | ||
Contract for making deposits into DolomiteMargin easily, and it utilizes significantly less call-data, which lowers the gas fees significantly on Arbitrum. | ||
Factory for creating templated AMM pools. These AMM pools allow users to trade with on-chain liquidity. They also are natively integrated with DolomiteMargin, so LPs also accrue interest from borrowers | ||
Routing contract for trading against Dolomite AMM pools | ||
Main margin contract | ||
Sets interest rates for the system based on each asset's utilization (% of the total pool that's borrowed) | ||
Handles account expirations | ||
DolomiteMargin library containing liquidation and vaporization functions. Designed to be used within OperationImpl | ||
A global registry for tracking which held tokens can be liquidated by which proxy contracts | ||
Proxy contract for liquidating other accounts | ||
Proxy contract for liquidating other accounts and automatically selling collateral using Dolomite's AMM pools | ||
A utility contract for aggregating calls to the RPC node | ||
DolomiteMargin library containing operation functions | ||
WETH wrapper proxy | ||
Contract for sending signed operations on behalf of another account owner | ||
Can potentially own the admin fees that are accrued by AMM liquidity providers (LPs) | ||
DolomiteMargin library containing the logic for executing internal trades and trades with external accounts, outside of DolomiteMargin | ||
DolomiteMargin library containing the logic for executing transfers | ||
Contract for transferring funds within Dolomite to other users | ||
DolomiteMargin library containing the logic for executing withdrawals |
All of the below tokens were deployed by Dolomite and are not officially supported testnet assets by the respect team/protocol the token represents.
Contract Name | Description | Address |
---|---|---|
DAI token | ||
LINK token | ||
USDC token | ||
WBTC token | ||
WETH token |
All testnet tokens have anaddBalance(address _target, uint256 _value)
function which can be used to give yourself tokens for testing purposes. The tokens are sent directly to__taget
's wallet, NOT to the Dolomite virtual balance.
The
Modules
contracts are officially deployed to the following networks:Contract Name | Description | Address |
---|---|---|
A registry that contains all of the GMX-related addresses. Used for offering Dolomite's smart contracts a uniform entry point for reading ecosystem smart contracts | ||
Implementation contract for each user's proxy contract vault. It stores the users fsGLP tokens, esGMX, sbfGMX, and interacts with GMX ecosystem | ||
The wrapper around the fsGLP token that is used to create user vaults and manage the entry points that a user can use to interact with DolomiteMargin from the vault. | ||
An implementation of the IDolomitePriceOracle interface that makes GMX's GLP prices compatible with DolomiteMargin . The GLP price it calculates understates the price by using the highest bid and factors in any withdrawal fees | ||
Used for wrapping GLP (via minting from the GLPRewardsRouter) from USDC. Upon settlement, the minted GLP is sent to the user's vault and dfsGLP is minted to DolomiteMargin | ||
Used for unwrapping GLP (via burning via the GLPRewardsRouter) into USDC. Upon settlement, the burned GLP is sent from the user's vault to this contract and dfsGLP is burned from DolomiteMargin | ||
An implementation of the IDolomitePriceOracle interface that makes magicGLP prices compatible with DolomiteMargin . The GLP price it calculates understates the price by using the highest bid and factors in any withdrawal fees using the GLPPriceOracleV1 contract in this table and calculates the exchange rate from mGLP to GLP | ||
Used for unwrapping mGLP (via redeeming with the mGLP contract and then via the GLPRewardsRouter) into USDC | ||
Used for wrapping any asset into mGLP (via depositing with into the mGLP contract and minting via the GLPRewardsRouter) | ||
A registry that contains all of the PlutusDAO-related addresses. Used for offering Dolomite's smart contracts a uniform entry point for reading ecosystem smart contracts | ||
Implementation contract for each user's proxy contract vault. It stores the users plvGLP tokens and interacts with the PlutusDAO ecosystem (including staking) | ||
The wrapper around the plvGLP token that is used to create user vault and manage the entry points that a user has with DolomiteMargin from their vault | ||
An implementation of the IDolomitePriceOracle interface that makes plvGLP's price compatible with DolomiteMargin. The GLP price it calculates understates the price by using the highest bid ofr GLP and factors in any withdrawal fees. It then calculates the exchange rate from plvGLP to GLP and understates the exchange rate by the withdrawal fee charged by PlutusDAO to exit plvGLP. | ||
Used for minting plvGLP from any whitelisted token allowable in GLP. Upon settlement, the minted plvGLP is sent to the user's vault and dplvGLP is minted to DolomiteMargin . | ||
Used for burning plvGLP into USDC. Upon settlement, the burned plvGLP is sent from the user's vault and dplvGLP is burned from DolomiteMargin . |
Contract Name | Description | Address |
---|---|---|
Implementation contract for each user's proxy contract vault. It stores the users SI tokens. | ||
An accounting token used by Atlas for borrowing USDC to lever up US Treasury exposure. | ||
A simple price oracle that allows the owner of DolomiteMargin to set the price. |
Last modified 1h ago