Skip to content

Commit

Permalink
Merge pull request #456 from VenusProtocol/feat/base-deploy
Browse files Browse the repository at this point in the history
[VEN-2879][VEN-2881] Deploy IL Markets and Pools to Base Mainnet
  • Loading branch information
chechu authored Dec 18, 2024
2 parents 70f87e5 + 643d2f8 commit 3e56c06
Show file tree
Hide file tree
Showing 30 changed files with 24,774 additions and 29 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ DEPLOYER_PRIVATE_KEY=
#ARCHIVE_NODE_opsepolia=https://sepolia.optimism.io
#ARCHIVE_NODE_opmainnet=https://opt-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
ARCHIVE_NODE_basesepolia=https://sepolia.base.org
#ARCHIVE_NODE_basemainnet=https://open-platform.nodereal.io/<YOUR_KEY_HERE>/base

# 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 opsepolia opmainnet basesepolia; do
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet arbitrumsepolia arbitrumone opsepolia opmainnet basesepolia basemainnet; 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 @@ -4,6 +4,7 @@ import { HardhatRuntimeEnvironment } from "hardhat/types";

import { contracts as ilArbOne } from "../deployments/arbitrumone.json";
import { contracts as ilArbSepolia } from "../deployments/arbitrumsepolia.json";
import { contracts as ilBaseMainnet } from "../deployments/basemainnet.json";
import { contracts as ilBaseSepolia } from "../deployments/basesepolia.json";
import { contracts as ilBscMainnet } from "../deployments/bscmainnet.json";
import { contracts as ilBscTestnet } from "../deployments/bsctestnet.json";
Expand Down Expand Up @@ -117,6 +118,12 @@ const VWNativeInfo: { [key: string]: VTokenConfig[] } = {
address: ilBaseSepolia.VToken_vWETH_Core.address,
},
],
basemainnet: [
{
name: "vWETH_Core",
address: ilBaseMainnet.VToken_vWETH_Core.address,
},
],
};

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

0 comments on commit 3e56c06

Please sign in to comment.