feat: add 10% campaign reserve pool and fix mobile sponsor button - #815
Merged
Utilitycoder merged 1 commit intoAug 31, 2026
Merged
Conversation
- Implement automatic 10% reserve pool for tree replacement - Add Reserve storage key to DataKey enum - Add ReserveAllocatedEvent for tracking reserve allocation - Add calculate_reserve helper function (10% = 1000 bps) - Add distribute_proceeds helper for team/creator payouts - Modify claim_funds to deduct reserve after protocol fee - Reserve is held in contract storage for verification failures - Add TeamPayoutIssuedEvent for team member distributions - Add ContractFullEvent and ContractFull error code - Fix mobile sponsor button stuck disabled state - Add loading state management to SponsorTeamDashboard - Add isSubmittingTeam, isSubmittingInvite, isSubmittingTree states - Wrap all submission handlers in try-catch-finally blocks - Properly reset button states after success or error - Disable inputs during submission to prevent race conditions - Add loading text feedback (Creating..., Inviting..., Adding...) Closes Fundable-Protocol#715 Closes Fundable-Protocol#732
|
@Hahfyeex Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
Thanks for the work. Kindly ensure you offramp with Fundable at https://stellar.fundable.finance/offramp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement automatic 10% reserve pool for tree replacement
Fix mobile sponsor button stuck disabled state
Closes #715
Closes #732