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

feat: add staking staking from collateral asset #11743

Merged
merged 7 commits into from
Oct 22, 2024

Conversation

jeremyletang
Copy link
Member

@jeremyletang jeremyletang commented Oct 18, 2024

  • staking from general account with a transfer to the locked_for_staking account
  • staking from vesting and vested account, as soon as a reward is payed on the vesting account
  • unstaking as soon as funds are transfered back to the general account from the locked_for_staking
  • unstaking as soon as funds are transfered out of the vested account.

close #11744.

@jeremyletang jeremyletang force-pushed the feature/staking-from-collateral branch from 8c61add to afe6ce9 Compare October 18, 2024 14:01
@jeremyletang jeremyletang marked this pull request as ready for review October 18, 2024 15:39
@jeremyletang jeremyletang requested review from candida-d and a team as code owners October 18, 2024 15:39
protos/sources/vega/vega.proto Outdated Show resolved Hide resolved
datanode/gateway/graphql/schema.graphql Outdated Show resolved Hide resolved
@jeremyletang jeremyletang force-pushed the feature/staking-from-collateral branch from b48f305 to e763a1f Compare October 19, 2024 10:12
jeremyletang and others added 5 commits October 21, 2024 17:07
- staking from general account with a transfer to the locked_for_staking account
- staking from vesting and vested account, as soon as a reward is payed on the vesting account
- unstaking as soon as funds are transfered back to the general account from the locked_for_staking
- unstaking as soon as funds are transfered out of the vested account.

Signed-off-by: Jeremy Letang <me@jeremyletang.com>
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com>
@jeremyletang jeremyletang force-pushed the feature/staking-from-collateral branch from e763a1f to ef17f31 Compare October 21, 2024 16:07
candida-d
candida-d previously approved these changes Oct 21, 2024
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
@jeremyletang jeremyletang merged commit 1e3d406 into develop Oct 22, 2024
16 checks passed
@jeremyletang jeremyletang deleted the feature/staking-from-collateral branch October 22, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Enable staking from collateral bridge
3 participants