Labels: type:feature, priority:medium, module:aid
Description
Backends and indexers need read APIs to fetch aid records by ID, donor, or recipient, and to enumerate records efficiently without unbounded reads.
Direction
- Implement
get_aid(aid_id), get_aids_by_donor(donor, cursor, limit), get_aids_by_recipient(recipient, cursor, limit).
- Maintain index keys on create/settle/refund.
- Cap
limit to a documented maximum to bound gas.
Acceptance Criteria
Labels:
type:feature,priority:medium,module:aidDescription
Backends and indexers need read APIs to fetch aid records by ID, donor, or recipient, and to enumerate records efficiently without unbounded reads.
Direction
get_aid(aid_id),get_aids_by_donor(donor, cursor, limit),get_aids_by_recipient(recipient, cursor, limit).limitto a documented maximum to bound gas.Acceptance Criteria
limit.