Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/pm 572 add new role admin #9

Merged
merged 10 commits into from
Apr 6, 2018
Merged

Conversation

denisgranha
Copy link
Contributor

  • Added isPlayToken constant
  • new role admin
  • updated addresses
  • migration script accepts parameter admins
  • added issuance script

@denisgranha denisgranha force-pushed the feature/PM-572-add-new-role-admin branch from bd982f2 to 08fed7e Compare April 6, 2018 14:47
Copy link
Contributor

@cag cag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -43,6 +43,8 @@ Then run:
npm install
npm run compile
npm run migrate -- --network rinkeby
# if you want to deploy the markets with another account (recommended), you will need to add those accounts as admins
npm run migrate -- --network rinkeby --admins=address1,...,address2 (comma separated)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should throw the --reset flag in there as well: I think I had to do so when deploying to Rinkeby.

Also, this means that GnosisDB should be set up before setting up these contracts in Apollo, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the first step should be create the contracts, then set up GnosisDB


# Issue tokens
```sh
truffle exec scripts/issue_tokens.js --network=rinkeby --amount 1e18 --to <comma separated addresses>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should really use truffle exec more...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I just discovered today, wanted to add this command here, I think it's useful, we can add also another one for allowTransfers and addAdmin

@cag cag merged commit 8153358 into master Apr 6, 2018
@denisgranha denisgranha deleted the feature/PM-572-add-new-role-admin branch April 6, 2018 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants