Metadata
| Field |
Value |
| Domain |
Contracts |
| Difficulty |
Easy (1β2 Days) |
| Effort Estimate |
effort: 3h |
| Priority |
P1-High |
| Labels |
good first issue, easy, Stellar Wave |
| Target Branch |
dev |
| Depends On |
#134 |
π― Context & Goal
The PaymentDistributorContractService method buildDistributePayoutsTx() encodes payout fan-out transactions to split settlement proceeds between sellers, investors, and platform fee account.
This issue adds unit tests in tests/unit/services/stellar/payment-distributor-tx.test.ts testing method argument serialization.
π Target Files
tests/unit/services/stellar/payment-distributor-tx.test.ts -> Unit test file
src/services/stellar/payment-distributor-contract.service.ts -> Distributor service
π Implementation Tasks
π οΈ Technical Guidance
Use Jest to verify ScVal arguments.
π References & Related
- Payment distributor contract spec
β³ Delivery Window
This issue should be completed within 2 day(s) of assignment.
Contribution Workflow
- Branch off
dev: git checkout -b feature/descriptive-name dev
- Implement all tasks in the checklist above.
- Run all CI checks locally (see DEVELOPMENT.md).
- Open a Pull Request targeting
dev.
- Link this issue in your PR description:
Closes #XX.
β
Acceptance Criteria
Metadata
effort: 3hgood first issue,easy,Stellar Wavedevπ― Context & Goal
The PaymentDistributorContractService method buildDistributePayoutsTx() encodes payout fan-out transactions to split settlement proceeds between sellers, investors, and platform fee account.
This issue adds unit tests in tests/unit/services/stellar/payment-distributor-tx.test.ts testing method argument serialization.
π Target Files
tests/unit/services/stellar/payment-distributor-tx.test.ts -> Unit test filesrc/services/stellar/payment-distributor-contract.service.ts -> Distributor serviceπ Implementation Tasks
π οΈ Technical Guidance
Use Jest to verify ScVal arguments.
π References & Related
β³ Delivery Window
This issue should be completed within 2 day(s) of assignment.
Contribution Workflow
dev:git checkout -b feature/descriptive-name devdev.Closes #XX.β Acceptance Criteria
devbranch (NOTmain).