Providing/Removing Liquidity

Short Tutorials

How to Provide Liquidity

With a few clicks/taps, anyone can provide GM tokens into the GM Index to receive GMI tokens, which immediately exposes them to protocol fee accrual in the token. (See the Fees and Deposit/Withdrawal Examples sections for further details.)

Standard GM Method

  1. Users buy GM tokens (gmBTC, gmETH, gmSOL, or gmUSDC-USDT) from GMX.

  2. Connect the wallet used in step 1 to the GMI dApp.

  3. In the "Buy GMI" tab, select your specific GM token from the dropdown, enter the amount you want to deposit into the Index, click/tap the "Approve" button, and approve the transaction in your wallet.

  4. Once you have approved, the "Approve" button will change to a "Buy GMI" button. Click and sign the transaction in your wallet to pay a calculated deposit fee (see Fees section) to mint GMI. The amount of GMI 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.

Alternate USDC Zapping Method

  1. Connect a wallet that has USDC to GMI.

  2. In the "Buy GMI" tab, select USDC from the dropdown, enter the amount you want to deposit into the Index, click/tap the "Approve" button, and approve the transaction in your wallet.

  3. Once you have approved, the "Approve" button will change to a "Buy GMI" button. Click and sign the transaction in your wallet to pay a calculated deposit fee (see Fees 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 Standard GM Method, users receive GMI and will begin exposure to fee accrual from future deposits and withdrawals.

How to Remove Liquidity

  1. Confirm you have GMI tokens in your wallet.

  2. Connect your wallet to GMI.

  3. In the "Sell GMI" tab, select which GM token you want to receive, and click/tap the “Sell GMI” button.

  4. 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 Fees and Deposit/Withdrawal Examples 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.

Last updated