Identity Registry Interface
The Identity Registry interface defines the set of functions and events used to manage and verify identities within the T-REX protocol. Below is a detailed breakdown of each function and event, explaining its purpose, source, and functionality.
ClaimTopicsRegistrySet
Event
Description: Emitted when the Claim Topics Registry has been set for the Identity Registry.
IdentityStorageSet
Event
Description: Emitted when the Identity Registry Storage has been set for the Identity Registry.
TrustedIssuersRegistrySet
Event
Description: Emitted when the Trusted Issuers Registry has been set for the Identity Registry.
IdentityRegistered
Event
Description: Emitted when an identity is registered in the Identity Registry.
IdentityRemoved
Event
Description: Emitted when an identity is removed from the Identity Registry.
IdentityUpdated
Event
Description: Emitted when an identity has been updated in the Identity Registry.
CountryUpdated
Event
Description: Emitted when an investor's country information is updated in the Identity Registry.
registerIdentity
Source: IIdentityRegistry
Description: Registers an identity contract corresponding to a user address. Only callable by an agent of the contract.
deleteIdentity
Source: IIdentityRegistry
Description: Removes a user from the Identity Registry. Only callable by an agent of the contract.
setIdentityRegistryStorage
Source: IIdentityRegistry
Description: Replaces the current Identity Registry Storage contract with a new one. Only callable by the owner of the contract.
setClaimTopicsRegistry
Source: IIdentityRegistry
Description: Replaces the current Claim Topics Registry contract with a new one. Only callable by the owner of the contract.
setTrustedIssuersRegistry
Source: IIdentityRegistry
Description: Replaces the current Trusted Issuers Registry contract with a new one. Only callable by the owner of the contract.
updateCountry
Source: IIdentityRegistry
Description: Updates the country corresponding to a user address. Only callable by an agent of the contract.
updateIdentity
Source: IIdentityRegistry
Description: Updates an identity contract corresponding to a user address. Only callable by an agent of the contract.
batchRegisterIdentity
Source: IIdentityRegistry
Description: Registers multiple identities in batch. Only callable by an agent of the contract.
contains
Source: IIdentityRegistry
Description: Checks whether a wallet address is registered in the Identity Registry.
isVerified
Source: IIdentityRegistry
Description: Checks whether an identity contract corresponding to a user address has the required claims for verification.
identity
Source: IIdentityRegistry
Description: Returns the ONCHAINID of an investor based on their wallet address.
investorCountry
Source: IIdentityRegistry
Description: Returns the country code of an investor based on their wallet address.
identityStorage
Source: IIdentityRegistry
Description: Returns the Identity Registry Storage linked to the current Identity Registry.
issuersRegistry
Source: IIdentityRegistry
Description: Returns the Trusted Issuers Registry linked to the current Identity Registry.
topicsRegistry
Source: IIdentityRegistry
Description: Returns the Claim Topics Registry linked to the current Identity Registry.
Last updated