KYCRegistry
This contract includes all the functions to manage KYC verified accounts.
_accounts
registerAccount
Register a new account for KYC process
Register a new account and associate it with a tier, country and region
Parameters
_account
address
The address of the account to register
_tier
bytes32
The tier level of the account
updateTier
Update the tier level of an existing account
Updates the tier level of a registered account
Parameters
_account
address
The address of the account to update
_tier
bytes32
The new tier level of the account
haultAccount
Temporarily disable an account
Temporarily haults an account
Parameters
_account
address
The address of the account to hault
unhaultAccount
Reactivate a temporarily disabled account
Unhaults a haulted account
Parameters
_account
address
The address of the account to unhault
banAccount
Permanently ban an account
Bans an account from the system
Parameters
_account
address
The address of the account to ban
unbanAccount
Unban a previously banned account
Unbans a banned account
Parameters
_account
address
The address of the account to unban
getAccount
Get the details of an account
Fetches the Account details for the given account address
Parameters
_account
address
The address of the account
Return Values
[0]
struct Account
The Account struct containing account details
isAccountRegistered
Checks if an account is registered
Checks the registry if an account address is registered
Parameters
_account
address
The address of the account
Return Values
[0]
bool
A boolean value indicating if the account is registered
isAccountActive
Checks if an account is active
Checks the status of an account if it is active
Parameters
_account
address
The address of the account
Return Values
[0]
bool
A boolean value indicating if the account is active
isAccountHaulted
Checks if an account is haulted
Checks the status of an account if it is haulted
Parameters
_account
address
The address of the account
Return Values
[0]
bool
A boolean value indicating if the account is haulted
isAccountBanned
Checks if an account is banned
Checks the status of an account if it is banned
Parameters
_account
address
The address of the account
Return Values
[0]
bool
A boolean value indicating if the account is banned
Last updated