-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description:
Support multiple admin addresses and optional threshold (multisig) so that sensitive operations require M-of-N admin signatures.
Requirements and Context:
- Must be secure, tested, and documented
- Should allow adding/removing admins (by existing admin or current multisig)
- Should allow setting threshold (e.g., 2 of 3) for admin actions
- Should require threshold to be met for pause, fee withdrawal, upgrade, etc.
- Should emit events for admin and threshold changes
- Must not break single-admin deployment (1 admin, threshold 1)
- Should document multisig flow and Soroban auth patterns
Suggested Execution:
-
Fork the repo and create a branch
git checkout -b feature/multi-admin-multisig
-
Implement changes
- Write contract: admin set, threshold, and auth checks in admin functions
- Add admin module:
src/admin.rs(multi-admin and threshold logic) - Update storage and events; add documentation and NatSpec-style comments
-
Test and commit
- Run tests; cover single admin, multi-admin, threshold enforcement
- Include test output and security notes
Example Commit Message:
feat: implement multi-admin and multisig support for governance
Guidelines:
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program