📝 Description
Allow users to easily support public goods. We want a feature where users can toggle a setting to automatically route a percentage of their generated yield to a whitelisted charity address.
🎯 Acceptance Criteria
🛠 Technical Details
- Stack: Rust (Soroban), React, Node.js.
- Location:
/contracts/yield_vault/src/donations.rs
- Security: Ensure the donation logic cannot underflow or trap user principal funds.
⏱ Complexity & Scope
- Estimated Time: 2-3 weeks.
- Drips Complexity: High (200 points) - Smart contract state updates and full-stack integration.
📋 Guidelines for Submission
- Minimum 90 percent test coverage required.
- Clear NatSpec-style documentation must be added to public contract functions.
- Timeframe for completion: 2 Wave cycles.
📝 Description
Allow users to easily support public goods. We want a feature where users can toggle a setting to automatically route a percentage of their generated yield to a whitelisted charity address.
🎯 Acceptance Criteria
yield_splitparameter per user.🛠 Technical Details
/contracts/yield_vault/src/donations.rs⏱ Complexity & Scope
📋 Guidelines for Submission