Skip to main content

MIRROR_BOND_STATES_MAX_LIMIT

Constant MIRROR_BOND_STATES_MAX_LIMIT 

Source
pub const MIRROR_BOND_STATES_MAX_LIMIT: u32 = COINS_BY_PARENT_MAX_LIMIT; // 1_000u32
Expand description

The largest page control.mirror.bondStates will return.

Pinned TO COINS_BY_PARENT_MAX_LIMIT rather than repeating its number, because it is bounded by the same arithmetic: a bond row carries a coin id and a handful of integers, so a page of bonds and a page of coins occupy the same order of envelope. Written as the constant so the two cannot drift into two different numbers that were only ever meant to be one.