Commit Graph

235 Commits (b0db207e4e542ac6bc868ec25a99938ea8d88883)

Author SHA1 Message Date
0xclaudeshannon 80d8da0564
Do not reduce approval on transferFrom if current allowance is type(uint256).max (#3085) 3 years ago
Francisco Giordano a9f994f063
Reduce ERC20 allowance before triggering transfer (#3056) 3 years ago
Francisco Giordano a0a8bbb57f Remove note about enabling self-delegation 3 years ago
Francisco Giordano 6bd6b76d11 4.4.1 3 years ago
JulissaDantes b42b05311b
Add ERC721Votes for NFT-based governance (#2944) 3 years ago
Francisco Giordano 4961a51cc7 4.4.0 3 years ago
Francisco Giordano 2f2604d673
Deprecate presets in favor of Wizard (#2986) 3 years ago
Francisco Giordano 65ef662a2b 4.4.0-rc.1 3 years ago
Francisco Giordano 0a87a4e75b 4.4.0-rc.0 3 years ago
Francisco Giordano c9bdb1f0ae
Add a comment documenting the package version being used (#2918) 3 years ago
Hadrien Croubois e2fa301bfb
Improve parameters naming and remove unecessary returns (#2891) 3 years ago
William Entriken 0500c9e53e
Use "OpenZeppelin Contracts" where appropriate (#2778) 4 years ago
Francisco Giordano 7e41bf2259 Remove ERC20FlashMint from drafts section in docs 4 years ago
Hadrien Croubois 6c1a634053
Add Governor contracts (#2672) 4 years ago
Julian M. Rodriguez 973b0f883a
fix typo in erc20 docs (#2764) 4 years ago
Hadrien Croubois 9eba3ef29a
fix two minor typos (#2755) 4 years ago
Vaibhav Chopra 922058dbc8
Change comma to decimal point in comment (#2742) 4 years ago
Hadrien Croubois 1db3037808
Fix misleading comments (#2737) 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 f710bafae8
Fix typos (#2723) 4 years ago
Hadrien Croubois b0cf6fbb7a
Add Prettier for linting and fix Solhint config (#2697) 4 years ago
Hadrien Croubois e3661abe84
Split ERC20Votes and ERC20VotesComp (#2706) 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
Francisco Giordano 1b37c21da5
reserve unchecked for when guarded by explicit require (#2685) 4 years ago
Hadrien Croubois f31bb101ad
Move ERC20Votes and ERC20FlashMint out of draft (#2673) 4 years ago
Vladislav 5f7eda1f98
Tokens: wrap safe substractions in uchecked block (#2669) 4 years ago
Hadrien Croubois 100ca0b8a2
ERC20 extension for governance tokens (vote delegation and snapshots) (#2632) 4 years ago
Motoko Kusanagi 8669481309
Fix typo in comment (#2660) 4 years ago
Iskander 319afebdc0
Fix typo in ERC20._mint docs (#2648) 4 years ago
Hadrien Croubois df7996b671 add Available since 4.1 comments 4 years ago
Hadrien Croubois 9a698e6b7b add Available since 4.1 comments 4 years ago
Hadrien Croubois 5bd798c6e1
Add ERC3156 extension of ERC20 (flash minting and lending) (#2543) 4 years ago
Hadrien Croubois 243adff49c fix typo in ERC20's documentation 4 years ago
Evert0x 682def9f89
Typo in ERC20 constructor docstring (#2581) 4 years ago
Ross Campbell 96aece07f3
Fix docs formatting in IERC20Permit (#2579) 4 years ago
Hadrien Croubois 5171e46c47
Add an internal _useNonce(address) function in ERC20Permit (#2565) 4 years ago
Hadrien Croubois b8ab763581
Add IERC20Metadata with name, symbol and decimals (#2561) 4 years ago
Hadrien Croubois 15214a53ce Optimize implementation of ERC20Capped (#2524) 4 years ago
Hadrien Croubois 36b855972b
Optimize implementation of ERC20Capped (#2524) 4 years ago
Hadrien Croubois 24a0bc23cf
Reorganize the repo structure (#2503) 4 years ago
Francisco Giordano 7d20d0e2d2
Use immutable variables where possible (#2528) 4 years ago
Hadrien Croubois a44303c373
Remove double sload when doing math checks in tokens (#2506) 4 years ago
Hadrien Croubois b840341a77
Remove the storage associated with decimals (#2502) 4 years ago
Hadrien Croubois 5db7413827
re-enabling safemath revert reasons in ERC20, ERC777 and ERC1155 (#2491) 4 years ago
Francisco Giordano 5609cd4c74 Fix merge errors 4 years ago
Hadrien Croubois 18c7efe800
Make view and pure functions virtual (#2473) 4 years ago
Andre Korol 974c534210
Update contracts to support Solidity 0.8.x (#2442) 4 years ago
Hadrien Croubois faec973e09
Make non-view functions virtual (#2468) 4 years ago