Providing/Removing Liquidity
Short Tutorials
How to Provide Liquidity
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 Fees and Deposit/Withdrawal Examples sections for further details.)
Standard GM Method
Connect the wallet used in step 1 to the GMI 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 Fees 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.
Alternate USDC Zapping Method
Connect a wallet that has USDC to GMI.
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 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 above, users receive GMI and will begin exposure to fee accrual from future deposits and withdrawals.
How to Remove Liquidity
Confirm you have GMI tokens in your wallet.
Connect your wallet to GMI.
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 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