Skip to content

Implement get_total_raised view function #197

@ayshadogo

Description

@ayshadogo

User Story:
As a visitor, I want to query the total amount raised from the contract so that I can independently verify funding progress.
Acceptance Criteria:

  • fn get_total_raised(env: Env) -> i128
  • Returns current raised_amount from storage
  • No auth required
  • Returns 0 if no donations yet

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