IKYCRegistry

This interface includes all the functions to manage KYC verified accounts.

RegisteredAccount

event RegisteredAccount(address account, bytes32 tier)

Emitted when a account is registered.

UpdatedAccountTier

event UpdatedAccountTier(address account, bytes32 tier)

Emitted when a account's tier is updated

UpdatedAccountStatus

event UpdatedAccountStatus(address account, enum AccountStatus status)

Emitted when a account's status is updated

registerAccount

function registerAccount(address _account, bytes32 _tier) external

Register a new account for KYC process

Register a new account and associate it with a tier

Parameters

Name
Type
Description

_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

Name
Type
Description

_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

Name
Type
Description

_account

address

The address of the account to hault

unhaultAccount

Reactivate a temporarily disabled account

Unhaults a haulted account

Parameters

Name
Type
Description

_account

address

The address of the account to unhault

banAccount

Permanently ban an account

Bans an account from the system

Parameters

Name
Type
Description

_account

address

The address of the account to ban

unbanAccount

Unban a previously banned account

Unbans a banned account

Parameters

Name
Type
Description

_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

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[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

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[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

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[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

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[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

Name
Type
Description

_account

address

The address of the account

Return Values

Name
Type
Description

[0]

bool

A boolean value indicating if the account is banned

Last updated