Skip to main content
Skip to the site menu

SKY / ZAI

Withdrawal model

When liquidity providers leave, how much debt can the nodes repay? Change the size of the withdrawal and the sale to follow every SKY.

Download Python model

Set the shock

The pool opens with 1 ZAI and 1 SKY. Liquidity providers withdraw first. A holder then tries to sell ZAI into the remaining pool.

75%
0.20 ZAI

Debt repaid by nodes

0.1321 SKY

Nodes inherit the liquidated loans and sell the seized ZAI together into the remaining pool.

Loans liquidated
15 / 15
Collateral seized
8.50 ZAI
Debt assumed by nodes
3.5000 SKY
Node debt remaining
3.3679 SKY
Debt still with borrowers
0.0000 SKY
Price after the holder’s sale
0.3091 SKY/ZAI

Who holds the SKY?

These balances account for all 3.50 SKY immediately before the nodes sell collateral. SKY held outside the pool is available for repayment only if its holder gives it up.

Service provider
2.5000 SKY
Liquidity providers’ wallets
0.7500 SKY
ZAI seller
0.1109 SKY
Remaining in the pool
0.1391 SKY

Four ways to change the outcome

These four experiments use the reference shock of 75% withdrawn and 0.20 ZAI offered. Each tests a different change to the rules or to buyers’ behaviour.

Exchange seized ZAI for SKY

At the original buyers’ valuation nobody takes the offer. Buyers with a higher holding value split their purchases between the pool and the nodes.

Nodes offer 2.4286 ZAI per SKY. Seven buyers together can spend 0.40 SKY. Their assumed limits are 0.256 or 0.50 SKY per ZAI. Full retirement would require every holder to tender, including the remaining liquidity providers.

Repaid at the original limit
0 SKY
Repaid at the higher limit
0.3787 SKY
Spent at the pool at the higher limit
0.0213 SKY
Limit new credit to market depth

Keeping the seed loans exhausts the lending allowance before any customer draw. Applying the same rule at inception also blocks the seed loans.

The sensitivity caps the entire loan book at half the proceeds available within a 2% drop in the marginal bid, including the fee. The only pool is funded with borrowed SKY. Independent outside bids would require separate evidence.

Opening loan ceiling
0.0043 SKY
Customer borrowing declined
2.5 SKY
Seed debt remaining
0.8822 SKY
Earn SKY by selling computation

Nodes can retire the debt in month 12 when customers prefer the service and holders sell enough SKY. Leaving the pool intact keeps part of the debt outstanding.

Customers can buy 0.40 divisible jobs per month at one SKY per job. SKY costs one outside unit, the alternative service costs 1.25 units per job and operating inputs cost 0.25. Full retirement also requires the remaining LPs to withdraw and sell.

Margin per job
0.75 SKY
Work delivered to clear the debt
4.6667 jobs
Debt remaining if LPs stay
0.1391 SKY
Collect the idle-capital charge in SKY

A SKY invoice creates demand for SKY, but many holders cannot pay it. Only the portion operators receive and choose to burn reduces their debt.

One month of charges is fixed at the pre-invoice spot. Each payer can sell up to its assessed ZAI. In the separate withdrawal-only case those sales push all fifteen loans into liquidation.

Billed
0.4445 SKY
Unpaid
0.3242 SKY
Repaid by operators
0.012 SKY
Liquidations in withdrawal-only case
15 loans

Reproduce the model

The simulation starts with 100 ZAI, 100 participants and ten nodes. Borrowers can pledge ZAI, mint SKY and buy more ZAI. Short sellers borrow existing ZAI against SKY. A liquidation transfers both collateral and debt to the nodes.

In this withdrawal experiment, five seed loans supply the pool and ten borrowers spend 2.50 SKY with one service provider. The pool charges 0.30% per swap. Liquidation starts when debt reaches 99% of the collateral’s value. No time elapses for interest to accrue.

To change the agents, interest or settlement rules, download the source and tests. Unzip the folder and run the following with Python 3.10 or later.

python3 -B capital_liquidity_stress.py
python3 -B -m unittest discover -q

Research simulation · 21 November 2026 · Model revision b9f946fb6

Context: SKY and ZAI withdrawal model.

Skyzai, close at hand.

Keep this website on your home screen and read saved pages offline. The connected app at skyzai.com is still in development.

On iPhone or iPad, open this site in Safari, choose Share → Add to Home Screen, then Open as Web App if offered. On Android or desktop, use your browser’s Install app or Add to Home screen menu when available.

Offline reading & privacy

Offline reading becomes available after the initial download. External sites are not saved. Your browser may evict saved pages.

Conversations and drafts are never saved by the offline cache. Reloading clears them. To remove downloaded pages, clear this website’s data in browser settings; uninstalling alone may not clear it.