Kartik0099
3bdf4bfd29
Annotate Memory-Safe Assembly ( #3392 )
3 years ago
Mazen Khalil
3b9381dfb1
Add customizable fee receiver to ERC20FlashMint ( #3327 )
...
Co-authored-by: Mazen Khalil <mazen@immunityledger.org>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
07b1b472c0
Improve wording consistency in code/doc ( #3365 )
3 years ago
Hadrien Croubois
4574ce45b6
Add a cross-chain guide for the documentation ( #3325 )
3 years ago
renovate[bot]
5ed20f32cf
Update lockfile ( #3386 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
Hadrien Croubois
14ca3aeb79
Fix links in documentation ( #3387 )
3 years ago
Hadrien Croubois
1d2ab4f41c
Add 4.6 upgradeability notice
3 years ago
Pascal Marco Caversaccio
be3cfa0f90
Add custom error to `CrossChainEnabledPolygonChild` ( #3380 )
3 years ago
Hadrien Croubois
fcf35e5722
Fix changelog merge issue ( #3364 )
3 years ago
Hadrien Croubois
a035b235b4
Release v4.6 ( #3358 )
...
* 4.6.0-rc.0
* Fix release script to only release @openzeppelin/contracts
(cherry picked from commit 2bd75a44bb
)
* make ERC2981:royaltyInfo public (#3305 )
(cherry picked from commit d2832ca7a9
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* add transpilation guards to the crosschain mocks (#3306 )
(cherry picked from commit 9af5af8fff
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* Fix tests on upgradeable contracts after transpilation
(cherry picked from commit 0762479dd5
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* Remove unused constructor argument
(cherry picked from commit 69c3781043
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* Bump minimum Solidity version for Initializable.sol to 0.8.2 (#3328 )
(cherry picked from commit cb14ea3c5c
)
* Fix update-comment script to ignore invalid tags
(cherry picked from commit 848fef5b6c
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* 4.6.0
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
848fef5b6c
Fix update-comment script to ignore invalid tags
3 years ago
Igor Igamberdiev
85627ffa91
Update links in docs ( #3356 )
...
* Update links in Access Control section
* Update Tally url
* Update web3 url to the freshest version
3 years ago
Eric Lau
c12076fb7e
Fix ERC777 link ( #3351 )
3 years ago
Niccolò Petti
d4e6236b2b
Fix deprecated expectEvent.inLogs #3332 ( #3333 )
3 years ago
GitHubPang
5a75065659
Fix typo in CHANGELOG ( #3341 )
3 years ago
Francisco Giordano
cb14ea3c5c
Bump minimum Solidity version for Initializable.sol to 0.8.2 ( #3328 )
3 years ago
dependabot[bot]
7392d83738
Bump minimist from 1.2.5 to 1.2.6 ( #3303 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Philippe Dumonet
28dd490726
Optimize ERC1167 proxy creation code by 1 opcode ( #3329 )
3 years ago
Joey
bc810db320
Use a customizable _execute function in TimelockController ( #3317 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
dd01889434
Remove outdated documentation in ERC2981._setTokenRoyalty
3 years ago
mcIovin
731e199038
Improve docs for ERC721URIStorage._burn ( #3324 )
3 years ago
dmfxyz
d4d8d2ed97
Fix burn documentation ( #3246 )
...
Co-authored-by: xombxomb <dmfinn@wustl.edu>
3 years ago
renovate[bot]
f81b80fb39
Update lockfile ( #3309 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
renovate[bot]
3fb25b604b
Update codecov/codecov-action action to v3 ( #3320 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
Amin Bashiri
742e85be7c
Change zero address revert message in the balanceOf function of ERC721 and ERC1155 ( #3314 )
3 years ago
Francisco Giordano
69c3781043
Remove unused constructor argument
3 years ago
Francisco Giordano
0762479dd5
Fix tests on upgradeable contracts after transpilation
3 years ago
renovate[bot]
049701eacd
Update crytic/slither-action action to v0.1.1 ( #3307 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
JulissaDantes
f85eb5b725
Use slither action ( #3278 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
9af5af8fff
add transpilation guards to the crosschain mocks ( #3306 )
3 years ago
Hadrien Croubois
d2832ca7a9
make ERC2981:royaltyInfo public ( #3305 )
3 years ago
Francisco Giordano
2bd75a44bb
Fix release script to only release @openzeppelin/contracts
3 years ago
Francisco Giordano
2a4ca65404
Update release script to stop publishing old openzeppelin-solidity package
3 years ago
Jean Cvllr
3f49408fb6
Move event definition at the top of IERC20, IERC777 and IERC1820 ( #3228 )
3 years ago
Jeff
e7719ded56
Match IERC721 function order with EIP spec ( #3287 )
3 years ago
Hadrien Croubois
668a648bc6
Add utilities for CrossChain messaging ( #3183 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
S E R A Y A
02fcc75bb7
Add ERC1155URIStorage ( #3210 )
...
* Add ERC721URIStorage-like extension for ERC1155
* Add tests for ERC1155URIStorage extension
* add changelog entry for ERC721URIStorage
* Fix linting errors
* Emit URI event in ERC1155URIStorage
* Remove exists check and ERC1155Supply dependency
* Fix lint error
* Overwrite ERC1155 uri method
* Update ERC1155URIStorage specs
* Fix ERC1155URIStorageMock
* Rename _setTokenURI => _setURI in ERC1155URIStorage
* Add baseURI to ERC1155URIStorage
* Move super.uri call in ERC1155URIStorage
* Clearify ERC1155URIStorage description in change log
* reorder changelog & add documentation
* improve documentation
* fix typo
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Hadrien Croubois
ae270b0d89
Align data location of interface with implementation ( #3295 )
...
Co-authored-by: chriseth <chris@ethereum.org>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
e029096ca4
Add Initialized event ( #3294 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Mihir Wadekar
76eee35971
Improve revert message in Governor ( #3275 )
...
* Fixed typo
* fix testing and adding changelog
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Hadrien Croubois
bfff03c0d2
add missing PR link in Changelog
3 years ago
Ashwin Yardi
76fca3aec8
Add ERC721 and ERC1155 receiver support in Governor, Timelock ( #3230 )
...
* add ERC721 and ERC1155 receiver support in Governor, Timelock and MinimalForwarder (#3174 )
* revert the nft receiver hooks from MinimalForwarder and linting updates
* add ERC165 support & simplify test
* add changelog entry
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
gh3sthauss
74c9130a59
typo fixed ( #3264 )
3 years ago
GitHubPang
15d5174139
Fix minor typo in CONTRIBUTING.md. ( #3284 )
3 years ago
renovate[bot]
05077f70f1
Update actions/cache action to v3 ( #3277 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
Pandapip1
faf5820f03
Fix many spelling errors ( #3274 )
3 years ago
Hadrien Croubois
0eba5112c8
Allow the re-initialization of contracts ( #3232 )
...
* allow re-initialization of contracts
* fix lint
* use a private function to avoid code duplication
* use oz-retyped-from syntax
* add documentation
* rephrase
* documentation
* Update contracts/proxy/utils/Initializable.sol
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
* reinitialize test
* lint
* typos and style
* add note about relation between initializer and reinitializer
* lint
* set _initializing in the modifier
* remove unnecessary variable set
* rename _preventInitialize -> _disableInitializers
* rename preventInitialize -> disableInitializers
* test nested reinitializers in reverse order
* docs typos and style
* edit docs for consistency between initializer and reinitializer
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Wias Liaw
b13bdb0249
Add bytes32 to bytes32 enumerable map ( #3192 )
...
* feat(enumerablemap): add bytes32 to bytes32 map
* chore(changelog): edit CHANGELOG
* feat(enumerable map): edit struct visibility
3 years ago
Hadrien Croubois
c028c56965
Add changelog entry for #3259 ( #3281 )
...
* improve wrapper decimal support
* Update test/token/ERC20/extensions/ERC20Wrapper.test.js
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
* add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
98716177ae
Inherit ERC20Wrapper decimals from the underlying ( #3259 )
3 years ago