e9e177f53b
Fix ERC2771ContextMock for upgradeable contracts
2021-12-27 21:26:47 -03:00
fe38eae6cd
Re-enable immutable forwarder in ERC2771Context ( #2917 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-27 21:21:56 -03:00
a0a8bbb57f
Remove note about enabling self-delegation
2021-12-27 12:24:37 -03:00
10c8fcd3b8
Use invalid opcode to consume all gas in MinimalForwarder ( #3035 )
2021-12-22 19:01:24 -03:00
cafd900ad6
Fix memory leak in merkle verification ( #3039 )
2021-12-21 17:01:28 -03:00
e667ec9533
Add Governor Timelock Control Warning ( #3032 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-20 17:00:13 -03:00
5ac4d93ae3
Add missing letter ( #3034 )
2021-12-17 15:46:45 +00:00
d95cdaae8e
Replace excodesize assembly with address.code.length ( https://github.com/ethereum/solidity/releases/tag/v0.8.1 ) ( #3025 )
2021-12-15 18:54:10 +01:00
4a9cc8b491
Merge branch 'release-v4.4'
2021-12-14 13:34:03 -03:00
6bd6b76d11
4.4.1
2021-12-14 13:14:39 -03:00
bda61cd5e5
Fix typo ( #3016 )
2021-12-12 22:55:19 +01:00
b42b05311b
Add ERC721Votes for NFT-based governance ( #2944 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com >
2021-12-10 18:58:45 -03:00
553c8fdec7
Update initializer modifier to prevent reentrancy during initialization ( #3006 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
(cherry picked from commit 08840b9f8c )
2021-12-10 13:10:17 -03:00
08840b9f8c
Update initializer modifier to prevent reentrancy during initialization ( #3006 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-10 13:02:35 -03:00
0c858e2071
Improve revert reason in ERC721 ( #2975 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-09 23:42:18 +00:00
04109f8bee
Address: explain dangers of isContract ( #2994 )
...
Co-authored-by: Ivo Georgiev <ivo@strem.io >
2021-12-08 20:10:40 -03:00
abf6024faf
Add a governor module to protect against late quorum ( #2973 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-01 13:56:31 -03:00
6089f11c2f
Add a relay mechanism in the governor ( #2926 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-11-30 17:19:20 -03:00
3536587665
Fix typo ( #2992 )
2021-11-30 17:15:29 +01:00
7d17acfb2f
Merge branch 'release-v4.4'
2021-11-25 16:56:07 -03:00
4961a51cc7
4.4.0
2021-11-25 16:35:37 -03:00
94a0b8f573
Make VestingWallet token event argument indexed ( #2988 )
...
(cherry picked from commit 0859c70936 )
2021-11-25 16:03:00 -03:00
0859c70936
Make VestingWallet token event argument indexed ( #2988 )
2021-11-25 14:38:18 -03:00
f6db5c1f30
A function which returns the absolute value of a signed value ( #2984 )
...
* Add a function which returns the absolute (and obviously unsigned) value of a signed value.
* add changelog entry and fix lint
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2021-11-24 14:09:05 +01:00
2f2604d673
Deprecate presets in favor of Wizard ( #2986 )
2021-11-24 10:14:14 +01:00
52d42d6e03
Improve docs wording on constructors and proxies ( #2935 )
2021-11-19 15:08:56 -03:00
a57e638f57
Improve GovernorTimelockControl.state() to detect direct cancel ( #2977 )
2021-11-18 09:53:05 -03:00
a4cee9ed37
make setters in GovernorSettings virtual
...
(cherry picked from commit 6e5bf05211 )
2021-11-18 10:17:31 +01:00
6e5bf05211
make setters in GovernorSettings virtual
2021-11-18 10:15:48 +01:00
65ef662a2b
4.4.0-rc.1
2021-11-16 10:23:53 -03:00
8b8ee57a1a
Make quorum behavior match GovernorBravo ( #2974 )
...
* Make quorum inclusive minimum in GovernorCompatibilityBravo
* add PR link
(cherry picked from commit a94cf0509f )
2021-11-16 10:08:08 -03:00
a94cf0509f
Make quorum behavior match GovernorBravo ( #2974 )
...
* Make quorum inclusive minimum in GovernorCompatibilityBravo
* add PR link
2021-11-16 13:24:22 +01:00
cf6e32fc54
Fix Timelock Controller description typo ( #2960 )
...
(cherry picked from commit e63b09c9ad )
2021-11-15 18:08:07 -03:00
70138680cf
Fix ERC1155 supply tracking ( #2956 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
(cherry picked from commit 4088540aef )
2021-11-15 18:07:21 -03:00
e63b09c9ad
Fix Timelock Controller description typo ( #2960 )
2021-11-11 14:49:53 +01:00
4088540aef
Fix ERC1155 supply tracking ( #2956 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-11-08 18:47:21 -03:00
09e5888ca8
fix typos in GovernorSettings ( #2957 )
...
(cherry picked from commit ce51655c81 )
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2021-11-08 17:26:05 +01:00
ce51655c81
fix typos in GovernorSettings ( #2957 )
2021-11-08 17:23:23 +01:00
6dab43c3a9
AccessControlEnumerable: Hook into the internal function ( #2946 )
...
* AccessControlEnumerable: Hook into the internal function
* add changelog entry
(cherry picked from commit 7579828180 )
2021-11-08 12:23:37 -03:00
7579828180
AccessControlEnumerable: Hook into the internal function ( #2946 )
...
* AccessControlEnumerable: Hook into the internal function
* add changelog entry
2021-11-08 12:22:13 -03:00
fbfe19d6db
Improve documentation around ERC1155
2021-11-03 10:35:42 -03:00
0a87a4e75b
4.4.0-rc.0
2021-10-20 17:21:04 -03:00
9e13852135
Fix typo ( #2919 )
2021-10-20 08:33:08 +02:00
c9bdb1f0ae
Add a comment documenting the package version being used ( #2918 )
2021-10-19 19:18:19 -03:00
b12af48a7d
Add Governor module for governance-settable parameters ( #2904 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-10-19 15:33:02 -03:00
0db97c9681
updated docs for governor votes, 0 is against not for ( #2915 )
...
* updated docs for governor votes, 0 is against not for
* Revert unecessary changelog entry
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2021-10-18 18:41:02 +02:00
88e4b69bfb
Add a VestingWallet ( #2748 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-10-18 12:47:37 -03:00
d244b81972
Add a MerkleProof.processProof utility function ( #2841 )
...
* Add a MerkleProof.processProof utility function
* Add changelog entry
* fix lint
* return index when processingProof
* fix lint
* fix test
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* improve documentation
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* remove index - see discussion in the PR
* update changelog
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-10-14 11:50:35 +02:00
5b28259dac
#890 : Add ECDSA.toEthSignedMessageHash(bytes) for abritrary length message hashing ( #2865 )
...
* #890 : Add ECDSA#toEthSignedMessage for bytes type
* refactor
* add test, refactor
* select overloaded function explicitly
* use short test message string
* add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2021-10-11 14:59:30 +02:00
efb5b0a28f
Extend PaymentSplitter to support ERC20 tokens ( #2858 )
...
* Add MultiPaymentSplitter
with ERC20 support on top of the existing PaymentSplitter
* consistency and linting
* Add MultiPaymentSplitter tests
* fix lint
* add changelog entry
* add MultiPaymentSplitter to documentation
* rework PaymentSplitter to include ERC20 support by default
* remove test file for MultiPaymentSplitter
* fix lint
* completelly split erc20 and token tracking
* address some PR comments
* add notice about rebasing tokens
* fix minor error in tests
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-10-07 16:17:10 +02:00