Static Farms: Rewards independent from market conditions
Following feedback on Dynamic Farms, KyberSwap has introduced an alternative Elastic Farming mechanism in Static Farms to enable for more customizable reward distribution parameters.
Unlike Dynamic Farms which requires the underlying liquidity position to support the active market price, Static Farms enable LPs to continue earning farming rewards by contributing liquidity towards an operator defined farm range. Please refer to Tick-Based Farming for a detailed comparison between the two mechanisms.
For a guide on Dynamic Farms, please refer to Yield Farming On Dynamic Farms.
Introduction
Yield Farming or Liquidity Mining is an aspect of DeFi that allows Liquidity Providers (LPs) to passively earn a return on capital contributed to a liquidity pool. The Yield Farm provides LPs with rewards over time to incentivize LPs to continue to provide liquidity to the pool as well as to help offset their risk.
This guide covers yield farming on KyberSwap Elastic Static Farms. It covers the following aspects of yield farming on KyberSwap Elastic:
Staking liquidity positions
To be eligible to earn rewards, you will first need to stake some liquidity positions. A guide on how to do this can be found here.
Step 1: Select farm and open a position
You can view and filter the list of active farms on the Farms page. For the purposes of this guide, we will use a MATIC - USDC pool with a fee tier of 1% on Polygon.
Static Farms rewards eligibility
To be eligible for farming range rewards, your underlying position must be equal or wider than the farming range. Positions which match the specified farming range will receive the maximum farming rewards.
Each position is only eligible to be staked in a single farming range to avoid double-counting of rewards.
You can refer to Static Farms concept guide if you require further details regarding the Static Farms mechanism.
Do note that an existing position will be required to be eligible for farming rewards. This can be easily achieved with the Static Farms add liquidity helper which enables opening a position that matches exactly with the farming range and thereby maximizing farming rewards.
For the complete guide on how to add liquidity to an Elastic pool, please refer to Add Liquidity To An Existing Elastic Pool. You can skip this section if you have an existing eligible position.
Note that the list of available static farms can also be viewed by using the preset filters on the top left of the screen.
Step 2: Approve the farming contract
If this is your first time interacting with Elastic Static Farms on this particular network, you will need to give approval for the farming smart contract to manage your wallet and balances.
Click on the “Approve Farming Contract” button on the Farms page to begin. This will require an onchain approval through your Web3 wallet.
Note: Be sure to check that the smart contract address is correct before authorizing the smart contract. KyberSwap Elastic farming smart contract addresses can be found here.
Step 3: Stake your position in the farm
Once the Static Farm contract has been approved, the “+ Stake” button will then become available for farms where you have an eligible position.
Search for your reward pool and click on the “+ Stake” button to stake your NFT position. You can also toggle between the various eligible farming ranges in the farm card to view the estimated APRs. You can refer to Static Farm APR calculation for further details on how this estimate is computed.
Step 4: Select farming range
In the position staking helper, you can select the farming range for staking based on the tabs provided. When you've narrowed down the specific farming range, you can select the position to be staked and proceed to stake by clicking the "+ Stake Selected" button. Note that if you have multiple eligible positions, you can select any number of positions to be staked in a single transaction.
Step 5: View staked position and rewards
Once your position has been staked into the farming range, it will immediately begin earning farming rewards. You can view the rewards accrued to your staked position under the previous Farms page. Your position will continue to accumulate rewards for the duration of the farming phase.
Harvesting and claiming rewards
After you have accumulated rewards, you can harvest them from the pool and subsequently claim them (i.e. withdraw rewards to your wallet).
Step 1: Select pools to harvest
From the Farms page, click on the small “pickaxe” button associated with your desired pool to bring up the Harvest screen.
Step 2: Confirm harvest
From the Harvest screen that appears, click on the “Harvest” button to proceed. This is an onchain transaction that will require wallet confirmation.
Unstaking liquidity positions
Unlike Dynamic Farms where your position stops earning farming rewards if the market price is outside the position's range, Static Farm positions will continue to earn farming rewards regardless of the market price. You may choose to unstake from a farming range at any time, even while the farm is still active.
Step 1: Select pool to unstake
On the Farms page, click on the “- Unstake” button of the pool you would like to unstake from.
Step 2: Confirm unstake
In the unstake preview, select the liquidity position(s) that you would like to unstake and then click the “Unstake Selected” button. Note that if there are multiple staked positions, you will be able to select any number of positions to be unstaked in the same transaction. This is an onchain transaction.
As part of this action, any as-yet unharvested rewards will also automatically be harvested.