tutus-chain/pkg/core/state
Tutus Development de34f66286 Add RoleRegistry native contract for hierarchical RBAC
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>
2025-12-20 01:35:26 +00:00
..
contract.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
contract_invocation.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
contract_invocation_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
contract_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
deposit.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
deposit_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
mpt_root.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
mpt_root_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_state.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_state_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notification_event.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notification_event_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
oracle.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
oracle_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
person_token.go Add PersonToken native contract for soul-bound identity tokens 2025-12-19 19:04:38 +00:00
role_registry.go Add RoleRegistry native contract for hierarchical RBAC 2025-12-20 01:35:26 +00:00
storage_item.go Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
tokens.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
tokens_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
validator.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00