Skip to content

feat(contracts): add two-step admin transfer and ownership rotation#276

Merged
Mimah97 merged 1 commit into
Vatix-Protocol:devfrom
bashir1738:feat/admin-transfer-two-step-ownership
Jun 23, 2026
Merged

feat(contracts): add two-step admin transfer and ownership rotation#276
Mimah97 merged 1 commit into
Vatix-Protocol:devfrom
bashir1738:feat/admin-transfer-two-step-ownership

Conversation

@bashir1738

Copy link
Copy Markdown
Contributor
  • Add propose_admin() and accept_admin() two-step pattern
  • Reject transfer if contract not initialized
  • Update storage.rs with pending_admin key
  • Add error variants in error.rs for unauthorized attempts
  • Add tests for hijack prevention

Closes #273

- Add propose_admin() and accept_admin() two-step pattern
- Reject transfer if contract not initialized
- Update storage.rs with pending_admin key
- Add error variants in error.rs for unauthorized attempts
- Add tests for hijack prevention

Closes Vatix-Protocol#273
@Mimah97

Mimah97 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@bashir1738 fix ci

@Mimah97 Mimah97 merged commit c8c8d6f into Vatix-Protocol:dev Jun 23, 2026
1 of 2 checks passed
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.

Add admin transfer and two-step ownership for contract admin

2 participants