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

Add Xai Voting contract #581

Merged
merged 3 commits into from
Jan 24, 2025
Merged

Add Xai Voting contract #581

merged 3 commits into from
Jan 24, 2025

Conversation

CryptITAustria
Copy link
Collaborator

From [sc-7375] we decided on adding the XaiVoting contract.
Since we want to use the current implementation from oz version 5 we had to add this contract within its own project.

For [sc-7417]

  • Add the XaiVoting.sol contract using oz VotesUpgradable implementation
  • Update Xai, esXai and PoolFatctoy to safely call on update balance / stake.
  • Update fixtures to run with updated versions

Voting deployed to sepolia and existing contract upgraded to update on transfer & stake/unstake esXai
https://sepolia.arbiscan.io/address/0x415777DeB21bde51369F2218db4618e61419D4Dc#readProxyContract

Update Xai, esXai and PoolFatctoy to call on update.
Update fixtures to run with updated versions
@CryptITAustria CryptITAustria requested review from craigbranscom and removed request for craigbranscom January 20, 2025 15:17
@CryptITAustria
Copy link
Collaborator Author

@craigbranscom I addressed the audit feedback, please do a re review for the updates in esXai4.sol and XaiVoting.sol init.

Copy link
Contributor

@craigbranscom craigbranscom left a comment

Choose a reason for hiding this comment

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

Changes look good

@CryptITAustria CryptITAustria merged commit d2ca91f into develop Jan 24, 2025
10 of 12 checks passed
@CryptITAustria CryptITAustria deleted the feat/sc-7417 branch January 24, 2025 13:47
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