tutus-chain/pkg/core
Tutus Development 6d834ff9c2 Add Lex native contract for universal law and rights framework
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>
2025-12-20 05:33:26 +00:00
..
block Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
chaindump Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
dao Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
fee Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
interop Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
mempool Add free GAS for Vita holders with cross-chain fee splitting 2025-12-20 04:27:55 +00:00
mempoolevent Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
mpt Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native Add Lex native contract for universal law and rights framework 2025-12-20 05:33:26 +00:00
state Add Lex native contract for universal law and rights framework 2025-12-20 05:33:26 +00:00
stateroot Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
statesync Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
storage Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
test_data Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
transaction Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
basic_chain_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
bench_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
blockchain.go Add asylum registry and naturalization for humanitarian protection 2025-12-20 04:55:56 +00:00
blockchain_core_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
blockchain_neotest_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
custom_native_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
doc.go Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
headerhashes.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
helper_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
interops.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_designate_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
prometheus.go Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
util.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
util_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00