Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
vporton committed Feb 21, 2020
1 parent eb22d73 commit 4162f2d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
2 changes: 2 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
- Intercourt transfer.

- setOwner().

- UI for new court creation.
6 changes: 4 additions & 2 deletions app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,11 @@ class CourtNamesForm extends React.Component {
this.courtNamesContractHandle = this.props.api.external(this.props.courtNamesContract, abi2)

// FIXME: Does not work (https://github.com/aragon/aragon.js/issues/362)
this.ownedContractHandle.pastEvents({fromBlock: 0, filter: {courtId: this.courtIDs}})
this.ownedContractHandle.pastEvents({event: 'CourtCreated', fromBlock: 0, filter: {courtId: this.courtIDs}})
.subscribe(events => this.processCourtEvents(events))
this.courtNamesContractHandle.pastEvents({/*event: 'SetCourtName',*/ fromBlock: 0, filter: {ourCourtId: this.props.courtId}})
this.courtNamesContractHandle.pastEvents({event: 'SetCourtName', fromBlock: 0, filter: {ourCourtId: this.props.courtId}})
.subscribe(events => this.processNameEvents(events))
this.courtNamesContractHandle.pastEvents({event: 'SetIntercourtTokenName', fromBlock: 0, filter: {ourCourtId: this.props.courtId}})
.subscribe(events => this.processNameEvents(events))
this.ownedContractHandle.getTrustedCourtsList(this.props.courtId).toPromise()
.then(function(values) {
Expand Down
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@
"version": "0.0.1",
"description": "",
"dependencies": {
"@aragon/api": "^2.0.0-beta.9",
"@aragon/api": "file:../forks/aragon.js/packages/aragon-api",
"@aragon/api-react": "^2.0.0-beta.9",
"@aragon/monorepo-js": "file:../forks/aragon.js",
"@aragon/os": "^4.3.0",
"@aragon/toolkit": "0.0.2",
"@aragon/ui": "^1.2.1",
"@aragon/ui": "^1.3.1",
"copyfiles": "^2.2.0",
"core-js": "^3.6.4",
"npm": "^6.13.4",
"npm": "^6.13.7",
"parcel": "^1.12.4",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"styled-components": "^4.4.1",
"web3-utils": "^1.2.5-rc.0"
"web3-utils": "^1.2.6"
},
"devDependencies": {
"@aragon/apps-shared-minime": "^1.0.2",
Expand All @@ -28,22 +29,22 @@
"babel-eslint": "^10.0.2",
"cross-env": "^5.2.0",
"eslint": "^6.0.1",
"eslint-config-prettier": "^6.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": "^13.0.1",
"eslint-config-standard-react": "^8.0.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-standard": "^4.0.0",
"ethlint": "^1.2.4",
"fs-extra": "^8.1.0",
"ganache-cli": "^6.8.2",
"husky": "^4.2.1",
"ganache-cli": "^6.9.1",
"husky": "^4.2.3",
"prettier": "^1.18.2",
"solidity-coverage": "^0.6.2",
"truffle": "^5.1.9"
"truffle": "^5.1.14"
},
"scripts": {
"prepare": "cd app && npm install && cd ..",
Expand Down

0 comments on commit 4162f2d

Please sign in to comment.