4d3e423443
Make ERC20Wrapper.underlying variable private ( #4029 )
...
Co-authored-by: Kimani Kelly <kimanikelly@Kimanis-MacBook-Pro.local >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2023-02-07 22:16:36 -03:00
1684c57922
Add ERC*Pausable warning for public pausing mechanism ( #4007 )
...
Co-authored-by: Francisco <fg@frang.io >
2023-01-28 20:21:07 -03:00
147dc89054
Merge branch 'master' into next-v5.0
2023-01-14 18:51:03 -03:00
6b17b33430
Use a staticcall to fetch ERC20.decimals in ERC4626 ( #3943 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2023-01-12 12:33:15 -03:00
d210847e28
Fix ERC20._update ( #3921 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2023-01-10 17:21:35 -03:00
d59306bd06
Improve ERC20.decimals documentation ( #3933 )
2023-01-06 14:09:02 +01:00
4147005b0c
Update Prettier Solidity ( #3898 )
2022-12-26 23:28:51 -03:00
b709eae01d
Update Prettier Solidity ( #3898 )
2022-12-23 22:28:05 -03:00
9cbe8b340c
Merge branch 'master' into next-v5.0
2022-12-19 18:17:33 -03:00
3c80a42866
Remove hooks from ERC20 ( #3838 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-12-14 16:43:45 -03:00
e2d2ebc8fc
Make ERC20Votes independent from ERC20Permit ( #3816 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-11-29 11:25:52 -03:00
8f8fd84f1e
Improve some NatSpec and revert reasons ( #3809 )
...
Co-authored-by: JulissaDantes <julissadcj@gmail.com >
2022-11-25 12:55:16 -03:00
4a9db80cb9
Remove presets ( #3637 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: JulissaDantes <julissadcj@gmail.com >
2022-11-25 12:46:47 -03:00
7c5f6bc2c8
Merge branch 'release-v4.8'
2022-11-09 19:23:01 -03:00
49c0e4370d
4.8.0
2022-11-08 11:29:29 -03:00
0b6becd49f
Remove the draft prefix to ERC20Permit ( #3793 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-11-04 12:55:55 -03:00
d5ca39e9a2
Rename _isVaultCollateralized to _isVaultHealthy for clarity ( #3796 )
2022-11-02 11:46:08 -03:00
1f18fea1de
4.8.0-rc.2
2022-10-17 18:53:40 +02:00
02722fcc03
Use unchecked in ERC20Votes and fix typo ( #3748 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2022-10-17 17:00:47 +02:00
50501a751e
Update docs pipeline to solidity-docgen@0.6 ( #3707 )
...
(cherry picked from commit c52625018b )
2022-09-30 12:55:21 -03:00
f0de978a9e
Improve handling and docs for ERC4626.decimals ( #3733 )
...
(cherry picked from commit 14f98dbb58 )
2022-09-30 12:55:06 -03:00
c52625018b
Update docs pipeline to solidity-docgen@0.6 ( #3707 )
2022-09-30 12:52:45 -03:00
14f98dbb58
Improve handling and docs for ERC4626.decimals ( #3733 )
2022-09-28 15:42:55 -03:00
16791134c1
4.8.0-rc.1
2022-09-23 18:59:29 +02:00
d89a62e0a6
Improve ERC20FlashMint documentation ( #3719 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
(cherry picked from commit aa4b901788 )
2022-09-23 12:28:34 -03:00
aa4b901788
Improve ERC20FlashMint documentation ( #3719 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2022-09-23 11:48:39 +02:00
5e6fd491f3
4.8.0-rc.0
2022-09-07 18:08:32 -03:00
3c552e6e03
Fix relevant warnings ( #3685 )
2022-09-07 15:56:18 -03:00
e09ccd1449
Optimize votes lookups for recent checkpoints ( #3673 )
2022-09-04 22:48:26 +02:00
141130db27
Inherit asset decimals in ERC4626 ( #3639 )
2022-08-26 09:53:53 +02:00
24fc709533
Set up codespell ( #3643 )
2022-08-23 12:43:03 -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
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
5e7e9acfa4
Fix broken forum URL ( #3537 )
...
Co-authored-by: Francisco <frangio.1@gmail.com >
2022-07-08 19:03:39 -03:00
5fbf494511
Use unchecked arithmetic in "_transfer", "_mint" and "_burn" ( #3513 )
2022-07-01 22:40:30 +02:00
4a194b3a1c
Fix typo in ERC4626 comments ( #3518 )
2022-06-30 12:01:04 +02:00
3dac7bbed7
Merge v4.7 back into master ( #3516 )
2022-06-29 12:34:30 +02:00
b159b3fee2
Minor wording fixes ERC4626 contract ( #3510 )
2022-06-28 14:56:09 +02:00
74738721dc
Make ERC4626 _deposit and _withdraw internal virtual ( #3504 )
2022-06-24 14:55:20 -03:00
450c569d78
Add a caution note to ERC4626 about EOA access ( #3503 )
2022-06-24 10:22:10 +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
5e00787199
ERC4626 ( #3171 )
2022-06-02 10:03:03 +02:00
c019e7c5bb
Fix typo causing broken URL in ERC20Snapshot comment ( #3428 )
2022-05-23 14:57:57 -03: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
07b1b472c0
Improve wording consistency in code/doc ( #3365 )
2022-05-04 18:20:59 -03:00
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 >
2022-04-27 09:34:09 +02:00
3f49408fb6
Move event definition at the top of IERC20, IERC777 and IERC1820 ( #3228 )
2022-03-30 12:36:37 -03:00
98716177ae
Inherit ERC20Wrapper decimals from the underlying ( #3259 )
2022-03-22 09:55:49 +01:00
cc1c18098c
Replace immutable with constant for _PERMIT_TYPEHASH ( #3196 )
...
* replace `immutable` with `constant` for _PERMIT_TYPEHASH
This commit is related to the following issue discussion: https://github.com/OpenZeppelin/contracts-wizard/issues/89#issuecomment-1042391318
Since Solidity version `0.6.12` the `keccak256` of string literals is treated specially and the hash is evaluated at compile time. Since the OpenZeppelin Wizard also uses `constant` for OpenZeppelin's AccessControl's roles declarations, it's good practice to make this consistent.
* Update CHANGELOG
* fix: ensure transpiler compatibility
* fix: fixing var-name-mixedcase
* prettier & lint check
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2022-03-09 17:38:29 +01:00