Liquidator.sol

View Source: contracts/test/Liquidator.sol

↗ Extends: ErrorReporter, SafeToken

Contract Members

Constants & Variables

contract AlkemiEarnVerified public alkemiEarnVerified;

Events

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);

Functions

  • liquidateBorrow(address targetAccount, address assetBorrow, address assetCollateral, uint256 requestedAmountClose)

  • tokenAllowAll(address asset, address allowee)

  • tokenTransferAll(address asset, address recipient)

liquidateBorrow

function liquidateBorrow(address targetAccount, address assetBorrow, address assetCollateral, uint256 requestedAmountClose) public nonpayable
returns(uint256)

Arguments

tokenAllowAll

function tokenAllowAll(address asset, address allowee) internal nonpayable

Arguments

tokenTransferAll

function tokenTransferAll(address asset, address recipient) internal nonpayable

Arguments

Last updated