-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
155 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
pragma solidity 0.5.16; | ||
|
||
|
||
|
||
contract ILiquidator { | ||
|
||
enum LendingPlatform { Null, Compound, Aave } | ||
|
||
function createLiquidation( | ||
address _integration, | ||
LendingPlatform _lendingPlatform, | ||
address _sellToken, | ||
address _bAsset, | ||
address[] calldata _uniswapPath, | ||
uint256 _sellTranche | ||
) external; | ||
function updateBasset(address _bAsset, address[] calldata _uniswapPath) external; | ||
function deleteLiquidation(address _integration) external; | ||
function changeTrancheAmount(uint256 _sellTranche) external; | ||
|
||
function triggerLiquidation(address _integration) external; | ||
|
||
function collect() external; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.