Skip to content

Kadia Lending: borrow against LP tokens

The LP market lets you Borrow tUSE against Kadia DEX ERG/tUSE LP tokens: the tokens you get for adding liquidity on Kadia DEX. It’s a separate market, with its own page beside the lending pools.

  • At the pool’s fair value, not the DEX’s spot price. Your LP is worth its share of the pool’s reserves, valued at Kadia’s oracle ERG price. A trade in the pool can’t push that value up for a moment, then borrow against it.
  • LP moves more slowly than ERG. An ERG/tUSE LP token holds both assets, so its value moves with roughly the square root of a change in the ERG price. A 10% rise in ERG raises it by about 4.9%.
  • The ERG price must be fresh: at most 30 blocks old.
Maximum LTV 80%: the most a new loan, or a withdrawal of LP, can reach
Liquidation threshold 85%: a 5-point cushion above the maximum
Loan deposit 2.7 ERG of yours, held in each loan and returned when it closes
  • Market room. The whole market has a debt ceiling, at most half of the DEX pool’s tUSE, and a borrow allowance per window, as the borrowing cap does for the lending pools.
  • A concentration cap for the whole market: all the LP posted as collateral, by everyone together, is at most 40% of the pool’s LP. It’s market-wide, not a limit per person.
  • Adding collateral is a Repay with LP added. There’s no separate top-up.
  • An idle loan and storage rent. A loan’s ERG deposit is what storage fees would take if a loan sat untouched for years. After 3.5 idle years the app warns you, and offers a small top-up: a Repay of one base unit, or adding LP.
  • A price warning pauses new loans, but Repay and adding LP stay open, and liquidations go on at the confirmed price. This is normal, not an error.
  • On an out-of-date price, or during the feed’s observation period, liquidations stop too, and resume at the next fresh confirmed value.
  • If the DEX announces a market upgrade, the LP market follows it with a release of its own (the DEX’s own notice is separate). From that LP release’s announcement until 12,960 blocks after it (a notice of 10,080 plus a window of 2,880), new LP risk pauses: Supply, Borrow and withdrawing LP. Repay, liquidation and pre-liquidation are never paused by it, and lenders’ withdrawals stay open in every mode.
  • Governance. On testnet the LP market has its own pause boxes, shown in the governance app as “LP market governance”.
  • You lose LP tokens, not ERG. At or past 85%, a liquidator repays part of your debt and takes LP tokens worth that plus a bonus: 6% to 13% on testnet, rising with how far past 85% the loan is, and at its most when the collateral is worthless. The liquidator turns the LP back into ERG and tUSE later, which is why the bonus is higher than in the lending pools.
  • Pre-liquidation, if you chose it when you borrowed, takes a smaller step first, at a bonus you set below 6%. See pre-liquidation.
  • The price used is the feed’s confirmed ERG price, while it’s fresh.
  • A close takes all your LP and returns your 2.7 ERG deposit. If the LP doesn’t cover the debt, the rest is bad debt: the reserve absorbs it first, then the lenders.

See also loan health, liquidation and risks.

Technical details

Sources: kadia-lending main at f85e2d4 (f85e2d49237bb15b881f9115e9055c7dfba47818): the LP market’s contracts crates/kadia-contracts/contracts/lp_value.es and borrow_lp.es, and docs/specs/economic-model-v1.md (EM v1); and kadia-web design/REQUIREMENTS.md, “LP market” (kadia-lending-lp’s figures, #367). Checked by kadia-lending-lp.