mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
test cases update
This commit is contained in:
parent
07d9240556
commit
c92d05bae0
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user