Kadia Lending: Borrow and Repay
Borrow
Section titled “Borrow”A loan borrows one pool’s asset against one collateral. Each pool accepts a fixed list of collaterals. A loan’s collateral is set when you open it; another collateral, or a second loan on the same one, is another loan.
- How much: up to your collateral’s maximum LTV (see loan health). New loans use a cautious price: your collateral at its lowest recent confirmed price, and the borrowed asset at its highest.
- Limits: a minimum loan, a minimum collateral, what the pool holds in cash, a debt ceiling per collateral, a ceiling for the bridged coins together, and the borrowing cap.
- A deposit for token collateral. A loan against a token carries an ERG deposit, 1.5 ERG on testnet, which comes back whenever the loan closes, whether you repay it or it’s liquidated. A loan against ERG needs none.
- Interest needs no action. Your debt grows block by block with the pool’s rate; see rates.
- Anyone may Repay a loan, part or all. Repaying more than you owe pays only what you owe.
- Priced cautiously, like Supply: at the 5-block window’s worse end for you. A Repay worth more than 1% of the pool’s debt must land in its own block.
- Paid off means closed. When the debt reaches zero, the loan closes and all the collateral goes back to the owner, never to whoever repaid. A token loan’s deposit comes back too.
- Always open. A pause never stops a Repay, and no price warning blocks it.
Collateral
Section titled “Collateral”- Adding collateral lowers your LTV. Only the loan’s owner can add collateral: outside a pool transaction, a loan can only gain collateral, and only with a box of its owner’s as an input.
- Removing collateral is the owner’s only, and must leave at least the minimum collateral and an LTV within the maximum. It waits while a price feed is out of date or flagged, and while the pool is paused.
Testnet collaterals
Section titled “Testnet collaterals”| Pool | Collateral | Maximum LTV | Liquidation threshold |
|---|---|---|---|
| tUSE | ERG | 70% | 80% |
| tUSE | tBTC, tETH, tADA, tDOGE, tBNB | 60% | 70% |
| ERG | tUSE | 60% | 70% |
| ERG | tBTC, tETH, tADA, tDOGE, tBNB | 60% | 70% |
| tBTC, tADA | tUSE | 60% | 70% |
| tBTC, tADA | ERG | 60% | 70% |
Every collateral entry, ceiling and minimum deployed on testnet is in the testnet lending record.
Pools that would lend tETH, tDOGE and tBNB aren’t deployed on testnet yet. They’re planned to open later, by a release. The tUSE and ERG pools already accept those coins as collateral.
USE collateral is held lower, on both networks: 60% and 70%, with a debt ceiling within 5% of its pool’s deposit cap, because a fast fall in USE could outrun a liquidation. Every other mainnet figure is planned, and fixed only when the mainnet configuration is locked.
Technical details
Source: kadia-lending main at commit a7bea30 (a7bea306537ae4ca4fb2a5ad1c4ff473127099eb, with the final review’s fixes): docs/specs/economic-model-v1.md (EM v1), the prototype’s docs/specs/economic-model.md (EM) for what v1 keeps, and testnet relaunch 2’s launch manifest for the testnet figures: its config, sha256 8f18494e… (8f18494ec1c6d4d44529e53025ac55e28ff1c4a5a8288144a736b6df604a8e9f), from kadia-lending deploy/v1-relaunch2 at 59f43eb, as the lending app pins it.