Priority
P1
Difficulty
Advanced
Task
Implement pool ownership logic for ChainMove vehicle investment pools in the Soroban contract workspace.
Expected behavior
The contract should support:
- creating a vehicle pool
- setting total pool units or shares
- recording investor contribution
- calculating investor share percentage
- preventing oversubscription
- reading investor position
Acceptance criteria
Test requirement
Add tests for successful pool creation, successful investment, oversubscription rejection, duplicate investor update, and investor share calculation.
Evidence required
Commands
cargo test
npm run lint
npm run build
Priority
P1
Difficulty
Advanced
Task
Implement pool ownership logic for ChainMove vehicle investment pools in the Soroban contract workspace.
Expected behavior
The contract should support:
Acceptance criteria
Test requirement
Add tests for successful pool creation, successful investment, oversubscription rejection, duplicate investor update, and investor share calculation.
Evidence required
cargo testpassing.Commands
cargo test npm run lint npm run build