AccessManager

AccessManager contract manages roles and whitelist status related to Vaults contracts.

View Methods

whiteListMode (KYC)

function whiteListMode(address _vaultAddress) external view returns (bool isEnabled)

Returns the KYC mode status of a vault.

Call Parameters:

Return Value:

permissionLessMode

function permissionLessMode() external view returns (bool isEnabled)

Returns the status of the permission-less mode.

Return Value:

getUserAccessInfo

function getUserAccessInfo(address _user)
    external
    view
    returns (
        uint256 ownedTokenID,
        bool isUserKYC,
        IKYCToken.TokenParameters memory _tokenParameters
    )

Returns the KYC information for a given user.

Call Parameters:

Return Values:

isWhiteListed

function isWhiteListed(address _vault, address _user) 
    public view returns (bool)

Returns the whitelist status of a given user.

Call Parameters:

Return Value:

Write Methods

SetPermissionLessMode

function setPermissionLessMode(bool _status) external

Settles the permission-less mode.

This method can only be called by address with DEFAULT_ADMIN_ROLE.

Call Parameters:

SetWhiteListMode (KYC)

function setWhiteListMode(address _vault, bool _status) external

Settles the KYC mode of a vault.

This method can only be called by address with DEFAULT_ADMIN_ROLE.

Call Parameters:

SetKYCTokenImp

function setKYCTokenImp(address _newKYCTokenImp) external

Settles the implementation address of the KYCToken.

This method can only be called by address with DEFAULT_ADMIN_ROLE.

Call Parameters:

Last updated