Skip to content

Commit

Permalink
Merge pull request #432 from VenusProtocol/feat/VEN-2744
Browse files Browse the repository at this point in the history
[VEN-2744]: IL deployments on zksync mainnet
  • Loading branch information
chechu authored Sep 10, 2024
2 parents 7636a93 + e87caaa commit 2bbb214
Show file tree
Hide file tree
Showing 33 changed files with 27,953 additions and 14 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ DEPLOYER_PRIVATE_KEY=
#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

# 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 @@ -118,7 +118,7 @@ jobs:
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
for NETWORK in zksyncsepolia; do
for NETWORK in zksyncsepolia zksyncmainnet; do
EXPORT=true yarn hardhat export --network ${NETWORK} --export ./deployments/${NETWORK}.json --config hardhat.config.zksync.ts
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 @@ -10,6 +10,7 @@ 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 ilSepolia } from "../deployments/sepolia.json";
import { contracts as ilZkMainnet } from "../deployments/zksyncmainnet.json";
import { contracts as ilZkSepolia } from "../deployments/zksyncsepolia.json";
import { getConfig } from "../helpers/deploymentConfig";

Expand Down Expand Up @@ -89,6 +90,12 @@ const VWNativeInfo: { [key: string]: VTokenConfig[] } = {
address: ilZkSepolia.VToken_vWETH_Core.address,
},
],
zksyncmainnet: [
{
name: "vWETH_Core",
address: ilZkMainnet.VToken_vWETH_Core.address,
},
],
};

const getVWNativeTokens = (networkName: string): VTokenConfig[] => {
Expand Down
Loading

0 comments on commit 2bbb214

Please sign in to comment.