Skip to content

x/staking — Staking module

The x/staking module is VirtEngine’s validator staking layer. It extends Cosmos SDK staking for VirtEngine’s needs: bonded stake weights consensus voting power under CometBFT, slashing applies to protocol misbehavior, and unbonding and reward parameters are governance-controlled.

VirtEngine validators can participate in both consensus and the VEID Network. Staking rewards remain but are proposed at roughly 90% lower than the prior model; compensation, commission and conditions are governed protocol parameters.

The base staking machinery — bonding tokens to validators, voting power, unbonding, and the standard validator lifecycle — is Cosmos SDK standard and is not redefined in this module. What x/staking adds on top of that base is the VirtEngine-specific surface: performance recording, reward epochs, VirtEngine slashing records, and validator signing info.

The practical split is this:

  • SDK-standard (not listed here): the Cosmos staking messages and queries that operate the global staking pool — delegating, unbonding, editing validator details, and the SDK’s own jailing mechanics.
  • This module’s own surface: the messages and queries below — recording validator performance, applying and lifting slashes, epoch and reward queries, signing info, and VirtEngine slash records.

Staking rewards operate under governed policy at the proposed conservative level — roughly 90% lower than the prior model — and validators may earn additional VEID identity-scoring rewards under the governed incentive policy.

Proof-of-stake security is only as strong as the incentive to bond. The extended staking module ties security funding to a self-balancing feedback loop, and compensates the identity-network work that makes VirtEngine’s validator role unique.

ConceptDefinition
Bonded stakeTokens locked to a validator, weighting its consensus vote and earning rewards.
Unbonding periodThe 21-day exit delay during which stake earns nothing and remains slashable.
Identity-led issuanceA proposed allocation for accounts meeting the network-defined unique-identity threshold and activity conditions.
  1. Bond — Stake bonds to validators. Directly or via delegation, tokens lock and weight consensus power under CometBFT.
  2. Validate — Duties execute. Consensus participation plus optional VEID identity scoring under the governed incentive policy.
  3. Reward — Issuance funds rewards. Reward schedules run under governed policy at the proposed conservative level — roughly 90% lower than the prior model.
  4. Exit — Unbond or redelegate. Twenty-one days to exit; redelegation moves weight between validators without a full unbonding cycle.
MessagePurpose
MsgRecordPerformanceRecords a validator’s performance data for reward accounting.
MsgSlashValidatorApplies a slash to a validator for protocol misbehavior.
MsgUnjailValidatorRequests that a jailed validator be restored to active status.
MsgUpdateParamsGovernance-only update of module parameters.
QueryPurpose
ValidatorReward / ValidatorRewardsAccrued validator rewards, individually and as a list.
ValidatorPerformance / ValidatorPerformancesRecorded performance data for one validator or all validators.
CurrentEpoch / RewardEpochThe current epoch, and the details of a given reward epoch.
SigningInfoConsensus signing information for a validator.
SlashRecordsVirtEngine slash records recorded against validators.
ParamsCurrent module parameters.
ModuleHow they interact
x/delegationDelegators bond stake to validators through the delegation lifecycle.
x/veidValidators may participate in VEID identity scoring under the governed incentive policy.
x/bmeIssuance mechanics fund the reward schedule.
x/issuancepolicyReward issuance operates under governed policy.

Tokens locked to a validator, weighting its consensus vote and earning rewards — the capital commitment that secures the chain.

Validators participating in identity scoring earn under the governed incentive policy — conservative, governance-controlled, with no fixed pool promised. See What is VEID?.

A proposed allocation for accounts meeting the network-defined unique-identity threshold and activity conditions — issuance that follows verified humans. See the x/issuancepolicy module.