Skip to content

Commit

Permalink
linting error fix; added deployment configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Feb 20, 2020
1 parent 8090a38 commit 9f060b8
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ zos.dev-*
!.openzeppelin/project.json

# Project deployments
!.openzeppelin/ropsten-OrgId.json
!.openzeppelin/rinkeby-OrgId.json
!.openzeppelin/mainnet-OrgId.json
!.openzeppelin/ropsten*
!.openzeppelin/rinkeby*
!.openzeppelin/mainnet*
14 changes: 14 additions & 0 deletions .openzeppelin/ropsten-Directory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.10.0",
"contract": {
"name": "Directory",
"implementation": "0x573FDebFe1ccd09244fbF85a3e3eF52cAA1b30d5",
"proxy": "0x64c316514B84716A7e35718c4c56aebce1a521BA"
},
"owner": "0xA0B74BFE28223c9e08d6DBFa74B5bf4Da763f959",
"app": "0x712B8455cfDaee5023C5E8d05466b958Cf115D78",
"proxyAdmin": "0xC782690DCD4b2f72E9aa8fd596fA78B11C72CaA5",
"implementationDirectory": "0x6D56b584317E80246A0D688b96525CEDC92ee9Fa",
"package": "0x2865A5455F4C8A5E843504f7D3b526685c9Acd5d",
"blockNumber": 7362693
}
14 changes: 14 additions & 0 deletions .openzeppelin/ropsten-DirectoryIndex.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.10.0",
"contract": {
"name": "DirectoryIndex",
"implementation": "0xC00aA7B96199BAa84F27D83165954f3904E9feF5",
"proxy": "0x42116d2CC78A4f8178058dba6c3e497813873006"
},
"owner": "0xA0B74BFE28223c9e08d6DBFa74B5bf4Da763f959",
"app": "0xc8D1b5B62D9e8a9154572B8C65836d459dd98295",
"proxyAdmin": "0x3989Eea570d0d8E257eF7A2b2dF811a7BcEeDA62",
"implementationDirectory": "0x06ec9dA3515b2087535498cffEe0Ffe30D30797c",
"package": "0xAD4B90b5053F7382A1313812559E044219BAE523",
"blockNumber": 7362733
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ npm run lint
```

## Generated docs
[Directory](./docs/Directory.md)
[DirectoryIndex](./docs/DirectoryIndex.md)
- [Directory](./docs/Directory.md)
- [DirectoryIndex](./docs/DirectoryIndex.md)

## Directory deployment

Expand Down
11 changes: 10 additions & 1 deletion contracts/Directory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,16 @@ contract Directory is Ownable, DirectoryInterface, ERC165, Initializable {
);

// Get the organization info from the ORG.ID registry
( , , , , address orgOwner, address director, bool orgState, bool directorConfirmed) = orgId.getOrganization(organization);
(
,
,
,
,
address orgOwner,
address director,
bool orgState,
bool directorConfirmed
) = orgId.getOrganization(organization);

require(
orgOwner == msg.sender || director == msg.sender,
Expand Down

0 comments on commit 9f060b8

Please sign in to comment.