Skip to content

Commit

Permalink
Give out a portion of the ANTE as incentive in warn() (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenshively committed Dec 9, 2023
1 parent 6eec8df commit c47b914
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/Borrower.sol
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ contract Borrower is IUniswapV3MintCallback {

slot0 = slot0_ | ((block.timestamp + LIQUIDATION_GRACE_PERIOD) << 208);
emit Warn();

SafeTransferLib.safeTransferETH(msg.sender, address(this).balance >> 3);
}

/**
Expand Down

0 comments on commit c47b914

Please sign in to comment.