From f9f29b312c33e14bdcf3e07f45eb47db43453b91 Mon Sep 17 00:00:00 2001 From: Zer0dot Date: Fri, 19 Feb 2021 21:58:25 -0500 Subject: [PATCH] Added generic debt token deployments --- helpers/contracts-deployments.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/helpers/contracts-deployments.ts b/helpers/contracts-deployments.ts index 2406c065..c514ee27 100644 --- a/helpers/contracts-deployments.ts +++ b/helpers/contracts-deployments.ts @@ -321,7 +321,6 @@ export const deployStableDebtToken = async ( return instance; } - export const deployVariableDebtToken = async ( args: [tEthereumAddress, tEthereumAddress, tEthereumAddress, string, string], @@ -346,6 +345,19 @@ export const deployVariableDebtToken = async ( return instance; } +export const deployGenericStableDebtToken = async () => withSaveAndVerify( + await new StableDebtTokenFactory(await getFirstSigner()).deploy(), + eContractid.StableDebtToken, + [], + false +); + +export const deployGenericVariableDebtToken = async () => withSaveAndVerify( + await new VariableDebtTokenFactory(await getFirstSigner()).deploy(), + eContractid.VariableDebtToken, + [], + false +); export const deployGenericAToken = async ( [poolAddress, underlyingAssetAddress, treasuryAddress, incentivesController, name, symbol]: [