ErrorReporter
event
Failure
Inputs
| Parameter | Type | Description |
|---|---|---|
| error | uint256 | |
| info | uint256 | |
| detail | uint256 |
Outputs
(void)
Liquidator
function
liquidateBorrow
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| targetAccount | address | |
| assetBorrow | address | |
| assetCollateral | address | |
| requestedAmountClose | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 |
event
BorrowLiquidated
Inputs
| Parameter | Type | Description |
|---|---|---|
| targetAccount | address | |
| assetBorrow | address | |
| borrowBalanceBefore | uint256 | |
| borrowBalanceAccumulated | uint256 | |
| amountRepaid | uint256 | |
| borrowBalanceAfter | uint256 | |
| liquidator | address | |
| assetCollateral | address | |
| collateralBalanceBefore | uint256 | |
| collateralBalanceAccumulated | uint256 | |
| amountSeized | uint256 | |
| collateralBalanceAfter | uint256 |
Outputs
(void)
PriceOracleProxy
constructor
Liquidator
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| moneyMarket_ | address |
Outputs
(void)
function
moneyMarket
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |