gBERA by Smilee Finance
  • Smilee on Berachain
  • Audit Reports
  • Token Assets
  • System Architecture
    • Contracts
      • Addresses
      • Asset Management
      • Smilee Validator
    • Workflows
      • Operational Workflows
      • Risk Management
  • Smart Contract Events
    • wgBERA Events
    • gBERAAssetManager Events
    • NodeFeeReceiver Events
    • NodeRegistry Events
    • NodeWithdrawalVault Events
    • WithdrawalQueue Events
Powered by GitBook
On this page
  1. System Architecture
  2. Contracts

Smilee Validator

The staking mechanism starts with the protocol's Node Registry contract: the registry maintains a whitelist of active validators, tracks stake allocations, enforces validator BERA staking limits and manages node activation via deposit on the Consensus Layer deposit contract.

Validators are created and managed through the NodeRegistry, with each validator identified by a unique BLS public key and signature. Staking begins when the protocol's owner deposits $BERA into a validator, tracked internally as a stake amount. To prevent under and over-allocation, the NodeRegistry enforces an allocation limit for each validator, adjustable by the owner.

The protocol monitors validator activity and stake amounts can be dynamically increased or decreased by the manager or owner using governance functions. Deallocation or withdrawal requests reduce the validator's stake and the overall deposits, tracked via an unstaking queue, and eventually shutting down validators when needed.

PreviousAsset ManagementNextWorkflows

Last updated 17 days ago

Page cover image