Skip to content

Commit

Permalink
Merge pull request #217 from VenusProtocol/feat/VEN-2713
Browse files Browse the repository at this point in the history
[VEN-2713]: Deployments of Oracles on arbitrumone
  • Loading branch information
Debugger022 authored Sep 9, 2024
2 parents ea0f2a7 + 84ac53a commit e549136
Show file tree
Hide file tree
Showing 11 changed files with 2,686 additions and 2 deletions.
8 changes: 7 additions & 1 deletion deploy/13-deploy-wstETH-weETH-oracles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ const func: DeployFunction = async function ({
const { WETH, wstETH, weETH } = ADDRESSES[network.name];

const resilientOracle = await hre.ethers.getContract("ResilientOracle");
const chainlinkOracle = await hre.ethers.getContract("ChainlinkOracle");

let chainlinkOracle;
if (hre.network.name === "arbitrumone") {
chainlinkOracle = await hre.ethers.getContract("SequencerChainlinkOracle");
} else {
chainlinkOracle = await hre.ethers.getContract("ChainlinkOracle");
}

const defaultProxyAdmin = await artifacts.readArtifact(
"hardhat-deploy/solc_0.8/openzeppelin/proxy/transparent/ProxyAdmin.sol:ProxyAdmin",
Expand Down
Loading

0 comments on commit e549136

Please sign in to comment.