GuardianModule
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
Name | Type | Description |
---|---|---|
user_ | address | address 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
Name | Type | Description |
---|---|---|
user_ | address | address of user to unpause operations for |
supplyTokens_ | address[] | token addresses to unpause withdrawals for |
borrowTokens_ | address[] | token addresses to unpause borrowings for |