For the complete documentation index, see llms.txt. This page is also available as Markdown.

Identity Registry Storage Interface

The Identity Registry Storage interface defines the set of functions and events used to manage and store identity data within the T-REX protocol. Below is a detailed breakdown of each function and event, explaining its purpose, source, and functionality.

IdentityStored

Event

Description: Emitted when an identity is registered into the storage contract.

event IdentityStored(address indexed investorAddress, IIdentity indexed identity);

IdentityUnstored

Event

Description: Emitted when an identity is removed from the storage contract.

event IdentityUnstored(address indexed investorAddress, IIdentity indexed identity);

IdentityModified

Event

Description: Emitted when an identity has been updated in the storage contract.

event IdentityModified(IIdentity indexed oldIdentity, IIdentity indexed newIdentity);

CountryModified

Event

Description: Emitted when an identity's country has been updated in the storage contract.


IdentityRegistryBound

Event

Description: Emitted when an Identity Registry is bound to the storage contract.


IdentityRegistryUnbound

Event

Description: Emitted when an Identity Registry is unbound from the storage contract.


addIdentityToStorage

Source: IIdentityRegistryStorage

Description: Adds an identity contract corresponding to a user address in the storage. Only callable by an agent of the contract.


removeIdentityFromStorage

Source: IIdentityRegistryStorage

Description: Removes a user from the storage. Only callable by an agent of the contract.


modifyStoredInvestorCountry

Source: IIdentityRegistryStorage

Description: Updates the country corresponding to a user address. Only callable by an agent of the contract.


modifyStoredIdentity

Source: IIdentityRegistryStorage

Description: Updates an identity contract corresponding to a user address. Only callable by an agent of the contract.


bindIdentityRegistry

Source: IIdentityRegistryStorage

Description: Adds an identity registry as an agent of the Identity Registry Storage Contract. Only callable by the owner of the contract.


unbindIdentityRegistry

Source: IIdentityRegistryStorage

Description: Removes an identity registry from being an agent of the Identity Registry Storage Contract. Only callable by the owner of the contract.


linkedIdentityRegistries

Source: IIdentityRegistryStorage

Description: Returns the identity registries linked to the storage contract.


storedIdentity

Source: IIdentityRegistryStorage

Description: Returns the ONCHAINID of an investor based on their wallet address.


storedInvestorCountry

Source: IIdentityRegistryStorage

Description: Returns the country code of an investor based on their wallet address.

Last updated