Skip to content

Add Treasury Rotation Event and Tests#425

Open
MztaKing wants to merge 1 commit into
HubDApp:mainfrom
MztaKing:treasury-update
Open

Add Treasury Rotation Event and Tests#425
MztaKing wants to merge 1 commit into
HubDApp:mainfrom
MztaKing:treasury-update

Conversation

@MztaKing

Copy link
Copy Markdown

Closes #219

Summary of Changes

  • Events: Added TreasuryUpdatedEvent published under topic ("CONFIG", "TREASURY") containing admin, old_treasury, new_treasury, and timestamp.
  • Governance: Restricted treasury changes to admin-only auth and added support for multisig proposals (ProposalPayload::SetTreasury).
  • Tests: Added unit tests in fee_token_rotation.rs verifying admin authorization checks and event emission.
  • Documentation: Updated EVENTS_SCHEMA.md and added /docs/TREASURY_ROTATION_PLAYBOOK.md.

@MztaKing MztaKing changed the title Add treasury governance updates and tests Add Treasury Rotation Event and Tests Jul 25, 2026
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 Treasury Rotation Event and Tests

1 participant