🛂KYCToken
KYCToken contract is used to manage the KYC-mode on a vault.
Last updated
KYCToken contract is used to manage the KYC-mode on a vault.
Last updated
The KYC status is represented by a non-transferable NFT ERC721, minted only by trusted KYC providers. This NFT, associated with a unique address, allows that address to deposit funds in all vaults.
TokenParameters represents the stored metadata to enable on chain filtering when entering Vaults
Name | Type | Description |
---|---|---|
Returns the token ID of the KYC NFT of a user.
Call Parameters:
Return Value:
Returns the KYC parameters for a given token ID.
Call Parameters:
Return Value:
Returns whether or not the user has a valid NFT.
Call Parameters:
Return Value:
Allows KYC providers to edit TokenParameters of a given token ID.
This method can only be called by address with DEFAULT_ADMIN_ROLE.
Call Parameters:
Mints a KYC NFT and stores the KYC Metadata.
This method can only be called by address with MINTER_ROLE.
Call Parameters:
Mints several KYC NFTs in one transaction.
This method can only be called by address with MINTER_ROLE.
Call Parameters:
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
active
bool
ongoing KYC state
provider
string
KYC trust provider
proof
string
hash of the proof
flag
uint256
degree of sensitivity
expiration
uint256
expiration date
_owner
address
address of an owner
uint256
token ID of the KYC NFT
tokenId
uint256
token ID
TokenParameters
KYC parameters of the token
user
address
address of the user
bool
true
if the NFT is valid
tokenId
uint256
ID of the NFT
parameters
TokenParameters
KYC parameters
to
address
address of the user
parameters
TokenParameters
KYC parameters
users
address[]
list of users addresses
parameters
TokenParameters[]
list of KYC parameters