Skip to content

Commit

Permalink
review comments applied
Browse files Browse the repository at this point in the history
  • Loading branch information
akolotov committed Oct 2, 2023
1 parent 8d3ca6b commit d0f65b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zkbob/ZkBobPoolUSDCMigrated.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ contract ZkBobPoolUSDCMigrated is ZkBobPool, ZkBobTokenSellerMixin, ZkBobUSDCPer
uint256 usdc_received = swapRouter.exactInput(
ISwapRouter.ExactInputParams({
path: abi.encodePacked(
bob_addr, uint24(100), 0x7F5c764cBc14f9669B88837ca1490cCa17c31607, uint24(500), token
bob_addr, uint24(100), 0x7F5c764cBc14f9669B88837ca1490cCa17c31607, uint24(100), token
),
recipient: address(this),
deadline: block.timestamp,
amountIn: cur_bob_balance,
amountOutMinimum: 0
amountOutMinimum: cur_bob_balance * 995 / 1e15
})
);
require(IERC20(bob_addr).balanceOf(address(this)) == 0, "Incorrect swap");
Expand Down

0 comments on commit d0f65b0

Please sign in to comment.