Skip to content

Commit

Permalink
Merge pull request #168 from VenusProtocol/chore/ven-2202
Browse files Browse the repository at this point in the history
[VEN-2202] Asset Config opbnbmainnet
  • Loading branch information
chechu authored Feb 22, 2024
2 parents 4cf3928 + 4868926 commit 1b36f14
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/3-vip-based-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const configurePriceFeeds = async (hre: HardhatRuntimeEnvironment): Promise<Gove

const resilientOracle = await hre.ethers.getContract("ResilientOracle");
const binanceOracle = await hre.ethers.getContractOrNull("BinanceOracle");
const chainlinkOracle = await hre.ethers.getContract("ChainlinkOracle");
const chainlinkOracle = await hre.ethers.getContractOrNull("ChainlinkOracle");
const oraclesData: Oracles = await getOraclesData();
const commands: GovernanceCommand[] = [];

Expand Down
32 changes: 32 additions & 0 deletions helpers/deploymentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,38 @@ export const assets: Assets = {
price: "7000000000000000000",
},
],
opbnbmainnet: [
{
token: "BTCB",
address: "0x7c6b91d9be155a6db01f749217d76ff02a7227f2",
oracle: "binance",
},
{
token: "ETH",
address: "0xe7798f023fc62146e8aa1b36da45fb70855a77ea",
oracle: "binance",
},
{
token: "USDT",
address: "0x9e5aac1ba1a2e6aed6b32689dfcf62a509ca96f3",
oracle: "binance",
},
{
token: "WBNB",
address: "0x4200000000000000000000000000000000000006",
oracle: "binance",
},
{
token: "XVS",
address: "0x3E2e61F1c075881F3fB8dd568043d8c221fd5c61",
oracle: "binance",
},
{
token: "FDUSD",
address: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",
oracle: "binance",
},
],
};

export const getOraclesData = async (): Promise<Oracles> => {
Expand Down

0 comments on commit 1b36f14

Please sign in to comment.