From 7c93870ac40b02ca68b42de06053282b458a6c5d Mon Sep 17 00:00:00 2001 From: shivani Date: Mon, 7 Jun 2021 13:23:07 +0530 Subject: [PATCH] add permissioned wethgateway getter --- helpers/contracts-getters.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/contracts-getters.ts b/helpers/contracts-getters.ts index 630068b4..e72c6754 100644 --- a/helpers/contracts-getters.ts +++ b/helpers/contracts-getters.ts @@ -29,6 +29,7 @@ import { WalletBalanceProviderFactory, WETH9MockedFactory, WETHGatewayFactory, + PermissionedWETHGatewayFactory, FlashLiquidationAdapterFactory, PermissionManagerFactory, } from '../types'; @@ -271,7 +272,7 @@ export const getWETHGateway = async (address?: tEthereumAddress) => ); export const getPermissionedWETHGateway = async (address?: tEthereumAddress) => - await WETHGatewayFactory.connect( + await PermissionedWETHGatewayFactory.connect( address || ( await getDb().get(`${eContractid.PermissionedWETHGateway}.${DRE.network.name}`).value()