financetom
News
financetom
/
News
/
DeFi lending — Major risks to look out for
News World Market Environment Technology Personal Finance Politics Retail Business Economy Cryptocurrency Forex Stocks Market Commodities
DeFi lending — Major risks to look out for
Aug 11, 2022 4:44 AM

With decentralised finance (DeFi) gaining ground, we see the scope of cryptocurrencies moving beyond a transfer of value to more complex financial functions. One of these functions is DeFi lending.

Through Defi lending, we can lend our tokens to a liquidity pool. In exchange, we can earn handsome returns on these tokens that would otherwise be sitting dormant in a crypto wallet. While this is an amazing opportunity, it comes with risks similar to any financial instrument.

This article discusses some of these risks and how you can avoid them when providing your tokens to a DeFi lending protocol.

Impermanent Loss

Impermanent loss is one of the most common risks when it comes to DeFi lending. As cryptocurrencies are highly volatile, the value of your tokens can change after you've deposited them into a liquidity pool.

Liquidity pools use ratio protocols and rely on arbitrage traders to help balance the value of tokens within the pool with the market outside. While this works, it is not as perfect yet and can lead to unrealised losses as compared to if you had kept the tokens in your wallet.

For instance, say you provided 10 ETH and 1,000 USDC to a liquidity pool when 1 ETH was worth 100 USDC (or roughly $100). This means that the total value you provided to the pool is $2,000 at a 50:50 ratio between ETH and USDC.

Also, the overall pool contains 100 ETH and 10,000 USDC. This means your contribution represents 10 percent of the pool's total holdings.

Also Read: Explained: USB Bitcoin miners — their benefits and limitations

Now, let's say that, after a few days, the price of 1 ETH shoots up to 400 USDC. Arbitrage traders will exchange their USDC for ETH in the liquidity pool and sell it on other platforms to make a profit.

This results in the pool having more USDC than ETH. Let's say it now has 50 ETH and 20,000 USDC. Therefore, when you withdraw your 10 percent liquidity, you get 5 ETH and 2,000 USDC. So, the value of your tokens is $4,000. That might seem like a nice profit. However, if you just kept the ETH and USDC in your wallet, your 10 ETH alone would be worth $4,000.

How do you avoid impermanent losses?

You can avoid impermanent losses in three ways — first, you can lend to liquidity pools with stablecoins. This way, the fluctuations are minute, and the volatility will not have much of an effect.

Second, you can opt for platforms that share transaction fees with liquidity providers. This way, you can make up for the impermanent losses with the added income. Third and lastly, you can opt for impermanent loss insurance which is readily available on some trusted LP platforms.

DeFi rug pulls

There has been a rise in DeFi rug pulls over the last few years. Bad actors create a fake token and pair it with an established token (say USDC) on a liquidity pool they have set up. Then they promise high returns for liquidity providers, so users buy the fake token and enter the pool along with their USDC.

Once enough USDC is accumulated in the pool, the bad actors take off with all the coins, leaving investors holding the bag of worthless fake tokens. It's like someone pulled out the rug from beneath their feet. Hence the name 'rug pull.'

The easiest way to avoid rug pulls is to enter established liquidity pools with known crypto pairs. It is a certain red flag if a liquidity pool has some unknown token and offers lucrative returns. Only proceed once you have thoroughly researched the token and the lending platform.

Flash loan attacks

Flash loans are a unique feature of DeFi lending. They allow you to borrow millions of dollars’ worth of crypto with no collateral. The catch is that you need to repay the loan almost immediately. By immediately, we mean within the block time of the DeFi protocol's underlying blockchain.

Therefore, if you were borrowing on Compound, you would have around 13 seconds to repay the loan. This is because Compound is built on Ethereum, which has a block time of about 13 seconds.

Therefore, these loans are only feasible for those who can code what they plan to do with the borrowed funds and have bots carry out the transactions.

How is any of this bad?

Bad actors can take out massive loans, turning them into whales that can now easily influence a token's prices. They can pump the borrowed tokens into a vulnerable pool with low liquidity. The increase in one token causes the value of the paired token to dip significantly. Now, they can buy massive amounts of the paired token and sell it in the open market, resulting in huge gains.

They then return the borrowed amount and pocket the gains. Meanwhile, the price of the dumped token crashes due to the excess supply. Therefore, if you had tokens in one of these vulnerable pools, the value of your holdings drops considerably due to impermanent loss.

Also Read: Explained: Crypto crash vs correction — key differences

Pools with less liquidity are easy targets for bad actors. Therefore, one way to protect yourself against flash loan attacks is by lending to trusted liquidity pools with volumes so large that even millions in transactions wouldn't drastically drive down prices.

Conclusion

DeFi is as complicated as it is new. Sometimes just bugs in the smart contract can cause losses in the millions that are essentially no one's fault. Fortunately, we have newer instruments such as impermanent loss and smart contract insurance that ensure you don't lose money due to any of these exploits or bugs. However, it is always important to research, understand what you're getting into, and invest only as much as you're okay with losing entirely.

Comments
Welcome to financetom comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Related Articles >
Yen skids to three-month low as the gap in treasury yields widens
Yen skids to three-month low as the gap in treasury yields widens
Oct 26, 2024
The yen fell in European trade on Wednesday against a basket of major rivals, sharpening the losses for the third straight session against the US dollar and hitting three-month lows amid concerns about a wider US-Japan gap in government treasury yields. Recent bearish remarks from Japanese officials hurt the odds of a third BOJ interest rate hike this year, while...
Euro rebounds ahead of major eurozone data
Euro rebounds ahead of major eurozone data
Oct 27, 2024
The euro rose in European trade on Thursday against a basket of major rivals after a wave of losses across three sessions, with the euro eventually settling above 3-⅕ month lows against the US dollar. It comes ahead of major data on the eurozone sectors later today, which would shed important light on the health of the European economy in...
US dollar heads for fresh weekly profit
US dollar heads for fresh weekly profit
Oct 26, 2024
The US dollar rose in European trade on Friday against a basket of major rivals, resuming gains after a short hiatus, and approaching three-month highs once more. The gains come amid a surge in US 10-year treasury yields after bullish remarks from some Fed officials, and strong US data, which hurt the odds of an aggressive pace for US interest...
Yen skids to three-month trough as Japanese governing coalition loses majority
Yen skids to three-month trough as Japanese governing coalition loses majority
Oct 28, 2024
The Japanese yen skidded in Asian trade on Monday to three-month lows against the US dollar, after the election loss by the current Japanese parliamentary governing coalition, which could impede future interest rate hikes by the Bank of Japan. The yen is also pressured by a surge in US 10-year treasury yields, amid speculation about a cautious stance by the...
Copyright 2023-2025 - www.financetom.com All Rights Reserved