mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
add permissioned wethgateway getter
This commit is contained in:
parent
66916dd5cd
commit
7c93870ac4
|
@ -29,6 +29,7 @@ import {
|
||||||
WalletBalanceProviderFactory,
|
WalletBalanceProviderFactory,
|
||||||
WETH9MockedFactory,
|
WETH9MockedFactory,
|
||||||
WETHGatewayFactory,
|
WETHGatewayFactory,
|
||||||
|
PermissionedWETHGatewayFactory,
|
||||||
FlashLiquidationAdapterFactory,
|
FlashLiquidationAdapterFactory,
|
||||||
PermissionManagerFactory,
|
PermissionManagerFactory,
|
||||||
} from '../types';
|
} from '../types';
|
||||||
|
@ -271,7 +272,7 @@ export const getWETHGateway = async (address?: tEthereumAddress) =>
|
||||||
);
|
);
|
||||||
|
|
||||||
export const getPermissionedWETHGateway = async (address?: tEthereumAddress) =>
|
export const getPermissionedWETHGateway = async (address?: tEthereumAddress) =>
|
||||||
await WETHGatewayFactory.connect(
|
await PermissionedWETHGatewayFactory.connect(
|
||||||
address ||
|
address ||
|
||||||
(
|
(
|
||||||
await getDb().get(`${eContractid.PermissionedWETHGateway}.${DRE.network.name}`).value()
|
await getDb().get(`${eContractid.PermissionedWETHGateway}.${DRE.network.name}`).value()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user