Skip to content

add remaining admin functions for duration vault management - #543

Merged
dB2510 merged 1 commit into
mainfrom
dhruv/addremaining
May 16, 2026
Merged

add remaining admin functions for duration vault management#543
dB2510 merged 1 commit into
mainfrom
dhruv/addremaining

Conversation

@dB2510

@dB2510 dB2510 commented May 14, 2026

Copy link
Copy Markdown
Member

Note

Medium Risk
Adds new DEFAULT_ADMIN_ROLE-gated controls that can change delegation approval, rewards-claim authorization, and forcibly advance vault state to withdrawals, which are sensitive operational actions. Logic is straightforward (address checks + forwarding), but misuse or incorrect role assignment could impact vault access and reward flows.

Overview
Adds three new EigenAdapter admin-callable operations for EigenLayer duration vault management: updateDelegationApprover, setRewardsClaimer, and advanceToWithdrawals, each performing a zero-address guard, forwarding the call to the vault, and emitting new interface events.

Extends IEigenAdapter with the corresponding function declarations and events, updates the duration-vault mock, and adds/updates unit tests to cover success cases, idempotency, and role/zero-address reverts. Minor script/test files are also re-formatted for readability with no behavioral change.

Reviewed by Cursor Bugbot for commit e4378f3. Bugbot is set up for automated code reviews on this repo. Configure here.

@dB2510
dB2510 merged commit d5b82a9 into main May 16, 2026
2 checks passed
@dB2510
dB2510 deleted the dhruv/addremaining branch May 16, 2026 08:33
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