Skip to content

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.

5 participants