-
Notifications
You must be signed in to change notification settings - Fork 16
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
1 parent
f721053
commit d6cdd89
Showing
3 changed files
with
19 additions
and
0 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
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
12 changes: 12 additions & 0 deletions
12
contracts/interfaces/callback/IOverlayMarketLiquidateCallback.sol
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,12 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity >=0.5.0; | ||
|
||
/// @title Callback for OverlayV1Market#liquidate | ||
interface IOverlayMarketLiquidateCallback { | ||
/// @notice Called to `owner` after executing a liquidation. | ||
/// amount0Delta and amount1Delta can both be 0 if no tokens were swapped. | ||
/// @param positionId The positionId of the liquidated position | ||
function overlayMarketLiquidateCallback( | ||
uint256 positionId | ||
) external; | ||
} |