mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
chore: cleanup
This commit is contained in:
parent
f354f2112a
commit
b8fc97f6c0
|
@ -1,20 +1,18 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import hre from "hardhat";
|
import hre from "hardhat";
|
||||||
const { web3, deployments, waffle, ethers } = hre;
|
const { waffle, ethers } = hre;
|
||||||
const { provider, deployContract } = waffle;
|
const { provider } = waffle;
|
||||||
|
|
||||||
import { deployAndEnableConnector } from "../../../scripts/tests/deployAndEnableConnector";
|
import { deployAndEnableConnector } from "../../../scripts/tests/deployAndEnableConnector";
|
||||||
import { buildDSAv2 } from "../../../scripts/tests/buildDSAv2";
|
import { buildDSAv2 } from "../../../scripts/tests/buildDSAv2";
|
||||||
import { encodeSpells } from "../../../scripts/tests/encodeSpells";
|
import { encodeSpells } from "../../../scripts/tests/encodeSpells";
|
||||||
import { getMasterSigner } from "../../../scripts/tests/getMasterSigner";
|
import { getMasterSigner } from "../../../scripts/tests/getMasterSigner";
|
||||||
import { addLiquidity } from "../../../scripts/tests/addLiquidity";
|
|
||||||
|
|
||||||
import { addresses } from "../../../scripts/tests/polygon/addresses";
|
import { addresses } from "../../../scripts/tests/polygon/addresses";
|
||||||
import { abis } from "../../../scripts/constant/abis";
|
import { abis } from "../../../scripts/constant/abis";
|
||||||
import { tokens } from "../../../scripts/tests/polygon/tokens";
|
import type { Signer, Contract } from "ethers";
|
||||||
import type { Signer, Contract, BigNumber } from "ethers";
|
|
||||||
|
|
||||||
import { ConnectV2mStable__factory, IERC20Minimal__factory, IERC20Minimal } from "../../../typechain";
|
import { ConnectV2PmStable__factory, IERC20Minimal__factory, IERC20Minimal } from "../../../typechain";
|
||||||
|
|
||||||
import { executeAndAssertDeposit, executeAndAssertSwap, executeAndAssertWithdraw } from "./mstable.utils";
|
import { executeAndAssertDeposit, executeAndAssertSwap, executeAndAssertWithdraw } from "./mstable.utils";
|
||||||
|
|
||||||
|
@ -26,7 +24,6 @@ import {
|
||||||
calcMinOut,
|
calcMinOut,
|
||||||
ONE_DAY,
|
ONE_DAY,
|
||||||
increaseTime,
|
increaseTime,
|
||||||
DEFAULT_DECIMALS,
|
|
||||||
connectorName,
|
connectorName,
|
||||||
toEther
|
toEther
|
||||||
} from "./mstable.helpers";
|
} from "./mstable.helpers";
|
||||||
|
@ -70,7 +67,7 @@ describe("MStable", async () => {
|
||||||
instaConnectorsV2 = await ethers.getContractAt(abis.core.connectorsV2, addresses.core.connectorsV2);
|
instaConnectorsV2 = await ethers.getContractAt(abis.core.connectorsV2, addresses.core.connectorsV2);
|
||||||
connector = await deployAndEnableConnector({
|
connector = await deployAndEnableConnector({
|
||||||
connectorName,
|
connectorName,
|
||||||
contractArtifact: ConnectV2mStable__factory,
|
contractArtifact: ConnectV2PmStable__factory,
|
||||||
signer: masterSigner,
|
signer: masterSigner,
|
||||||
connectors: instaConnectorsV2
|
connectors: instaConnectorsV2
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user