fix: Remove unused imports

This commit is contained in:
Lasse Herskind 2021-10-14 14:02:45 +01:00
parent 02b9641276
commit 4be5c0ea0f
4 changed files with 10 additions and 28 deletions

View File

@ -1,17 +1,14 @@
import rawDRE, { ethers } from 'hardhat';
import rawDRE from 'hardhat';
import {
LendingPoolFactory,
WETH9Factory,
ATokenFactory,
ERC20,
LendingPool,
StaticATokenLMFactory,
ERC20Factory,
WETH9,
AToken,
StaticATokenLM,
InitializableAdminUpgradeabilityProxyFactory,
StaticAToken,
} from '../../../../types';
import {
impersonateAccountsHardhat,
@ -19,16 +16,15 @@ import {
waitForTx,
evmRevert,
evmSnapshot,
timeLatest,
advanceTimeAndBlock,
} from '../../../../helpers/misc-utils';
import { BigNumber, providers, Signer, utils } from 'ethers';
import { MAX_UINT_AMOUNT, USD_ADDRESS } from '../../../../helpers/constants';
import { AbiCoder, formatEther, verifyTypedData } from 'ethers/lib/utils';
import { MAX_UINT_AMOUNT } from '../../../../helpers/constants';
import { formatEther } from 'ethers/lib/utils';
import { _TypedDataEncoder } from 'ethers/lib/utils';
import { expect, use } from 'chai';
import { expect } from 'chai';
import { zeroAddress } from 'hardhat/node_modules/ethereumjs-util';
//use(solidity);

View File

@ -3,16 +3,12 @@ import bnjs from 'bignumber.js';
import { solidity } from 'ethereum-waffle';
import {
LendingPoolFactory,
WETH9Factory,
StaticATokenFactory,
ATokenFactory,
ERC20,
LendingPool,
StaticATokenLMFactory,
ERC20Factory,
WETH9,
AToken,
StaticAToken,
StaticATokenLM,
InitializableAdminUpgradeabilityProxyFactory,
} from '../../../../types';
@ -23,10 +19,8 @@ import {
waitForTx,
evmRevert,
evmSnapshot,
timeLatest,
advanceTimeAndBlock,
} from '../../../../helpers/misc-utils';
import { BigNumber, providers, Signer, utils } from 'ethers';
import { BigNumber, providers, utils } from 'ethers';
import { rayDiv, rayMul } from '../../../../helpers/ray-math';
import { MAX_UINT_AMOUNT, ZERO_ADDRESS } from '../../../../helpers/constants';
import { tEthereumAddress } from '../../../../helpers/types';

View File

@ -1,4 +1,4 @@
import rawDRE, { ethers } from 'hardhat';
import rawDRE from 'hardhat';
import {
LendingPoolFactory,
WETH9Factory,
@ -13,25 +13,21 @@ import {
InitializableAdminUpgradeabilityProxyFactory,
} from '../../../../types';
import {
impersonateAccountsHardhat,
DRE,
waitForTx,
evmRevert,
evmSnapshot,
timeLatest,
advanceTimeAndBlock,
} from '../../../../helpers/misc-utils';
import { BigNumber, providers, Signer, utils } from 'ethers';
import { MAX_UINT_AMOUNT, USD_ADDRESS } from '../../../../helpers/constants';
import { AbiCoder, formatEther, verifyTypedData } from 'ethers/lib/utils';
import { MAX_UINT_AMOUNT } from '../../../../helpers/constants';
import { formatEther } from 'ethers/lib/utils';
import { _TypedDataEncoder } from 'ethers/lib/utils';
import { expect, use } from 'chai';
import { expect } from 'chai';
import { zeroAddress } from 'ethereumjs-util';
//use(solidity);
const DEFAULT_GAS_LIMIT = 10000000;
const DEFAULT_GAS_PRICE = utils.parseUnits('100', 'gwei');

View File

@ -4,7 +4,6 @@ import { solidity } from 'ethereum-waffle';
import {
LendingPoolFactory,
WETH9Factory,
StaticATokenFactory,
ATokenFactory,
ERC20,
LendingPool,
@ -12,7 +11,6 @@ import {
ERC20Factory,
WETH9,
AToken,
StaticAToken,
StaticATokenLM,
InitializableAdminUpgradeabilityProxyFactory,
} from '../../../../types';
@ -23,10 +21,8 @@ import {
waitForTx,
evmRevert,
evmSnapshot,
timeLatest,
advanceTimeAndBlock,
} from '../../../../helpers/misc-utils';
import { BigNumber, providers, Signer, utils } from 'ethers';
import { BigNumber, providers, utils } from 'ethers';
import { rayDiv, rayMul } from '../../../../helpers/ray-math';
import { MAX_UINT_AMOUNT, ZERO_ADDRESS } from '../../../../helpers/constants';
import { tEthereumAddress } from '../../../../helpers/types';