Commit Graph

1567 Commits (b0db207e4e542ac6bc868ec25a99938ea8d88883)

Author SHA1 Message Date
Hadrien Croubois 3e74681e77
Read allowance from overridable function in increase/decrease (#3213) 3 years ago
Hadrien Croubois f6b614a7c5
Perform ERC1155.afterTokenTransfer hooks before acceptance check (#3215) 3 years ago
GitHubPang 458697be32
Fix typos (#3207) 3 years ago
Hadrien Croubois af7ec04b78
Improve security of the onlyGovernance modifier (#3147) 3 years ago
Francisco Giordano 525a672862 Add missing docs about reverts in DoubleEndedQueue 3 years ago
Hadrien Croubois aace774961
Add a double ended queue (#3153) 3 years ago
Hadrien Croubois 3dfc0a44f8
ERC1155 after token transfer hook (#3166) 3 years ago
Alexander be3c5ca504
clarify _spendAllowance natspec (#3188) 3 years ago
GitHubPang 4cb0926f11
Fix grammar typo in doc (#3186) 3 years ago
Francisco Giordano afb20119b3
Release v4.5 3 years ago
Hadrien Croubois c5a6cae898
Add a _spendAllowance function to ERC20 & ERC777 (#3170) 3 years ago
Micah Zoltu 63b466901f
Rename some ERC20 parameters to match the standard document. (#3167) 3 years ago
Francisco Giordano 85566faeb2
Improve documentation of various governance aspects (#3161) 3 years ago
Francisco Giordano bfd05d9646 Add "available since" on Base64.sol 3 years ago
Hadrien Croubois 574f3b89e1
Add proper revert message on overflow of totalSupply during burn (#3144) 3 years ago
Gaspar Dip ca755ce799
Add AddressToUintMap (#3150) 3 years ago
Doug Hoyte 4f8af2dceb
Add test and docs describing a misuse of MerkleProof (#3090) 3 years ago
Harsh Vakharia a81b07ce91
Fix typo in retrieval of onERC721Received selector (#3151) 3 years ago
Francisco Giordano f55d2716a8 Add function documentation for SignatureChecker. 3 years ago
Hadrien Croubois fb950c6166
Add a virtual `_checkRole(bytes32)` internal function to `AccessControl` (#3137) 3 years ago
Hadrien Croubois 6fb1e843cf
Make royaltyInfo(uint256 _tokenId, uint256 _salePrice) virtual (#3133) 3 years ago
Kevin Upton e298476a90
Simplification of ERC777's transfer & transferFrom by using _send (#3128) 3 years ago
Muhammad Anas Baig 8f70c8867e
Fix typo in ERC721.sol (#3127) 3 years ago
JulissaDantes b3b83b558e
Add Slither reentrancy check in CI (#3047) 3 years ago
Hadrien Croubois 3eb2d43b06
Move abs(int256) from Math to SafeMath (#3110) 3 years ago
Hadrien Croubois ecae978cb5
Make more functions virtual (#3078) 3 years ago
Hadrien Croubois e192fac276
Simplify UUPSUpgradeable along the lines of ERC1822 (#3021) 3 years ago
rotcivegaf 3458c1e854
Add SignedMath with math utilities for signed integers (#2686) 3 years ago
Francisco Giordano dee772a55f Add documentation to TokenTimelock 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) 3 years ago
0xclaudeshannon 80d8da0564
Do not reduce approval on transferFrom if current allowance is type(uint256).max (#3085) 3 years ago
Hadrien Croubois fd7c4ba8f0
Update pragma in utils/Address.sol to 0.8.1 (#3098) 3 years ago
Martín Triay 828fe365ee
Normalize return variable names in IERC721Enumerable (#3079) 3 years ago
JulissaDantes a65c03bc0d
Implement Non Fungible Token Royalty (EIP2981) (#3012) 3 years ago
Francisco Giordano 1e815f3308 Restructure intro to ERC721 contract docs 3 years ago
GitHubPang d74605641c
Fix typos (#3075) 3 years ago
Francisco Giordano a9f994f063
Reduce ERC20 allowance before triggering transfer (#3056) 3 years ago
Ernesto García ef0273fde1
Add Base64 library to utils (#2884) 3 years ago
Anton Bukov da3a9ae18b
Avoid assembly in signature V and S decomposition (#3060) 3 years ago
Drew Beller e3391cd65f
Fix typo (#3058) 3 years ago
Francisco Giordano e9e177f53b Fix ERC2771ContextMock for upgradeable contracts 3 years ago
Hadrien Croubois fe38eae6cd
Re-enable immutable forwarder in ERC2771Context (#2917) 3 years ago
Francisco Giordano a0a8bbb57f Remove note about enabling self-delegation 3 years ago
Hadrien Croubois 10c8fcd3b8
Use invalid opcode to consume all gas in MinimalForwarder (#3035) 3 years ago
Hadrien Croubois cafd900ad6
Fix memory leak in merkle verification (#3039) 3 years ago
JulissaDantes e667ec9533
Add Governor Timelock Control Warning (#3032) 3 years ago
JulissaDantes 5ac4d93ae3
Add missing letter (#3034) 3 years ago
Anton Bukov d95cdaae8e
Replace excodesize assembly with address.code.length (https://github.com/ethereum/solidity/releases/tag/v0.8.1) (#3025) 3 years ago
Francisco Giordano 6bd6b76d11 4.4.1 3 years ago