LiquidationChecker.sol

Contract Members

Constants & Variables
1
contract AlkemiEarnVerified public alkemiEarnVerified;
2
address public liquidator;
3
bool public allowLiquidation;
Copied!

Functions

  • isAllowed(address asset, uint256 newCash)
  • isLiquidate(address asset, uint256 newCash)
  • cashIsUp(address asset, uint256 newCash)
  • oracleTouched()
  • setAllowLiquidation(bool allowLiquidation_)

isAllowed

1
function isAllowed(address asset, uint256 newCash) internal view
2
returns(bool)
Copied!
Arguments
Name
Type
Description
asset
address
newCash
uint256

isLiquidate

1
function isLiquidate(address asset, uint256 newCash) internal view
2
returns(bool)
Copied!
Arguments
Name
Type
Description
asset
address
newCash
uint256

cashIsUp

1
function cashIsUp(address asset, uint256 newCash) internal view
2
returns(bool)
Copied!
Arguments
Name
Type
Description
asset
address
newCash
uint256

oracleTouched

1
function oracleTouched() internal view
2
returns(bool)
Copied!
Arguments
Name
Type
Description

setAllowLiquidation

1
function setAllowLiquidation(bool allowLiquidation_) public nonpayable
Copied!
Arguments
Name
Type
Description
allowLiquidation_
bool
Last modified 4mo ago
Copy link