openzeppelin-contracts icon indicating copy to clipboard operation
openzeppelin-contracts copied to clipboard

OpenZeppelin Contracts is a library for secure smart contract development.

Results 568 openzeppelin-contracts issues
Sort by recently updated
recently updated
newest added

**🧐 Motivation** Support EIP-2309: ERC-721 Consecutive Transfer Extension Enables minting any number of tokens in a single transaction **📝 Details** EIP is an extension to ERC-721, for a standardized event...

Fixes #???? #### PR Checklist - [x] Tests - [ ] Documentation - [ ] Changelog entry

This PR includes quite a few things: - Procedural generation of the Checkpoint library, automating the support for various key/value lengths - `Checkpoints.Checkpoint224`: key is uint32 and value is uint224....

The [doc](https://docs.openzeppelin.com/contracts/4.x/erc1155#Presets) has a broken link: [ERC1155PresetMinterPauser](https://docs.openzeppelin.com/contracts/4.x/erc1155#api:presets.adoc#ERC1155PresetMinterPauser). I think the doc should either remove the "Preset ERC1155 contract" section or explain that > Contract presets are now deprecated in favor...

Fixes #???? This PR reduces gas usage of `Strings.toString` for decimal numbers. Here are some results: ``` Input | Current | New | Gas saved -------------------------------------------------------------------------------|---------|------|----------------- 0 | 131 |...

**🧐 Motivation** I think grouping the extension access control contracts would be more readable and organized, as it happens with the token standard contracts. **📝 Details** ### Current structure: ```...

breaking change

This commit makes the comment clearer for ERC721Enumerable._beforeTokenTransfer() by combing its calling condition items 4) and 5) into one condition: `from` and 'to' cannot be the zero address at the...

First look at the most recent checkpoint, then move towards previous checkpoints in exponentially increasing intervals. Once past the target, do a normal binary search in the range.

Similar to #3350, but for the VestingWallet #### PR Checklist - [x] Tests - [x] Changelog entry

#### PR Checklist - [x] Tests - [ ] Documentation - [ ] Changelog entry