LiquidationChecker.sol
View Source: contracts/test/LiquidationChecker.sol
Contract Members
Constants & Variables
contract AlkemiEarnVerified public alkemiEarnVerified;
address public liquidator;
bool public allowLiquidation;
Functions
isAllowed(address asset, uint256 newCash)
isLiquidate(address asset, uint256 newCash)
cashIsUp(address asset, uint256 newCash)
oracleTouched()
setAllowLiquidation(bool allowLiquidation_)
isAllowed
function isAllowed(address asset, uint256 newCash) internal view
returns(bool)
Arguments
Name
Type
Description
asset
address
newCash
uint256
isLiquidate
function isLiquidate(address asset, uint256 newCash) internal view
returns(bool)
Arguments
Name
Type
Description
asset
address
newCash
uint256
cashIsUp
function cashIsUp(address asset, uint256 newCash) internal view
returns(bool)
Arguments
Name
Type
Description
asset
address
newCash
uint256
oracleTouched
function oracleTouched() internal view
returns(bool)
Arguments
Name
Type
Description
setAllowLiquidation
function setAllowLiquidation(bool allowLiquidation_) public nonpayable
Arguments
Name
Type
Description
allowLiquidation_
bool
Last updated
Was this helpful?