Skip to content

Commit

Permalink
fix: deploy NTG and weth
Browse files Browse the repository at this point in the history
  • Loading branch information
web3rover committed Feb 24, 2025
1 parent 0b66d46 commit 42fa051
Show file tree
Hide file tree
Showing 8 changed files with 1,158 additions and 154 deletions.
7 changes: 7 additions & 0 deletions deploy/018-native-token-gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { contracts as ilUnichainMainnet } from "../deployments/unichainmainnet.j
import { contracts as ilUnichainSepolia } from "../deployments/unichainsepolia.json";
import { contracts as ilZkMainnet } from "../deployments/zksyncmainnet.json";
import { contracts as ilZkSepolia } from "../deployments/zksyncsepolia.json";
import { contracts as ilBerachainbartio } from "../deployments/berachainbartio.json";
import { getConfig } from "../helpers/deploymentConfig";

interface VTokenConfig {
Expand Down Expand Up @@ -138,6 +139,12 @@ const VWNativeInfo: { [key: string]: VTokenConfig[] } = {
address: ilUnichainMainnet.VToken_vWETH_Core.address,
},
],
berachainbartio: [
{
name: "vWBERA_Core",
address: ilBerachainbartio.VToken_vWBERA_Core.address,
},
],
};

const getVWNativeTokens = (networkName: string): VTokenConfig[] => {
Expand Down
74 changes: 0 additions & 74 deletions deployments/berachainbartio.json
Original file line number Diff line number Diff line change
Expand Up @@ -8263,80 +8263,6 @@
"type": "receive"
}
]
},
"VToken_vWETH_Core": {
"address": "0x0ea34ecc029682b9341137f3136C5529e96b217F",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "beacon",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "beacon",
"type": "address"
}
],
"name": "BeaconUpgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
}
}
}
Loading

0 comments on commit 42fa051

Please sign in to comment.