tutus-chain/pkg/core/native/native_test
Tutus Development b5c87b5cf8 Add Collocatio native contract for democratic investment
Implement the Collocatio (Latin for "placement/arrangement") contract
providing a three-tier investment framework for citizens:

- PIO (Public Investment Opportunity): Universal citizen access to
  infrastructure investments - any citizen can invest small amounts
  in public projects like roads, schools, hospitals

- EIO (Employee Investment Opportunity): Workplace democracy for
  verified employees - invest in their employer's projects with
  preferential terms and voting rights

- CIO (Contractor Investment Opportunity): Gig economy empowerment -
  verified contractors can invest in platforms they work with

Core Features:
- Investment opportunities with configurable parameters
- Eligibility system integrated with Vita (soul-bound identity)
- Cross-contract integration with VTS, Tribute, and Eligere
- Democratic oversight through Eligere voting
- Wealth concentration limits via Tribute integration
- Education verification through Scire integration

Contract Methods:
- createOpportunity: Create PIO/EIO/CIO with terms
- activateOpportunity: Enable investment period
- invest: Make investment with eligibility checks
- withdraw: Exit with maturity/penalty rules
- setEligibility: RoleInvestmentManager (ID 28) sets eligibility flags
- isEligible: Check investor eligibility for opportunity types

Contract ID: -25

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 10:33:24 +00:00
..
helpers/policyhelper Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
common_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
cryptolib_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
cryptolib_verification_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
designate_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
eligere_test.go Add Eligere native contract tests 2025-12-20 06:44:00 +00:00
gas_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
ledger_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
management_test.go Add Collocatio native contract for democratic investment 2025-12-20 10:33:24 +00:00
neo_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notary_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
opus_test.go Add Opus native contract for AI workforce integration 2025-12-20 08:51:48 +00:00
oracle_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
policy_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
role_registry_test.go Add RoleRegistry native contract for hierarchical RBAC 2025-12-20 01:35:26 +00:00
salus_test.go Add Salus native contract for universal healthcare 2025-12-20 08:53:57 +00:00
scire_test.go Add Scire native contract for universal education 2025-12-20 07:25:08 +00:00
sese_test.go Add Sese native contract for life planning 2025-12-20 08:54:28 +00:00
std_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
treasury_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
tribute_test.go Add Tribute native contract for anti-hoarding economics 2025-12-20 08:53:19 +00:00
vita_test.go Add Eligere native contract for democratic voting 2025-12-20 06:30:43 +00:00
vts_test.go Add Eligere native contract for democratic voting 2025-12-20 06:30:43 +00:00