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

Stake Contract: stake consolidation for stakes older than 60 days #403

Open
gangov opened this issue Dec 9, 2024 · 0 comments · May be fixed by #404
Open

Stake Contract: stake consolidation for stakes older than 60 days #403

gangov opened this issue Dec 9, 2024 · 0 comments · May be fixed by #404
Assignees

Comments

@gangov
Copy link
Collaborator

gangov commented Dec 9, 2024

  • Description:
    Implement a msg to consolidate stakes older than 60 days. If a user has stakes exceeding this period, they should be merged into a single consolidated stake.

  • Inputs:

    user_address (string)
    array of stake_timestamp (array)

  • Behavior:

    Use the oldest stake timestamp for the new consolidated stake when merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant