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

Audit fix #5

Merged
merged 9 commits into from
Feb 21, 2024
Merged

Audit fix #5

merged 9 commits into from
Feb 21, 2024

Conversation

hujw77
Copy link
Collaborator

@hujw77 hujw77 commented Feb 20, 2024

@hujw77 hujw77 self-assigned this Feb 20, 2024
@hujw77 hujw77 marked this pull request as draft February 20, 2024 10:00
@hujw77 hujw77 marked this pull request as ready for review February 21, 2024 08:29
@hujw77 hujw77 merged commit bab0d92 into main Feb 21, 2024
1 check passed
@hujw77 hujw77 deleted the echo/audit branch February 21, 2024 10:19
address(this).balance >= reward, "RewardsDistribution contract does not have enough tokens to distribute"
);
IRewardsDistributionRecipient(ktonStakingRewards).notifyRewardAmount.value(reward)();
emit RewardsDistributed(reward);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Add ktonStakingRewards

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.

Delete
1 participant