test cases update

This commit is contained in:
pradyuman-verma 2021-11-20 17:57:45 +05:30
parent 07d9240556
commit c92d05bae0
No known key found for this signature in database
GPG Key ID: 03CEE9087D1D5E4C
2 changed files with 4 additions and 11 deletions

View File

@ -32,12 +32,7 @@ contract uniswapSellBeta is Helpers, Events {
)
);
_eventName = "LogSell(uint24,uint256,uint256,uint256)";
_eventParam = abi.encode(
fee,
amountIn,
amountOut,
amountOutMinimum
);
_eventParam = abi.encode(fee, amountIn, amountOut, amountOutMinimum);
}
}

View File

@ -92,8 +92,7 @@ describe("Uniswap-sell-beta", function() {
USDC_ADDR,
3000,
ethers.utils.parseUnits("10.0", 18),
0,
true
0
);
// console.log(tx);
});
@ -118,12 +117,11 @@ describe("Uniswap-sell-beta", function() {
.transfer(uniswapSellBeta.address, ethers.utils.parseUnits("10.0", 6));
const tx = await uniswapSellBeta.sell(
WETH_ADDR,
USDC_ADDR,
WETH_ADDR,
3000,
ethers.utils.parseUnits("10.0", 6),
0,
false
0
);
// console.log(tx);
});