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

Arguments

Name

Type

Description

asset

address

newCash

uint256

cashIsUp

Arguments

Name

Type

Description

asset

address

newCash

uint256

oracleTouched

Arguments

Name

Type

Description

setAllowLiquidation

Arguments

Name

Type

Description

allowLiquidation_

bool

Last updated

Was this helpful?