mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Slight fix
This commit is contained in:
parent
ccb6e36760
commit
b2123e914c
|
@ -57,7 +57,6 @@ import { MintableDelegationERC20 } from '../types/MintableDelegationERC20';
|
|||
import { readArtifact as buidlerReadArtifact } from '@nomiclabs/buidler/plugins';
|
||||
import { HardhatRuntimeEnvironment } from 'hardhat/types';
|
||||
import { LendingPoolLibraryAddresses } from '../types/LendingPoolFactory';
|
||||
import { addGas } from '../gas-tracker';
|
||||
|
||||
const readArtifact = async (id: string) => {
|
||||
if (DRE.network.name === eEthereumNetwork.buidlerevm) {
|
||||
|
@ -65,13 +64,14 @@ const readArtifact = async (id: string) => {
|
|||
}
|
||||
return (DRE as HardhatRuntimeEnvironment).artifacts.readArtifact(id);
|
||||
};
|
||||
|
||||
export const deployLendingPoolAddressesProvider = async (marketId: string, verify?: boolean) =>
|
||||
withSaveAndVerify(
|
||||
await new LendingPoolAddressesProviderFactory(await getFirstSigner()).deploy(marketId),
|
||||
eContractid.LendingPoolAddressesProvider,
|
||||
[marketId],
|
||||
verify
|
||||
)
|
||||
);
|
||||
|
||||
export const deployLendingPoolAddressesProviderRegistry = async (verify?: boolean) =>
|
||||
withSaveAndVerify(
|
||||
|
|
Loading…
Reference in New Issue
Block a user