Skip to content

Commit a359efb

Browse files
authored
Merge pull request #298 from VenusProtocol/feat/wbeth-oracle
[VPD-198]: Deploy WBETH Oracle
2 parents 1c4b0e5 + 509402e commit a359efb

File tree

6 files changed

+699
-762
lines changed

6 files changed

+699
-762
lines changed

deploy/5-deploy-bnb-lst-oracles.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const func: DeployFunction = async ({ getNamedAccounts, deployments, network }:
107107

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

110-
const wBETH_ANNUAL_GROWTH_RATE = ethers.utils.parseUnits("0.15", 18);
110+
const wBETH_ANNUAL_GROWTH_RATE = 0;
111111
block = await ethers.provider.getBlock("latest");
112112
const wBETHContract = await ethers.getContractAt("IWBETH", wBETHAddress);
113113
exchangeRate = await wBETHContract.exchangeRate();
@@ -122,10 +122,10 @@ const func: DeployFunction = async ({ getNamedAccounts, deployments, network }:
122122
oracle.address,
123123
wBETH_ANNUAL_GROWTH_RATE,
124124
SNAPSHOT_UPDATE_INTERVAL,
125-
exchangeRate,
126-
block.timestamp,
125+
EXCHANGE_RATE,
126+
SNAPSHOT_TIMESTAMP,
127127
acm,
128-
0,
128+
SNAPSHOT_GAP,
129129
],
130130
skipIfAlreadyDeployed: true,
131131
});

0 commit comments

Comments
 (0)