Token

OFFRECORD is the Ring’s token. This is what a developer needs from it.

Ticker

FieldValue
TickerOFFRECORD

The exit fee and the fee vault

The exit fee is taken on every withdrawal, in the asset withdrawn, and collects in the fee vault.

The vault’s balance per asset is public and comes with the Ring’s state:

TypeScript
const { feeVault } = await offrecord.ring()

for (const { asset, amount } of feeVault.balances) {
  console.log(asset.symbol, amount)
}

The Ring program covers how the program enforces the fee.

The full telling

Token tells OFFRECORD in full: its supply, how it launched, what the exit fee is spent on and what the fee vault holds now.