Skip to content

feat: implement multi-admin and multisig governance with build fixes#383

Merged
greatest0fallt1me merged 1 commit intoPredictify-org:masterfrom
ayomideadeniran:feature/multi-admin-multisig
Feb 26, 2026
Merged

feat: implement multi-admin and multisig governance with build fixes#383
greatest0fallt1me merged 1 commit intoPredictify-org:masterfrom
ayomideadeniran:feature/multi-admin-multisig

Conversation

@ayomideadeniran
Copy link
Contributor

@ayomideadeniran ayomideadeniran commented Feb 26, 2026

Closes #329


Summary

This PR implements multi-admin and multisig support for the Predictify Hybrid contract.

Key Changes

  • Multi-Admin Support: Added roles (SuperAdmin, MarketAdmin, Moderator, ReadOnly) and a permission-based access control system.
  • Multisig Governance: Implemented an M-of-N multisig threshold for sensitive administrative actions.
  • Pending Action Workflow: Added mechanisms to create, approve, and execute administrative actions requiring multiple signatures.
  • Build Compatibility: Renamed several function names, enum variants, and struct symbols to comply with Soroban's 32-character limit (fixing LengthExceedsMax errors).
  • Security Enhancements: Implemented checks for preventing direct admin operations when multisig is enabled and ensured super admin redundancy.

This commit implements:
- Multi-admin support with roles (SuperAdmin, MarketAdmin, Moderator, ReadOnly)
- M-of-N multisig threshold for sensitive administrative operations
- Pending admin action workflow with approvals and execution
- Shortened function names and symbols to comply with Soroban's 32-character limit
- Refined error handling and recovery strategies for governance operations
@greatest0fallt1me greatest0fallt1me merged commit e50f4d0 into Predictify-org:master Feb 26, 2026
1 check failed
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.

feat: implement multi-admin and multisig support for governance

2 participants