KYCViewer
Deployment Address
Mainnet: 0x33F28C3a636B38683a38987100723f2e2d3d038e
Code: KYCViewer.sol
Basics
This class provides helper methods to quickly check KYC & AML properties.
It abstracts complexity by checking both wallet and EOA (Externally Owned Account).
Offers various utility functions for retrieving user information and token balances.
Constructor
Constructor Parameters:
Parameter | Type | Explanation |
---|---|---|
|
| Address of the KintoWalletFactory contract |
|
| Address of the Faucet contract |
|
| Address of the EngenCredits contract |
|
| Address of the KintoAppRegistry contract |
Initialize
Initializes the KYCViewer contract, setting up ownership.
View Functions
isKYC
Checks if an address or a wallet address is KYC'd (Know Your Customer).
Parameter | Type | Explanation |
---|---|---|
|
| The address to check. |
isSanctionsSafe
Checks if an account is safe from sanctions.
Parameter | Type | Explanation |
---|---|---|
|
| The account to check. |
isSanctionsSafeIn
Checks if an account is safe from sanctions in a specific country.
Parameter | Type | Explanation |
---|---|---|
|
| The account to check. |
|
| The country ID for the check. |
isCompany
Checks if an account is a company.
Parameter | Type | Explanation |
---|---|---|
|
| The account to check. |
isIndividual
Checks if an account is an individual.
Parameter | Type | Explanation |
---|---|---|
|
| The account to check. |
hasTrait
Checks if an account has a specific trait.
Parameter | Type | Explanation |
---|---|---|
|
| The account to check. |
|
| The trait ID to check for. |
hasTraits
Checks if an account has multiple specific traits.
Parameter | Type | Explanation |
---|---|---|
|
| The account to check. |
|
| Array of trait IDs to check. |
getCountry
Retrieves the country code associated with an account.
Parameter | Type | Explanation |
---|---|---|
|
| The account to check. |
getWalletOwners
Retrieves the owners of a wallet.
Parameter | Type | Explanation |
---|---|---|
|
| The wallet address. |
getUserInfo
Retrieves comprehensive information about a user.
Parameter | Type | Explanation |
---|---|---|
|
| The account address. |
|
| The associated wallet address. |
getDevApps
Retrieves the apps associated with a developer wallet.
Parameter | Type | Explanation |
---|---|---|
|
| The wallet address. |
getBalances
Retrieves the token balances for a specific target address.
Parameter | Type | Explanation |
---|---|---|
|
| Array of token addresses to query. |
|
| The address whose balances are queried. |
Last updated