Nicolás Venturo
308a4c9907
Draft EIP 1820 ( #1677 )
...
* Add barebones EIP1820 support.
* Update openzeppelin-test-helpers dependency to have ERC1820 support.
* Add tests for ERC1820.
* Improve inline documentation.
* Add changelog entry.
* Update test-helpers, refactor tests to use new helpers.
* Rename ERC1820 to ERC1820Implementer.
* Improve implementer docstring.
* Remove _implementsInterfaceForAddress.
* update openzeppelin-test-helpers to 0.2.0
* Update contracts/drafts/ERC1820Implementer.sol
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Fix how solidity coverage is run to allow for free events.
* Fix coverage testing script.
6 years ago
Nicolás Venturo
7aaf15be59
Add v2.2.0 release date.
6 years ago
Nicolás Venturo
9c69df5962
Fix changelog entry.
6 years ago
Nicolás Venturo
61c4318c33
Reorder 2.2.0 changelog entries.
6 years ago
Thomas Bocek
79dd498b16
Signature Malleability: ( #1622 )
...
* Transaction Malleability:
If you allow for both values 0/1 and 27/28, you allow two different
signatures both resulting in a same valid recovery. (r,s,0/1) and
(r,s,27/28) would both be valid, recover the same public key and sign
the same data. Furthermore, given (r,s,0/1), (r,s,27/28) can be
constructed by anyone.
* Transaction Malleability:
EIP-2 still allows signature malleabality for ecrecover(), remove this
possibility and force the signature to be unique.
* Added a reference to appendix F to the yellow paper and improved
comment.
* better test description for testing the version 0, which returns
a zero address
* Check that the conversion from 0/1 to 27/28 only happens if its 0/1
* improved formatting
* Refactor ECDSA code a bit.
* Refactor ECDSA tests a bit.
* Add changelog entry.
* Add high-s check test.
6 years ago
Anton Bukov
352ec94579
Add TimedCrowdsale::_extendTime ( #1636 )
...
* Add TimedCrowdsale::_extendTime
* Add tests for TimedCrowdsale extending method
* Reverse event arguments order
* Rename method argument
* Refactor TimedCrowdsale test
* Simplify TimedCrowdsaleImpl
* Fix extendTime method behaviour to deny TimedCrowdsale re-opening after it was ended
* Append chengelog
* Update CHANGELOG.md
Co-Authored-By: k06a <k06aaa@gmail.com>
* Update contracts/crowdsale/validation/TimedCrowdsale.sol
Co-Authored-By: k06a <k06aaa@gmail.com>
* Improve tests
6 years ago
Francisco Giordano
0c617b755e
fix weird date format ( #1663 )
6 years ago
Nicolás Venturo
41aa39afbc
Add no-return-data ERC20 support to SafeERC20. ( #1655 )
...
* Add no-return-data ERC20 support to SafeERC20.
* Add changelog entry.
* Replace abi.encodeWithSignature for encodeWithSelector.
* Remove SafeERC20 test code duplication.
* Replace assembly for abi.decode.
* Fix linter errors.
6 years ago
Nicolás Venturo
634883ce8e
Add bugfix backport changelog entry.
6 years ago
Nicolás Venturo
a39bea230e
Add SafeERC20 bugfix changelog entry.
6 years ago
Nicolás Venturo
d6c47c4b7c
Added PR links for 2.2.0 changelog entries.
6 years ago
Matt Swezey
40d15146c4
ERC20 Snapshot Impl #2 ( #1617 )
...
* ✏️ Refactor code & Refork OZ Repo
* Refactor ERC20Snapshot to use on-demand snapshots.
* Add ERC20Snapshot changelog entry.
* Move ERC20Snapshot to drafts.
* Improve changelog entry.
* Make snapshot tests clearer.
* Refactor ERC20Snapshots to use Counters.
* Refactor snapshot arrays into a struct.
* Remove .DS_Store files.
* Delete yarn.lock
* Fix linter error.
* simplify gitignore entry
6 years ago
Nicolás Venturo
8dd92fd6ca
Add ERC20 _setTokenURI ( #1618 )
...
* Add _setTokenURI internal.
* Rename TokenMetadata to ERC20Metadata.
* Add changelog entry for ERC20Metadata.
* Fix linter error.
* Add breaking change changelog notice.
6 years ago
Nicolás Venturo
07603d5875
Remove unnecessary SafeMath call ( #1610 )
...
* Refactor Counter to support increment and decrement.
* Move Counter out of drafts.
* Refactor ERC721 to use Counter.
* Rollback Counter returning the current value in increment and decrement.
* Update test/drafts/Counter.test.js
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Improve Counter documentation.
* Move Counter.test to utils.
* Move back Counter to drafts.
6 years ago
Nicolás Venturo
3a5da75876
ERC20._approve ( #1609 )
...
* Add ERC20._approve.
* Add ERC20._approve tests.
* Fix linter error.
* Require owner in _approve to be non-zero.
6 years ago
Nicolás Venturo
1a9cb0786d
Add changelog entry for PublicRole behavior.
6 years ago
Nicolás Venturo
b7d60f2f9a
Fix warnings ( #1606 )
...
* Bump required compiler version to 0.5.2.
* Fix shadowed variable warning in ERC20Migrator.
* Rename Counter to Counters.
* Add dummy state variable to SafeERC20Helper.
* Update changelog entry.
* Fix CountersImpl name.
* Improve changelog entry.
6 years ago
Nicolás Venturo
089f14aa06
Add 2.2.0 changelog entry.
6 years ago
Nicolás Venturo
ba83239dd8
Added 2.1.1 changelog entry.
6 years ago
Nicolás Venturo
312a2584e8
Updated 2.1 release date.
6 years ago
Nicolás Venturo
35d70397b6
Rename WhitelisterRole to WhitelistAdminRole. ( #1589 )
...
* Rename WhitelisterRole to WhitelistAdminRole.
* Update WhitelistAdmin changelog entry.
6 years ago
Francisco Giordano
a5b14f262e
Separate unsigned and signed safemath libraries ( #1588 )
...
* separate unsigned and signed safemath libraries
* update changelog entry for SignedSafeMath
6 years ago
Nicolás Venturo
8c20d53789
Updated changelog to reflect 0.5 support.
6 years ago
Nicolás Venturo
54ceedbb1f
Made the Crowdsale's constructor public again. ( #1564 )
...
* Made the Crowdsale's constructor public again.
* Added changelog entry.
* Made all but Finalizable public.
6 years ago
Francisco Giordano
d17ae0b806
Signed SafeMath ( #1559 )
...
* signed safe math
* fix lint errors
* refactor overflow checks and add descriptions
* remove incorrect description
* add test for reversed arguments in multiplication test
* fix power operator
* improve multiplication test descriptions
* Update SafeMath.test.js
* add feature to changelog
6 years ago
Nicolás Venturo
fad30c3d2c
Added changelog. ( #1555 )
...
* Added changelog.
* Added PR template note.
* Update .github/PULL_REQUEST_TEMPLATE.md
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Update PULL_REQUEST_TEMPLATE.md
* Update CHANGELOG.md
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Update CHANGELOG.md
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Apply suggestions from code review
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Added more headers and sub-headers.
* Added deprecations category.
* Added PR links.
* Added PausableCrowdsale.
* Addressed review comments.
* Update CHANGELOG.md
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
6 years ago