ValidatorStakeInfo constructor
const
ValidatorStakeInfo({})
Information about a validator in the pool
NOTE: ORDER IS VERY IMPORTANT HERE, PLEASE DO NOT RE-ORDER THE FIELDS UNLESS THERE'S AN EXTREMELY GOOD REASON.
To save on BPF instructions, the serialized bytes are reinterpreted with an unsafe pointer cast, which means that this structure cannot have any undeclared alignment-padding in its representation.
Implementation
const ValidatorStakeInfo({
required this.activeStakeLamports,
required this.transientStakeLamports,
required this.lastUpdateEpoch,
required this.transientSeedSuffix,
required this.unused,
required this.validatorSeedSuffix,
required this.status,
required this.voteAccountAddress,
});