Optimism Liquidity Mining

Learn how to stake your Gamma LP tokens for Optimism (OP) liquidity mining rewards.
Gamma's Optimism LM program is an internal LM program. Creating the LP tokens and staking the LP tokens for rewards are both done on the Gamma App.

1) Learn to use Optimism

To begin, you'll need to familiarize yourself with Optimism, set up your wallet to view Optimism tokens, and switch the network over to the Gamma App. Head to our Optimism guide for information, bridges, links, and more.
Once you have funds on Optimism, you can purchase the required tokens on Uniswap V3.

2) Explore LM pools

To participate in Optimism mining, you'll need to deposit into one of Gamma's qualified incentive pools:
The incentivized pools are:
  • USDC-DAI Pair 0.01% - Optimism
  • WETH-USDC Pair 0.05% - Optimism
  • WETH-DAI Pair 0.3% - Optimism

3) Deposit for LP tokens

You can use our deposit guide below for detailed instructions on how to deposit into a pair, but we'll go over it briefly in this guide.
For this guide, we'll use a Dual-Sided deposit into the USDC-DAI position.
To begin, go to the Gamma App, connect your wallet, and change the network to Optimism. The incentivized pools will be marked with lightning bolts on the APR value. Click on the USDC-DAI pool to go to the detail page.
On the detail page, you'll find information, a widget to deposit or withdraw funds, and a special widget on the bottom right to deposit LP tokens.
The logic of the deposit is simple.
  1. 1.
    Approve USDC
  2. 2.
    Approve DAI
  3. 3.
    Deposit USDC and DAI
  4. 4.
    Receive LP tokens
  5. 5.
    Approve staking LP tokens
  6. 6.
    Deposit LP tokens
After every step, the UI should indicate that you've moved on to the next one. If not, try refreshing the page.
The Gamma dashboard only shows your positions if they are LP tokens unstaked in your wallet. If you stake your LP tokens for rewards, count on your LP tokens disappearing from the dashboard. That does not mean they are gone. They are just staked in the LM contract.
Let's start by approving funds, depositing, and acquiring LP tokens.
Going back to the main dashboard, you can see your active LP position.

4) Stake LP tokens

Let's return to the pair detail page and stake the LP position for rewards. Once there, go to the staking widget on the bottom right.
On the staking widget, you can see your LP token balance and options regarding LM staking.
  • The Stake tab allows you to stake your LP tokens. Requires approval and deposit
  • The Redeem tab allows you to withdraw your LP tokens and rewards.
  • The Claim tab allows you to claim your rewards without withdrawing your LP tokens.
We're going to start with staking. Sign both the approval and deposit to stake your LP tokens.
Success! You've now deposited your LP tokens into the staking reward contract.
Reminder: Your staked LP tokens will not appear on the Gamma dashboard, nor can you dissolve the LP position until you've unstaked.

5) Claim LM rewards

You have two options for claiming tokens:
  • The Redeem tab allows you to withdraw your LP tokens and rewards.
  • The Claim tab allows you to claim your rewards without withdrawing your LP tokens.
In this example, we will claim our rewards and withdraw our LP tokens using the Redeem tab. But before we do, let's check the Claim tab to see our rewards.
Looks good! Let's get started by heading to Redeem tab. Press "Max" to remove all your LP tokens from staking.
Checking Etherscan afterward, you can see that the transaction was successful. Both the LP tokens, and the OP rewards were claimed.

6) Dissolve LP tokens

Once you have claimed your rewards, you can continue to provide liquidity for the pool (and earn fees), or withdraw your funds from the Gamma App by dissolving your LP tokens.
We have a specific guide below for withdrawing a liquidity position, but we'll review it again with our current example.
To withdraw your funds, go back to the pair detail page and select the withdraw tab from the deposit widget. Note the percentages of your position, and if you choose to, proceed with withdrawing from the pool.
Success! Let's double-check it on Etherscan, as this was a complicated transaction.
  • Red Box: Uncompounded fees going from Uniswap V3 to the Hypervisor
  • Green Box: A portion of the fees taken from the Hypervisor for GAMMA holders
  • Blue Box: Your LP position is being returned to you from Uniswap V3
  • Yellow Box: Remainder of the fees being returned to you from the Hypervisor
  • LP tokens dissolved
Congratulations! You've participated in Gamma's Optimism LP program. We hope you join us for other exciting LM programs or provide liquidity to any of our competitive concentrated liquidity pools.