Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VEN-2726]: Deployment of XvsVault on OpSepolia #496

Merged
merged 7 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ DEPLOYER_PRIVATE_KEY=
#ARCHIVE_NODE_xlayermainnet=https://rpc.ankr.com/xlayer<YOUR_KEY_HERE>
#ARCHIVE_NODE_zksyncsepolia=https://zksync-sepolia.g.alchemy.com/v2/<YOUR_KEY_HERE>
#ARCHIVE_NODE_zksyncmainnet=https://open-platform.nodereal.io/<YOUR_KEY_HERE>/zksync
#ARCHIVE_NODE_opsepolia="https://sepolia.optimism.io"
#ARCHIVE_NODE_opmainnet="https://opt-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>"
chechu marked this conversation as resolved.
Show resolved Hide resolved


ETHERSCAN_API_KEY=
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:

- name: Export deployments
run: |
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone xlayertestnet xlayermainnet; do
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone xlayertestnet xlayermainnet opsepolia opmainnet; do
EXPORT=true yarn hardhat export --network ${NETWORK} --export ./deployments/${NETWORK}.json
jq -M '{name, chainId, addresses: .contracts | map_values(.address)}' ./deployments/${NETWORK}.json > ./deployments/${NETWORK}_addresses.json
done
Expand Down
3 changes: 3 additions & 0 deletions deploy/009-configure-vaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
bsctestnet: 10_512_000, // 3 sec per block
sepolia: 2_628_000, // 12 sec per block
arbitrumsepolia: 0, // time based deployment
opsepolia: 0, // time based deployment
opmainnet: 0, // time based deployment
arbitrumone: 0, // time based deployment
zksyncsepolia: 0, // time based deployment
bscmainnet: 10_512_000,
Expand All @@ -37,6 +39,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
arbitrumsepolia: "0x1426A5Ae009c4443188DA8793751024E358A61C2", // ARBITRUM SEPOLIA MULTISIG
arbitrumone: "0x14e0E151b33f9802b3e75b621c1457afc44DcAA0", // ARBITRUM ONE MULTISIG
zksyncsepolia: "0xa2f83de95E9F28eD443132C331B6a9C9B7a9F866", // ZKSYNC SEPOLIA MULTISIG
opsepolia: "0xd57365EE4E850e881229e2F8Aa405822f289e78d", // OPSEPOLIA MULTISIG
bscmainnet: await getContractAddressOrNullAddress(deployments, "NormalTimelock"),
bsctestnet: await getContractAddressOrNullAddress(deployments, "NormalTimelock"),
hardhat: deployer,
Expand Down
5 changes: 5 additions & 0 deletions deployments/opmainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "opmainnet",
"chainId": "10",
"contracts": {}
}
5 changes: 5 additions & 0 deletions deployments/opmainnet_addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "opmainnet",
"chainId": "10",
"addresses": {}
}
Loading
Loading