Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

298 add missing commands for the vested staking #83

Merged
merged 9 commits into from
Dec 2, 2024

Commits on Nov 28, 2024

  1. add the stake vesting functionality

    update the bindings to include the stakeWithVesting;
    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 MaxVestingPeriod constant in the sidechain helper;
    Vitomir2 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    360fda7 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2024

  1. updates

    fix the conditions in the commission command event handling;
    rename stakeManager -> hydraStaking in the register_validator to avoid confusion;
    update the bindings to contain the getValidator function from the HydraChain contract;
    create a new getValidatorInfo helper function to get the data that I need;
    update docs;
    Vitomir2 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    e79877a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2ab570 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8004484 View commit details
    Browse the repository at this point in the history
  4. cleanup the codebase

    Vitomir2 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    f2e6a4a View commit details
    Browse the repository at this point in the history
  5. add in weeks

    Vitomir2 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    c03734a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cb747c6 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2024

  1. Update README.md

    Co-authored-by: Rosen Santev <77731162+R-Santev@users.noreply.github.com>
    Vitomir2 and R-Santev authored Dec 2, 2024
    Configuration menu
    Copy the full SHA
    eae1291 View commit details
    Browse the repository at this point in the history
  2. optimization

    move the ValidatorStatus and the GetStatus inside the sidechain helper;
    remove the vesting flag and use only the vesting-period;
    update the readme;
    Vitomir2 committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    1ef6951 View commit details
    Browse the repository at this point in the history