Complexity / points: Medium (150 points) - maintainer label: points-150-medium
PR must include:
Problem
payment-distributor is currently a placeholder contract, and the repo does not contain a clear written design spec describing:
- what inputs it requires to distribute payments
- what distribution algorithm is expected (e.g., investor split, fee handling)
- how it should interact with
invoice-escrow and invoice-token
Without this, contributors may implement incompatible logic.
Proposed change
Create a lightweight design spec document for payment-distributor.
Acceptance criteria
Dependencies
Recommended as a prerequisite before large implementation work in [Feature] Implement payment-distributor baseline (replace stub).
Complexity / points: Medium (150 points) - maintainer label: points-150-medium
PR must include:
Closes #17in the PR descriptionunwrap()in production Soroban contract paths (project convention)cargo testpasses locally; match CI (cargo fmt,cargo clippy -D warnings) when touching RustProblem
payment-distributoris currently a placeholder contract, and the repo does not contain a clear written design spec describing:invoice-escrowandinvoice-tokenWithout this, contributors may implement incompatible logic.
Proposed change
Create a lightweight design spec document for
payment-distributor.Acceptance criteria
docs/(e.g.docs/payment-distributor-spec.md)payment-distributorREADME and fromdocs/API.md(once it exists)Dependencies
Recommended as a prerequisite before large implementation work in
[Feature] Implement payment-distributor baseline (replace stub).