tutus-chain/pkg/core/state
Tutus Development f03564d676 Add free GAS for Vita holders with cross-chain fee splitting
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>
2025-12-20 04:27:55 +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
role_registry.go Add free GAS for Vita holders with cross-chain fee splitting 2025-12-20 04:27:55 +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
vita.go Add free GAS for Vita holders with cross-chain fee splitting 2025-12-20 04:27:55 +00:00
vts.go Add VTS PersonToken integration and age-restricted spending 2025-12-20 03:16:33 +00:00