The Staking Manager is the primary contract for validator-related activities in Shibarium, including stake management, reward distribution, and signature verification. All proof verification and staking operations are executed on Ethereum, while computation-heavy tasks are handled on L2.

Roles in Staking

  • Validator: Stakes BONE, validates blocks, can accept delegation.
  • Delegator: Delegates BONE to validators for a share of rewards.
  • Watcher: Reports fraud.
A single Ethereum address can only be a validator or a delegator, not both.

Key Concepts

  • NFT Ownership: Each stake mints a unique NFT (ERC721) representing validator ownership. Ownership changes do not impact system integrity.
  • Validator Threshold: Maximum number of validators (slots) allowed.
  • AccountStateRoot: Used for accounting and reward claims; submitted with each checkpoint.

Staking Functions

Notes & Additional Info

  • NFT is standard ERC721 with restrictions (one per user, sequential minting).
  • jail, unJail, and slash functions are not currently used.
  • Some mechanisms are inspired by Polygon’s open-source design.