soulofmischief
9e13852135
Fix typo ( #2919 )
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
88e4b69bfb
Add a VestingWallet ( #2748 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
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>
3 years ago
td-bn
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>
3 years ago
Hadrien Croubois
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>
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
Hadrien Croubois
caba6b93ef
Add an internal _setApprovalForAll function (721 & 1155) ( #2834 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
e2fa301bfb
Improve parameters naming and remove unecessary returns ( #2891 )
3 years ago
Anton Bukov
29eeb2828e
Fix EIP712 for delegatecalls ( #2852 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
6f23efa970
Review wording of SafeMath need in Solidity 0.8 ( #2898 )
3 years ago
Nicolas Mahe
1b27c13096
Fix typo in doc of SignatureChecker ( #2881 )
3 years ago
Joey
f77fd4667e
fix typo in GovernorCountingSimple ( #2879 )
...
Co-authored-by: Joey Santoro <joseph.santoro@duke.edu>
3 years ago
Simon Perriard
6af4ed6169
revokeRole spec mismatch ( #2872 )
...
revokeRole emits {RoleRevoked} event if `account` has been revoked `role`
Greetings from ChainSecurity!
3 years ago
Hadrien Croubois
01f2ff1ba1
Allow Governor + CompoundTimelock to manage native tokens (eth) in and out of the timelock contract. ( #2849 )
...
* Change GovernorTimelockCompound to support ETH in Timelock
* refactor compound timelock module
* Allow governor to receive ETH is executor == address(this)
3 years ago
Francisco Giordano
0c4de6721d
4.3.2
3 years ago
Hadrien Croubois
024cc50df4
Restrict upgrade to proxy context in UUPSUpgradeable
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
(cherry picked from commit 6241995ad3
)
3 years ago
Hadrien Croubois
6241995ad3
Restrict upgrade to proxy context in UUPSUpgradeable
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
bc5c8e2c9c
Improve wording of recommendation in Initializable
3 years ago
Hadrien Croubois
7237b1672e
Make some private functions internal to allow the developpement of "withSignature" functions (like permit) ( #2568 )
...
* add internal _setOwner in Ownable
* address issues raised in #2567
* updte changelog entry
* improve changelog and documentation
* rephrasing doc
* add cahngelog improvement lost in merge
* notify deprecation of _setupRole in changelog
* Demote caution to note
* Update CHANGELOG.md
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
38448c104a
Add recommendation to initialize all contracts that use Initializable
3 years ago
Hasan Raza
9b4326d91e
Fixed a typo ( #2835 )
3 years ago
Francisco Giordano
6edb6dd1ca
4.3.1
3 years ago
Francisco Giordano
0ec7f4c25d
Add additional isOperationReady check in TimelockController
...
(cherry picked from commit cec4f2ef57
)
3 years ago
Francisco Giordano
cec4f2ef57
Add additional isOperationReady check in TimelockController
3 years ago
Buns
83644fdb6a
Remove unused SafeMath.sol import ( #2823 )
4 years ago
Francisco Giordano
56d4063e92
Add comment about optimizer in GovernorCompatibilityBravo
4 years ago
Francisco Giordano
1d2e15fbd7
4.3.0
4 years ago
Francisco Giordano
e3cbfcd44b
Improve Governor documentation
...
(cherry picked from commit 4ac1070cd3
)
4 years ago
Francisco Giordano
4ac1070cd3
Improve Governor documentation
4 years ago
Francisco Giordano
7072b623af
Fix typo casted -> cast
...
(cherry picked from commit 9253c614d2
)
4 years ago
Francisco Giordano
9253c614d2
Fix typo casted -> cast
4 years ago
Hadrien Croubois
635e36ff08
4.3.0-rc.0
4 years ago
Francisco Giordano
6618f9f184
Fix documentation of functions in interfaces directory
4 years ago
Anton Bukov
541e82144f
Optimize EOA signature verification ( #2661 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
18668870fd
Add an interface folder that lists common interfaces ( #2517 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
4b152bd8ce
Improve Governor ( #2794 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 years ago
Hadrien Croubois
9a385dcb45
fix typo
4 years ago
Anton Bukov
3dadd40034
Avoid safe math in BitMap ( #2797 )
4 years ago
William Entriken
0500c9e53e
Use "OpenZeppelin Contracts" where appropriate ( #2778 )
4 years ago
Mikhail Melnik
d3c5bdf4de
Fix yellowpaper reference ( #2775 )
4 years ago
Francisco Giordano
7e41bf2259
Remove ERC20FlashMint from drafts section in docs
4 years ago
Hadrien Croubois
6c1a634053
Add Governor contracts ( #2672 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
f88e555234
Add values() functions to EnumerableSets ( #2768 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Santiago Palladino
c346c09b01
Clarify zero address usage in proposer and executor roles in Timelock ( #2765 )
...
* Clarify zero address usage in proposer and executor roles in access control
* Address zero only applies to executor
* Fix incorrect role
4 years ago
Francisco Giordano
3935b907d4
Fix NatSpec comment syntax
4 years ago
Anton Bukov
4e2641a915
Simplify selector access ( #2766 )
4 years ago
Julian M. Rodriguez
973b0f883a
fix typo in erc20 docs ( #2764 )
4 years ago