The PERMAFROST Vault
The PERMAFROST vault holds liquidity for the BTCUSD pool, the frBTC/frUSD market. What you hold in return is cBTCUSD, a token that is your share of everything in the vault.
Half the value behind cBTCUSD is BTC and half is dollars, because that is what the pool's LP token is made of. The vault never lends it out or trades it: it holds the LP, collects what the LP earns, and pays its pot to the holders.
Depositing
Open the vault and use the Deposit tab. Choose what to pay with:
| Pay with | What happens | Signatures |
|---|---|---|
| BTC (Zap BTC) | Your BTC becomes pool LP, then that LP is deposited for cBTCUSD | Two transactions, signed together |
| frBTC | The same, starting from frBTC | Two transactions, signed together |
| LP | Your BTC/USD LP (4:1778) goes straight into the vault | One |
| frBTC + frUSD | Both coins go into the pool first; then you deposit the LP it mints | One for the pool, then one for the vault |
Before you sign, the card shows the cBTCUSD you will receive and the LP and dollar value behind it.
If the pool's BTC price has drifted away from the market price, the card says so, shows how much less value the deposit would get, and asks you to tick a box before you can continue. Depositing BTC into a pool that is off the market means buying the pool's mispriced side, so read that figure before you go ahead.
A BTC deposit is two transactions. If the first confirms and the second does not, your BTC has become LP and is safe in your wallet, just not in the vault yet. Finish with Pay with LP. Do not deposit the BTC again.
Each transaction confirms with a Bitcoin block, about 10 minutes. You can leave the page while it does.
What cBTCUSD earns
Pool fees. Every swap through the BTC/USD pool pays the pool's liquidity providers, and the vault is one of them. Providers keep roughly 0.1% to 0.4% of the volume; the fee moves with how balanced each trade leaves the pool (details). The fees stay in the vault's LP, so each cBTCUSD is backed by a little more LP over time. Nothing to claim.
The pot. When someone withdraws, 4% of the LP they take out drops into the vault's pot. About once a day (every 144 blocks) the pot releases 1/365 of what it holds back into the vault, for everyone still in it, by share. A large exit therefore pays the holders who stay for a long time after it.
Neither of these needs a farm. A farm adds FUEL points on top; see Farms.
Withdrawing
Use the Withdraw tab and enter the cBTCUSD to withdraw. There is no lock, so you can do this any block.
- You receive LP, not BTC. To get frBTC and frUSD back, remove the LP on the Liquidity page, and unwrap frBTC if you want native BTC.
- The exit tithe is 5% of the LP you take out: 4% goes to the pot for the holders who stay, and 1% to the protocol. On a $10,000 withdrawal that is $500, of which $400 goes to the pot.
- cBTCUSD that is in a farm cannot be withdrawn directly. Redeem the farm first on the Farm tab, which ends that farm's preseason points (see Farms).
Risks
| Risk | What it means for you |
|---|---|
| Leaving costs 5% | Short stays rarely make back the exit tithe. Treat the vault as a long position |
| Half is dollars | If BTC rises, you gain less than you would holding BTC alone |
| Impermanent loss | The LP rebalances as the price moves, so it can end up worth less than holding BTC and dollars apart |
| Pool price | Depositing while the pool is off the market price gets less value; the app warns you first |
| Smart contract risk | As with any onchain protocol, deposit only what you are comfortable with |
| Bonded FIRE is spent | FIRE you bond to a farm goes to the protocol and never comes back |
Contracts
| Piece | Alkane |
|---|---|
| PERMAFROST vault (mints cBTCUSD) | 4:365 |
| BTC/USD pool, also its LP token | 4:1778 |
| Farm template (every farm is an instance of it) | 4:367 |
| Bonded FIRE sink | 4:368 |
| frBTC | 32:0 |
| frUSD | 4:1776 |