Smart contracts and proxies
Proxy contracts are central to the structure of the T-Rex token suite, information is spread over linked smart contracts that allow decentralization and modularity. Below are some of the key proxy contracts related to the functioning of these permissioned tokens.
Compliance contract
It is through this contract that one can set custom rules according to their token. These can be set either via our Factory module or by interacting directly on the blockchain.
The following rules are set at the point of deploying your token via the Factory in the current V4 of the T-REX token smart contract. The contract is also updated with Owner and Agent information.
- Country allow list
- Types of transfer i.e. Conditional
- Owner
- Agents
The initial contract for the token is a Proxy contract, calls from the initial contract are delegated to the necessary contracts. In this case the Compliance contract which holds both rules and information related to the initial contract.
Identity registry
The identity registry storage contract contains all of your whitelisted investor addresses. It is important to note that while these contain the addresses, there is no personal information visible or able to be obtained from the blockchain. The identity registry storage is nested within the Identity registry and the identity registry storage contains the list, you can query this directly from the blockchain or via Polygonscan in order to check if a particular address is whitelisted.
OnchainId and Claim registry
OnchainID is the blockchain identity system that identifies individuals and organizations, allowing them to enforce compliance and access digital assets.
For more information, please visit: https://tokeny.com/onchainid/
The claim registry holds a list of appropriate claims related to a token. These claims much like stamps in a passport determine whether or not an address is able to transact with it.
ONCHAINIDs are smart contracts deployed on the blockchain.
Their address is a unique identifier that can safely be used by a service provider to identify their owner, and even to sign requests.
Claims can be attached to prove legislation based compliance with tokenized assets.
ONCHAINID allows an investor to truly own their identity, while only allowing trusted services to emit claims for it. The data associated with the identity and its claims are under the control of the investor who can share them with other service providers as and when is necessary.
They are fully compatible with every security token based on the T-REX standard (Token for Regulated Exchanges).