-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
298 add missing commands for the vested staking (#83)
* add the stake vesting functionality update the bindings to include the stakeWithVesting and getValidator; add new flags - vesting and vesting-period, and verify the period to e in the valid period; create a new createStakeTransaction function in order to make the code more readable and cleaner; optimize the code in the logs loop; make the amount flag mandatory; mark flags mutually exclusive with the delegate flag; make a MaxVestingPeriod constant in the sidechain helper; fix the conditions in the commission command event handling; rename stakeManager -> hydraStaking in the register_validator to avoid confusion; create ValidatorStatus enum and GetStatus function in the validator package; create a new getValidatorInfo helper function to get the data that I need; update docs; --------- Co-authored-by: Rosen Santev <[email protected]>
- Loading branch information
Showing
9 changed files
with
301 additions
and
76 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
Oops, something went wrong.