tutus-chain/pkg/core/native
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
..
native_test Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00
nativehashes Add VTS (Value Transfer System) native contract 2025-12-20 02:57:08 +00:00
nativeids Add VTS (Value Transfer System) native contract 2025-12-20 02:57:08 +00:00
nativenames Add VTS (Value Transfer System) native contract 2025-12-20 02:57:08 +00:00
nativeprices Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
noderoles Initial Tutus chain fork from NeoGo 2025-12-19 14:23:04 +00:00
compatibility_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
contract.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00
contract_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto_blspoints.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
crypto_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
designate.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
interop.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
invocation_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
ledger.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
management.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
management_neotest_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
management_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_gas.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_neo.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_neo_candidate.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_neo_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
native_nep17.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
nativenames_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
neo_types.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notary.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_types.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
oracle_types_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
person_token.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00
policy.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.go Add RoleRegistry native contract for hierarchical RBAC 2025-12-20 01:35:26 +00:00
std.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
std_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
treasury.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
util.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00
vts.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00