@venusprotocol/isolated-pools 3.1.0 → 3.2.0-dev.2
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/arbitrumsepolia/NativeTokenGateway_vWETH_Core.json +599 -0
- package/deployments/arbitrumsepolia/RewardsDistributorImpl.json +1856 -0
- package/deployments/arbitrumsepolia/RewardsDistributor_Core_0.json +1425 -0
- package/deployments/arbitrumsepolia/RewardsDistributor_Core_0_Proxy.json +277 -0
- package/deployments/arbitrumsepolia/solcInputs/9fb535a58937a08c38529913271f4d87.json +397 -0
- package/deployments/arbitrumsepolia.json +4434 -1460
- package/deployments/arbitrumsepolia_addresses.json +4 -0
- package/dist/deploy/018-native-token-gateway.js +6 -0
- package/dist/helpers/deploymentConfig.js +10 -2
- package/dist/helpers/deploymentUtils.js +2 -1
- package/package.json +1 -1
|
@@ -12,10 +12,14 @@
|
|
|
12
12
|
"MockUSDC": "0x86f096B1D970990091319835faF3Ee011708eAe8",
|
|
13
13
|
"MockUSDT": "0xf3118a17863996B9F2A073c9A66Faaa664355cf8",
|
|
14
14
|
"MockWBTC": "0xFb8d93FD3Cf18386a5564bb5619cD1FdB130dF7D",
|
|
15
|
+
"NativeTokenGateway_vWETH_Core": "0xa9D6d0dc76a9f0B87E52df1326F2f0E4e422BC52",
|
|
15
16
|
"PoolLens": "0x70f8364D42A4F6C95D10Fb1dfB7793f0EAd0585e",
|
|
16
17
|
"PoolRegistry": "0x6866b2BDaaEf6648ddd5b678B3e9f3352bF3d2A5",
|
|
17
18
|
"PoolRegistry_Implementation": "0x1B052EdDD0a0072875cD3CECBf9D78E95a2aa078",
|
|
18
19
|
"PoolRegistry_Proxy": "0x6866b2BDaaEf6648ddd5b678B3e9f3352bF3d2A5",
|
|
20
|
+
"RewardsDistributorImpl": "0xe62f332340E09c152feaAA462341Eb4686c06346",
|
|
21
|
+
"RewardsDistributor_Core_0": "0x8E73FE3F7E29100Ad9d1C7F35fba2D2c823c8579",
|
|
22
|
+
"RewardsDistributor_Core_0_Proxy": "0x8E73FE3F7E29100Ad9d1C7F35fba2D2c823c8579",
|
|
19
23
|
"VTokenBeacon": "0x0044263D597087f3fE884C318c10720cD21d1459",
|
|
20
24
|
"VTokenImpl": "0x5b3CF6fD8c8240a38486BfD7685eF290238402e0",
|
|
21
25
|
"VToken_vARB_Core": "0x09522549a45767093F8b044a6CcA86E34Bf52396",
|
|
@@ -53,6 +53,12 @@ const VWNativeInfo = {
|
|
|
53
53
|
address: opbnbmainnet_json_1.contracts.VToken_vWBNB_Core.address,
|
|
54
54
|
},
|
|
55
55
|
],
|
|
56
|
+
arbitrumsepolia: [
|
|
57
|
+
{
|
|
58
|
+
name: "vWETH_Core",
|
|
59
|
+
address: "0xef6DF2bE5d6Ad0291eDb1160fEf7a4ED2528fAfb",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
56
62
|
};
|
|
57
63
|
const getVWNativeTokens = (networkName) => {
|
|
58
64
|
const vTokensInfo = VWNativeInfo[networkName];
|
|
@@ -37,7 +37,8 @@ exports.blocksPerYear = {
|
|
|
37
37
|
opbnbtestnet: exports.OPBNB_BLOCKS_PER_YEAR,
|
|
38
38
|
opbnbmainnet: exports.OPBNB_BLOCKS_PER_YEAR,
|
|
39
39
|
arbitrumsepolia: 0,
|
|
40
|
-
arbitrumone: 0,
|
|
40
|
+
arbitrumone: 0,
|
|
41
|
+
isTimeBased: 0, // for time based contracts
|
|
41
42
|
};
|
|
42
43
|
exports.SEPOLIA_MULTISIG = "0x94fa6078b6b8a26f0b6edffbe6501b22a10470fb";
|
|
43
44
|
exports.ETHEREUM_MULTISIG = "0x285960C5B22fD66A736C7136967A3eB15e93CC67";
|
|
@@ -3597,7 +3598,14 @@ exports.globalConfig = {
|
|
|
3597
3598
|
vTokenReceiver: exports.preconfiguredAddresses.arbitrumsepolia.VTreasury,
|
|
3598
3599
|
},
|
|
3599
3600
|
],
|
|
3600
|
-
rewards: [
|
|
3601
|
+
rewards: [
|
|
3602
|
+
{
|
|
3603
|
+
asset: "USDT",
|
|
3604
|
+
markets: ["USDT"],
|
|
3605
|
+
supplySpeeds: ["2893"],
|
|
3606
|
+
borrowSpeeds: ["2893"], // 250 USDT per day
|
|
3607
|
+
},
|
|
3608
|
+
],
|
|
3601
3609
|
},
|
|
3602
3610
|
],
|
|
3603
3611
|
accessControlConfig: [
|
|
@@ -94,6 +94,7 @@ const getUnregisteredRewardsDistributors = async (poolConfig, hre) => {
|
|
|
94
94
|
exports.getUnregisteredRewardsDistributors = getUnregisteredRewardsDistributors;
|
|
95
95
|
const getBlockOrTimestampBasedDeploymentInfo = (network) => {
|
|
96
96
|
const isTimeBased = process.env.IS_TIME_BASED_DEPLOYMENT === "true";
|
|
97
|
-
|
|
97
|
+
const blocksPerYearKey = isTimeBased ? "isTimeBased" : network;
|
|
98
|
+
return { isTimeBased: isTimeBased, blocksPerYear: deploymentConfig_1.blocksPerYear[blocksPerYearKey] };
|
|
98
99
|
};
|
|
99
100
|
exports.getBlockOrTimestampBasedDeploymentInfo = getBlockOrTimestampBasedDeploymentInfo;
|