@rev-net/core-v6 0.0.20 → 0.0.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rev-net/core-v6",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -7,11 +7,13 @@ import {SphinxConstants, NetworkInfo} from "@sphinx-labs/contracts/contracts/fou
7
7
 
8
8
  import {IREVDeployer} from "./../../src/interfaces/IREVDeployer.sol";
9
9
  import {IREVLoans} from "./../../src/interfaces/IREVLoans.sol";
10
+ import {REVOwner} from "./../../src/REVOwner.sol";
10
11
 
11
12
  struct RevnetCoreDeployment {
12
13
  // forge-lint: disable-next-line(mixed-case-variable)
13
14
  IREVDeployer basic_deployer;
14
15
  IREVLoans loans;
16
+ REVOwner owner;
15
17
  }
16
18
 
17
19
  library RevnetCoreDeploymentLib {
@@ -58,6 +60,12 @@ library RevnetCoreDeploymentLib {
58
60
  path: path, project_name: "revnet-core-v6", network_name: network_name, contractName: "REVLoans"
59
61
  })
60
62
  );
63
+
64
+ deployment.owner = REVOwner(
65
+ _getDeploymentAddress({
66
+ path: path, project_name: "revnet-core-v6", network_name: network_name, contractName: "REVOwner"
67
+ })
68
+ );
61
69
  }
62
70
 
63
71
  /// @notice Get the address of a contract that was deployed by the Deploy script.