OpenZeppelin 2.1 RC 1
Pre-release
Pre-release
In this minor release we're bringing back some features that were removed for the 2.0 release, adding new contracts requested by the community, and making some popular operations more gas efficient. 🏃♂️ 💨
To install the release candidate run npm install openzeppelin-solidity@next
. We want to hear what you think!
If you want to compile using solc 0.5 please install the latest release candidate.
npm install openzeppelin-solidity@next
The actual 2.1 release will come out after a week of no changes to the release candidate.
Highlights
- Added
WhitelistCrowdsale
, a crowdsale where only whitelisted accounts (WhitelistedRole
) can purchase tokens. Adding or removing accounts from the whitelist is done by whitelisters (WhitelisterRole
). Similar to the pre-2.0WhitelistedCrowdsale
. (#1525) ERC20
'stransferFrom
and_burnFrom
now emitApproval
events, to represent the token's state comprehensively through events. (#1524)SafeMath
now also supports signed integers (int256
). (#1559)ERC20
andERC721
are now more gas efficient due to removed redundantSSTORE
s andrequire
s. (#1409 and #1549)
🆕 See the details in our brand new CHANGELOG!