Skip to content
New issue

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

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

Already on GitHub? # to your account

SimpleToken example should inherit from ERC20Detailed #1458

Closed
come-maiz opened this issue Oct 20, 2018 · 1 comment · Fixed by #1473
Closed

SimpleToken example should inherit from ERC20Detailed #1458

come-maiz opened this issue Oct 20, 2018 · 1 comment · Fixed by #1473
Labels
documentation Inline comments, guides, and examples. good first issue Low hanging fruit for new contributors to get involved!

Comments

@come-maiz
Copy link
Contributor

​SimpleToken declares state variables for ​ name​, symbol​, and decimals​. We recommend inheriting from ​ERC20Detailed​ instead to demonstrate its usage.

This issue was reported in the LevelK audit.

@come-maiz come-maiz added good first issue Low hanging fruit for new contributors to get involved! kind:improvement documentation Inline comments, guides, and examples. labels Oct 20, 2018
@LaimeJesus
Copy link
Contributor

Hello, can I take this one?

LaimeJesus added a commit to LaimeJesus/openzeppelin-solidity that referenced this issue Oct 22, 2018
nventuro pushed a commit that referenced this issue Nov 1, 2018
* add improvement in simpletoken example #1458

* fix not calling decimals get function in initial supply
vittominacori added a commit to vittominacori/zeppelin-solidity that referenced this issue Nov 21, 2018
…lidity into feature/token-recover

* 'master' of https://github.com/vittominacori/zeppelin-solidity: (98 commits)
  Renamed roles private variables to adhere to code style. (OpenZeppelin#1507)
  Remove extraneous quantity check, fixes OpenZeppelin#1454 (OpenZeppelin#1455)
  Remove redundant require statements (OpenZeppelin#1409)
  Add the step to delete the build dir to the RELEASE notes (OpenZeppelin#1467)
  add an address typecast to this per issue OpenZeppelin#1457 (OpenZeppelin#1471)
  add improvement in simpletoken example OpenZeppelin#1458 (OpenZeppelin#1473)
  SafeMath Test Coverage Improved (OpenZeppelin#1477)
  The beneficiary parameter of claimRefund is replaced with refundee (OpenZeppelin#1481)
  fix ERC20.sol#L174 and ERC20.sol#L187 should be casted to an address type. (OpenZeppelin#1470)
  Fix/add comment erc721 burnable OpenZeppelin#1464 (OpenZeppelin#1469)
  Release v2.0.0
  Release candidate v2.0.0-rc.4
  Improved some ERC721 internal shenanigans (OpenZeppelin#1450)
  Add warning about trading tokens before refundable crowdsale goal is met (OpenZeppelin#1452)
  Crowdsale.buyTokens is now nonReentrant. (OpenZeppelin#1438)
  InitialRate must be strictly larger than finalRate. (OpenZeppelin#1441)
  Fixed how allowance crowdsale checks remaining tokens. (OpenZeppelin#1449)
  Deleted unnecessary import. (OpenZeppelin#1437)
  Made SampleCrowdsale a bit clearer. (OpenZeppelin#1448)
  Now setting the finalized flag before doing finalization to prevent possbile reentrancy issues. (OpenZeppelin#1447)
  ...
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Inline comments, guides, and examples. good first issue Low hanging fruit for new contributors to get involved!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants