CHAIN connecting…

Leverage and lending: borrow to trade, or lend and earn interest

Lend DZY or a token to a pool's vault and earn interest, or borrow to go long or short up to 3x. Rules the same for everyone, set by each pool's size.

Borrowing to trade can lose you everything you put in. Read this page before you try it.

Every pool on Dznye can have two vaults. People lend to them and earn interest. Others borrow from them to trade with up to three times their own money. The rules are part of the chain, the same for everyone; nobody approves anyone.

Lending

Borrowing to trade

When a position is closed for you

Once a position holds less than 110% of what it owes, anyone may close it, and they get a reward of at most 5% of its margin. Whatever is left after the loan goes back to its owner.

Both the 30-minute average price and the price now must show it under 110%. A price pushed for a moment cannot close anyone's position; a fall that lasts can.

Limits that protect lenders

For developers

GET /margin lists the limits, every vault, and every open position with its health. The kit has lend, unlend, openPosition, addToPosition, closePosition and liquidate. Watching /margin and closing unhealthy positions for the reward is open to anyone. See the developer kit and pools and instant swaps.