⛔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:
Type | Description | |
---|---|---|
_vaultAddress | address | address of the vault |
Return Value:
Type | Description |
---|---|
bool |
|
permissionLessMode
Returns the status of the permission-less mode.
Return Value:
Type | Description |
---|---|
bool |
|
getUserAccessInfo
Returns the KYC information for a given user.
Call Parameters:
Name | Type | Description |
---|---|---|
| address | address of the user |
Return Values:
Name | Type | Description |
---|---|---|
| uint256 | KYC token ID |
| bool | KYC state of the user |
| IKYCToken.TokenParameters | KYC information of the user |
isWhiteListed
Returns the whitelist status of a given user.
Call Parameters:
Name | Type | Description |
---|---|---|
| address | address of a vault |
| address | address of a vault's user |
Return Value:
Type | Description |
---|---|
bool |
|
Write Methods
SetPermissionLessMode
Settles the permission-less mode.
This method can only be called by address with DEFAULT_ADMIN_ROLE.
Call Parameters:
Name | Type | Description |
---|---|---|
| bool |
|
SetWhiteListMode (KYC)
Settles the KYC mode of a vault.
This method can only be called by address with DEFAULT_ADMIN_ROLE.
Call Parameters:
Name | Type | Description |
---|---|---|
| address | address of a vault |
| bool |
|
SetKYCTokenImp
Settles the implementation address of the KYCToken.
This method can only be called by address with DEFAULT_ADMIN_ROLE.
Call Parameters:
Name | Type | Description |
---|---|---|
| address | the address of the contract containing the new implementation |
Last updated