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: events #2294

Merged
merged 2 commits into from
Sep 7, 2024
Merged

stake-contract: events #2294

merged 2 commits into from
Sep 7, 2024

Conversation

herr-seppia
Copy link
Member

@herr-seppia herr-seppia commented Sep 6, 2024

Stake Events

  • Stake
    • Emit event with the account that staked and the staked amount
  • Unstake
    • Remove receiver of the withdraw, relying on the transfer contract to inform of the mint
  • Withdraw
    • Remove receiver of the withdraw, relying on the transfer contract to inform of the mint
  • Reward
  • Slash
    • Merge the suspended and slash events into one
  • Hard Slash
    • Merge the suspended and hard_slash events into one

See also #2265

@herr-seppia herr-seppia marked this pull request as ready for review September 6, 2024 14:58
Copy link
Member

@ureeves ureeves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! LGTM

@herr-seppia herr-seppia merged commit 4ce881d into master Sep 7, 2024
15 checks passed
@herr-seppia herr-seppia deleted the stake-events branch September 7, 2024 07:06
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 this pull request may close these issues.

2 participants