Reference

Parameters

The settings fixed when Crest is configured, the ones each market sets, and their live values.

Live values#

Live values appear here once Crest is live on Solana mainnet. The tables below describe each one.

Crest settings#

Crest's settings live in one Config account. They are fixed when it is created and can't be changed afterwards.

SettingFieldWhat it does
Validator cohortcohortOne to eight validators, each a vote account and its tip distribution upload authority, in a fixed order.
OracleoracleSigns every posted checkpoint, attesting the stake.
ReviewerreviewerA second key that must also sign every posted checkpoint.
Dispute authoritydispute_authorityRules on challenges. It must differ from the oracle and the reviewer.
Challenge windowchallenge_slotsHow many slots after a post anyone can challenge. Shorter than the delay limit.
Proposal bondproposal_bond_lamportsPaid by whoever posts a checkpoint, returned at finality or an upheld ruling, lost to a successful challenger.
Challenge bondchallenge_bond_lamportsPaid by a challenger, returned with the proposal bond if the value is rejected, lost to the proposer if it is upheld.
Rate ceilingmax_rate_ppbThe highest cap any market may set.
Liquidation reserveliquidation_reserve_lamportsPart of every deposit. Paid to whoever settles a position that falls under margin.
Delay limitmax_checkpoint_delay_epochsOne to ten. How many epochs after an epoch its checkpoint can still be posted, ruled on or finalized.
Stake mintstake_mintThe CREST mint every proposal stake is paid in. It has no freeze authority.
Proposal stakeproposal_stakeCREST locked behind every post. Returned at finality, at an upheld ruling or at expiry, paid to the challenger if the value is rejected.

Market settings#

SettingFieldLimits
Epochsstart_epoch, end_epochStarts in a future epoch; one to ten epochs long.
Ticktick_ppbAbove zero. Fixed rates are whole multiples of it.
Caprate_cap_ppbAbove zero, a whole number of ticks, at or below the rate ceiling.

Units#

QuantityUnitShown in the app as
Ratesppb per epochPercent per epoch. 10,000,000 ppb is 1%.
AmountslamportsSOL. 1,000,000,000 lamports is 1 SOL.
Timeepochs and slotsEpochs, with time estimated from recent slot times.