Validators Registry
Last updated
Last updated
The Validator Registry contract stores an approved validators whitelist.
The main query of the contract - GetValidatorsForDelegation
returns a list of approved validators sorted by total_delegated amount.
The Hub uses this query to equally distribute delegations between validators.
Key | Type | Description |
---|---|---|
Adds a validator to the registry. Can only be executed by the owner.
Removes a validator from the registry. Can only be executed by the owner.
Updates a registry's configuration. Can only be issued by the owner.
* = optional
Re-delegate the delegation from the validator which removed to other whitelisted validator nodes.
Transfer ownership permissions to a new owner address.
The new owner accepts ownership permissions.
Returns validators sorted by total_delegated amount.
returns list validatorResponse
Returns a Config struct.
Query the address of the new owner.
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
owner
CanonicalAddr
Owner of the contract
hub_contract
CanonicalAddr
Contract address of Hub
registry
Vec<Validator>
List of whitelisted validators
hub_contract
String
Contract address of Hub
address
String
Operator address
validator
Validator
validator struct
address
String
Operator address
address
String
Operator address
hub_contract*
String
New contract address of Hub
address
String
Operator address
new_owner_addr
String
The address of new owner
total_delegated
Uint128
total Sei delegated to validator
address
String
Operator address
new_owner
String
The address of new owner