mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: Remove unused imports
This commit is contained in:
parent
02b9641276
commit
4be5c0ea0f
|
@ -1,17 +1,14 @@
|
||||||
import rawDRE, { ethers } from 'hardhat';
|
import rawDRE from 'hardhat';
|
||||||
import {
|
import {
|
||||||
LendingPoolFactory,
|
LendingPoolFactory,
|
||||||
WETH9Factory,
|
|
||||||
ATokenFactory,
|
ATokenFactory,
|
||||||
ERC20,
|
ERC20,
|
||||||
LendingPool,
|
LendingPool,
|
||||||
StaticATokenLMFactory,
|
StaticATokenLMFactory,
|
||||||
ERC20Factory,
|
ERC20Factory,
|
||||||
WETH9,
|
|
||||||
AToken,
|
AToken,
|
||||||
StaticATokenLM,
|
StaticATokenLM,
|
||||||
InitializableAdminUpgradeabilityProxyFactory,
|
InitializableAdminUpgradeabilityProxyFactory,
|
||||||
StaticAToken,
|
|
||||||
} from '../../../../types';
|
} from '../../../../types';
|
||||||
import {
|
import {
|
||||||
impersonateAccountsHardhat,
|
impersonateAccountsHardhat,
|
||||||
|
@ -19,16 +16,15 @@ import {
|
||||||
waitForTx,
|
waitForTx,
|
||||||
evmRevert,
|
evmRevert,
|
||||||
evmSnapshot,
|
evmSnapshot,
|
||||||
timeLatest,
|
|
||||||
advanceTimeAndBlock,
|
advanceTimeAndBlock,
|
||||||
} from '../../../../helpers/misc-utils';
|
} from '../../../../helpers/misc-utils';
|
||||||
import { BigNumber, providers, Signer, utils } from 'ethers';
|
import { BigNumber, providers, Signer, utils } from 'ethers';
|
||||||
import { MAX_UINT_AMOUNT, USD_ADDRESS } from '../../../../helpers/constants';
|
import { MAX_UINT_AMOUNT } from '../../../../helpers/constants';
|
||||||
import { AbiCoder, formatEther, verifyTypedData } from 'ethers/lib/utils';
|
import { formatEther } from 'ethers/lib/utils';
|
||||||
|
|
||||||
import { _TypedDataEncoder } 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';
|
import { zeroAddress } from 'hardhat/node_modules/ethereumjs-util';
|
||||||
|
|
||||||
//use(solidity);
|
//use(solidity);
|
||||||
|
|
|
@ -3,16 +3,12 @@ import bnjs from 'bignumber.js';
|
||||||
import { solidity } from 'ethereum-waffle';
|
import { solidity } from 'ethereum-waffle';
|
||||||
import {
|
import {
|
||||||
LendingPoolFactory,
|
LendingPoolFactory,
|
||||||
WETH9Factory,
|
|
||||||
StaticATokenFactory,
|
|
||||||
ATokenFactory,
|
ATokenFactory,
|
||||||
ERC20,
|
ERC20,
|
||||||
LendingPool,
|
LendingPool,
|
||||||
StaticATokenLMFactory,
|
StaticATokenLMFactory,
|
||||||
ERC20Factory,
|
ERC20Factory,
|
||||||
WETH9,
|
|
||||||
AToken,
|
AToken,
|
||||||
StaticAToken,
|
|
||||||
StaticATokenLM,
|
StaticATokenLM,
|
||||||
InitializableAdminUpgradeabilityProxyFactory,
|
InitializableAdminUpgradeabilityProxyFactory,
|
||||||
} from '../../../../types';
|
} from '../../../../types';
|
||||||
|
@ -23,10 +19,8 @@ import {
|
||||||
waitForTx,
|
waitForTx,
|
||||||
evmRevert,
|
evmRevert,
|
||||||
evmSnapshot,
|
evmSnapshot,
|
||||||
timeLatest,
|
|
||||||
advanceTimeAndBlock,
|
|
||||||
} from '../../../../helpers/misc-utils';
|
} 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 { rayDiv, rayMul } from '../../../../helpers/ray-math';
|
||||||
import { MAX_UINT_AMOUNT, ZERO_ADDRESS } from '../../../../helpers/constants';
|
import { MAX_UINT_AMOUNT, ZERO_ADDRESS } from '../../../../helpers/constants';
|
||||||
import { tEthereumAddress } from '../../../../helpers/types';
|
import { tEthereumAddress } from '../../../../helpers/types';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import rawDRE, { ethers } from 'hardhat';
|
import rawDRE from 'hardhat';
|
||||||
import {
|
import {
|
||||||
LendingPoolFactory,
|
LendingPoolFactory,
|
||||||
WETH9Factory,
|
WETH9Factory,
|
||||||
|
@ -13,25 +13,21 @@ import {
|
||||||
InitializableAdminUpgradeabilityProxyFactory,
|
InitializableAdminUpgradeabilityProxyFactory,
|
||||||
} from '../../../../types';
|
} from '../../../../types';
|
||||||
import {
|
import {
|
||||||
impersonateAccountsHardhat,
|
|
||||||
DRE,
|
DRE,
|
||||||
waitForTx,
|
waitForTx,
|
||||||
evmRevert,
|
evmRevert,
|
||||||
evmSnapshot,
|
evmSnapshot,
|
||||||
timeLatest,
|
|
||||||
advanceTimeAndBlock,
|
advanceTimeAndBlock,
|
||||||
} from '../../../../helpers/misc-utils';
|
} from '../../../../helpers/misc-utils';
|
||||||
import { BigNumber, providers, Signer, utils } from 'ethers';
|
import { BigNumber, providers, Signer, utils } from 'ethers';
|
||||||
import { MAX_UINT_AMOUNT, USD_ADDRESS } from '../../../../helpers/constants';
|
import { MAX_UINT_AMOUNT } from '../../../../helpers/constants';
|
||||||
import { AbiCoder, formatEther, verifyTypedData } from 'ethers/lib/utils';
|
import { formatEther } from 'ethers/lib/utils';
|
||||||
|
|
||||||
import { _TypedDataEncoder } from 'ethers/lib/utils';
|
import { _TypedDataEncoder } from 'ethers/lib/utils';
|
||||||
|
|
||||||
import { expect, use } from 'chai';
|
import { expect } from 'chai';
|
||||||
import { zeroAddress } from 'ethereumjs-util';
|
import { zeroAddress } from 'ethereumjs-util';
|
||||||
|
|
||||||
//use(solidity);
|
|
||||||
|
|
||||||
const DEFAULT_GAS_LIMIT = 10000000;
|
const DEFAULT_GAS_LIMIT = 10000000;
|
||||||
const DEFAULT_GAS_PRICE = utils.parseUnits('100', 'gwei');
|
const DEFAULT_GAS_PRICE = utils.parseUnits('100', 'gwei');
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ import { solidity } from 'ethereum-waffle';
|
||||||
import {
|
import {
|
||||||
LendingPoolFactory,
|
LendingPoolFactory,
|
||||||
WETH9Factory,
|
WETH9Factory,
|
||||||
StaticATokenFactory,
|
|
||||||
ATokenFactory,
|
ATokenFactory,
|
||||||
ERC20,
|
ERC20,
|
||||||
LendingPool,
|
LendingPool,
|
||||||
|
@ -12,7 +11,6 @@ import {
|
||||||
ERC20Factory,
|
ERC20Factory,
|
||||||
WETH9,
|
WETH9,
|
||||||
AToken,
|
AToken,
|
||||||
StaticAToken,
|
|
||||||
StaticATokenLM,
|
StaticATokenLM,
|
||||||
InitializableAdminUpgradeabilityProxyFactory,
|
InitializableAdminUpgradeabilityProxyFactory,
|
||||||
} from '../../../../types';
|
} from '../../../../types';
|
||||||
|
@ -23,10 +21,8 @@ import {
|
||||||
waitForTx,
|
waitForTx,
|
||||||
evmRevert,
|
evmRevert,
|
||||||
evmSnapshot,
|
evmSnapshot,
|
||||||
timeLatest,
|
|
||||||
advanceTimeAndBlock,
|
|
||||||
} from '../../../../helpers/misc-utils';
|
} 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 { rayDiv, rayMul } from '../../../../helpers/ray-math';
|
||||||
import { MAX_UINT_AMOUNT, ZERO_ADDRESS } from '../../../../helpers/constants';
|
import { MAX_UINT_AMOUNT, ZERO_ADDRESS } from '../../../../helpers/constants';
|
||||||
import { tEthereumAddress } from '../../../../helpers/types';
|
import { tEthereumAddress } from '../../../../helpers/types';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user