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
Michael George
749738f2aa
moved contract modifications into munged directory
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
Aleksander Kryukov
ff8e17ec2f
removedHarnessesAnsSummariesAddedComments
3 years ago
Aleksander Kryukov
37fe8c292a
FixinigTimeoutsAndTotalVotes
3 years ago
Michael M
167f175f3a
harness _execute()
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
Aleksander Kryukov
f8a54d2ae2
RemovedInsertedBugForSumRule
3 years ago
Aleksander Kryukov
92744a195a
specificSpecForSumRule
3 years ago
Aleksander Kryukov
85b65befd5
WorkInProgress
3 years ago
Aleksander Kryukov
77efd53f0c
checkingInvariantsWithoutGhosts
3 years ago
Michael M
c08a73a6ca
Harness private to public
3 years ago
Michael M
547e7a8308
Harness private to public
3 years ago
Michael M
788d4672d7
slight script changes and ghost fix
3 years ago
Aleksander Kryukov
e810379262
sanity rule preparations
3 years ago
Wittawat Patcharinsak
e63b09c9ad
Fix Timelock Controller description typo ( #2960 )
3 years ago
Aleksander Kryukov
6ac85d8d15
RemovedInsertedBugForSumRule
3 years ago
Aleksander Kryukov
96df9799c3
specificSpecForSumRule
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
Aleksander Kryukov
b133fee376
WorkInProgress
3 years ago
Aleksander Kryukov
f08ee568b9
checkingInvariantsWithoutGhosts
3 years ago
Michael M
d6e79f4366
Harness private to public
3 years ago
Michael M
c00d951e06
Harness private to public
3 years ago
Michael M
69f87ad916
slight script changes and ghost fix
3 years ago
Aleksander Kryukov
cac49bfc2e
sanity rule preparations
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