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

Simple Delegation #34

Merged
merged 106 commits into from
Dec 19, 2024
Merged

Simple Delegation #34

merged 106 commits into from
Dec 19, 2024

Conversation

ujenjt
Copy link
Member

@ujenjt ujenjt commented Jan 25, 2024

The Simple Delegation update allows LDO token holders to delegate their voting power to other addresses and delegates to participate in on-chain voting on behalf of their delegated voters.

Spec, LIP-21

This code was audited by Ackee and Statemind.

apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
@krogla
Copy link
Member

krogla commented Jan 25, 2024

...I would replace voteFor with a method like voteByManager, where I wouldn't pass a list of addresses, but simply check if the msg.sender address has any under its management, and if so, vote on their behalf in a loop. Of course, it would require adding chunks, but then it seems we could simplify the logic of checking whether the manager's vote matches the delegate's vote.

Psirex
Psirex previously approved these changes Oct 16, 2024
* fix: bumb node to 18, update yarn.lock
@katamarinaki katamarinaki requested review from krogla and removed request for krogla December 17, 2024 12:05
@katamarinaki katamarinaki dismissed krogla’s stale review December 17, 2024 12:07

All issues were resolverd

@katamarinaki katamarinaki merged commit a7d0e33 into master Dec 19, 2024
1 check passed
@katamarinaki katamarinaki deleted the voting-manager branch December 19, 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
None yet
Development

Successfully merging this pull request may close these issues.