Skip to content

Add delegated contribution support#144

Open
er1c-cartman wants to merge 1 commit into
sorosave-protocol:mainfrom
er1c-cartman:fix-56-delegate-contribution
Open

Add delegated contribution support#144
er1c-cartman wants to merge 1 commit into
sorosave-protocol:mainfrom
er1c-cartman:fix-56-delegate-contribution

Conversation

@er1c-cartman
Copy link
Copy Markdown

Summary:

  • Adds set_delegate, revoke_delegate, and contribute_for contract methods.
  • Stores one active delegate per member per group.
  • Lets the delegate pay while the contribution is credited to the group member.
  • Adds regression coverage for delegate replacement, delegated contribution, round completion, and revocation.

Fixes #56.

Validation:

  • cargo test --package sorosave
  • cargo fmt --check
  • cargo clippy --package sorosave --all-targets -- -D warnings
  • git diff --check

Notes:

  • Generated build/test artifacts were not committed.
  • No secrets, tokens, or private runtime data are included.

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.

Implement proxy/delegate contribution

1 participant