2022-07-20 05:45:07 +00:00
|
|
|
# Validators
|
|
|
|
|
|
|
|
### Register (message)
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-21 05:54:12 +00:00
|
|
|
- `validator` (signer): Address which will be the validator on Substrate.
|
|
|
|
- `manager` (signer): Address which will manage this validator.
|
|
|
|
- `set` (VS): Validator set being joined.
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-20 05:45:07 +00:00
|
|
|
Marks `validator` as a validator candidate for the specified validator set,
|
|
|
|
enabling delegation.
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-20 05:45:07 +00:00
|
|
|
### Delegate (message)
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-20 03:10:12 +00:00
|
|
|
- `delegator` (signer): Address delegating funds to `validator`.
|
|
|
|
- `validator` (address): Registered validator being delegated to.
|
2022-07-20 05:45:07 +00:00
|
|
|
- `amount` (Amount): Amount of funds being delegated to `validator`.
|
2022-07-20 03:10:12 +00:00
|
|
|
|
|
|
|
Delegated funds will be removed from `delegator`'s wallet and moved to
|
2022-07-21 00:26:26 +00:00
|
|
|
`validator`'s bond. `amount` must be a multiple of the validator set's bond, and
|
|
|
|
`delegator` must be `validator`'s manager.
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-20 05:45:07 +00:00
|
|
|
### Undelegate (message)
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-20 03:10:12 +00:00
|
|
|
- `delegator` (signer): Address removing delegated funds from `validator`.
|
|
|
|
- `validator` (address): Registered validator no longer being delegated to.
|
2022-07-20 05:45:07 +00:00
|
|
|
- `amount` (Amount): Amount of funds no longer being delegated to
|
2022-07-20 03:10:12 +00:00
|
|
|
`validator`.
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-21 00:26:26 +00:00
|
|
|
`delegator` must be `validator`'s manager, and `amount` must be a multiple of
|
|
|
|
the validator set's bond. `validator` is scheduled to lose an according amount
|
|
|
|
of key shares at the next churn, and once they do, the specified amount will be
|
|
|
|
moved from `validator`'s bond to `delegator`'s wallet.
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-21 00:26:26 +00:00
|
|
|
`validator`'s bond must be at least the validator set's bond after the
|
|
|
|
undelegation.
|
2022-07-20 03:10:12 +00:00
|
|
|
|
2022-07-20 05:45:07 +00:00
|
|
|
### Resign (message)
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-21 00:26:26 +00:00
|
|
|
- `manager` (signer): Manager of `validator`.
|
2022-07-20 03:10:12 +00:00
|
|
|
- `validator` (address): Validator being removed from the pool/candidacy.
|
2022-04-22 02:01:12 +00:00
|
|
|
|
2022-07-20 03:10:12 +00:00
|
|
|
If `validator` is active, they will be removed at the next churn. If they are
|
|
|
|
solely a candidate, they will no longer be eligible for delegations. All bond is
|
|
|
|
refunded after their removal.
|