What Zatvoon is
Zatvoon is a design for on-chain credit on Ethereum. It is a set of lending markets, each one separate from the others, in which people lend one asset and borrow it against another.
Two ideas carry the design. The first is that a market’s terms are fixed when it is created and can never be changed afterwards: its price source (oracle), its interest rate curve (interest rate model), and its borrowing and liquidation limits (loan-to-value limits). The second is that interest already earned in a market can be put to work outside it, under a limit that is visible in advance.
isolated market
A market
one lent asset, one collateral asset
terms, set at creation
- oracle: immutable
- interest rate model: immutable
- loan-to-value limits: immutable
deposits are never sent out
party
Lenders
- deposit, from lenders into the market
- withdraw, from the market to lenders
party
Borrowers
- post collateral, from borrowers into the market
- repay, from borrowers into the market
- borrow, from the market to borrowers
oracle
Price source
missing or too old: borrowing and liquidation wait
The cap
readable in advance
outside the market
Outside venue
party, linked to the outside venue
Strategist
- posts own collateral
- never holds the funds
another market
nothing crosses between it and this market
another market
nothing crosses between it and this market
Nothing described here is deployed. This page describes an intended design.
Design invariants
These are the properties the design is written to keep, at the design stage, with nothing deployed. Each has a number, so it can be cited, and each points to the section that describes it.
- INV-1
A loss in one market stays in that market.
Section 3: Isolated markets - INV-2
A market’s price source, interest rate curve and borrowing and liquidation limits never change after it is created.
Section 4: What cannot be changed - INV-3
Nobody can pause a market’s withdrawals.
Section 4: What cannot be changed - INV-4
Deposits are never sent outside the market.
Section 6: Interest put to work - INV-5
The amount working outside a market never exceeds its cap, and the cap can be read in advance.
Section 6: Interest put to work - INV-6
While a price is missing or too old, borrowing and liquidation wait. Deposits, lender withdrawals and repayments continue.
Section 5: When a price goes stale
Isolated markets
A market pairs one asset that is lent with one asset that is posted as collateral. Lenders deposit the first. Borrowers post the second and borrow against it.
Each market keeps its own books. What happens in one market does not reach into another: a loss in one market falls on that market and stays there.
- A
- The asset that is lent.
- B
- The asset posted as collateral.
- C
- Another market, with its own pair and its own books.
Creating a market does not mean anyone has reviewed it. A market is only as sound as the terms it was created with.
What cannot be changed
Whoever creates a market chooses its terms at that moment:
Price source
Also called: oracle
Where the market reads its prices from.
immutable
Interest rate curve
Also called: interest rate model
How the borrowing rate responds to demand.
immutable
Borrowing and liquidation limits
Also called: loan-to-value limits
How much can be borrowed against collateral, and when a position can be liquidated.
immutable
After creation nobody can change these terms. There is no role, key or vote that can rewrite a live market, and nobody can pause its withdrawals.
To use different terms, someone creates a new market. People who want the new terms move to it. The old market keeps the terms its lenders accepted.
One limit is worth stating plainly. A withdrawal needs cash to be in the market. If most of a market is lent out, lenders may have to wait for borrowers to repay. Rules that cannot be changed cannot create liquidity.
When a price goes stale
Borrowing and liquidation depend on a price. Price feeds sometimes stop, often for routine reasons.
When a market’s price is missing or too old, the actions that need a price wait until a fresh one arrives. The actions that do not need a price carry on:
With a price that is missing or too old, borrowing and liquidation wait. Deposits, lender withdrawals and repayments continue.
| Action | Needs a price | With this price |
|---|---|---|
| Deposits | no | continues |
| Lender withdrawals | no | continues |
| Repayments | no | continues |
| Borrowing | yes | waitscontinues |
| Liquidation | yes | waitscontinues |
The purpose is narrow. A dead feed should make a market stop doing what it cannot do safely, not open it to abuse. It is not a safety guarantee. A price can be live and still be wrong, and nothing here prevents a market from being created on a poor price source.
Interest put to work
Borrowers pay interest continuously. In the design, interest that has already been earned can be put to work in venues outside the market, to earn more than it would sitting still. What it earns goes back to lenders.
Three limits apply:
- exposure
- Where nothing is sent out, there is no outside exposure.
The benefit is small. It is a modest improvement, not a reason to chase a number.
Who runs a strategy
Putting interest to work outside means someone runs a strategy. The design constrains that person:
- A strategist must
Post their own collateral.
It takes losses first, and it can be withdrawn only after a notice period.
Keep a separate reserve for routine costs.
Ordinary expenses are not taken from the loss cover.
- A strategist cannot
Hold the funds.
The money stays in accounts the protocol controls, so there is nothing to walk away with.
Report their own results.
Results are measured by the protocol from its own position, not taken from a figure the strategist reports.
The risk, plainly
Putting interest to work outside a market adds risk. An outside venue can fail. A strategist’s collateral can be smaller than a loss. Nothing on this site promises otherwise.
What can be said accurately is limited: the amount exposed outside is capped at a figure that can be read in advance, and where nothing is sent out there is no outside exposure.
Separately, lending itself carries risk. If a borrower’s collateral does not cover a loan, the loss falls on the lenders of that market.
How a loss from an outside strategy is shared among lenders is one of the questions not yet settled. It is not described here.
What is not on this page
Some parts of the design are still being argued by the people building it. They are deliberately left off this page until they are settled:
- How markets are selected on behalf of depositors who do not want to choose their own.
- not settled
- How a loss from an outside strategy is shared among lenders, once the strategist’s collateral is used up.
- not settled
- Any performance figure. None has been measured, so none is shown.
- not measured