Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions deploy/5-deploy-bnb-lst-oracles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const func: DeployFunction = async ({ getNamedAccounts, deployments, network }:

const wBETHAddress = wBETH || (await ethers.getContract("MockWBETH")).address;

const wBETH_ANNUAL_GROWTH_RATE = ethers.utils.parseUnits("0.15", 18);
const wBETH_ANNUAL_GROWTH_RATE = 0;
block = await ethers.provider.getBlock("latest");
const wBETHContract = await ethers.getContractAt("IWBETH", wBETHAddress);
exchangeRate = await wBETHContract.exchangeRate();
Expand All @@ -122,10 +122,10 @@ const func: DeployFunction = async ({ getNamedAccounts, deployments, network }:
oracle.address,
wBETH_ANNUAL_GROWTH_RATE,
SNAPSHOT_UPDATE_INTERVAL,
exchangeRate,
block.timestamp,
EXCHANGE_RATE,
SNAPSHOT_TIMESTAMP,
acm,
0,
SNAPSHOT_GAP,
],
skipIfAlreadyDeployed: true,
});
Expand Down
Loading
Loading