GuardianModule

Git Source

Inherits:AuthModule

Fluid Liquidity Guardians only related methods

Functions

onlyGuardians

only guardians guard

modifier onlyGuardians();

pauseUser

pause operations for a particular user in class 0 (class 1 users can't be paused by guardians). Only callable by Guardians.

function pauseUser(address user_, address[] calldata supplyTokens_, address[] calldata borrowTokens_)
    public
    onlyGuardians;

Parameters

NameTypeDescription
user_addressaddress of user to pause operations for
supplyTokens_address[]token addresses to pause withdrawals for
borrowTokens_address[]token addresses to pause borrowings for

unpauseUser

unpause operations for a particular user in class 0 (class 1 users can't be paused by guardians). Only callable by Guardians.

function unpauseUser(address user_, address[] calldata supplyTokens_, address[] calldata borrowTokens_)
    public
    onlyGuardians;

Parameters

NameTypeDescription
user_addressaddress of user to unpause operations for
supplyTokens_address[]token addresses to unpause withdrawals for
borrowTokens_address[]token addresses to unpause borrowings for