Skip to content

Commit

Permalink
Merge pull request #435 from VenusProtocol/feat/VEN-2727
Browse files Browse the repository at this point in the history
[VEN-2727] [VEN-2728] Deployment files of the Core pool and NTG on OP sepolia
  • Loading branch information
Debugger022 authored Sep 13, 2024
2 parents f885641 + 17d0f17 commit 92c8846
Show file tree
Hide file tree
Showing 33 changed files with 27,124 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ FORKED_NETWORK=bscmainnet
# Replace with your deployer's private key
DEPLOYER_PRIVATE_KEY=

## Archive nodes - Replace <YOUR_KEY_HERE> with your actual keys and uncomment the line you need
## ARCHIVE_NODE_bsctestnet=https://bsc-testnet.nodereal.io/v1/<YOUR_KEY_HERE>
## ARCHIVE_NODE_bscmainnet=https://bsc-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
## ARCHIVE_NODE_sepolia=https://ethereum-sepolia.blockpi.network/v1/rpc/public
## ARCHIVE_NODE_ethereum=https://eth-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#Archive nodes - Replace <YOUR_KEY_HERE> with your actual keys and uncomment the line you need
#ARCHIVE_NODE_bsctestnet=https://bsc-testnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_bscmainnet=https://bsc-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_sepolia=https://ethereum-sepolia.blockpi.network/v1/rpc/public
#ARCHIVE_NODE_ethereum=https://eth-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_opbnbtestnet=https://opbnb-testnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_opbnbmainnet=https://opbnb-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_arbitrumsepolia=https://sepolia-rollup.arbitrum.io/rpc
#ARCHIVE_NODE_arbitrumone=https://open-platform.nodereal.io/<YOUR_KEY_HERE>/arbitrum-nitro/
#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>

# Uncomment the lines below if you want to deploy on mainnet using Frame Wallet
#ARCHIVE_NODE_ethereum=http://127.0.0.1:1248
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:

- name: Export deployments
run: |
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone; do
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone 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
7 changes: 7 additions & 0 deletions deploy/018-native-token-gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { contracts as ilBscTestnet } from "../deployments/bsctestnet.json";
import { contracts as ilEthereum } from "../deployments/ethereum.json";
import { contracts as ilOpbnbMainnet } from "../deployments/opbnbmainnet.json";
import { contracts as ilOpbnbTestnet } from "../deployments/opbnbtestnet.json";
import { contracts as ilOpSepolia } from "../deployments/opsepolia.json";
import { contracts as ilSepolia } from "../deployments/sepolia.json";
import { contracts as ilZkMainnet } from "../deployments/zksyncmainnet.json";
import { contracts as ilZkSepolia } from "../deployments/zksyncsepolia.json";
Expand Down Expand Up @@ -96,6 +97,12 @@ const VWNativeInfo: { [key: string]: VTokenConfig[] } = {
address: ilZkMainnet.VToken_vWETH_Core.address,
},
],
opsepolia: [
{
name: "vWETH_Core",
address: ilOpSepolia.VToken_vWETH_Core.address,
},
],
};

const getVWNativeTokens = (networkName: string): VTokenConfig[] => {
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

0 comments on commit 92c8846

Please sign in to comment.