Skip to content
Logo

Vaults

A metal vault door with green lighting reflected on a dark surface.

A block's vault holds its backing: the money behind its token. Holders redeem tokens for their share of it at any time.

In short

  • The vault holds BUX plus any other tokens the block's admin has chosen to keep.
  • The floor is the backing behind each token.
  • Redeeming burns your tokens and pays your share. There is no fee and no pause.
  • Booked backing leaves the vault only through redemption. No admin, Policy or Safe can move it.

The floor

The floor is the backing behind each token: booked backing divided by the tokens in existence. It is what a holder receives per token on redemption.

  • revenue adds to backing and raises the floor
  • a redemption removes backing and tokens in the same proportion, so the floor does not fall
  • BUX backing leaves the vault only through redemption
  • backing held in other tokens can fall if that token loses value

The market price of a block's token can sit above the floor and can fall towards it. The floor is a fact about the vault, not a promise about the price.

Redeeming

You can redeem any number of tokens you hold. The vault first books any BUX that has arrived since the last booking, net of the work fee. Then your tokens are burned. You receive the same fraction of the BUX backing as your tokens were of the supply before the burn. Any other tokens the vault keeps are credited to you in the same proportion, to withdraw separately.

Redeeming has no fee and cannot be paused.

Worked example

Say a block has 100,000 BUX of booked backing and 1 billion tokens exist. The floor is 100 BUX per million tokens.

You hold 5 million tokens, which is 0.5% of the supply. You redeem all of them:

  • your tokens are burned. 995 million remain
  • you receive 0.5% of 100,000 BUX, which is 500 BUX
  • backing falls to 99,500 BUX. Divided by 995 million tokens, the floor is still 100 BUX per million

Now someone sends 1,000 BUX straight to the vault and it is booked:

  • the vault pays 10 BUX (1%) to the protocol as the work fee
  • it books 990 BUX. Backing is now 100,490 BUX
  • the floor is 100,490 divided by 995 million, which is about 101 BUX per million tokens

How money is counted

Money reaches the vault from the block's Jar, from the block's market and from anyone who sends BUX to it directly. The vault counts new money only once it records it as backing, a step called booking. Anyone can trigger booking for any asset the vault accepts, and every redemption books pending BUX first. Other tokens the vault keeps are booked only when someone triggers it.

When the vault books new money, it pays the work fee (1% currently) to the protocol and records the rest as backing. Money that is already booked never pays the fee again.

Only BUX and tokens on the admin's retained list can be booked. For anything else, pay the Jar, which routes every kind of token.

Retained tokens

By default the vault keeps only BUX. The admin can add other tokens to the retained list, at launch or later. A retained token that reaches the Jar is pushed to the vault as it is, rather than sold for BUX.

  • any ERC-20 can be retained, up to 31 at a time alongside BUX
  • BUX cannot be removed from the list
  • the block's own token cannot be retained
  • removing a token from the list stops new receipts of it. Backing already booked stays until it is redeemed

What never happens

  • no admin, Safe or Policy can withdraw, redirect, migrate or pause what a vault holds
  • the vault has no owner, no rescue function and no sweep function
  • nothing creates block tokens against backing
  • the Safe cannot raise the work fee. It starts at 1% and can only be lowered

This protects the vault's balances. The dollars behind its BUX sit in BUX's reserve, which the Safe can move. Read Governance and safety.

For developers

  • Contract: BlockVault, one immutable clone per block launched through BlockFactory.
  • redeem(amount, to) books pending BUX, burns tokens and pays BUX at once. Extra assets are credited to a pull ledger; withdraw(asset, to) collects them.
  • sync(asset) books the balance above booked backing and reserved claims, less the work fee. Anyone can call it. Redemption syncs BUX only; retained assets need their own sync.
  • Reads promised never to break: backing(), backingAssets(), previewRedeem(amount), retained(), policy(), pendingPolicy(), claimable(account, asset), available(asset), reserved(asset).
  • Reads show booked balances only. BUX that has arrived but is not yet booked is not included.
  • setRetained(asset, enabled) is admin-only. MAX_BACKING_ASSETS is 32 including BUX.
  • Staking blocks have no BlockVault. Check isStakingBlock before calling these reads.

Next

  • Jars for how revenue reaches the vault
  • Policies for what can happen to new revenue before it becomes backing
  • BUX for the dollar the vault holds