a65c03bc0d
Implement Non Fungible Token Royalty (EIP2981) ( #3012 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2022-01-06 19:34:57 -03:00
1e815f3308
Restructure intro to ERC721 contract docs
2022-01-06 17:45:21 -03:00
d74605641c
Fix typos ( #3075 )
...
Correct a couple of misspellings.
2022-01-05 10:13:30 +01:00
a9f994f063
Reduce ERC20 allowance before triggering transfer ( #3056 )
...
* Reduce ERC20 allowance before triggering transfer
* adapt ERC777 to reduce allowance before transfer
* fix test for ERC777
* use smaller number to reduce balance
* simplify test description
* don't use deprecated expectEvents.inLogs
* fix test
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2021-12-31 09:17:12 +00:00
ef0273fde1
Add Base64 library to utils ( #2884 )
...
* Add Base64 library to utils
* Fix typo on Base64 padding
* Added documentation for Base64 and references from ERC1155 and ERC721
* Updated Changelog
* Fix typo in utilities doc
* use mstore8 to improve memory accesses
* use shorter strings with encodePacked
* do not use using-for syntax, for clarity
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-29 20:41:20 +01:00
da3a9ae18b
Avoid assembly in signature V and S decomposition ( #3060 )
...
* Avoid assembly in signature V and S decomposition
* Update ECDSA.sol
2021-12-29 16:22:39 +01:00
e3391cd65f
Fix typo ( #3058 )
2021-12-28 21:52:00 -03:00
e9e177f53b
Fix ERC2771ContextMock for upgradeable contracts
2021-12-27 21:26:47 -03:00
fe38eae6cd
Re-enable immutable forwarder in ERC2771Context ( #2917 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-27 21:21:56 -03:00
915ca181ba
Add Certora's Governance verification rules ( #2997 )
...
Co-authored-by: Shelly Grossman <shelly@certora.com >
Co-authored-by: Aleksander Kryukov <58052996+RedLikeRosesss@users.noreply.github.com >
Co-authored-by: Michael M <91594326+MichaelMorami@users.noreply.github.com >
Co-authored-by: Aleksander Kryukov <firealexkryukov@gmail.com >
2021-12-27 19:11:59 -03:00
a0a8bbb57f
Remove note about enabling self-delegation
2021-12-27 12:24:37 -03:00
1ffcb10bd2
Change release script to only update version comment for changed files ( #3033 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-22 19:21:45 -03:00
10c8fcd3b8
Use invalid opcode to consume all gas in MinimalForwarder ( #3035 )
2021-12-22 19:01:24 -03:00
cafd900ad6
Fix memory leak in merkle verification ( #3039 )
2021-12-21 17:01:28 -03:00
e667ec9533
Add Governor Timelock Control Warning ( #3032 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-20 17:00:13 -03:00
5ac4d93ae3
Add missing letter ( #3034 )
2021-12-17 15:46:45 +00:00
0550d13aee
Add ERC721 import in tutorial
2021-12-16 18:29:31 -03:00
d95cdaae8e
Replace excodesize assembly with address.code.length ( https://github.com/ethereum/solidity/releases/tag/v0.8.1 ) ( #3025 )
2021-12-15 18:54:10 +01:00
4a9cc8b491
Merge branch 'release-v4.4'
2021-12-14 13:34:03 -03:00
6bd6b76d11
4.4.1
v4.4.1
2021-12-14 13:14:39 -03:00
13a6ec753a
Remove bad date from changelog
2021-12-14 13:14:21 -03:00
bda61cd5e5
Fix typo ( #3016 )
2021-12-12 22:55:19 +01:00
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 >
2021-12-10 18:58:45 -03:00
553c8fdec7
Update initializer modifier to prevent reentrancy during initialization ( #3006 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
(cherry picked from commit 08840b9f8c )
2021-12-10 13:10:17 -03:00
9a7e4a0112
Remove trailing whitespace
2021-12-10 13:09:46 -03:00
e141d8917a
Create v4.4.1 section in changelog
2021-12-10 13:04:03 -03:00
08840b9f8c
Update initializer modifier to prevent reentrancy during initialization ( #3006 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-10 13:02:35 -03:00
0c858e2071
Improve revert reason in ERC721 ( #2975 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-09 23:42:18 +00:00
4625192940
Fix changelog entry for GovernorPreventLateQuorum
2021-12-09 20:32:53 -03:00
2a09e50d09
Update lockfile ( #2993 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-12-08 20:17:11 -03:00
04109f8bee
Address: explain dangers of isContract ( #2994 )
...
Co-authored-by: Ivo Georgiev <ivo@strem.io >
2021-12-08 20:10:40 -03:00
8ef7655e7b
Fix a typo in erc20-supply.adoc ( #3005 )
...
Fix a typo
2021-12-07 13:41:21 +01:00
a05312f1b7
fix changelog structure
2021-12-01 18:20:42 +01:00
abf6024faf
Add a governor module to protect against late quorum ( #2973 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-12-01 13:56:31 -03:00
6089f11c2f
Add a relay mechanism in the governor ( #2926 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2021-11-30 17:19:20 -03:00
3536587665
Fix typo ( #2992 )
2021-11-30 17:15:29 +01:00
7d17acfb2f
Merge branch 'release-v4.4'
2021-11-25 16:56:07 -03:00
4961a51cc7
4.4.0
v4.4.0
2021-11-25 16:35:37 -03:00
94a0b8f573
Make VestingWallet token event argument indexed ( #2988 )
...
(cherry picked from commit 0859c70936 )
2021-11-25 16:03:00 -03:00
0859c70936
Make VestingWallet token event argument indexed ( #2988 )
2021-11-25 14:38:18 -03:00
6481b05e4f
Add changelog entry for deprecation of presets
2021-11-25 14:23:30 -03:00
c739d1976b
Update security email domain and Immunefi text
2021-11-25 11:05:11 -03:00
f6db5c1f30
A function which returns the absolute value of a signed value ( #2984 )
...
* Add a function which returns the absolute (and obviously unsigned) value of a signed value.
* add changelog entry and fix lint
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2021-11-24 14:09:05 +01:00
2f2604d673
Deprecate presets in favor of Wizard ( #2986 )
2021-11-24 10:14:14 +01:00
0413d58860
add bug bounty info
...
(cherry picked from commit 86bd4d7389 )
2021-11-22 15:06:10 +01:00
86bd4d7389
add bug bounty info
2021-11-22 15:05:21 +01:00
52d42d6e03
Improve docs wording on constructors and proxies ( #2935 )
2021-11-19 15:08:56 -03:00
4c8642b70a
Update lockfile ( #2932 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-11-18 11:29:08 -03:00
a57e638f57
Improve GovernorTimelockControl.state() to detect direct cancel ( #2977 )
2021-11-18 09:53:05 -03:00
a4cee9ed37
make setters in GovernorSettings virtual
...
(cherry picked from commit 6e5bf05211 )
2021-11-18 10:17:31 +01:00