EScription
  • EScription
    • Deploy
    • Mint
    • Transfer
  • ESC-20
    • Deploy
    • Mint
    • Transfer
    • List
    • Transaction process
    • Index Rules
  • ESIPS
    • What are ESIPs?
    • Accepted ESIPs
  • Marketplace
    • Verified Badge
  • Developer Service
    • Legal Disclaimer
  • CrossContract
    • IBRC20Deploy
    • IValidator
    • ICrossInscribe
  • Cross Chain Validator
    • How to install validator?
    • How to run?
Powered by GitBook
On this page
  • checkValidator(address account)
  • ValidatorCount()
  • addValidator(address validator)
  • removeValidator(address account)
  1. CrossContract

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).

PreviousIBRC20DeployNextICrossInscribe

Last updated 1 year ago