Skip to main content

Module validator_config_v2

Module validator_config_v2 

Source
Expand description

Validator Config V2 precompile โ€“ index-canonical, on-chain, consensus validator registry with signature-gated operations, IP uniqueness enforcement, and migration support from V1.

Modulesยง

IValidatorConfigV2
Validator Config V2 interface for managing consensus validators with append-only, delete-once semantics.
__packing_config
__packing_validator_record
dispatch
ABI dispatch for the ValidatorConfigV2 precompile (T2+).
slots

Structsยง

Config ๐Ÿ”’
Contract-level configuration: ownership, initialization state, and migration bookkeeping.
ConfigHandler
Type-safe handler for accessing #struct_name in storage.
ValidatorConfigV2
ValidatorRecord ๐Ÿ”’
A single entry in the validators vector.
ValidatorRecordHandler
Type-safe handler for accessing #struct_name in storage.

Enumsยง

SignatureKind ๐Ÿ”’
Distinguishes addValidator from rotateValidator signatures at the type level.
ValidatorConfigV2Error
Container for all the IValidatorConfigV2 custom errors.

Constantsยง

VALIDATOR_NS_ADD
Signature namespace for addValidator operations.
VALIDATOR_NS_ROTATE
Signature namespace for rotateValidator operations.

Functionsยง

v1 ๐Ÿ”’