tutus-chain/pkg
Tutus Development 5d410f9ba0 Add asylum registry and naturalization for humanitarian protection
Extend Federation contract to protect citizens when their home government
becomes hostile:

- Add Asylum Registry for refugee protection
  - grantAsylum/revokeAsylum methods (committee only)
  - hasAsylum/getAsylumInfo query methods
  - AsylumGranted/AsylumRevoked events
  - Asylum seekers get 100% local Treasury funding with NO inter-chain
    debt to avoid funding hostile governments

- Add Naturalization (Vita Transfer) for permanent immigration
  - naturalize method for permanent citizenship transfer
  - isNaturalizedCitizen/getNaturalizationInfo query methods
  - CitizenNaturalized event
  - Naturalized citizens treated same as local Vita holders

- Add VitaExemptAsylum type for humanitarian override
  - Fee exemption priority: Local Vita > Naturalized > Visitor > Asylum
  - Asylum: 100% from local Treasury, zero inter-chain debt
  - Protects refugees even if home chain revokes their Vita

- Update IsVitaFeeExempt() to check all exemption types
  - Local Vita, naturalized citizens, visitors, and asylum seekers

The one-Vita-per-person rule remains inviolable - Vita is tied only to
a living person globally. This enables protection without duplication.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 04:55:56 +00:00
..
compiler Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
config Add RoleRegistry native contract for hierarchical RBAC 2025-12-20 01:35:26 +00:00
consensus Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
core Add asylum registry and naturalization for humanitarian protection 2025-12-20 04:55:56 +00:00
crypto Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
encoding 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
io Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
neorpc Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
neotest Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
network Add free GAS for Vita holders with cross-chain fee splitting 2025-12-20 04:27:55 +00:00
rpcclient Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
services Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
smartcontract Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
util Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
vm Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
wallet Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00