myelin
Robinhood Chain
05 Where the share goes

Treasury

Part of every fee (10%) goes to a Treasury that has no owner. Anyone can make it spend a slice of what it holds on MYELIN and burn what it gets. This page shows what it holds, what has been burned and every call.

Opens at launch. The Treasury and the project token go live on Robinhood Chain at launch; from then on every figure below is read from the chain.

Held · first currency
—
claims on the PoolManager
Held · second currency
—
claims on the PoolManager
Burned by the Treasury
—MYELIN
bought with the share, then burned
MYELIN supply
—MYELIN
fixed supply, burnable
Fig. 6 · The loop

From a swap to a burn

Three steps, no one in the middle. Each one is a transaction you can open in the explorer.

  1. A swap pays its fee. The hook takes 10% of it and mints that to the Treasury inside the same call, as ERC-6909 claims on the PoolManager. The hook itself keeps nothing.
  2. Anyone calls buybackAndBurn(currency) on the Treasury. It spends at most 5% of its claims in that currency, once per 1 h, on MYELIN in a plain pool that has no hook. Nothing calls it by itself: anyone can, from a terminal (below), and a keeper script in the repository does it on a timer.
  3. What it receives is burned in the same transaction. The supply goes down and the call is logged below.
Table · Buyback calls

Every buyback and burn

Newest first. One row per call of buybackAndBurn.

No buybacks yet: the Treasury opens at launch.

What it can and cannot do

Read from the contract. There is no owner to ask.

Owner
None. No admin key, no upgrade, and no function that pays a person.
What can leave it
Claims spent in a swap for MYELIN, and that token, which is burned. Claims in a currency that has no buyback pool cannot be spent at all, so the hook refuses to open a pool with a currency the Treasury cannot spend.
Limits per call
At most 5% of its claims in that currency, one call per currency per 1 h.
The share is a choice, not a finding
10% was chosen, not measured. The backtest does not show that liquidity providers get it back in a better fee: at the backtest’s headline setting the part of the fee they could give away and still match the better of a static fee and a plain rule is 9% at most, and none in one of the four pools.
The token
The Treasury buys back and burns the token it was deployed with, and nothing else. The docs say what that does and does not mean.

Make it burn from a terminal

You need Foundry’s `cast` and a little ETH for gas. Nothing here depends on this website. Anyone can make a call; the Treasury pays the caller nothing and the caller risks only the gas.

1. What the Treasury holds in a currency
cast call <treasury address> "claimsOf(address)(uint256)" <currency address> --rpc-url https://rpc.mainnet.chain.robinhood.com
2. Spend a slice of it and burn what it buys
cast send <treasury address> "buybackAndBurn(address)" <currency address> --rpc-url https://rpc.mainnet.chain.robinhood.com --private-key $PRIVATE_KEY