KYCViewer

Deployment Address
Code: KYCViewer.sol

Basics

  • This class provides helper methods to quickly check KYC & AML properties.

State Functions

initialize() external initializer

  1. 1.
    initialize
Initializes the KYCViewer contract.
function initialize() external initializer;
No parameters.

View Functions

isKYC(address _address) external view returns (bool)
isSanctionsSafe(address _account) external view returns (bool)
isSanctionsSafeIn(address _account, uint16 _countryId) external view returns (bool)
isCompany(address _account) external view returns (bool)
isIndividual(address _account) external view returns (bool)
hasTrait(address _account, uint8 _traitId) external view returns (bool)
  1. 1.
    isKYC
Checks if an address or a wallet address is KYC'd (Know Your Customer).
function isKYC(address _address) external view override returns (bool);
Parameter
Type
Explanation
_address
address
The address to check.
  1. 2.
    isSanctionsSafe
Checks if an account is safe from sanctions.
function isSanctionsSafe(address _account) external view override returns (bool);
Parameter
Type
Explanation
_account
address
The account to check.
  1. 3.
    isSanctionsSafeIn
Checks if an account is safe from sanctions in a specific country.
function isSanctionsSafeIn(address _account, uint16 _countryId) external view override returns (bool);
Parameter
Type
Explanation
_account
address
The account to check.
_countryId
uint16
The country ID for the check.
  1. 4.
    isCompany
Checks if an account is a company.
function isCompany(address _account) external view override returns (bool);
Parameter
Type
Explanation
_account
address
The account to check.
  1. 5.
    isIndividual
Checks if an account is an individual.
function isIndividual(address _account) external view override returns (bool);
Parameter
Type
Explanation
_account
address
The account to check.
  1. 6.
    hasTrait
Checks if a specific address or wallet is KYC'd.
function hasTrait(address _account, uint8 _traitId) external view returns (bool);