// Get references to the pop-up container and close button // Function to calculate the difference in days between two timestamps // Function to show or hide the popup based on visit history and closing action // Check if the popup has been closed before const popupClosed = localStorage.getItem('popupClosed'); // Boolean value stored as string // If the popup hasn't been closed, show it immediately popupContainer.style.display = 'flex'; // Show the pop-up sliderAdvertisement.style.display = 'none'; // Hide the slider while the pop-up is shown }, 5000); // Show after 5 seconds // Now apply the timing logic after the user has closed the popup // Calculate the days since the popup was last shown let showPopup = false; // Flag to track whether we should show the popup // Determine if the popup should be shown: // - First time visit (no lastShown value) // - Shown once per day for 3 days // - After 3 days, show every 3 days popupData.lastShown === null || // First time visitor (popupData.timesShown < 3 && daysSinceLastShown >= 1) || // Show once a day for first 3 days (popupData.timesShown >= 3 && daysSinceLastShown >= 3) // Show once every 3 days afterward showPopup = true; // The popup should be shown // Show the popup after 5 seconds popupContainer.style.display = 'flex'; // Show the pop-up sliderAdvertisement.style.display = 'none'; // Hide the slider while the pop-up is shown // Update popupData and store it // Show the slider if the popup is not shown // Ensure elements exist before using them // Call the function to handle popup display logic // Add click event listener to the close button popupContainer.style.display = 'none'; // Hide the pop-up sliderAdvertisement.style.display = 'flex'; // Show the slider advertisement when pop-up is closed localStorage.setItem('popupClosed', true); // Set popup as closed in localStorage // Reset timing logic after the popup is closed timesShown: 0 // Reset counter for daily/3-day logic

What is TVL in DeFi? Why is it important?

What is TVL in DeFi Why is it important

Share:

Maximize Gains, Minimize Effort – Only on CrowdSwap DEX

Seamless Swaps, Crosschain Transactions, and Exciting Opportunities.

What is TVL in DeFi Why is it important
Table of Contents

Share:

Total Value Locked (TVL) is the value of assets locked in a DeFi protocol in the form of staking, yield farming and loan collaterals. TVL has been a yardstick for measuring how usable and popular the entire DeFi ecosystem or a particular project is. In addition, it can be used as a signal for the overall DeFi market conditions. In this article, we discuss what TVL is, why is it important and how to check this useful indicator.

What is TVL?

Let’s begin by noting that the decentralized finance (DeFi) ecosystem is based on the blockchain network, where there is no central authority. This means the contributors (or stakeholders, if you will) who run the system are in a decentralized network. To have an up-and-running decentralized financial system, the contributors put (lock) their assets in a liquidity pool. The liquidity pool can include amounts that are staked, farmed or put as loan collateral. TVL measures the total value of these locked assets. 

But how is TVL calculated? It is a pretty straightforward mathematical procedure. The amount of TVL is calculated by multiplying the assets locked as collateral in an ecosystem by the current price of the assets. Simply put, we can say:

Total Value Locked = invested assets * the assets’ price.

Here, the key parameter to look for is that TVL depends on the transaction fees of the Ethereum network. The reason is that DeFi is, in essence, built on the Ethereum platform, and the transfer fees of DeFi tokens are paid with the help of the Ethereum network. However, the critical point is that there is a negative correlation between Ethereum network fees and TVL. This means that when the world’s second-biggest cryptocurrency transaction fees increase, the total value locked decreases.

In addition, the overall market conditions and the first coin of the cryptocurrency market, i.e., Bitcoin, also impact TVL. When you stake your tokens, based on the contract that you have signed, you cannot access your tokens for a while. So if the market conditions are bad, fewer investors will want to lock their tokens because they believe their value will decrease if their assets are locked somewhere. Nonetheless, long-term investors still see staking and yield farming as one of their viable options during a bear market.

Why is TVL important?

As DeFi grows in interest amongst investors, new projects are introduced daily. With so many new projects coming into existence, hearing about scam projects is not surprising. One needs to check some indicators to ensure a project is trustworthy and healthy. Market capitalization and the volume of trade can be good indicators to look into before investing in a DeFi project. But TVL is another factor that has a special meaning in the world of DeFi. The higher the TVL, the more reliable and healthier project. In addition, it can be used as a signal for the overall DeFi market conditions.

In addition, some investors use TVL to see if the project they intend to invest in is overvalued or undervalued. This can be done by calculating the TVL ratio. Three factors are critical for calculating the TVL ratio: 

  • project’s supply
  • maximum circulating supply
  • current price

To get the TVL ratio of a DeFi project, do the following two steps:

  1. Multiply the project’s supply by its current price. This gives you the total market capitalization of that project.
  2. Divide the market cap by the maximum circulating supply.

If the resulting figure is below 1, the project is undervalued and thus attractive to investors. But if it is above 1, it probably is overvalued and less attractive for investment. 

Trade Effortlessly

Ready to dive deeper? Our crypto exchange is simple and user-friendly, making trading a breeze

Conclusion

TVL is the value of total assets that are locked in the world of DeFi. TVL can act as a benchmark for the overall conditions of the DeFi ecosystem and individual projects. In addition, TVL is a reference measure for the usage, value and credibility of a DeFi protocol.

Get Ahead of the Curve – Subscribe for CrowdSwap Updates & Offers!

Join our newsletter to get the latest news, trading tips, and special offers straight to your inbox!

CrowdSwap Newsletter

Ready to Supercharge Your Financial Knowledge?

Drop your email, and we'll deliver the Ultimate DeFi Guide straight to your inbox! 🚀