ILiquidator¶
Description¶
Source: contracts/interfaces/ILiquidator.sol
Views¶
calculateAmountToFixCollateral
¶
Details
Signature
calculateAmountToFixCollateral(uint256 debtBalance, uint256 collateral, uint256 penalty) view returns (uint256)
Visibility
external
State Mutability
view
flagReward
¶
Details
Signature
flagReward() view returns (uint256)
Visibility
external
State Mutability
view
getLiquidationCallerForAccount
¶
Details
Signature
getLiquidationCallerForAccount(address account) view returns (address)
Visibility
external
State Mutability
view
getLiquidationDeadlineForAccount
¶
Details
Signature
getLiquidationDeadlineForAccount(address account) view returns (uint256)
Visibility
external
State Mutability
view
isLiquidationDeadlinePassed
¶
Details
Signature
isLiquidationDeadlinePassed(address account) view returns (bool)
Visibility
external
State Mutability
view
isLiquidationOpen
¶
Details
Signature
isLiquidationOpen(address account, bool isSelfLiquidation) view returns (bool)
Visibility
external
State Mutability
view
issuanceRatio
¶
Details
Signature
issuanceRatio() view returns (uint256)
Visibility
external
State Mutability
view
liquidateReward
¶
Details
Signature
liquidateReward() view returns (uint256)
Visibility
external
State Mutability
view
liquidationAmounts
¶
Details
Signature
liquidationAmounts(address account, bool isSelfLiquidation) view returns (uint256 totalRedeemed, uint256 debtToRemove, uint256 escrowToLiquidate, uint256 initialDebtBalance)
Visibility
external
State Mutability
view
liquidationCollateralRatio
¶
Details
Signature
liquidationCollateralRatio() view returns (uint256)
Visibility
external
State Mutability
view
liquidationDelay
¶
Details
Signature
liquidationDelay() view returns (uint256)
Visibility
external
State Mutability
view
liquidationEscrowDuration
¶
Details
Signature
liquidationEscrowDuration() view returns (uint256)
Visibility
external
State Mutability
view
liquidationPenalty
¶
Details
Signature
liquidationPenalty() view returns (uint256)
Visibility
external
State Mutability
view
liquidationRatio
¶
Details
Signature
liquidationRatio() view returns (uint256)
Visibility
external
State Mutability
view
selfLiquidationPenalty
¶
Details
Signature
selfLiquidationPenalty() view returns (uint256)
Visibility
external
State Mutability
view
External Functions¶
checkAndRemoveAccountInLiquidation
¶
Details
Signature
checkAndRemoveAccountInLiquidation(address account)
Visibility
external
State Mutability
``
flagAccountForLiquidation
¶
Details
Signature
flagAccountForLiquidation(address account)
Visibility
external
State Mutability
``
removeAccountInLiquidation
¶
Details
Signature
removeAccountInLiquidation(address account)
Visibility
external
State Mutability
``