Feat: Implement Funding Operations#5
Merged
0xdevcollins merged 7 commits intoboundlessfi:mainfrom May 16, 2025
Merged
Conversation
Collaborator
|
Any progress @psychemist |
Contributor
Author
|
@0xdevcollins i'll push some changes tonight |
Collaborator
|
Hi any update? |
Contributor
Author
|
@0xdevcollins yes. still testing. how do i reach out on TG? |
Collaborator
Contributor
Author
|
@0xdevcollins reasdy for review |
Collaborator
|
@psychemist I will review and merge today. Thanks |
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.
🚀 Boundless Project Funding Pull Request
📌 Type of Change
📝 Changes description
This PR implements a comprehensive multi-token funding system for the Boundless platform. The implementation provides a robust, flexible framework for project creators to receive funding in various token types while ensuring proper accounting and refund mechanisms.
Key Features Implemented:
Multi-Token Support:
Flexible Token Whitelisting:
Enhanced Backer Management:
Token-Specific Refunds:
Secure Contribution Handling:
Storage Optimizations:
Comprehensive Testing:
Technical Implementation Details:
📸 Evidence (A photo is required as evidence)
stellar contract buildcargo buildcargo test🌌 Comments
Challenges Faced
Implementing token-specific contribution tracking while maintaining a coherent total funding view required careful design of the storage model.
The refund process needed significant updates to handle token-specific refunds while preventing double refunds and ensuring proper accounting.
Supporting multiple contributions from the same backer across different tokens presented challenges in contribution aggregation and reporting.
Future Improvements
Project Total Funded Amount: This should be refactored to track total contributions per project
Token Value Normalization: Add support for normalizing contributions across different tokens based on real-time exchange rates.
Partial Refunds: Implement partial refund functionality for specific scenarios where full refunds are not required.
Token Allowlist Management: Create a more sophisticated token allowlist system with time-based restrictions or volume caps.
Enhanced Token Metadata: Store additional token metadata for better UI/UX in the client applications.
Advanced Analytics: Add features to track funding patterns across different tokens.
The implementation follows Soroban contract best practices and includes extensive testing to ensure reliability and security of the multi-token funding system.