Skip to content

Add two-step admin transfers to invoice and treasury - #825

Open
Niceguy247 wants to merge 1 commit into
WHEELBACK:mainfrom
Niceguy247:feat/two-step-admin-transfer
Open

Niceguy247 wants to merge 1 commit into
WHEELBACK:mainfrom
Niceguy247:feat/two-step-admin-transfer

Conversation

@Niceguy247

@Niceguy247 Niceguy247 commented Sep 29, 2026 •

Copy link
Copy Markdown

Summary

  • Add two-step admin handoff to the invoice and treasury contracts: the current admin nominates a successor, and only that nominated address can authorize acceptance.
  • Block admin transfers while paused, clear pending nominations after acceptance, and ensure the previous admin loses privileges after handoff.
  • Emit transfer lifecycle events and update ABI snapshots and mainnet deployment documentation.
  • Add tests for successful handoff, authorization failures, paused contracts, event emission, and pending-admin cleanup.

Validation

  • git diff --check passed.
  • Rust contract tests were not run because cargo is unavailable in the environment.

No issue IDs were provided for linking or auto-closing.
Fixes #662
Fixes #661
Fixes #660
Fixes #663

@drips-wave

drips-wave Bot commented Sep 29, 2026

Copy link
Copy Markdown

@Niceguy247 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant