Skip to content

Common token #753

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

Merged
merged 4 commits into from
May 24, 2020
Merged

Common token #753

merged 4 commits into from
May 24, 2020

Conversation

orenyodfat
Copy link
Contributor

@orenyodfat orenyodfat commented May 19, 2020

An ERC20 token with an admin account that can arbitrarily mint and burn tokens in each account.

@orenyodfat orenyodfat changed the base branch from master to arc-factory May 19, 2020 10:09
@orenyodfat orenyodfat requested a review from jellegerbrandy May 19, 2020 10:09
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public onlyMinter {
Copy link
Contributor

@jellegerbrandy jellegerbrandy May 19, 2020

Choose a reason for hiding this comment

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

I think we need:

burn(address account, uint256 amount) public onlyMinter {
  _burn(account, amount)
}

@dkent600
Copy link
Contributor

Would be great to have a description in each new contract PR of the purpose and motivation behind the new contract. Otherwise one has to read the code and guess.

@orenyodfat orenyodfat marked this pull request as ready for review May 20, 2020 09:09
@orenyodfat orenyodfat requested a review from leviadam as a code owner May 20, 2020 09:09
@orenyodfat orenyodfat merged commit 0f2c565 into arc-factory May 24, 2020
@orenyodfat orenyodfat deleted the commonToken branch May 24, 2020 10:23
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.

4 participants