State
The unstructured storage slots used by each protocol contract
The protocol stores its state in explicitly-addressed storage slots rather than sequentially-declared variables. Each slot is derived from a namespaced string — for example river.state.balanceToDeposit — via LibUnstructuredStorage.
This pattern is what makes the contracts safely upgradeable: because slots are addressed by name rather than declaration order, a new implementation can add state without risking collision with existing storage.
Pages are grouped by the contract that owns the slot — River, OperatorsRegistry, Oracle, RedeemManager, AllowList, TLC, WLSETH, SlashingCoverage — plus Shared for slots common to several contracts.
Some slots exist in more than one version (for example OperatorsV1 and OperatorsV2). Where that happens, the older version is retained only because migration logic still references it; the current layout is the highest-numbered one.
Last updated