@venusprotocol/venus-protocol 9.4.0-dev.8 → 9.4.0-dev.9
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/deploy/007-deploy-VBNBAdmin.ts +1 -1
- package/deploy/012-deploy-prime.ts +4 -0
- package/deploy/013-configure-prime.ts +1 -0
- package/deployments/basemainnet/DefaultProxyAdmin.json +200 -0
- package/deployments/basemainnet/Prime.json +2042 -0
- package/deployments/basemainnet/PrimeLiquidityProvider.json +1113 -0
- package/deployments/basemainnet/PrimeLiquidityProvider_Implementation.json +1432 -0
- package/deployments/basemainnet/PrimeLiquidityProvider_Proxy.json +272 -0
- package/deployments/basemainnet/Prime_Implementation.json +2966 -0
- package/deployments/basemainnet/Prime_Proxy.json +282 -0
- package/deployments/basemainnet/solcInputs/7584667b44eb77970ba8d274006d81ae.json +331 -0
- package/deployments/basemainnet.json +5936 -0
- package/deployments/basemainnet_addresses.json +7 -0
- package/dist/deploy/007-deploy-VBNBAdmin.js +2 -2
- package/dist/deploy/012-deploy-prime.js +4 -0
- package/dist/deploy/013-configure-prime.js +1 -0
- package/package.json +4 -4
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
"name": "basemainnet",
|
|
3
3
|
"chainId": "8453",
|
|
4
4
|
"addresses": {
|
|
5
|
+
"DefaultProxyAdmin": "0x7B06EF6b68648C61aFE0f715740fE3950B90746B",
|
|
6
|
+
"Prime": "0xD2e84244f1e9Fca03Ff024af35b8f9612D5d7a30",
|
|
7
|
+
"PrimeLiquidityProvider": "0xcB293EB385dEFF2CdeDa4E7060974BB90ee0B208",
|
|
8
|
+
"PrimeLiquidityProvider_Implementation": "0x646dF53c39e9220dDEB4a72F2C3a8Bd50fbefa11",
|
|
9
|
+
"PrimeLiquidityProvider_Proxy": "0xcB293EB385dEFF2CdeDa4E7060974BB90ee0B208",
|
|
10
|
+
"Prime_Implementation": "0xdFCDD96A355991C313503Afc0291b74f133d30b6",
|
|
11
|
+
"Prime_Proxy": "0xD2e84244f1e9Fca03Ff024af35b8f9612D5d7a30",
|
|
5
12
|
"VTreasuryV8": "0xbefD8d06f403222dd5E8e37D2ba93320A97939D1",
|
|
6
13
|
"XVSStore": "0x11b084Cfa559a82AAC0CcD159dBea27899c7955A",
|
|
7
14
|
"XVSVaultProxy": "0x708B54F2C3f3606ea48a8d94dab88D9Ab22D7fCd",
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
6
|
+
const _000_psr_1 = __importDefault(require("@venusprotocol/protocol-reserve/dist/deploy/000-psr"));
|
|
7
7
|
const hardhat_1 = require("hardhat");
|
|
8
8
|
const deploymentConfig_1 = require("../helpers/deploymentConfig");
|
|
9
9
|
const func = async function (hre) {
|
|
@@ -11,7 +11,7 @@ const func = async function (hre) {
|
|
|
11
11
|
const { deploy } = deployments;
|
|
12
12
|
const { deployer } = await getNamedAccounts();
|
|
13
13
|
// Ensure PSR is deployed
|
|
14
|
-
await (0,
|
|
14
|
+
await (0, _000_psr_1.default)(hre);
|
|
15
15
|
const wBNBAddress = (await deployments.get("WBNB")).address;
|
|
16
16
|
const vBNBAddress = (await deployments.get("vBNB")).address;
|
|
17
17
|
const acmAddress = (await deployments.get("AccessControlManager")).address;
|
|
@@ -17,6 +17,7 @@ const func = async function (hre) {
|
|
|
17
17
|
zksyncsepolia: TEN_MINUTES,
|
|
18
18
|
opsepolia: TEN_MINUTES,
|
|
19
19
|
basesepolia: TEN_MINUTES,
|
|
20
|
+
basemainnet: NINETY_DAYS,
|
|
20
21
|
bscmainnet: NINETY_DAYS,
|
|
21
22
|
ethereum: NINETY_DAYS,
|
|
22
23
|
arbitrumone: NINETY_DAYS,
|
|
@@ -36,6 +37,7 @@ const func = async function (hre) {
|
|
|
36
37
|
opmainnet: 0,
|
|
37
38
|
hardhat: 0,
|
|
38
39
|
basesepolia: 0,
|
|
40
|
+
basemainnet: 0,
|
|
39
41
|
};
|
|
40
42
|
const blocksPerYear = {
|
|
41
43
|
bsctestnet: 10512000,
|
|
@@ -47,6 +49,7 @@ const func = async function (hre) {
|
|
|
47
49
|
opsepolia: 0,
|
|
48
50
|
opmainnet: 0,
|
|
49
51
|
basesepolia: 0,
|
|
52
|
+
basemainnet: 0,
|
|
50
53
|
bscmainnet: 10512000,
|
|
51
54
|
ethereum: 2628000,
|
|
52
55
|
hardhat: 100,
|
|
@@ -77,6 +80,7 @@ const func = async function (hre) {
|
|
|
77
80
|
opsepolia: "0xd57365EE4E850e881229e2F8Aa405822f289e78d",
|
|
78
81
|
opmainnet: "0x2e94dd14E81999CdBF5deDE31938beD7308354b3",
|
|
79
82
|
basesepolia: "0xdf3b635d2b535f906BB02abb22AED71346E36a00",
|
|
83
|
+
basemainnet: "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C",
|
|
80
84
|
bscmainnet: await (0, deploymentConfig_1.getContractAddressOrNullAddress)(deployments, "NormalTimelock"),
|
|
81
85
|
bsctestnet: await (0, deploymentConfig_1.getContractAddressOrNullAddress)(deployments, "NormalTimelock"),
|
|
82
86
|
};
|
|
@@ -16,6 +16,7 @@ const func = async function (hre) {
|
|
|
16
16
|
opsepolia: "0xd57365EE4E850e881229e2F8Aa405822f289e78d",
|
|
17
17
|
opmainnet: "0x2e94dd14E81999CdBF5deDE31938beD7308354b3",
|
|
18
18
|
basesepolia: "0xdf3b635d2b535f906BB02abb22AED71346E36a00",
|
|
19
|
+
basemainnet: "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C",
|
|
19
20
|
bscmainnet: await (0, deploymentConfig_1.getContractAddressOrNullAddress)(deployments, "NormalTimelock"),
|
|
20
21
|
bsctestnet: await (0, deploymentConfig_1.getContractAddressOrNullAddress)(deployments, "NormalTimelock"),
|
|
21
22
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venusprotocol/venus-protocol",
|
|
3
|
-
"version": "9.4.0-dev.
|
|
3
|
+
"version": "9.4.0-dev.9",
|
|
4
4
|
"description": "The Venus Money Market",
|
|
5
5
|
"repository": "git@github.com:VenusProtocol/venus-protocol.git",
|
|
6
6
|
"author": "Venus",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@nomicfoundation/hardhat-ethers": "^3.0.0",
|
|
35
35
|
"@openzeppelin/contracts": "4.9.3",
|
|
36
36
|
"@openzeppelin/contracts-upgradeable": "^4.8.0",
|
|
37
|
-
"@venusprotocol/governance-contracts": "^2.
|
|
38
|
-
"@venusprotocol/protocol-reserve": "^
|
|
37
|
+
"@venusprotocol/governance-contracts": "^2.6.0",
|
|
38
|
+
"@venusprotocol/protocol-reserve": "^3.0.0",
|
|
39
39
|
"@venusprotocol/solidity-utilities": "^2.0.3",
|
|
40
|
-
"@venusprotocol/token-bridge": "^2.
|
|
40
|
+
"@venusprotocol/token-bridge": "^2.4.0",
|
|
41
41
|
"bignumber.js": "^9.1.2",
|
|
42
42
|
"dotenv": "^16.0.1",
|
|
43
43
|
"module-alias": "^2.2.2"
|