In this guide we will explain how to provide liquidity to Adamant vaults on the Polygon network to earn swap fees and yield farming rewards that are auto-compounded.
What is Polygon?
Polygon is a scaling solution for Ethereum with fast and cheap transactions. It is a seperate blockchain with different features and parameters which requires moving funds across a “bridge” to get on the Polygon network. The Polygon network uses different technologies than Ethereum Layer 1 so it has a different security model and is able to have lower transaction costs.
What is Adamant Finance?
Adamant is a yield optimizer platform that provides users with an easy way to maximize yield farming income. The process of compounding is a very tedious process, especially when staking on multiple platforms, and it is often hard to know the optimal frequency and timing of when to compound and reinvest yields.
Compounding may also be quite expensive. Compounding once a day can cost thousands of dollars on gas fees over the course of a year. Adamant’s vaults automate this process, allowing farmers to drastically reduce gas costs, avoid the tedium of manually compounding, and maximize their yield.
What you will need to provide liquidity in Adamant vaults
- Metamask wallet
- MATIC tokens in your Polygon wallet for gas
- LP Tokens to deposit into the vaults (or tokens you can use to swap into the tokens needed for a given vault
Setting up the Polygon network with your Metamask wallet
First, you will need to configure your Metamask wallet to connect to the MATIC network. You will need to open Metamask and click on the Network selection dropdown and then click on Custom RPC.
Fill out the empty fields as shown in the picture above and click on Save. You will be directly switched to Matic’s Mainnet now in the network dropdown list. This process adds the MATIC network to the list of available networks you can switch to from within Metamask. Sometimes it is helpful to switch networks when Metamask is acting strange or if you are having trouble getting things to show up.
Here is the list of the parameters so you can easily copy them:
- Network Name: Polygon Mainnet
- New RPC URL: https://polygon-rpc.com/
- Chain ID: 137
- Currency symbol: MATIC
- Block explorer URL: https://polygonscan.com/
Move funds from ETH network to Polygon/Matic network
The Polygon Wallet interface has a section labeled “Bridge” and it will bring you to the interface pictured above. Once you have moved funds over to the Polygon networks you can manage them from the same Polygon Web Wallet interface .
Finding the right Vault to provide liquidity to on Adamant
Adamant has a variety of options on their platform ranging from vaults that require LP tokens from an AMM to deposit to single asset vaults that only require depositing one type of token. You can use the filters at the top of the page to narrow your selection by a few different criteria like which AMM platform the LP tokens are from or which types of assets you are looking to stake. Using the checkbox “Show LP amounts” will give you an idea of which LP tokens that you currently own can be used in their vaults. Using the checkbox “”Show only staked” will filter the view to show your active vaults.
Platforms: Quickswap, Sushiswap, QiDao, Gravity, Curve, Dino, Popsicle, Iron, Apeswap, Dfyn, Cafe, Cometh, Elk, Polyquity, Jetswap, Polycrystal, Wault
Vault types: Stable LP’s, Stables
You can check which individual vaults are supported by APY.vision here.
Steps to add liquidity to Adamant vaults
Step 1: Identify which vault you would like to deposit to and make sure you have either the single token or LP tokens needed to deposit. For more info on how to add liquidity to AMM’s to get the LP tokens, you can check out this article that offers a guide on supplying liquidity to QuickSwap. For this example we have chosen the EGG/USDT LP vault.
If you do not have the LP token, you can use the “+/- Liquidity” link highlighted above to swap into the tokens needed for this vault. Once you have the 50/50 proportion of both tokens you can then use the “Add Liquidity” link to deposit the tokens into the AMM (Quickswap in this example) liquidity pool to get the LP tokens needed. The process for adding liquidity can vary from protocol to protocol, check our blog archives for guides on how to use many of them.
Step 2: For this vault, you will first need to go to QuickSwap and add liquidity to the EGG-USDT pair to get the LP tokens you need for this vault. You do NOT need to stake those LP tokens on QuickSwap as Adamant will be doing that for you.
Step 3: Click the “Approve” button and confirm the transaction then you will get an option to “Deposit” as pictured below. You will notice each vault comes with a set of fees, this particular vault charges no deposit fee but a 0.1% withdraw fee so be sure to factor that into your decision.
Once the deposit goes through you will see the balance information reflected on the right side of the UI as pictured below.
Tracking Your Position on APY.vision
First time APY.vision users – enter your Polygon address in the box highlighted above. On mobile/tablets click on the search icon and copy their address into the popup
Once your vault position is deposited and auto-compounding on Adamant, you can start tracking the performance of the vault. APY.vision will separate the liquidity pool (WMATIC-USDC) activity from the vault activity (the auto compounding) as shown below.
How to withdraw and what to expect
One important thing to note is that Adamant vaults can have an early withdrawal penalty of 0.5% for withdrawing before a 3 day period. Users can also earn ADDY rewards from being in the vaults which can be claimed to begin vesting using the button highlighted below. All ADDY rewards are vested for 3 months and suffer from a 50% early withdrawal penalty for those that do not wait the required 3 months.
Adamant implemented a “manual compound” feature so a single user can initiate the transaction to compound all of the rewards for everyone in the vault. The auto compounding will still happen outside of this transaction but the user can initiate a collection of the current gains for the rest of the users.
When you are ready to pull your liquidity from the vault, enter the amount you wish to withdraw and hit the “Claim + Vest + Exit” button and your LP tokens will be back in your wallet. To exit the liquidity pool entirely, you will have to go back to the AMM where you entered into the pool to get your tokens back. Note you only need to do this if you are in a vault using LP tokens, a single asset vault will not require these extra steps.
Providing liquidity is a great way to earn some income on tokens sitting in your wallet. You do have to be careful when providing liquidity, as sharp price increases or decreases can have a huge impact on the performance of your position. To read more about the risks, we highly recommend reading this post. We suggest using APY.Vision to keep a close eye on your positions to know when to remove liquidity during times of extreme price volatility.
APY.Vision does not give investment advice and always insists that you do your own research. Read our full Legal Disclaimer.
Check out APY.Vision!
APY.Vision is an advanced analytics tool for liquidity pool providers and yield farmers. If you’re using any DEXs, AMMs, or liquidity pools this is the tool you will need to easily track the ROI of your liquidity provider and yield farming activities. Try it now!