Priority
P1
Difficulty
Advanced
Task
Add repayment tracking logic to the ChainMove Soroban contract workspace.
Expected behavior
The contract should support:
- assigning a driver to a pool or vehicle
- recording repayment amount
- tracking total repaid
- tracking outstanding balance
- defining overpayment behavior
- querying repayment summary
Acceptance criteria
Test requirement
Add tests for first repayment, multiple repayments, full repayment completion, overpayment behavior, and unauthorized caller rejection.
Evidence required
Commands
cargo test
npm run lint
npm run build
Priority
P1
Difficulty
Advanced
Task
Add repayment tracking logic to the ChainMove Soroban contract workspace.
Expected behavior
The contract should support:
Acceptance criteria
Test requirement
Add tests for first repayment, multiple repayments, full repayment completion, overpayment behavior, and unauthorized caller rejection.
Evidence required
cargo testpassing.Commands
cargo test npm run lint npm run build