module/staking-governance

Staking & Governance

Capability unlocks and protocol voting.

Stake tiers gate advanced runtimes. Governance surfaces proposals, quorum, and vote weight. Both share a single trust surface so users always know what their stake is doing.

State Logic

Reactive surfaces this module exposes to the runtime.

stakebigint

Active staked amount in base units.

tierenum

base | plus | pro | enterprise. Derived from stake.

proposalsProposal[]

Open governance items with quorum status.

voteWeightnumber

Computed from stake × lock duration.

Visual Variants

Allowed rendering modes. No ad-hoc styles outside this set.

stake.panel

Tier ladder and current position.

vote.panel

Proposal detail with weight.

tier.badge

Compact tier indicator.

quorum.meter

Progress toward quorum threshold.

Motion Tokens

Deterministic timing curves. No custom easing per component.

tokenvalueuse
stake.tier480ms springTier ladder advance.
vote.cast320ms ease-outVote commit pulse.
quorum.fill800ms ease-in-outMeter animation on update.

Isolation Rules

Hard boundaries enforced at the module edge.

01

Stake actions always route through wallet-layer tx.sheet.

02

Tier downgrades cannot revoke an in-flight agent run mid-execution.

03

Governance surfaces never show price. Only weight and quorum.

04

Voting requires the same chain as stake. No cross-chain shortcuts.

// end module /staking-governance