Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openzeppelin-solidity

Package Overview
Dependencies
Maintainers
3
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openzeppelin-solidity - npm Package Versions

1
8

2.3.0-rc.2

Diff

frangio
published 2.3.0-rc.1 •

nventuro
published 2.3.0-rc.0 •

nventuro
published 2.2.0 •

Changelog

Source

2.2.0 (2019-03-14)

New features

  • ERC20Snapshot: create snapshots on demand of the token balances and total supply, to later retrieve and e.g. calculate dividends at a past time. (#1617)
  • SafeERC20: ERC20 contracts with no return value (i.e. that revert on failure) are now supported. (#1655)
  • ERC20: added internal _approve(address owner, address spender, uint256 value), allowing derived contracts to set the allowance of arbitrary accounts. (#1609)
  • ERC20Metadata: added internal _setTokenURI(string memory tokenURI). (#1618)
  • TimedCrowdsale: added internal _extendTime(uint256 newClosingTime) as well as TimedCrowdsaleExtended(uint256 prevClosingTime, uint256 newClosingTime) event allowing to extend the crowdsale, as long as it hasn't already closed.

Improvements

  • Upgraded the minimum compiler version to v0.5.2: this removes many Solidity warnings that were false positives. (#1606)
  • ECDSA: recover no longer accepts malleable signatures (those using upper-range values for s, or 0/1 for v). (#1622)
  • ERC721's transfers are now more gas efficient due to removal of unnecessary SafeMath calls. (#1610)
  • Fixed variable shadowing issues. (#1606)

Bugfixes

  • (minor) SafeERC20: safeApprove wasn't properly checking for a zero allowance when attempting to set a non-zero allowance. (#1647)

Breaking changes in drafts

  • TokenMetadata has been renamed to ERC20Metadata. (#1618)
  • The library Counter has been renamed to Counters and its API has been improved. See an example in ERC721, lines 17 and 204. (#1610)
nventuro
published 2.2.0-rc.1 •

nventuro
published 2.1.3 •

Changelog

Source

2.1.3 (2019-02-26)

  • Backported SafeERC20.safeApprove bugfix. (#1647)
nventuro
published 2.0.1 •

nventuro
published 2.1.2 •

Changelog

Source

2.1.2 (2019-01-17)

  • Removed most of the test suite from the npm package, except PublicRole.behavior.js, which may be useful to users testing their own Roles.
nventuro
published 2.1.1 •

Changelog

Source

2.1.1 (2019-01-04)

  • Version bump to avoid conflict in the npm registry.
frangio
published 2.1.0-rc.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc