Hadrien Croubois
b12af48a7d
Add Governor module for governance-settable parameters ( #2904 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
88e4b69bfb
Add a VestingWallet ( #2748 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
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 )
...
* #890 : Add ECDSA#toEthSignedMessage for bytes type
* refactor
* add test, refactor
* select overloaded function explicitly
* use short test message string
* add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Hadrien Croubois
efb5b0a28f
Extend PaymentSplitter to support ERC20 tokens ( #2858 )
...
* Add MultiPaymentSplitter
with ERC20 support on top of the existing PaymentSplitter
* consistency and linting
* Add MultiPaymentSplitter tests
* fix lint
* add changelog entry
* add MultiPaymentSplitter to documentation
* rework PaymentSplitter to include ERC20 support by default
* remove test file for MultiPaymentSplitter
* fix lint
* completelly split erc20 and token tracking
* address some PR comments
* add notice about rebasing tokens
* fix minor error in tests
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
abeb0fbf5c
Delay the Pending state until strictly after proposal.voteStart ( #2892 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
494cc6d3a5
Fix typo casted -> cast
...
(cherry picked from commit b174f067df
)
4 years ago
Francisco Giordano
b174f067df
Fix typo casted -> cast
4 years ago
renovate[bot]
73425c22d8
Update lockfile ( #2787 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
4 years ago
Anton Bukov
541e82144f
Optimize EOA signature verification ( #2661 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
7279273ebb
Fix inconsistencies in contract/test hierachy ( #2814 )
...
* Fix inconsistencies in contract/test hierachy
* changelog entry
4 years ago
William Entriken
d89f2a4ac6
Update ERC721.behavior.js ( #2801 )
4 years ago
Francisco Giordano
4b152bd8ce
Improve Governor ( #2794 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 years ago
William Entriken
f782943099
Move variable declaration to top of test file ( #2806 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
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 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
f88e555234
Add values() functions to EnumerableSets ( #2768 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
rotcivegaf
6d97f09195
Gas optimization on average function of Math.sol ( #2757 )
...
* change implementation to save gas
* add average test with two max uni256 number
4 years ago
Hadrien Croubois
15b92e4097
Add missing "await" in tests ( #2749 )
...
* add missing await in tests
* fix test description
4 years ago
Hadrien Croubois
6842518b1b
Wrapper extension for ERC20 token ( #2633 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
8a775cd8d4
Emit DelegateVotesChanged events after Transfer ( #2733 )
4 years ago
Hadrien Croubois
f7da53cebd
Add a BitMap struct ( #2710 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
e3661abe84
Split ERC20Votes and ERC20VotesComp ( #2706 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
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 )
...
* adapt revert reason convention
* add whitespace
* tweak documentation
* fix tests
4 years ago
Hadrien Croubois
f6efd8aced
Add totalSupply checkpoints to ER20Votes ( #2695 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
406c83649b
Introduce ERC1155 totalSupply() and exists() functions ( #2593 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Nicholas Rodrigues Lordello
7c754d0665
Add ceiling division operation to the `Math.sol` library ( #2681 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
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 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
William Morriss
165e6f1948
EnumerableSet: Remove Boundary Check in _at ( #2606 )
...
* remove boundary check
* fix tests for EnumerableSet "index out of bound"
* Changelog
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 years ago
Hadrien Croubois
e0a2b195e4
Add modifier & internal function with standard revert message in AccessControl ( #2609 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
1c676ac0ec
Implement UUPS proxy (ERC1822) ( #2542 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Nader Dabit
3157aff844
Update docs for setting ERC20 decimals ( #2629 )
4 years ago
Hadrien Croubois
555be63c90
Add support for EIP2098 "short signatures" in the ECDSA library ( #2582 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Martín Triay
7f6a1666fa
Add Multicall module ( #2608 )
4 years ago
Hadrien Croubois
0c621246d3
Add tooling to verify signatures with support for ERC1271 ( #2532 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
5bd798c6e1
Add ERC3156 extension of ERC20 (flash minting and lending) ( #2543 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
cd443f0d5b
Add tests to extend code coverage ( #2586 )
4 years ago
Hadrien Croubois
82e3ec3afe
Fix MerkleProof generation in tests and add some documentation ( #2585 )
4 years ago
Francisco Giordano
508a879ef0
Remove merkleTree.js in favor of merkletreejs dependency ( #2578 )
4 years ago
Hadrien Croubois
78a9821129
Mint ERC777 without reception ack ( #2552 )
4 years ago
Brandon Valosek
b1e0aa487d
Fix AccessControlEnumerable not tracking renounceRole ( #2572 )
...
* Fix AccessControlEnumerable not tracking renounceRole
* Updated changelog
(cherry picked from commit 7adf0d88a0
)
4 years ago
Brandon Valosek
7adf0d88a0
Fix AccessControlEnumerable not tracking renounceRole ( #2572 )
...
* Fix AccessControlEnumerable not tracking renounceRole
* Updated changelog
4 years ago
Francisco Giordano
f07c39be8a
Add ERC165 interface detection to AccessControl ( #2562 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
(cherry picked from commit 29ffe6f426
)
4 years ago
Francisco Giordano
29ffe6f426
Add ERC165 interface detection to AccessControl ( #2562 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 years ago
Hadrien Croubois
4390b8df12
Add ERC721URIStorage extension ( #2555 )
...
(cherry picked from commit 1705067e65
)
4 years ago
Hadrien Croubois
1705067e65
Add ERC721URIStorage extension ( #2555 )
4 years ago