Implement comprehensive legal framework ensuring equality for all citizens:
- Add 14 immutable constitutional rights (life, liberty, property,
equality, due process, privacy, expression, assembly, movement,
education, healthcare, labor, vote, asylum)
- Implement hierarchical law registry with categories:
Constitutional, Federal, Regional, Local, Administrative
- Add configurable enforcement types per law:
Automatic (blocks violations), Logging (emits events), Advisory
- Implement rights restriction system requiring due process:
- All restrictions require judicial authority (RoleJudge)
- All restrictions require a caseID (legal proceeding)
- All restrictions must have expiration (no indefinite detention)
- Add cross-contract integration methods:
HasRightInternal, IsRestrictedInternal, CheckPropertyRight,
CheckMovementRight, CheckLibertyRight
- Update test data for native contract state serialization
Constitutional rights are code, not data - they cannot be amended
or removed, ensuring true immutability and universal equality.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Rename PersonToken to Vita (soul-bound identity token) and implement
fee exemption system for citizens:
- Add Federation native contract for cross-chain Vita coordination
- Visitor registry for Vita holders from other chains
- Configurable visiting fee percentage (default 50%)
- Inter-chain debt tracking for settlement between chains
- Modify GAS contract to burn fees from Treasury for Vita holders
- Local Vita: 100% paid by local Treasury
- Visiting Vita: Split between local Treasury and inter-chain debt
- Deficit tracking when Treasury is underfunded
- Update mempool and blockchain to skip fee checks for Vita exempt users
- Add IsVitaFeeExempt() to Feer interface
- Modify verifyAndPoolTx() to allow zero-fee transactions
- Rename PersonToken -> Vita across codebase
- Update state, native contract, and tests
- Maintain same functionality with clearer naming
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implements RoleRegistry as a native contract for role-based access control
that integrates with PersonToken for democratic governance.
Key features:
- Built-in roles: COMMITTEE, REGISTRAR, ATTESTOR, OPERATOR
- Hierarchical roles with parent inheritance
- Permission system (resource/action/scope tuples)
- CheckCommittee() method for admin authorization
- TutusCommittee config for initial committee members
PersonToken integration:
- Added RoleRegistry field for cross-contract calls
- checkCommittee helper delegates to RoleRegistry with NEO fallback
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>