@venusprotocol/isolated-pools 3.5.0-dev.3 → 3.5.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployments/zksyncsepolia/NativeTokenGateway_vWETH_Core.json +711 -0
- package/deployments/zksyncsepolia/RewardsDistributorImpl.json +1968 -0
- package/deployments/zksyncsepolia/RewardsDistributor_Core_0.json +1491 -0
- package/deployments/zksyncsepolia/RewardsDistributor_Core_0_Proxy.json +346 -0
- package/deployments/zksyncsepolia.json +4390 -1442
- package/deployments/zksyncsepolia_addresses.json +4 -0
- package/dist/deploy/007-deploy-pool-lens.js +0 -1
- package/dist/deploy/018-native-token-gateway.js +8 -0
- package/dist/deployments/zksyncsepolia.json +12993 -0
- package/dist/helpers/deploymentConfig.js +19 -0
- package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
- package/dist/typechain/factories/IVToken__factory.js +201 -1
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +341 -4
- package/typechain/factories/IVToken__factory.ts +201 -1
|
@@ -13,10 +13,14 @@
|
|
|
13
13
|
"MockUSDT": "0x9Bf62C9C6AaB7AB8e01271f0d7A401306579709B",
|
|
14
14
|
"MockWBTC": "0xeF891B3FA37FfD83Ce8cC7b682E4CADBD8fFc6F0",
|
|
15
15
|
"MockZK": "0x8A2E9048F5d658E88D6eD89DdD1F3B5cA0250B9F",
|
|
16
|
+
"NativeTokenGateway_vWETH_Core": "0xC2bc5881f2c1ee08a1f0fee65Fbf2BB4C4DD81e9",
|
|
16
17
|
"PoolLens": "0x214Ed51c798EE53f0be79d810E9Fc91662FDE243",
|
|
17
18
|
"PoolRegistry": "0x1401404e6279BB8C06E5E3999eCA3e2008B46A76",
|
|
18
19
|
"PoolRegistry_Implementation": "0x98b35ec24f05d803e861538482afd975769181c0",
|
|
19
20
|
"PoolRegistry_Proxy": "0x1401404e6279BB8C06E5E3999eCA3e2008B46A76",
|
|
21
|
+
"RewardsDistributorImpl": "0x2ED16161FeB1Ea50882c546929A3672Ad2FC3aB8",
|
|
22
|
+
"RewardsDistributor_Core_0": "0x8EDd58DC2C8e38bfc17f07D6f5E8831d87a6962e",
|
|
23
|
+
"RewardsDistributor_Core_0_Proxy": "0x8EDd58DC2C8e38bfc17f07D6f5E8831d87a6962e",
|
|
20
24
|
"VTokenBeacon": "0xA95B8eb3Be3CfFCf340A094574338010A4ffB2Ca",
|
|
21
25
|
"VTokenImpl": "0x7E4E6eE8eA8A19534666c005c8aBF182DB9A60f7",
|
|
22
26
|
"VToken_vUSDC.e_Core": "0x58b0b248BB11DCAA9336bBf8a81914201fD49461",
|
|
@@ -9,6 +9,7 @@ const ethereum_json_1 = require("../deployments/ethereum.json");
|
|
|
9
9
|
const opbnbmainnet_json_1 = require("../deployments/opbnbmainnet.json");
|
|
10
10
|
const opbnbtestnet_json_1 = require("../deployments/opbnbtestnet.json");
|
|
11
11
|
const sepolia_json_1 = require("../deployments/sepolia.json");
|
|
12
|
+
const zksyncsepolia_json_1 = require("../deployments/zksyncsepolia.json");
|
|
12
13
|
const deploymentConfig_1 = require("../helpers/deploymentConfig");
|
|
13
14
|
const VWNativeInfo = {
|
|
14
15
|
bsctestnet: [
|
|
@@ -67,6 +68,12 @@ const VWNativeInfo = {
|
|
|
67
68
|
address: arbitrumone_json_1.contracts.VToken_vWETH_Core.address,
|
|
68
69
|
},
|
|
69
70
|
],
|
|
71
|
+
zksyncsepolia: [
|
|
72
|
+
{
|
|
73
|
+
name: "vWETH_Core",
|
|
74
|
+
address: zksyncsepolia_json_1.contracts.VToken_vWETH_Core.address,
|
|
75
|
+
},
|
|
76
|
+
],
|
|
70
77
|
};
|
|
71
78
|
const getVWNativeTokens = (networkName) => {
|
|
72
79
|
const vTokensInfo = VWNativeInfo[networkName];
|
|
@@ -88,6 +95,7 @@ const func = async function (hre) {
|
|
|
88
95
|
args: [vWNativeInfo.address],
|
|
89
96
|
log: true,
|
|
90
97
|
autoMine: true,
|
|
98
|
+
skipIfAlreadyDeployed: true,
|
|
91
99
|
});
|
|
92
100
|
const nativeTokenGateway = await hardhat_1.ethers.getContract(`NativeTokenGateway_${vWNativeInfo.name}`);
|
|
93
101
|
const targetOwner = preconfiguredAddresses.NormalTimelock || deployer;
|