mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixed deploy-new-asset script
This commit is contained in:
parent
0bf9810158
commit
6fbed47205
|
@ -300,7 +300,7 @@ export const deployDefaultReserveInterestRateStrategy = async (
|
|||
);
|
||||
|
||||
export const deployStableDebtToken = async (
|
||||
args: [tEthereumAddress, tEthereumAddress, string, string, tEthereumAddress],
|
||||
args: [tEthereumAddress, tEthereumAddress, tEthereumAddress, string, string],
|
||||
verify: boolean
|
||||
) => {
|
||||
const instance = await withSaveAndVerify(
|
||||
|
@ -324,7 +324,7 @@ export const deployStableDebtToken = async (
|
|||
|
||||
|
||||
export const deployVariableDebtToken = async (
|
||||
args: [tEthereumAddress, tEthereumAddress, string, string, tEthereumAddress],
|
||||
args: [tEthereumAddress, tEthereumAddress, tEthereumAddress, string, string],
|
||||
verify: boolean
|
||||
) => {
|
||||
const instance = await withSaveAndVerify(
|
||||
|
|
|
@ -53,9 +53,9 @@ WRONG RESERVE ASSET SETUP:
|
|||
poolAddress,
|
||||
reserveAssetAddress,
|
||||
treasuryAddress,
|
||||
ZERO_ADDRESS, // Incentives Controller
|
||||
`Aave interest bearing ${symbol}`,
|
||||
`a${symbol}`,
|
||||
ZERO_ADDRESS,
|
||||
],
|
||||
verify
|
||||
);
|
||||
|
@ -63,9 +63,9 @@ WRONG RESERVE ASSET SETUP:
|
|||
[
|
||||
poolAddress,
|
||||
reserveAssetAddress,
|
||||
ZERO_ADDRESS, // Incentives Controller
|
||||
`Aave stable debt bearing ${symbol}`,
|
||||
`stableDebt${symbol}`,
|
||||
ZERO_ADDRESS,
|
||||
],
|
||||
verify
|
||||
);
|
||||
|
@ -73,9 +73,9 @@ WRONG RESERVE ASSET SETUP:
|
|||
[
|
||||
poolAddress,
|
||||
reserveAssetAddress,
|
||||
ZERO_ADDRESS, // Incentives Controller
|
||||
`Aave variable debt bearing ${symbol}`,
|
||||
`variableDebt${symbol}`,
|
||||
ZERO_ADDRESS,
|
||||
],
|
||||
verify
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user