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 simple delegation support #9

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

katamarinaki
Copy link

@katamarinaki katamarinaki commented Feb 16, 2024

Summary

Following the update of the Voting contract (Simple Delegation), this update adds the on-chain delegation to the VotingAdapter contract, giving the TRP participants the ability to delegate their voting power.

Changelog

  • Add assignDelegate and unassignDelegate methods to the IVoting interface;
  • remove DELEGATION_CONTRACT_ADDR from VotingAdapter contract;
  • use VOTING_CONTRACT_ADDR in delegate method;
  • add new functions to the mock Voting contract;
  • update tests according to the added functionality.

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.

3 participants