@venusprotocol/isolated-pools 0.0.8 → 0.0.10

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.
@@ -5,7 +5,7 @@ const utils_1 = require("../helpers/utils");
5
5
  const func = async function (hre) {
6
6
  const { deployments, getNamedAccounts } = hre;
7
7
  const { deploy } = deployments;
8
- const { deployer } = await getNamedAccounts();
8
+ const { deployer, acc1 } = await getNamedAccounts();
9
9
  //=======================
10
10
  // DEPLOY MOCK TOKENS
11
11
  //========================
@@ -74,7 +74,7 @@ const func = async function (hre) {
74
74
  collateralFactor: (0, utils_1.convertToUnit)(0.7, 18),
75
75
  liquidationThreshold: (0, utils_1.convertToUnit)(0.7, 18),
76
76
  accessControlManager: accessControlManager.address,
77
- vTokenProxyAdmin: deployer,
77
+ vTokenProxyAdmin: acc1,
78
78
  tokenImplementation_: tokenImplementation.address,
79
79
  });
80
80
  await tx.wait();
@@ -92,7 +92,7 @@ const func = async function (hre) {
92
92
  collateralFactor: (0, utils_1.convertToUnit)(0.7, 18),
93
93
  liquidationThreshold: (0, utils_1.convertToUnit)(0.7, 18),
94
94
  accessControlManager: accessControlManager.address,
95
- vTokenProxyAdmin: deployer,
95
+ vTokenProxyAdmin: acc1,
96
96
  tokenImplementation_: tokenImplementation.address,
97
97
  });
98
98
  await tx.wait();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",
@@ -8,7 +8,8 @@
8
8
  "deploy",
9
9
  "helpers",
10
10
  "contracts",
11
- "deployments"
11
+ "deployments",
12
+ "copy_contracts"
12
13
  ],
13
14
  "scripts": {
14
15
  "test": "yarn remove ethers && yarn remove ethereum-waffle && rebuild=true ./script/test && yarn add ethers@5.6.4 && yarn add ethereum-waffle@3.4.4",
@@ -17,7 +18,7 @@
17
18
  "hardhat:coverage": "hardhat coverage",
18
19
  "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
19
20
  "lint:sol:fix": "prettier --write \"contracts/**/*.sol\"",
20
- "build": "rm -rf dist && tsc --declaration && hardhat compile && cp -r ./{package.json,yarn.lock,artifacts,networks,contracts,deployments} dist/",
21
+ "build": "rm -rf dist && tsc --declaration && hardhat compile && cp -r ./{package.json,yarn.lock,artifacts,networks,contracts,deployments,copy_contracts.sh} dist/",
21
22
  "publish:dist": "yarn build && yarn publish dist -f --access public",
22
23
  "postinstall": "./copy_contracts.sh"
23
24
  },