openzeppelin-solidity
Advanced tools
Changelog
2.2.0 (2019-03-14)
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.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)SafeERC20
: safeApprove
wasn't properly checking for a zero allowance when attempting to set a non-zero allowance. (#1647)Changelog
2.1.2 (2019-01-17)
PublicRole.behavior.js
, which may be useful to users testing their own Roles
.