@openzeppelin/contracts
Advanced tools
Changelog
2.3.0 (2019-05-27)
ERC1820
: added support for interacting with the ERC1820 registry contract (IERC1820Registry
), as well as base contracts that can be registered as implementers there. (#1677)ERC777
: support for the ERC777 token, which has multiple improvements over ERC20
(but is backwards compatible with it) such as built-in burning, a more straightforward permission system, and optional sender and receiver hooks on transfer (mandatory for contracts!). (#1684)PostDeliveryCrowdsale
: some validations where skipped when paired with other crowdsale flavors, such as AllowanceCrowdsale
, or MintableCrowdsale
and ERC20Capped
, which could cause buyers to not be able to claim their purchased tokens. (#1721)ERC20._transfer
: the from
argument was allowed to be the zero address, so it was possible to internally trigger a transfer of 0 tokens from the zero address. This address is not a valid destinatary of transfers, nor can it give or receive allowance, so this behavior was inconsistent. It now reverts. (#1752)