GMX

All about GMX, its integration with Dolomite, and what makes it special for GMX holders.

Overview

GMX is the utility and governance token token for the perpetual exchange GMX.

GMX Token Address

The prior information was taken from GMX's Gitbook. If you notice any of the information is out of date or incorrect, please let us know.

Integration with Dolomite

Dolomite's integration with the GMX ecosystem exemplifies Dolomite's modularity and positioning as a public utility for other protocols to utilize. First and foremost, Dolomite's protocol does not take any fees from anything earned in the GMX ecosystem, instead passing all rewards on to the user. This includes:

  • ETH rewards

  • esGMX rewards

  • Multiplier points

  • Vesting rewards

  • Any other staking or fee-based rewards

Depositing GMX into Dolomite

Once you have GMX in your wallet, you may deposit it into Dolomite via the Balances page. To deposit it, select GMX from the asset selection panel with the Deposit tab selected (shown below).

If you want to perform a full account transfer, you must do it before depositing GMX or GLP to Dolomite. If you deposit GMX or GLP into your account first, the full account transfer feature will be permanently unavailable for the wallet you were using when you made the deposit.

Currently account transfers off of Dolomite are not supported, so only use this feature if you plan to continue to use Dolomite to accrue or redeem GMX rewards.

Note, if it is your first time depositing, you will have to unlock GMX first. Once your GMX is deposited, you will be able to interact with the GMX rewards ecosystem, the same way you would normally from GMX's web application!

Depositing special assets like GMX into Dolomite results in the creation of your proxy vault. This all happens behind the scenes and occurs for each unique wallet that chooses to deposit GMX.

This proxy vault debits your Dolomite Balance and gives you access to GMX virtual liquidity for use across Dolomite's various features. The proxy vault is created when you perform your first deposit or initiate a full account transfer from GMX into Dolomite.

Compound or Claim Asset Rewards

The different rewards options can be accessed by clicking to expand the GMX row on the Balances page if it isn't expanded already:

Clicking on the Asset Rewards button will take you to the Asset Rewards panel (shown below), which was made to resemble the GMX Total Rewards panel.

One change that was made to Dolomite's version of compounding or claiming rewards for the integration is allowing you to deposit the earned WETH rewards into your Dolomite account. Unchecking this box will send the rewards to your wallet instead.

To learn more about claiming and compounding, please read about it in the GMX documentation.

The top 4 rows show you aggregate data of how much GLP, staked-GMX, and esGMX you have in your vault. This makes it convenient to see how much total GLP (or other assets) is deposited across your Dolomite Balances, borrow positions, or in any other Dolomite service.

You earn GLP rewards and yield for your entire deposit on Dolomite. Even if your GLP is spread across various Dolomite services, you're still earning based on the total amount of GLP deposited in your vault.

Stake GMX and esGMX

Staking and unstaking GMX and esGMX can be done from clicking the Staking button on the GLP row. Pressing the button will open the following modal:

To learn how how boosting and multiplier points work, please read the corresponding section in the GMX documentation.

Staking esGMX always pulls the tokens from your proxy vault and never from your wallet. Since esGMX is non-transferrable, the esGMX tokens can only ever be used in the following places:

  1. Held in the proxy vault as esGMX

  2. Staked from the proxy vault, which shows in the vault as sbfGMX tokens

  3. Vested from the proxy vault, which shows in the vault as vGMX or vGLP tokens (more on this below)

No token approvals are needed to move esGMX into staking or vesting. Note, esGMX can technically, be transferred by initiating a full account transfer (more on this below).

Vest esGMX

New GMX tokens are introduced into circulation by vesting esGMX into GMX tokens. By default, all esGMX you own can be converted into GMX over the course of one year by initiating the vesting process with your staked GMX or GLP tokens.

To get started, click on the Vesting button from the GLP row to open the following modal:

The mechanics for vesting esGMX into GMX work exactly the same as the GMX interface. To learn more about how vesting works, please read the following section from the GMX documentation.

Importantly, any GMX tokens you use for vesting do not impact your virtual balances, borrow positions, or any other area on Dolomite that utilizes your virtual liquidity. Meaning, you can actively borrow against your GMX while you're using it to vest your esGMX into GMX without any limitations.

Note, if your GMX gets liquidated in any position, you may be forced to unvest your GMX that's converting esGMX into GMX before it's seized by the liquidator. This should only happen if the amount of GMX held in your proxy vault is not enough to cover the debt owed against the position that is underwater.

Full Account Transfers

Dolomite is the first protocol to offer support for full account transfers into a money market protocol. Full account transfers allow the sender to transfer all of their esGMX, staked multiplier points, GLP and staked GMX to another account while not losing any of those accumulated rewards. It's an important feature to allow long-term GMX protocol users to transfer funds while not being penalized by breaking their streak.

Full account transfers can only be executed into Dolomite once per wallet address. They cannot be performed into Dolomite if you've already deposited GMX or GLP into Dolomite for the same wallet address. If you've already deposited GMX or GLP into Dolomite for the same wallet address, you'll need to do a full account transfer into Dolomite using a different wallet address.

Dolomite does not currently support transfers out of Dolomite to external addresses but may or may not add that feature at a later time.

Executing a full account transfer is a two-transaction process that requires you to start on GMX's website and finish on Dolomite:

  1. Click the Transfer Account button the GLP row to open the Transfer Account panel.

  2. With the panel open, copy the Receiver Address to your clipboard. You'll need this on GMX's website.

  3. On the Transfer Account page on GMX's website, paste the Receiver Address you just copied into the input field. Click Begin Transfer and confirm the transaction from your wallet. This is the first transaction (of 2 total).

  4. Go back to Dolomite and open the Transfer Account panel again. Enter your wallet address as the Sender Address. Your wallet address can be copied to your clipboard by opening Metamask and clicking on your wallet from the top-middle toolbar of the extension .Click Finalize Transfer and confirm the transaction from your wallet. This is the second and final transaction.

Please keep in mind that transferring an account requires a number of conditions to be met prior to the transfer executing. These include:

  • The sender has no GMX being used to vest esGMX into GMX

  • The sender has no GLP being used to vest esGMX into GMX.

  • The receiver has not staked GMX tokens before

  • The receiver has not staked GLP tokens before

Risk

GMX is not a borrowable asset and is permanently in Isolation Mode. You can learn more about the other risk parameters by visiting the Risk Mitigation page.

Price Oracle

The GMX oracle implementation can be seen on this page, which accounts for the PnL of positions being underwritten by GMX and marks the value of the collateral using Chainlink.

Liquidations

Getting liquidated for any GMX you have in a borrow position will result in the GMX you hold being seized by the liquidator and sold off using the normal collateral calculations, as explained in Liquidations. Importantly, only the GMX is seized though. All esGMX, multiplier points, ETH rewards, etc. are kept in your vault and are never taken by the liquidator under any circumstance.

Dolomite never takes your rewards when a complex collateral asset is liquidated. Only the collateral asset is ever taken.

Fees

There are no special fees for using your GLP or GMX tokens on Dolomite. You keep 100% of the ETH rewards, multiplier points, staking rewards, esGMX, and vesting.

On a fundamental level, we believe users, institutions, and protocols that want to run their own strategies shouldn't be hampered by Dolomite cutting into their strategy's viability by taking a portion of the rewards on a protocol-level.

Last updated