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
abeb0fbf5c
Delay the Pending state until strictly after proposal.voteStart ( #2892 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-10-06 19:29:57 -03:00
caba6b93ef
Add an internal _setApprovalForAll function (721 & 1155) ( #2834 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-10-06 13:48:18 +00:00
e2fa301bfb
Improve parameters naming and remove unecessary returns ( #2891 )
2021-10-06 10:34:27 -03:00
29eeb2828e
Fix EIP712 for delegatecalls ( #2852 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-10-06 10:24:46 -03:00
6f23efa970
Review wording of SafeMath need in Solidity 0.8 ( #2898 )
2021-10-05 16:12:51 +02:00
1b27c13096
Fix typo in doc of SignatureChecker ( #2881 )
2021-09-24 13:27:53 +00:00
f77fd4667e
fix typo in GovernorCountingSimple ( #2879 )
...
Co-authored-by: Joey Santoro <joseph.santoro@duke.edu >
2021-09-23 08:37:02 +00:00
6af4ed6169
revokeRole spec mismatch ( #2872 )
...
revokeRole emits {RoleRevoked} event if `account` has been revoked `role`
Greetings from ChainSecurity!
2021-09-21 10:16:14 +02:00
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)
2021-09-17 16:57:00 +02:00
296223f876
Merge branch 'release-v4.3'
2021-09-15 10:41:50 -03:00
0c4de6721d
4.3.2
2021-09-14 18:06:39 -03:00
024cc50df4
Restrict upgrade to proxy context in UUPSUpgradeable
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
(cherry picked from commit 6241995ad3 )
2021-09-14 18:06:00 -03:00
6241995ad3
Restrict upgrade to proxy context in UUPSUpgradeable
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-09-14 17:33:17 -03:00
bc5c8e2c9c
Improve wording of recommendation in Initializable
2021-09-14 16:57:26 -03:00
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 >
2021-09-14 09:03:47 +02:00
38448c104a
Add recommendation to initialize all contracts that use Initializable
2021-09-13 18:08:50 -03:00
9b4326d91e
Fixed a typo ( #2835 )
2021-08-30 15:20:35 +02:00
6edb6dd1ca
4.3.1
2021-08-26 17:59:03 -03:00
0ec7f4c25d
Add additional isOperationReady check in TimelockController
...
(cherry picked from commit cec4f2ef57 )
2021-08-24 16:23:37 -03:00
cec4f2ef57
Add additional isOperationReady check in TimelockController
2021-08-24 16:23:12 -03:00
83644fdb6a
Remove unused SafeMath.sol import ( #2823 )
2021-08-20 21:26:41 +00:00
56d4063e92
Add comment about optimizer in GovernorCompatibilityBravo
2021-08-20 12:38:44 -03:00
1d2e15fbd7
4.3.0
2021-08-17 12:35:02 -03:00
e3cbfcd44b
Improve Governor documentation
...
(cherry picked from commit 4ac1070cd3 )
2021-08-17 11:20:50 -03:00
7072b623af
Fix typo casted -> cast
...
(cherry picked from commit 9253c614d2 )
2021-08-13 18:17:22 -03:00
635e36ff08
4.3.0-rc.0
2021-08-06 16:08:58 +02:00
6618f9f184
Fix documentation of functions in interfaces directory
2021-08-06 11:06:30 -03:00
541e82144f
Optimize EOA signature verification ( #2661 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-08-06 10:47:52 -03:00
18668870fd
Add an interface folder that lists common interfaces ( #2517 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-08-06 10:36:34 -03:00
4b152bd8ce
Improve Governor ( #2794 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2021-08-04 18:29:13 -03:00
9a385dcb45
fix typo
2021-08-02 12:14:20 +02:00
3dadd40034
Avoid safe math in BitMap ( #2797 )
2021-07-30 09:48:45 +02:00
0500c9e53e
Use "OpenZeppelin Contracts" where appropriate ( #2778 )
2021-07-20 10:35:58 -03:00
d3c5bdf4de
Fix yellowpaper reference ( #2775 )
2021-07-19 09:45:04 -03:00
7e41bf2259
Remove ERC20FlashMint from drafts section in docs
2021-07-16 19:44:40 -03:00
6c1a634053
Add Governor contracts ( #2672 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-07-16 12:44:01 -03:00
f88e555234
Add values() functions to EnumerableSets ( #2768 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-07-16 12:06:47 -03:00
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
2021-07-14 16:39:08 +02:00
3935b907d4
Fix NatSpec comment syntax
2021-07-13 17:10:54 -03:00
4e2641a915
Simplify selector access ( #2766 )
2021-07-13 01:23:14 +02:00
973b0f883a
fix typo in erc20 docs ( #2764 )
2021-07-12 16:45:39 +02:00