Skip to content

Add savings goal progress tracking#129

Open
SlaVKsVolks wants to merge 1 commit into
sorosave-protocol:mainfrom
SlaVKsVolks:codex/savings-goal-progress
Open

Add savings goal progress tracking#129
SlaVKsVolks wants to merge 1 commit into
sorosave-protocol:mainfrom
SlaVKsVolks:codex/savings-goal-progress

Conversation

@SlaVKsVolks
Copy link
Copy Markdown

Summary

  • add optional savings goal fields to groups
  • add admin set_savings_goal configuration
  • track cumulative contributions toward the goal during contributions
  • emit a goal-reached event when progress reaches the goal
  • add get_progress view returning 0-100 percentage completion
  • cover goal progress and reached-state behavior in tests

Closes #45

Verification

  • cargo fmt --all
  • cargo test
  • cargo clippy --all-targets -- -D warnings
  • cargo build

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.

Add group savings goal/target amount

1 participant