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 (
|
export const deployStableDebtToken = async (
|
||||||
args: [tEthereumAddress, tEthereumAddress, string, string, tEthereumAddress],
|
args: [tEthereumAddress, tEthereumAddress, tEthereumAddress, string, string],
|
||||||
verify: boolean
|
verify: boolean
|
||||||
) => {
|
) => {
|
||||||
const instance = await withSaveAndVerify(
|
const instance = await withSaveAndVerify(
|
||||||
|
@ -324,7 +324,7 @@ export const deployStableDebtToken = async (
|
||||||
|
|
||||||
|
|
||||||
export const deployVariableDebtToken = async (
|
export const deployVariableDebtToken = async (
|
||||||
args: [tEthereumAddress, tEthereumAddress, string, string, tEthereumAddress],
|
args: [tEthereumAddress, tEthereumAddress, tEthereumAddress, string, string],
|
||||||
verify: boolean
|
verify: boolean
|
||||||
) => {
|
) => {
|
||||||
const instance = await withSaveAndVerify(
|
const instance = await withSaveAndVerify(
|
||||||
|
|
|
@ -53,9 +53,9 @@ WRONG RESERVE ASSET SETUP:
|
||||||
poolAddress,
|
poolAddress,
|
||||||
reserveAssetAddress,
|
reserveAssetAddress,
|
||||||
treasuryAddress,
|
treasuryAddress,
|
||||||
|
ZERO_ADDRESS, // Incentives Controller
|
||||||
`Aave interest bearing ${symbol}`,
|
`Aave interest bearing ${symbol}`,
|
||||||
`a${symbol}`,
|
`a${symbol}`,
|
||||||
ZERO_ADDRESS,
|
|
||||||
],
|
],
|
||||||
verify
|
verify
|
||||||
);
|
);
|
||||||
|
@ -63,9 +63,9 @@ WRONG RESERVE ASSET SETUP:
|
||||||
[
|
[
|
||||||
poolAddress,
|
poolAddress,
|
||||||
reserveAssetAddress,
|
reserveAssetAddress,
|
||||||
|
ZERO_ADDRESS, // Incentives Controller
|
||||||
`Aave stable debt bearing ${symbol}`,
|
`Aave stable debt bearing ${symbol}`,
|
||||||
`stableDebt${symbol}`,
|
`stableDebt${symbol}`,
|
||||||
ZERO_ADDRESS,
|
|
||||||
],
|
],
|
||||||
verify
|
verify
|
||||||
);
|
);
|
||||||
|
@ -73,9 +73,9 @@ WRONG RESERVE ASSET SETUP:
|
||||||
[
|
[
|
||||||
poolAddress,
|
poolAddress,
|
||||||
reserveAssetAddress,
|
reserveAssetAddress,
|
||||||
|
ZERO_ADDRESS, // Incentives Controller
|
||||||
`Aave variable debt bearing ${symbol}`,
|
`Aave variable debt bearing ${symbol}`,
|
||||||
`variableDebt${symbol}`,
|
`variableDebt${symbol}`,
|
||||||
ZERO_ADDRESS,
|
|
||||||
],
|
],
|
||||||
verify
|
verify
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user