Op-ed by Danielle Davis
Another risk lives in the high stakes world of DeFi
The DeFi craze of 2020 introduced the world to a new and interesting way to earn passive income through liquidity mining and other forms of yield farming. If you haven’t yet jumped into DeFi staking, you may not be aware of some of the risks associated with a liquidity pool (LP). In addition to the usual risks of token staking (price dumps, rug pulls, APY taking a dive, etc.) you take on an additional category of risk: impermanent loss.
What is impermanent loss?
As multiple tokens are required to provide liquidity, an overall loss can occur if any token loses value. This is known as impermanent loss because it is only realized if funds are withdrawn while the token prices are lower, but no longer affects you if token prices rebound.
Understanding impermanent loss
Providing liquidity requires staking equal values of different tokens, which generates a LP token. This new LP token is then staked in a new pool in order to earn a yield.
I stake $100 of an imaginary token named XYZ along with $100 of ETH, which generates a new LP token which I can stake again for a higher yield on the Web site for the XYZ project or on another farming site.
Why do I receive rewards from staking?
This is compensation for taking on additional risks. Staking tokens is equivalent to locking them away for a period of time.
You are paid for this action because you renounce your ability to sell the tokens, and exit the investment. This impacts the market price as you effectively remove part of the token supply from circulation during this time, growing the LP against which others can execute live trades, and at the same time signaling to the world that the community is willing to commit to supporting the token for an extended period of time.
Uniswap and Balancer use different algorithms for their automated market making (AMM). While they’re both categorized as a constant function market maker (CFMM), Uniswap is classified as a constant product market maker and Balancer is classified as a constant mean market maker.
Avoiding impermanent loss
As with anything in the financial world, profits are never guaranteed. The only way to ensure that $200 remains $200 when you pull it out is to withdraw your original tokens when they’re at the same price that they were at when you deposited them. Tracking the initial prices of your tokens when you began LP staking can help you avoid losses.
If XYZ goes to zero
Whenever a token price in a balanced liquidity pool is zero, no tokens will be available to withdraw as all token prices will be balanced to zero.
When staking in any DeFi protocol, you should expect a fair amount of impermanent loss will happen. As it is extremely hard to avoid it completely, make sure the yield is high enough to account for all of the risks.