WalrusStakingState class

Staking inner state with committee and shard information.

Corresponds to TS SDK's StakingInnerV1.

Constructors

WalrusStakingState({required int nShards, required int epoch, required Map<String, List<int>> committeeMembers, required EpochState epochState, Map<String, List<int>>? previousCommittee})
const

Properties

committeeMembers → Map<String, List<int>>
Committee VecMap: nodeId → list of shard indices.
final
epoch → int
Current Walrus epoch.
final
epochState → EpochState
The current epoch state (transitioning, done, etc.).
final
hashCode → int
The hash code for this object.
no setterinherited
nShards → int
Total number of shards in the system.
final
previousCommittee → Map<String, List<int>>?
Previous committee VecMap (for reads during epoch transitions).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited