Information available Onchain
Please find below an exhaustive list of the information available on the blockchain when creating a token or an ONCHAINID.
Token smart contract
- Token name
- Token symbol
- Decimals
- Balance per wallet
- Wallet addresses that gave allowance to the smart contract
- Total supply
- Token ONCHIANID address.
- Version of the ERC-3643 deployed (currently the V3 is being deployed, it will be replaced by V4 in the coming weeks)
- Addresses where all tokens are frozen
- Addresses where only part of the tokens are freezes
- Status of the token ("on pause" or "unpause")
- Identity registry smart contract address
- Compliance smart contract address
- Wallet address having the ownership on the token smart contractWallet addresses belonging to agents
Identity registry smart contract
- Address of the claim topic registry smart contract.
- Address of the trusted issuer registry smart contract.
- Address of the identity registry storage smart contract.
- Wallet address having the ownership on the identity registry smart contract.
Identity registry storage smart contract
- Addresses of all the identity registry smart contracts using this specific identity registry storage.
- Wallet address having the ownership on the identity registry storage smart contract (currently Tokeny for the tokens you deploy).
Claim topics registry smart contract
- All the needed claim topic registry (e.g. KYC claim for the tokens you deployed).
- Wallet address having the ownership on the claim topics registry smart contract.
Trusted issuer registry smart contract
- Wallet addresses of all the authorized claim issuer.
- For each wallet addresses belonging to an authorized claim issuer, you can also get the list of claims they are authorized to issue.
- You can make it work the other way around and get all the trusted claim issuers wallet addresses for a specific claim.
- Wallet address having the ownership on the trusted issuer registry smart contract.
Compliance smart contracts
- Address of the token smart contract linked to the compliance smart contracts.
- All addresses of compliance smart contracts linked to the token root compliance smart contracts.
- Mapping to know if a specific module smart contract is linked to the token root compliance smart contracts.
- Note that depending on your specific compliance rules other data might need to be on-chain.
ONCHAINID smart contract
- Nonce used by the execute/approve function.
- The hash of the wallet address linked to the ONCHAINID.
- The wallet address corresponding to a specific key.
- The purpose and type corresponding to a specific key.
Note that regarding the type, at Tokeny we only use ECDSA and for the purpose there are 3 options (1=management; 2=action; 3=claim).
It can also work the other way around, if you give the purpose, you can get all the keys corresponding to a specific purpose- Payload of the transactions (all the needed data linked to a transaction).
For each claimID you get the hashes for the wallet addresses of the claim issuer and claim topic.