v4.1.0
版本发布时间: 2021-04-30 10:21:30
OpenZeppelin/openzeppelin-contracts最新发布版本:v5.1.0-rc.0(2024-10-03 22:56:46)
Read the full announcement in the blog or check out the changelog.
-
IERC20Metadata
: add a new extended interface that includes the optionalname()
,symbol()
anddecimals()
functions. (#2561) -
ERC777
: make reception acquirement optional in_mint
. (#2552) -
ERC20Permit
: add a_useNonce
to enable further usage of ERC712 signatures. (#2565) -
ERC20FlashMint
: add an implementation of the ERC3156 extension for flash-minting ERC20 tokens. (#2543) -
SignatureChecker
: add a signature verification library that supports both EOA and ERC1271 compliant contracts as signers. (#2532) -
Multicall
: add abstract contract withmulticall(bytes[] calldata data)
function to bundle multiple calls together (#2608) -
ECDSA
: add support for ERC2098 short-signatures. (#2582) -
AccessControl
: add aonlyRole
modifier to restrict specific function to callers bearing a specific role. (#2609) -
StorageSlot
: add a library for reading and writing primitive types to specific storage slots. (#2542) - UUPS Proxies: add
UUPSUpgradeable
to implement the UUPS proxy pattern together withEIP1967Proxy
. (#2542)