IValidator

The IValidator interface defines the set of operations related to validator management

checkValidator(address account)

Parameter: The account to be checked (address).

ValidatorCount()

Purpose: Retrieves the count of validators.

Purpose: Checks if the given account is a valid validator.

addValidator(address validator)

Purpose: Adds a new validator to the system.

Parameter: The address of the new validator (address).

removeValidator(address account)

Purpose: Removes a validator from the system.

Parameter: The address of the validator to be removed (address).

Last updated