Skip to content

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
FlattestWhite committed Oct 1, 2023
1 parent 71ec5d0 commit 99f951c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/exchangeIssuance/flashMintPerp.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { UnitsUtils } from "@utils/common/unitsUtils";
import { SetFixture } from "@utils/fixtures";
import { BigNumber, ContractTransaction } from "ethers";
import { FlashMintPerp } from "@typechain/FlashMintPerp";
import { SwapRouter } from "@typechain/SwapRouter";
import { Quoter } from "@typechain/Quoter";
import { SlippageIssuanceModule } from "@typechain/SlippageIssuanceModule";
import {
Expand All @@ -26,6 +25,7 @@ import {
getUsdcAmountInForExactSet,
getUsdcAmountOutForExactSet,
} from "@utils/common/exchangeIssuanceUtils";
import { SwapRouter02 } from "@typechain/SwapRouter02";

const expect = getWaffleExpect();

Expand Down Expand Up @@ -87,7 +87,7 @@ describe("FlashMintPerp", async () => {
});

describe("#constructor", async () => {
let uniV3Router: SwapRouter;
let uniV3Router: SwapRouter02;
let uniV3Quoter: Quoter;
let slippageIssuanceModule: SlippageIssuanceModule;
let usdc: StandardTokenMock;
Expand Down Expand Up @@ -151,7 +151,7 @@ describe("FlashMintPerp", async () => {
});

context("when exchange issuance is deployed", async () => {
let uniV3Router: SwapRouter;
let uniV3Router: SwapRouter02;
let uniV3Quoter: Quoter;
let slippageIssuanceModule: SlippageIssuanceModule;

Expand Down
6 changes: 3 additions & 3 deletions test/integration/optimism/flashMintPerpIntegration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { cacheBeforeEach, ether, getAccounts, getWaffleExpect } from "@utils/ind
import { SetToken, SlippageIssuanceModule } from "@utils/contracts/setV2";
import { BigNumber, ContractTransaction } from "ethers";
import { FlashMintPerp, StandardTokenMock, WETH9 } from "@utils/contracts/index";
import { Quoter, SwapRouter } from "../../../typechain";
import { Quoter, SwapRouter02 } from "../../../typechain";
import { ADDRESS_ZERO, MAX_UINT_256 } from "@utils/constants";
import {
encodePath,
Expand Down Expand Up @@ -37,7 +37,7 @@ if (process.env.INTEGRATIONTEST) {
let exchangeIssuance: FlashMintPerp;
let slippageIssuanceModule: SlippageIssuanceModule;

let uniV3Router: SwapRouter;
let uniV3Router: SwapRouter02;
let uniV3Quoter: Quoter;
let usdc: StandardTokenMock;
let weth: WETH9;
Expand All @@ -53,7 +53,7 @@ if (process.env.INTEGRATIONTEST) {
);
usdc = <StandardTokenMock>await ethers.getContractAt("StandardTokenMock", usdcAddress);
weth = <WETH9>await ethers.getContractAt("IWETH", wethAddress);
uniV3Router = <SwapRouter>await ethers.getContractAt("ISwapRouter", uniV3SwapRouterAddress);
uniV3Router = <SwapRouter02>await ethers.getContractAt("ISwapRouter02", uniV3SwapRouterAddress);
uniV3Quoter = <Quoter>await ethers.getContractAt("IQuoter", uniV3QuoterAddress);

exchangeIssuance = await deployer.extensions.deployFlashMintPerp(
Expand Down

0 comments on commit 99f951c

Please sign in to comment.