Providing/Removing Liquidity
Short Tutorials
Last updated
Short Tutorials
Last updated
With a few clicks, anyone can provide GM tokens into the GM Index to receive GMI tokens, which immediately exposes them to protocol fee accrual within the token. (See the and sections for further details.)
GM tokens (gmBTC, gmETH, gmSOL, or gmUSDC-USDT) from .
Connect the wallet used in step 1 to the dApp.
In the "Deposit" tab of the "Buy / Sell GMI" section, select your specific GM token from the dropdown, enter the amount you want to transfer to the Index, click the "Approve" button, and approve the transaction in your wallet.
Once you have approved, the "Approve" button will change to a "Deposit" button. Click and sign the transaction in your wallet to pay a calculated deposit fee (see section) to mint GMI. The amount of GMI received will be in proportion to the value of GM tokens deposited versus the total value of the Index. In short, you get more GMI the more GM tokens you deposit. This is effectively “buying” GMI tokens with GM tokens.
NOTICE: Due to GMX upgrading their contracts, USDC Zapping functionality has been temporarily taken offline. We will make an announcement when it is working again.
Connect a wallet that has USDC to .
In the "Deposit" tab of the "Buy / Sell GMI" section, select USDC from the dropdown, enter the amount you want to deposit into the Index, click the "Approve" button, and approve the transaction in your wallet.
Once you have approved, the "Approve" button will change to a "Deposit" button. Click and sign the transaction in your wallet to pay a calculated deposit fee (see section) to mint GMI. When you sign the transaction in your wallet, the USDC gets automatically converted into the asset that generates the cheapest fee (e.g. shrinking the liquidity gap of the asset furthest away from its target balance) for the user. In DeFi land, this is called “zapping.” In exchange, just like in the above, users receive GMI and will begin exposure to fee accrual from future deposits and withdrawals.
Confirm you have GMI tokens in your wallet.
Connect your wallet to .
In the "Withdraw" tab, select which GM token you want to receive, and click the “Withdraw” button.
Sign the transaction in your wallet to pay the withdrawal fee. Your GMI tokens will be burned, and the GM tokens are transferred to your wallet. (See the and sections for further details.) Note: There must be sufficient liquidity in the market token that you are wanting to receive. If there is not, you need to wait for other providers to deposit more of the specific GM token. You can also pick another GM token to withdraw or split the withdrawal into multiple GM tokens.