IStandardRolesManager

IStandardRolesManager

Atlendis Labs

IStandardRolesManagerStandard Roles Manager interface Extension of the RolesManager interface. The restrictions on lenders can be toggled

Methods

isBorrower

function isBorrower(address account) external view returns (bool)

Check if an address has a borrower role

Parameters

Returns

isGovernance

function isGovernance(address account) external view returns (bool)

Check if an address has a governance role

Parameters

Returns

isLender

function isLender(address account) external view returns (bool)

Check if an address has a lender role

Parameters

Returns

isOperator

function isOperator(address account) external view returns (bool)

Check if an address has an operator role

Parameters

Returns

lenderRestrictionsEnabled

function lenderRestrictionsEnabled() external nonpayable returns (bool)

Returns a boolean stating whether restrictions are enabled or not

Returns

supportsInterface

function supportsInterface(bytes4 interfaceId) external view returns (bool)

Returns true if this contract implements the interface defined by interfaceId. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.

Parameters

Returns

toggleRestrictions

function toggleRestrictions() external nonpayable

Toggle the restrictions on lenders Emits a {RestrictionsToggled} event

Events

RestrictionsToggled

event RestrictionsToggled(bool restrictionsEnabled)

Emitted when the restrictions on lenders is toggled

Parameters

Last updated