mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
updated swap-test
This commit is contained in:
parent
0fef42970b
commit
6126d72bdd
|
@ -124,7 +124,8 @@ describe("UniswapV3", function() {
|
||||||
describe("Main", function() {
|
describe("Main", function() {
|
||||||
|
|
||||||
it("Should buy successfully", async function() {
|
it("Should buy successfully", async function() {
|
||||||
const daiAmount = ethers.utils.parseEther("400");
|
const ethAmount = ethers.utils.parseEther("0.1");
|
||||||
|
const unitAmt = ethers.utils.parseEther("400")
|
||||||
const ethAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
const ethAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
||||||
const getId = "0";
|
const getId = "0";
|
||||||
const setId = "0";
|
const setId = "0";
|
||||||
|
@ -133,7 +134,7 @@ describe("UniswapV3", function() {
|
||||||
{
|
{
|
||||||
connector: connectorName,
|
connector: connectorName,
|
||||||
method: "buy",
|
method: "buy",
|
||||||
args: [DAI_ADDR, ethAddress, FeeAmount.MEDIUM, "0", daiAmount, getId, setId],
|
args: [ethAddress, DAI_ADDR, FeeAmount.MEDIUM, unitAmt, ethAmount, getId, setId],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user