-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #838 from autonomys/837-its-possible-to-nominate-a…
…-slashed-or-deregistered-op Its possible to nominate a slashed or deregistered op
- Loading branch information
Showing
7 changed files
with
61 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
export enum OperatorStatus { | ||
PENDING = 'PENDING', | ||
REGISTERED = 'REGISTERED', | ||
DEREGISTERED = 'DEREGISTERED', | ||
SLASHED = 'SLASHED' | ||
} | ||
|
||
export enum OperatorPendingAction { | ||
NO_ACTION_REQUIRED = 'NO_ACTION_REQUIRED', | ||
PENDING_REGISTRATION = 'PENDING_REGISTRATION', | ||
WAITING_TO_UNLOCK_NOMINATOR = 'WAITING_TO_UNLOCK_NOMINATOR', | ||
READY_FOR_UNLOCK_NOMINATOR = 'READY_FOR_UNLOCK_NOMINATOR', | ||
READY_FOR_UNLOCK_FUNDS = 'READY_FOR_UNLOCK_FUNDS' | ||
} | ||
|
||
export enum NominatorStatus { | ||
PENDING = 'PENDING', | ||
STAKED = 'STAKED', | ||
SLASHED = 'SLASHED', | ||
WITHDRAW = 'WITHDRAW' | ||
} | ||
|
||
export enum NominatorPendingAction { | ||
NO_ACTION_REQUIRED = 'NO_ACTION_REQUIRED', | ||
PENDING_EPOCH_CHANGE = 'PENDING_EPOCH_CHANGE', | ||
PENDING_DEREGISTRATION_LOCK = 'PENDING_DEREGISTRATION_LOCK', | ||
READY_TO_UNLOCK_ALL_FUNDS = 'READY_TO_UNLOCK_ALL_FUNDS' | ||
} | ||
|
||
export enum DepositStatus { | ||
PENDING = 'PENDING', | ||
DEPOSITED = 'DEPOSITED', | ||
PARTIALLY_WITHDRAWN = 'PARTIALLY_WITHDRAWN', | ||
WITHDRAWN = 'WITHDRAWN', | ||
SLASHED = 'SLASHED' | ||
} | ||
|
||
export enum WithdrawalStatus { | ||
PENDING_LOCK = 'PENDING_LOCK', | ||
PENDING_OPERATOR = 'PENDING_OPERATOR', | ||
READY = 'READY', | ||
WITHDRAW = 'WITHDRAW', | ||
SLASHED = 'SLASHED' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters