Skip to content

ILiquidator

Description

Source: contracts/interfaces/ILiquidator.sol

Views

calculateAmountToFixCollateral

Source

Details

Signature

calculateAmountToFixCollateral(uint256 debtBalance, uint256 collateral, uint256 penalty) view returns (uint256)

Visibility

external

State Mutability

view

flagReward

Source

Details

Signature

flagReward() view returns (uint256)

Visibility

external

State Mutability

view

getLiquidationCallerForAccount

Source

Details

Signature

getLiquidationCallerForAccount(address account) view returns (address)

Visibility

external

State Mutability

view

getLiquidationDeadlineForAccount

Source

Details

Signature

getLiquidationDeadlineForAccount(address account) view returns (uint256)

Visibility

external

State Mutability

view

isLiquidationDeadlinePassed

Source

Details

Signature

isLiquidationDeadlinePassed(address account) view returns (bool)

Visibility

external

State Mutability

view

isLiquidationOpen

Source

Details

Signature

isLiquidationOpen(address account, bool isSelfLiquidation) view returns (bool)

Visibility

external

State Mutability

view

issuanceRatio

Source

Details

Signature

issuanceRatio() view returns (uint256)

Visibility

external

State Mutability

view

liquidateReward

Source

Details

Signature

liquidateReward() view returns (uint256)

Visibility

external

State Mutability

view

liquidationAmounts

Source

Details

Signature

liquidationAmounts(address account, bool isSelfLiquidation) view returns (uint256 totalRedeemed, uint256 debtToRemove, uint256 escrowToLiquidate, uint256 initialDebtBalance)

Visibility

external

State Mutability

view

liquidationCollateralRatio

Source

Details

Signature

liquidationCollateralRatio() view returns (uint256)

Visibility

external

State Mutability

view

liquidationDelay

Source

Details

Signature

liquidationDelay() view returns (uint256)

Visibility

external

State Mutability

view

liquidationEscrowDuration

Source

Details

Signature

liquidationEscrowDuration() view returns (uint256)

Visibility

external

State Mutability

view

liquidationPenalty

Source

Details

Signature

liquidationPenalty() view returns (uint256)

Visibility

external

State Mutability

view

liquidationRatio

Source

Details

Signature

liquidationRatio() view returns (uint256)

Visibility

external

State Mutability

view

selfLiquidationPenalty

Source

Details

Signature

selfLiquidationPenalty() view returns (uint256)

Visibility

external

State Mutability

view

External Functions

checkAndRemoveAccountInLiquidation

Source

Details

Signature

checkAndRemoveAccountInLiquidation(address account)

Visibility

external

State Mutability

``

flagAccountForLiquidation

Source

Details

Signature

flagAccountForLiquidation(address account)

Visibility

external

State Mutability

``

removeAccountInLiquidation

Source

Details

Signature

removeAccountInLiquidation(address account)

Visibility

external

State Mutability

``