GitHubPang
62bab225c1
Fix wording and grammar in docs ( #3645 )
...
Fix wording and grammar
2 years ago
Hadrien Croubois
24fc709533
Set up codespell ( #3643 )
2 years ago
Hadrien Croubois
397c946141
Remove the draft prefix for EIP712 as it is now final ( #3621 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
2 years ago
gmhacker.eth
d514cdd26e
Preserve camelCase in GovernorCountingSimple ( #3608 )
3 years ago
Hadrien Croubois
8ea1fc87c9
Keep track of historical quorum values ( #3561 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
ptrcarta
0ccfd2dbd3
Fix error in documentation and typo ( #3567 )
3 years ago
Hadrien Croubois
3dac7bbed7
Merge v4.7 back into master ( #3516 )
3 years ago
Daniel Von Fange
e8c60f92e3
Remove unused using statements in GovernorCompatibilityBravo ( #3506 )
3 years ago
Martín Triay
46db8a98b0
Rename return parameter ( #3413 )
3 years ago
Hadrien Croubois
07b1b472c0
Improve wording consistency in code/doc ( #3365 )
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
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
Hadrien Croubois
668a648bc6
Add utilities for CrossChain messaging ( #3183 )
...
Co-authored-by: Francisco Giordano <frangio.1@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
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
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
Pandapip1
faf5820f03
Fix many spelling errors ( #3274 )
3 years ago
Hadrien Croubois
f2a311dc4a
Make Votes._getVotingUnits view ( #3225 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
8b162e39b5
Add a canceller role to the TimelockController ( #3165 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Ben DiFrancesco
fd07cc6290
Extend Governor with parameterized votes ( #3043 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Hadrien Croubois
af7ec04b78
Improve security of the onlyGovernance modifier ( #3147 )
...
* add a protection mechanism to prevent relaying transaction that are not
part of an execute operation
* more accurate relay authorization
* force reset the relay authorizations after executions
* refactor of the onlyGovernor modifier
* only whitelist when executor is not governor itself
* fix lint
* add private function for call permission management
* use deque
* fix lint
* remove unecessary dependency
* remove unecessary dependency
* comment rephrasing
* Update contracts/governance/Governor.sol
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
* cache keccak256(_msgData())
* use Context
* lint
* conditionnal clear
* add test to cover queue.clear()
* lint
* write more extended docs for onlyGovernance
* add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
afb20119b3
Release v4.5
3 years ago
Francisco Giordano
85566faeb2
Improve documentation of various governance aspects ( #3161 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
JulissaDantes
b3b83b558e
Add Slither reentrancy check in CI ( #3047 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
ecae978cb5
Make more functions virtual ( #3078 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
1051db3802
Use abi.encodePacked instead of bytes.concat
3 years ago
Hadrien Croubois
c366de3626
Fix encoding of signature+calldata in GovernorCompatibilityBravo ( #3100 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
JulissaDantes
e667ec9533
Add Governor Timelock Control Warning ( #3032 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
JulissaDantes
5ac4d93ae3
Add missing letter ( #3034 )
3 years ago
Francisco Giordano
6bd6b76d11
4.4.1
3 years ago
JulissaDantes
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>
3 years ago
Hadrien Croubois
abf6024faf
Add a governor module to protect against late quorum ( #2973 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
6089f11c2f
Add a relay mechanism in the governor ( #2926 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
David Brailovsky
3536587665
Fix typo ( #2992 )
3 years ago
Francisco Giordano
4961a51cc7
4.4.0
3 years ago
Hadrien Croubois
a57e638f57
Improve GovernorTimelockControl.state() to detect direct cancel ( #2977 )
3 years ago
Hadrien Croubois
a4cee9ed37
make setters in GovernorSettings virtual
...
(cherry picked from commit 6e5bf05211
)
3 years ago
Hadrien Croubois
6e5bf05211
make setters in GovernorSettings virtual
3 years ago
Francisco Giordano
65ef662a2b
4.4.0-rc.1
3 years ago
Francisco Giordano
8b8ee57a1a
Make quorum behavior match GovernorBravo ( #2974 )
...
* Make quorum inclusive minimum in GovernorCompatibilityBravo
* add PR link
(cherry picked from commit a94cf0509f
)
3 years ago
Francisco Giordano
a94cf0509f
Make quorum behavior match GovernorBravo ( #2974 )
...
* Make quorum inclusive minimum in GovernorCompatibilityBravo
* add PR link
3 years ago
Wittawat Patcharinsak
cf6e32fc54
Fix Timelock Controller description typo ( #2960 )
...
(cherry picked from commit e63b09c9ad
)
3 years ago
Wittawat Patcharinsak
e63b09c9ad
Fix Timelock Controller description typo ( #2960 )
3 years ago
Hadrien Croubois
09e5888ca8
fix typos in GovernorSettings ( #2957 )
...
(cherry picked from commit ce51655c81
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Hadrien Croubois
ce51655c81
fix typos in GovernorSettings ( #2957 )
3 years ago
Francisco Giordano
0a87a4e75b
4.4.0-rc.0
3 years ago
Francisco Giordano
c9bdb1f0ae
Add a comment documenting the package version being used ( #2918 )
3 years ago
Hadrien Croubois
b12af48a7d
Add Governor module for governance-settable parameters ( #2904 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Patrick Collins
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>
3 years ago
Hadrien Croubois
abeb0fbf5c
Delay the Pending state until strictly after proposal.voteStart ( #2892 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago