Skip to content

Implement get_donor_record view function #196

@ayshadogo

Description

@ayshadogo

User Story:
As a donor, I want to read my contribution record from the contract so that I can verify my donation on-chain.
Acceptance Criteria:

  • fn get_donor_record(env: Env, donor: Address) -> Option<DonorRecord>
  • Returns None if address has never donated
  • Read-only, no auth required
  • Returns total donated across all donations by that address

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions