Skip to content

Commit

Permalink
log swapRook event with inR
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-clippy committed Feb 1, 2024
1 parent 3800f0d commit 6802af6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/swap/FlashSwapRouterV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ contract FlashSwapRouterV3 is ITranchessSwapCallee, ITrancheIndexV2, Ownable {
require(resultAmount >= minQuote, "Insufficient output");
IERC20(tokenQuote).safeTransfer(recipient, resultAmount);
}
uint256 weightB = fund.weightB();
emit SwapRook(recipient, inB.div(weightB), 0, 0, resultAmount);
emit SwapRook(recipient, inR, 0, 0, resultAmount);
}

function tranchessSwapCallback(
Expand Down

0 comments on commit 6802af6

Please sign in to comment.