-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Implement init for the revenue settlement contract: set admin/owner and optionally token address. Restrict receive_payment and distribute to authorized callers only.
Requirements and context
- Must be secure, tested, and documented
- Should be efficient and easy to review
- Document who can receive payments (vault? backend?) and who can distribute
Suggested execution
- Fork the repo and create a branch
git checkout -b feature/settlement-init-and-auth- Implement changes
- Init(admin, token_address); receive_payment(amount) restricted; distribute restricted to admin or backend
- Add tests for init and unauthorized calls
- Test and commit
- Run tests; include test output
- Example commit message:
feat: settlement init and access control
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
- Project details: #
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program