-
Notifications
You must be signed in to change notification settings - Fork 84
get_distributor_list accessor for indexers #232
Copy link
Copy link
Closed
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26area:onchainOn-chain (Soroban) areaOn-chain (Soroban) areakind:featureNet-new featureNet-new feature
Description
Activity
Metadata
Metadata
Assignees
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26area:onchainOn-chain (Soroban) areaOn-chain (Soroban) areakind:featureNet-new featureNet-new feature
Problem Statement. Distributor list is stored in
Map<Address, bool>but there is noview function. Off-chain indexers and dashboards have to maintain a parallel list.
Why it matters. Indexer accuracy depends on source-of-truth accessors. Without one,
audit UIs grow stale.
Technical Context.
KEY_DISTRIBUTORScurrently has noget_distributor_list.Expected Outcome. A new view function returns
Vec<Address>(or paginated(cursor, limit) -> Vec<Address>) of currently-registered distributors.Acceptance Criteria.
Vecafterinitwith noadd_distributorcalls.add_distributorcalls.Files or modules likely to be affected.
src/lib.rs,docs/onchain/api.md(new).Difficulty. Easy
Estimated effort. S
Backlog item #24 from `docs/maintainer-issue-backlog.md.