LogoLogo
Home Page
  • Get Started
    • What is Tren Finance?
      • LP Tokens
      • Money Market Deposits
      • Concentrated Liquidity Positions
      • PT Tokens
    • FAQ
  • TrenOS
    • What is TrenOS?
    • AI Agent Network
    • Learning & Data Processing
    • Agent Specialization
      • Interest Rate + Borrowing Fee Optimizer
      • XY
      • Asset Risk
      • Gauge
      • User Interaction
      • Market Sentiment
      • Yield Optimization
      • Proof of Liquidity
      • Collateral Manager
      • Liquidation Prediction
      • Ecosystem
    • Vector Databases & AI Knowledge Storage
    • TrenOS Architecture
    • Community-Driven AI Expansion
  • Protocol
    • Protocol Design & Risk Management
    • Isolated Modules
    • Liquidations
    • Asset Risk
      • Liquidity Risk
      • Oracle Risk
      • Security Risk
      • Centralisation Risk
    • Proof-of-Liquidity
    • Hooks
      • Looping Leverage
      • Rebase Token Wrapper
      • Auto-Rollover
      • Auto-Compounder
      • Router
    • FlashMint
    • Fees
    • Single Sided Liquidity (SSL)
    • Gauges
  • Tokens
    • XY
    • TREN & veTREN
  • Resources
    • Official Links
    • Security Audits
    • Contract Addresses
      • Withdrawing via Smart Contracts
    • Media Kit
Powered by GitBook
LogoLogo
On this page
  • Why is Proof-of-Liquidity Necessary?
  • How Does Proof-of-Liquidity Work?
  • Risk Management

Was this helpful?

  1. Protocol

Proof-of-Liquidity

Explaining Proof-of-Liquidity and how it helps risk management

PreviousCentralisation RiskNextHooks

Last updated 5 months ago

Was this helpful?

Proof-of-Liquidity is a mechanism for dynamically assessing by leveraging the of tokens, ensuring a more accurate and liquidatable asset valuation compared to traditional methods.

Why is Proof-of-Liquidity Necessary?

Proof-of-Liquidity is designed to prevent such scenarios. By dynamically assessing the underlying liquidity of collateral assets, the protocol can set more effective risk parameters, along with appropriate debt ceilings that are correlated with liquidatable liquidity.

How Does Proof-of-Liquidity Work?

X∗Y=K{X*Y}=KX∗Y=K

Let's say that asset Y was listed as a collateral asset on a lending protocol. Assets X and Y were initially pooled together with the same price and same quantity. As selling pressure on asset Y is increased, or buying pressure on asset X is increased, asset Y's supply increases compared to asset X. Buying pressure on asset X is not a problem, but continued selling pressure on asset Y is. As this happens, the liquidatable value of asset Y decreases. If this continues to happen, then there comes a point where there is not enough asset X liquidity, and asset Y becomes virtually unliquidatable.

Risk Management

Throughout the history of lending protocols in DeFi, there have been instances where users have been able to take out large loans with collateral in amounts that are effectively unliquidatable. This is because there is an insufficient amount of on-chain liquidity to absorb the liquidation of the collateral asset, and would cause significant leading to a highly unprofitable liquidation. In such a situation, the lending protocol is left hoping that the user can increase the loan position's health factor, or for external liquidators to step up and take on the collateral asset. If either of these scenarios do not happen, the protocol is left with a significant amount of .

The equation above is the , used by AMMs for liquidity pools, where X and Y are the quantities of two different tokens in a liquidity pool. As the value of one token decreases due to more people selling the token in the liquidity pool over the other token, its supply increases comparatively.

It's important for lending protocols to track such developments in an automated way. Otherwise, deposited collateral assets with high can become unliquidatable, leaving the protocol in bad debt.

Before any assets are listed as collateral on Tren Finance, a Proof-of-Liquidity check is conducted to assess the true liquidity of an . This is then used to help determine the risk parameters and the debt ceilings of isolated modules. Proof-of-Liquidity checks are dynamically conducted to manage asset risk.

Proof-of-Liquidity is an assessment that the protocol relies upon along with more standard forms of liquidity evaluation, as shown in the section. Liquidity and oracle risk management are particularly aided by dynamic Proof-of-Liquidity assessments. As this assessment shows the true underlying liquidity of an asset, the likelihood of the protocol facing bad debt is drastically reduced. Exploits using oracle manipulation are also made more difficult as the cost of a price exploit can be measured more accurately, and debt ceilings can be adjusted so that a potential would not be profitable.

Proof-of-Liquidity alleviates and

slippage
bad debt
Constant Product Formula
underlying asset
Asset Risk
oracle manipulation
Liquidity Risk
Oracle Risk
collateral value
underlying liquidity
quote price
debt ceilings
Page cover image