tutus-chain/pkg/core/state
Tutus Development b5c1dca2c6 Add VTS PersonToken integration and age-restricted spending
- Require Vita (soul-bound identity token) for minting restricted VTS
- Add age-restricted vendor flag for age-gated purchases (e.g., alcohol)
- Add IsAdultVerified method to PersonToken for age verification
- Update spend/canSpendAt to check age verification for restricted vendors
- Add toBool helper function for boolean stackitem parsing
- Add comprehensive tests for age-restricted functionality

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 03:16:33 +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
vts.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00