Liquidator.sol
↗ Extends: ErrorReporter, SafeToken

Contract Members

Constants & Variables
1
contract AlkemiEarnVerified public alkemiEarnVerified;
Copied!
Events
1
event BorrowLiquidated(address targetAccount, address assetBorrow, uint256 borrowBalanceBefore, uint256 borrowBalanceAccumulated, uint256 amountRepaid, uint256 borrowBalanceAfter, address liquidator, address assetCollateral, uint256 collateralBalanceBefore, uint256 collateralBalanceAccumulated, uint256 amountSeized, uint256 collateralBalanceAfter);
Copied!

Functions

  • liquidateBorrow(address targetAccount, address assetBorrow, address assetCollateral, uint256 requestedAmountClose)
  • tokenAllowAll(address asset, address allowee)
  • tokenTransferAll(address asset, address recipient)

liquidateBorrow

1
function liquidateBorrow(address targetAccount, address assetBorrow, address assetCollateral, uint256 requestedAmountClose) public nonpayable
2
returns(uint256)
Copied!
Arguments
Name
Type
Description
targetAccount
address
assetBorrow
address
assetCollateral
address
requestedAmountClose
uint256

tokenAllowAll

1
function tokenAllowAll(address asset, address allowee) internal nonpayable
Copied!
Arguments
Name
Type
Description
asset
address
allowee
address

tokenTransferAll

1
function tokenTransferAll(address asset, address recipient) internal nonpayable
Copied!
Arguments
Name
Type
Description
asset
address
recipient
address
Last modified 4mo ago
Copy link