Commit Graph

658 Commits (a5e042cedf6205513466280a5b778c4d81ea7a9d)

Author SHA1 Message Date
Hadrien Croubois 783ac759a9
upgrade solidity-coverage to 0.7.18 to support ERC165 coverage (#3117) 3 years ago
Hadrien Croubois 3eb2d43b06
Move abs(int256) from Math to SafeMath (#3110) 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
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
JulissaDantes a65c03bc0d
Implement Non Fungible Token Royalty (EIP2981) (#3012) 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
Hadrien Croubois 10c8fcd3b8
Use invalid opcode to consume all gas in MinimalForwarder (#3035) 3 years ago
JulissaDantes b42b05311b
Add ERC721Votes for NFT-based governance (#2944) 3 years ago
Francisco Giordano 553c8fdec7 Update initializer modifier to prevent reentrancy during initialization (#3006) 3 years ago
Hadrien Croubois 08840b9f8c
Update initializer modifier to prevent reentrancy during initialization (#3006) 3 years ago
robriks 0c858e2071
Improve revert reason in ERC721 (#2975) 3 years ago
Hadrien Croubois abf6024faf
Add a governor module to protect against late quorum (#2973) 3 years ago
Hadrien Croubois 6089f11c2f
Add a relay mechanism in the governor (#2926) 3 years ago
barakman f6db5c1f30
A function which returns the absolute value of a signed value (#2984) 3 years ago
Hadrien Croubois a57e638f57
Improve GovernorTimelockControl.state() to detect direct cancel (#2977) 3 years ago
Hadrien Croubois b12af48a7d
Add Governor module for governance-settable parameters (#2904) 3 years ago
Hadrien Croubois 88e4b69bfb
Add a VestingWallet (#2748) 3 years ago
Alex Beregszaszi 7006e4e3e6
Remove invalid parameters in MerkleProof tests (#2912) 3 years ago
td-bn 5b28259dac
#890: Add ECDSA.toEthSignedMessageHash(bytes) for abritrary length message hashing (#2865) 3 years ago
Hadrien Croubois efb5b0a28f
Extend PaymentSplitter to support ERC20 tokens (#2858) 3 years ago
Hadrien Croubois abeb0fbf5c
Delay the Pending state until strictly after proposal.voteStart (#2892) 3 years ago
Francisco Giordano 494cc6d3a5 Fix typo casted -> cast 4 years ago
Francisco Giordano b174f067df Fix typo casted -> cast 4 years ago
renovate[bot] 73425c22d8
Update lockfile (#2787) 4 years ago
Anton Bukov 541e82144f
Optimize EOA signature verification (#2661) 4 years ago
Hadrien Croubois 7279273ebb
Fix inconsistencies in contract/test hierachy (#2814) 4 years ago
William Entriken d89f2a4ac6
Update ERC721.behavior.js (#2801) 4 years ago
Francisco Giordano 4b152bd8ce
Improve Governor (#2794) 4 years ago
William Entriken f782943099
Move variable declaration to top of test file (#2806) 4 years ago
William Entriken 3da0cf698f
Uncomment assertion in ERC2771Context.test.js (#2796) 4 years ago
William Entriken e1c0f3eaef
Update tests for RFC 2606 (#2802) 4 years ago
William Entriken 0500c9e53e
Use "OpenZeppelin Contracts" where appropriate (#2778) 4 years ago
Hadrien Croubois 6c1a634053
Add Governor contracts (#2672) 4 years ago
Hadrien Croubois f88e555234
Add values() functions to EnumerableSets (#2768) 4 years ago
rotcivegaf 6d97f09195
Gas optimization on average function of Math.sol (#2757) 4 years ago
Hadrien Croubois 15b92e4097
Add missing "await" in tests (#2749) 4 years ago
Hadrien Croubois 6842518b1b
Wrapper extension for ERC20 token (#2633) 4 years ago
Hadrien Croubois 8a775cd8d4
Emit DelegateVotesChanged events after Transfer (#2733) 4 years ago
Hadrien Croubois f7da53cebd
Add a BitMap struct (#2710) 4 years ago
Hadrien Croubois e3661abe84
Split ERC20Votes and ERC20VotesComp (#2706) 4 years ago
Hadrien Croubois 1488d4f678
Improve ECDSA tests and docs (#2619) 4 years ago
Francisco Giordano adc50d465c
Tweak ERC20Votes revert reasons and documentation (#2696) 4 years ago
Hadrien Croubois f6efd8aced
Add totalSupply checkpoints to ER20Votes (#2695) 4 years ago
Hadrien Croubois 406c83649b
Introduce ERC1155 totalSupply() and exists() functions (#2593) 4 years ago
Nicholas Rodrigues Lordello 7c754d0665
Add ceiling division operation to the `Math.sol` library (#2681) 4 years ago
Hadrien Croubois 8ea06b75aa
Add a Counter.reset function (#2678) 4 years ago
Hadrien Croubois 100ca0b8a2
ERC20 extension for governance tokens (vote delegation and snapshots) (#2632) 4 years ago