Skip to content

Commit

Permalink
REVENUE
Browse files Browse the repository at this point in the history
  • Loading branch information
libevm committed Dec 13, 2021
1 parent b526817 commit 15eb603
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bot/src/numeric.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ export const calcSandwichState = (

// Return
return {
// NOT PROFIT
// Profit = post gas
revenue: backrun.amountOut.sub(optimalSandwichWethIn),
optimalSandwichWethIn,
userAmountIn,
userMinRecv,
Expand Down

0 comments on commit 15eb603

Please sign in to comment.