import { ethers } from "hardhat" ; import { Address } from "../types" ; import { AaveFixture , AaveV2Fixture , BalancerFixture , CompoundFixture , CurveFixture , KyberV3DMMFixture , SystemFixture , UniswapFixture , YearnFixture , UniswapV3Fixture , PerpV2Fixture } from "../fixtures" ; import { Blockchain , ProtocolUtils } from "../common" ; const provider = ethers . provider ; export const getSystemFixture = ( ownerAddress ) => new SystemFixture ( provider , ownerAddress ) ; export const getProtocolUtils = ( ) => new ProtocolUtils ( provider ) ; export const getBlockchainUtils = ( ) => new Blockchain ( provider ) ; export const getAaveFixture = ( ownerAddress ) => new AaveFixture ( provider , ownerAddress ) ; export const getAaveV2Fixture = ( ownerAdderss ) => new AaveV2Fixture ( provider , ownerAdderss ) ; export const getBalancerFixture = ( ownerAddress ) => new BalancerFixture ( provider , ownerAddress ) ; export const getCurveFixture = ( ownerAddress ) => new CurveFixture ( provider , ownerAddress ) ; export const getCompoundFixture = ( ownerAddress ) => new CompoundFixture ( provider , ownerAddress ) ; export const getKyberV3DMMFixture = ( ownerAddress ) => new KyberV3DMMFixture ( provider , ownerAddress ) ; export const getUniswapFixture = ( ownerAddress ) => new UniswapFixture ( provider , ownerAddress ) ; export const getYearnFixture = ( ownerAddress ) => new YearnFixture ( provider , ownerAddress ) ; export const getUniswapV3Fixture = ( ownerAddress ) => new UniswapV3Fixture ( provider , ownerAddress ) ; export const getPerpV2Fixture = ( ownerAddress ) => new PerpV2Fixture ( provider , ownerAddress ) ; export { ForkedTokens } from "./types" ; export { getAccounts , getEthBalance , getRandomAccount , getForkedTokens , initializeForkedTokens , } from "./accountUtils" ; export { addSnapshotBeforeRestoreAfterEach , getLastBlockTimestamp , getProvider , getTransactionTimestamp , getWaffleExpect , increaseTimeAsync , mineBlockAsync , cacheBeforeEach } from "./testingUtils" ; export { getRandomAddress } from "../common" ;