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-2879][VEN-2881] Deploy IL Markets and Pools to Base Mainnet #456

Merged
merged 14 commits into from
Dec 18, 2024
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://mainnet.base.org
GitGuru7 marked this conversation as resolved.
Show resolved Hide resolved

# 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
Loading