Skip to content

Commit

Permalink
Update kickWithDeposit Natspec, remove obsolete event
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy committed Jun 15, 2023
1 parent 670c21f commit f38431e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/libraries/external/KickerActions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,9 @@ library KickerActions {
* @dev - decrement `lender.lps` accumulator
* @dev - decrement `bucket.lps` accumulator
* @dev === Reverts on ===
* @dev bucket price bellow current pool `LUP` `PriceBelowLUP()`
* @dev bucket price below current pool `LUP` `PriceBelowLUP()`
* @dev insufficient deposit to kick auction `InsufficientLiquidity()`
* @dev no `LP` redeemed to kick auction `InsufficientLP()`
* @dev === Emit events ===
* @dev - `RemoveQuoteToken`
* @return kickResult_ The `KickResult` struct result of the kick action.
*/
function kickWithDeposit(
Expand Down Expand Up @@ -306,7 +304,7 @@ library KickerActions {

// add amount to remove to pool debt in order to calculate proposed LUP
// for regular kick this is the currrent LUP in pool
// for provisional kick this just simulates LUP movement and needs to be reset to current LUP in pool
// for provisional kick this simulates LUP movement with additional debt
uint256 lup = Deposits.getLup(deposits_, poolState_.debt + additionalDebt_);

KickLocalVars memory vars;
Expand Down

0 comments on commit f38431e

Please sign in to comment.