⛔AccessManager
AccessManager contract manages roles and whitelist status related to Vaults contracts.
View Methods
whiteListMode (KYC)
Returns the KYC mode status of a vault.
Call Parameters:
_vaultAddress
address
address of the vault
Return Value:
bool
true
if the KYC mode is enabled
permissionLessMode
Returns the status of the permission-less mode.
Return Value:
bool
true
if the permission-less mode is enabled
getUserAccessInfo
Returns the KYC information for a given user.
Call Parameters:
_user
address
address of the user
Return Values:
ownedTokenID
uint256
KYC token ID
isUserKYC
bool
KYC state of the user
_tokenParameters
IKYCToken.TokenParameters
KYC information of the user
isWhiteListed
Returns the whitelist status of a given user.
Call Parameters:
_vault
address
address of a vault
_user
address
address of a vault's user
Return Value:
bool
true
if the address is whitelisted
Write Methods
SetPermissionLessMode
Settles the permission-less mode.
This method can only be called by address with DEFAULT_ADMIN_ROLE.
Call Parameters:
_status
bool
true
to enable the permission-less mode
SetWhiteListMode (KYC)
Settles the KYC mode of a vault.
This method can only be called by address with DEFAULT_ADMIN_ROLE.
Call Parameters:
_vault
address
address of a vault
_status
bool
true
to enable the KYC mode
SetKYCTokenImp
Settles the implementation address of the KYCToken.
This method can only be called by address with DEFAULT_ADMIN_ROLE.
Call Parameters:
_newKYCTokenImp
address
the address of the contract containing the new implementation
Last updated