Ernesto García
|
0053ee040a
|
Move `ECDSA` message hash methods to its own `MessageHashUtils` library (#4430)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Francisco
|
7ccea54dc1
|
Add back IGovernor to docs (#4421)
|
2 years ago |
Francisco
|
6bf68a41d1
|
Remove "available since" comments (#4424)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Francisco
|
3ff9b42ff5
|
Remove retyped and renamed storage layout annotations (#4423)
|
2 years ago |
Ernesto García
|
63bfab1a0c
|
Enable ERC-1271 signature checks in Governor `castVoteBySig` (#4418)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Renan Souza
|
e3adf91e50
|
Add state getter in TimelockController using OperationState enum (#4358)
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Ernesto García
|
6e21422737
|
Add Governor signature nonces (#4378)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Sergei Tikhomirov <sergey.s.tikhomirov@gmail.com>
Co-authored-by: Renan Souza <renan.rodrigues.souza1@gmail.com>
|
2 years ago |
Ernesto García
|
bb64458928
|
Implement recommendations from 5.0 audit Phase 1A (#4398)
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Paul Razvan Berg
|
06861dce54
|
Update docs for `SafeERC20.forceApprove` (#4231)
|
2 years ago |
Francisco
|
37270eb08a
|
Add security considerations to ERC2771Forwarder (#4406)
|
2 years ago |
Sebastian T F
|
621b867b1a
|
Imrove `BitMaps` documentation (#4400)
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
2 years ago |
Hicham010
|
04342118dc
|
Fix visibility in ERC721._checkOnERC721Received documentation (#4386)
|
2 years ago |
Francisco
|
874c2d3c02
|
Use explicit imports (#4399)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
2 years ago |
Ernesto García
|
023894deef
|
Add `ERC2771Forwarder` as an enhanced successor to `MinimalForwarder` (#4346)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Ernesto García
|
8cab922347
|
Rename `ERC1155InsufficientApprovalForAll` to `ERC1155MissingApprovalForAll` (#4381)
|
2 years ago |
Renan Souza
|
c44c220254
|
Update Ownable2Step docs (#4384)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
da89c438f1
|
Pack Governor's ProposalCore into a single slot (#4268)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Sergei Tikhomirov
|
a7a94c7746
|
Update comment to reflect code logic in Ownable.sol (#4369)
|
2 years ago |
Hadrien Croubois
|
1e0e4e20bb
|
Do not emit Approval event when calling transferFrom (#4370)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
6ddacdbde8
|
Cleanup timelockId on execution for gas refund (#4118)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Francisco
|
b66c77a1fc
|
Merge branch 'release-v4.9' into master (#4373)
|
2 years ago |
Hadrien Croubois
|
365aca6d60
|
Improve tests for ERC1155 and ERC721 error handling (#3781)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Ernesto García
|
1d0dbcf9ab
|
Make `TransparentUpgradeableProxy` admin immutable (#4354)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Balaji Shetty Pachai
|
1f4e33fb72
|
Add toStringSigned to Strings.sol (#4330)
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Francisco
|
c95a445130
|
Detect MerkleProof multiproof invariant violation (#4367)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Hadrien Croubois
|
1a77a508f9
|
Move upgradeToAndCallUUPS to UUPSUpgradeable (#4356)
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
2 years ago |
Claudia Barcelo
|
cd48b3eab3
|
Add validation in Governor on ERC-721 or ERC-1155 received (#4314)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Hadrien Croubois
|
c014c8f148
|
Use ERC721Holder & ERC1155Holder in the TimelockController (#4284)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
ff85c7b0eb
|
Make ERC1967Upgrades a library instead of an abstract contract (#4325)
|
2 years ago |
Claudia Barcelo
|
05ef6924ac
|
Optimize array access in ERC1155 (#4300)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Ernesto García
|
2477534260
|
Change behavior of ceilDiv(0, 0) and improve test coverage (#4348)
|
2 years ago |
Ernesto García
|
ac5480e7ca
|
Merge release-v4.9 branch (#4352)
|
2 years ago |
Hadrien Croubois
|
ef103f37e4
|
Replace some uses of abi.encodePacked with more explicit alternatives (#4296)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Ernesto García
|
5cc1ea0a39
|
Add `GUIDELINES.md` for marking `abstract` contracts (#4010)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Renan Souza
|
604025400f
|
Add EIP-712 `name` and `version` getters (#4303)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
2 years ago |
Ernesto García
|
b425a72240
|
Replace revert strings with custom errors (#4261)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Pascal Marco Caversaccio
|
08fd777f6d
|
Rename "`ecrecover` opcode" to "`ecrecover` precompile" in `ECDSA` (#4339)
|
2 years ago |
Pascal Marco Caversaccio
|
e73f90fa9d
|
Fix `IERC1155.safeBatchTransferFrom` documentation (#4340)
|
2 years ago |
Robb Walters
|
cc04263170
|
Highlight Reentrancy Risk in IERC1155 SafeTransferFrom Function (#4283)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Pascal Marco Caversaccio
|
1d5bcd04e7
|
`ECDSA`: Use unchecked arithmetic for the `tryRecover` function (#4301)
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
|
2 years ago |
Hadrien Croubois
|
d9474327a4
|
Merge pull request from GHSA-5h3x-9wvq-w4m2
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Renan Souza
|
df2778f38e
|
Remove override interface implementations (#4315)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Balaji Shetty Pachai
|
4fd2f8be33
|
Replace abi.encodeWithSelector & abi.encodeWithSignature with abi.encodeCall (#4293)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Francisco
|
85696d80ad
|
Remove further hardcoded function resolution (#4309)
|
2 years ago |
Pascal Marco Caversaccio
|
6c14de4f0c
|
`ECDSA`: Use hexadecimal literals (#4317)
|
2 years ago |
Igor Żuk
|
253bfa68c2
|
Optimize Strings.equal (#4262)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Francisco
|
ffceb3cd98
|
Remove hardcoded function resolution (#4299)
|
2 years ago |
Francisco
|
3902a410f1
|
Remove DOMAIN_SEPARATOR from Votes and update docs examples (#4297)
Co-authored-by: Qiwei Yang <yangqiwei97@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Renan Souza
|
5cef83d2c7
|
Optimize array allocation in ERC1155 (#4196)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
2ee1da12c4
|
Remove utils/Counters.sol (#4289)
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |