mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Added generic debt token deployments
This commit is contained in:
parent
5e0005e32c
commit
f9f29b312c
|
@ -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]: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user