0b6becd49f
Remove the draft prefix to ERC20Permit ( #3793 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-11-04 12:55:55 -03:00
a1948250ab
ERC721ConsecutiveEnumerable is no longer unreachable
2022-10-18 14:13:05 +02:00
08d5e4a9b0
Refactor consecutive transfer hooks ( #3753 )
2022-10-17 17:09:23 +02:00
eb03304b70
Add ReentrancyGuard status getter ( #3714 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2022-10-17 14:43:45 +02:00
046121e080
Ignore specific warnings and make the rest into errors ( #3695 )
2022-09-22 22:33:13 +02:00
7a14f6c595
Make ERC721Votes no longer a Draft ( #3699 )
2022-09-17 18:03:03 +02:00
3c552e6e03
Fix relevant warnings ( #3685 )
2022-09-07 15:56:18 -03:00
80ae402387
Add fuzz tests for Math.sqrt & Math.logX using Foundry ( #3676 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-09-07 14:25:29 -03:00
c1d6e39aab
Add log2, log10 and log256 functions ( #3670 )
2022-09-07 08:29:48 +00:00
171fa40bc8
ERC721 extension for efficient batch minting ( #3311 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-09-05 23:09:30 +02:00
e09ccd1449
Optimize votes lookups for recent checkpoints ( #3673 )
2022-09-04 22:48:26 +02:00
1f0e7cdf04
Add Ownable2Step extension with 2-step transfer ( #3620 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-09-01 15:46:44 +00:00
160bf1a6eb
Optimize toString ( #3573 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-08-31 23:08:35 +00:00
1eb55e2864
Remove unnecessary virtual ( #3650 )
2022-08-31 17:25:54 -03:00
71aaca2d9d
Extend Checkpoints with new sizes and lookup mechanisms ( #3589 )
2022-08-30 21:32:12 +02:00
141130db27
Inherit asset decimals in ERC4626 ( #3639 )
2022-08-26 09:53:53 +02:00
17bc2dabe0
Procedurally generate EnumerableSet and EnumerableMap ( #3429 )
2022-08-19 14:12:18 +02:00
26cf47a2be
Add internal functions _getInitializedVersion and _isInitializing ( #3598 )
2022-08-18 20:42:31 -03:00
397c946141
Remove the draft prefix for EIP712 as it is now final ( #3621 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-08-18 20:40:45 -03:00
c11acfd9d3
Fix compiler warning
2022-07-27 16:47:36 -03:00
dc4869eb23
Avoid returnbomb in ERC165Checker ( #3587 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-07-27 16:41:05 +00:00
81336aefb5
Fix arbitrum L1 to L2 crosschain call detection ( #3578 )
...
* Fix arbitrum L1 to L2 crosschain call detection
* fix BridgeArbitrumL2Mock
* update changelog
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-07-25 22:42:37 +02:00
d1b1e17d23
Add internal overrideable _flashFee in ERC20FlashMint ( #3551 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-07-22 14:44:58 -03:00
628a6e2866
Fix issues caused by abi.decode reverting ( #3552 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-07-18 21:01:20 +00:00
e734b42fc2
Enable using ERC165 check for one supported interface directly ( #3339 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-06-27 17:51:33 -03:00
6f88199db9
Optimize Address.functionCall removing redundant isContract check ( #3469 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-06-27 17:02:33 -03:00
2894059775
Support memory arrays in MerkleTree multiproof ( #3493 )
2022-06-27 13:15:52 +02:00
a55b7d1372
Rename ERC20TokenizedVault to ERC4626 ( #3467 )
2022-06-14 11:39:01 +02:00
7c75b8aa89
Add a SafeERC20:safePermit function ( #3280 )
2022-06-07 15:17:02 +00:00
3ac4add548
Add sqrt for math ( #3242 )
2022-06-07 08:26:45 +02:00
d506e3b1a5
Simplify Initializable ( #3450 )
2022-06-03 19:30:50 +00:00
113443470c
Reorder arguments for multiProof functions ( #3447 )
2022-06-03 09:36:14 +02:00
35090c1bf1
Add tests for improved coverage ( #3448 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-06-02 23:01:55 +00:00
5e00787199
ERC4626 ( #3171 )
2022-06-02 10:03:03 +02:00
4fc9fd3efe
Support more efficient merkle proofs through calldata ( #3200 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-06-01 20:36:42 +00:00
61294a62af
Restore previous behavior of initializer during construction ( #3344 )
2022-05-25 15:01:45 -03:00
f8157ac854
Add multiProofVerify ( #3276 )
2022-05-25 09:39:15 +02:00
de74c8c62c
Add bytes32 to uint enumerable map ( #3416 )
2022-05-23 08:02:27 +00:00
b61faf8368
Procedural SafeCast.sol generation ( #3245 )
2022-05-21 14:38:31 +02:00
c4f76cfa15
Add uint to uint enumerable map ( #3338 )
2022-05-20 13:31:53 +00:00
5772512058
Add address to string conversion ( #3403 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-05-13 18:46:26 +00:00
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 >
2022-05-06 18:46:23 -03:00
0762479dd5
Fix tests on upgradeable contracts after transpilation
2022-03-31 23:41:31 -03:00
9af5af8fff
add transpilation guards to the crosschain mocks ( #3306 )
2022-03-31 20:04:04 +02:00
668a648bc6
Add utilities for CrossChain messaging ( #3183 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-03-30 11:41:04 -03:00
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 >
2022-03-29 09:15:43 +00:00
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 >
2022-03-22 18:06:29 +00:00
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
2022-03-22 16:36:29 +01:00
98716177ae
Inherit ERC20Wrapper decimals from the underlying ( #3259 )
2022-03-22 09:55:49 +01:00
f2a311dc4a
Make Votes._getVotingUnits view ( #3225 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2022-03-08 21:39:53 +00:00