Architecture
Light Tokens use UUPS upgradeable proxies deployed through the LightTokenFactory. Each token is controlled by its Instance Vault Contract (IVC), which acts as the sole admin authority. This eliminates single points of failure from issuer-held admin keys and enables decentralized governance through the IVC’s upgrade mechanisms. The factory deploys new tokens as proxies pointing to a shared implementation contract, ensuring consistent behavior across all Light Tokens while maintaining isolated state per token.Core Features
Partition-Based Accounting
Light Tokens implement ERC-1400 partitions for granular balance tracking. Each address can hold multiple partitions of the same token, enabling separate treatment for locked shares, vesting schedules, or regulatory tranches. The default partition handles standard transfers while named partitions support specialized use cases.Compliance Controls
All administrative operations route through the IVC—no direct issuer control. The IVC can freeze and unfreeze individual accounts for regulatory compliance, add and remove controllers who can execute privileged operations, set global transfer restrictions requiring controller approval, and update the identity registry for KYC verification.Document Management
Attach legal documents on-chain for eWpG compliance. The IVC maintains a document registry mapping names to IPFS URIs and content hashes with timestamps. Documents update through the IVC only, with automatic tracking of modification history and complete retrieval of all attached documents.Identity Integration
Optional integration with identity registries for KYC enforcement. When configured, transfers automatically verify recipient addresses against the identity registry. Controller transfers bypass KYC checks for operational flexibility. The system supports any registry implementing theisVerified(address) interface.
Deployment
Deploy new Light Tokens through the LightTokenFactory:Token Operations
Issue Tokens (Minting)
Only the IVC can issue new tokens to addresses:Redeem Tokens (Burning)
Token holders can redeem their own tokens:operatorRedeemByPartition. Both operations decrease total supply, update partition balances, check account is not frozen, and emit redemption events.
Transfer Tokens
Standard transfers use the default partition:Controller Operations
Controllers can execute privileged transfers and redemptions:IVC Administration
Access Control
The IVC manages all privileged access:Compliance Management
Freeze accounts for regulatory response:Document Updates
Attach compliance documents:Metadata Management
Update token metadata URI:Transfer Validation
Check transfer eligibility before execution:ERC-20 Compatibility
Light Tokens maintain full ERC-20 compatibility for wallet and exchange integration:Upgradeability
Light Tokens use UUPS (Universal Upgradeable Proxy Standard) for upgrades. Only the IVC can authorize upgrades through_authorizeUpgrade. The upgrade DAO specified in the factory can propose new implementations, but each IVC decides independently whether to upgrade its tokens.
This architecture prevents forced upgrades while maintaining the ability to fix bugs or add features as the protocol evolves.
Events
| Event | Description |
|---|---|
Transfer | ERC-20 compatible transfer event |
Approval | ERC-20 approval event |
TransferByPartition | Partition-specific transfer |
IssuedByPartition | Tokens minted to partition |
RedeemedByPartition | Tokens burned from partition |
AccountFrozen | Account freeze status enabled |
AccountUnfrozen | Account freeze status disabled |
ControllerAdded | New controller authorized |
ControllerRemoved | Controller access revoked |
IVCUpdated | IVC authority transferred |
DocumentUpdated | Compliance document modified |
MetadataUpdated | Token metadata URI changed |
ERC-3643 Alternative
For organizations requiring the T-REX protocol’s modular compliance framework, deploy ERC-3643 tokens instead of Light Tokens. ERC-3643 provides standardized interfaces for compliance modules, identity registries, and claims verification developed by the ERC-3643 Association. ERC-3643 tokens integrate with the same Instance Vault Contract architecture, maintaining consistent governance across both token standards within the Trusset infrastructure.Factory Management
Query deployed tokens:Deploy Tokens via API
Create Light Tokens programmatically through REST API
Instance Vault Contracts
Learn about IVC governance and admin operations
