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)";
|
_eventName = "LogSell(uint24,uint256,uint256,uint256)";
|
||||||
_eventParam = abi.encode(
|
_eventParam = abi.encode(fee, amountIn, amountOut, amountOutMinimum);
|
||||||
fee,
|
|
||||||
amountIn,
|
|
||||||
amountOut,
|
|
||||||
amountOutMinimum
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -92,8 +92,7 @@ describe("Uniswap-sell-beta", function() {
|
||||||
USDC_ADDR,
|
USDC_ADDR,
|
||||||
3000,
|
3000,
|
||||||
ethers.utils.parseUnits("10.0", 18),
|
ethers.utils.parseUnits("10.0", 18),
|
||||||
0,
|
0
|
||||||
true
|
|
||||||
);
|
);
|
||||||
// console.log(tx);
|
// console.log(tx);
|
||||||
});
|
});
|
||||||
|
@ -118,12 +117,11 @@ describe("Uniswap-sell-beta", function() {
|
||||||
.transfer(uniswapSellBeta.address, ethers.utils.parseUnits("10.0", 6));
|
.transfer(uniswapSellBeta.address, ethers.utils.parseUnits("10.0", 6));
|
||||||
|
|
||||||
const tx = await uniswapSellBeta.sell(
|
const tx = await uniswapSellBeta.sell(
|
||||||
WETH_ADDR,
|
|
||||||
USDC_ADDR,
|
USDC_ADDR,
|
||||||
|
WETH_ADDR,
|
||||||
3000,
|
3000,
|
||||||
ethers.utils.parseUnits("10.0", 6),
|
ethers.utils.parseUnits("10.0", 6),
|
||||||
0,
|
0
|
||||||
false
|
|
||||||
);
|
);
|
||||||
// console.log(tx);
|
// console.log(tx);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user