Added generic debt token deployments

This commit is contained in:
Zer0dot 2021-02-19 21:58:25 -05:00
parent 5e0005e32c
commit f9f29b312c

View File

@ -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]: [