Skip to content

feat: implement get_pool_contributions_paginated function#153

Merged
Akshola00 merged 8 commits intoWeb3Novalabs:mainfrom
Mmesolove:feature/pool-contributions-pagination
Feb 25, 2026
Merged

feat: implement get_pool_contributions_paginated function#153
Akshola00 merged 8 commits intoWeb3Novalabs:mainfrom
Mmesolove:feature/pool-contributions-pagination

Conversation

@Mmesolove
Copy link
Contributor

@Mmesolove Mmesolove commented Feb 22, 2026

Closes #88


  • Add paginated data retrieval for pool contributions
  • Return subset of contributions to avoid Soroban storage limits
  • Params: pool_id, offset, limit
  • Add PoolContributors storage key to track contributor list
  • Update contribute function to maintain contributor list
  • Add comprehensive tests with 10 contributions fetched in batches of 5
  • Handle edge cases: empty pools, offset beyond total, multiple contributions

- Add paginated data retrieval for pool contributions
- Return subset of contributions to avoid Soroban storage limits
- Params: pool_id, offset, limit
- Add PoolContributors storage key to track contributor list
- Update contribute function to maintain contributor list
- Add comprehensive tests with 10 contributions fetched in batches of 5
- Handle edge cases: empty pools, offset beyond total, multiple contributions
@Mmesolove
Copy link
Contributor Author

Please review

@Akshola00
Copy link
Contributor

@Mmesolove thank you for your contribution
Pls fix conflicts

@Mmesolove Mmesolove closed this Feb 24, 2026
@Mmesolove Mmesolove reopened this Feb 24, 2026
@Mmesolove
Copy link
Contributor Author

please review

@Akshola00
Copy link
Contributor

@Mmesolove thanks for your contribution

@Akshola00 Akshola00 merged commit 7625ea1 into Web3Novalabs:main Feb 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FUNCTION] implement get_pool_contributions_paginated

2 participants