Hadrien Croubois
|
24a0bc23cf
|
Reorganize the repo structure (#2503)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
4 years ago |
Andre Korol
|
974c534210
|
Update contracts to support Solidity 0.8.x (#2442)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
4 years ago |
Francisco Giordano
|
90ed1af972
|
Support compiling with solc 0.7 (#2408)
|
4 years ago |
Elena Gesheva
|
04fc35707d
|
Migrate contracts to Solidity 0.7 (#2319)
* Update contract pragmas to solidity 0.7
* Remove internal declaration on constructors
* Reference SafeMath explicitely
* Remove public constructor declaration from abstract contracts
* Remove public constructor declaration from non-abstract contracts
|
5 years ago |
Nicolás Venturo
|
fac773ac99
|
Add SPX license identifier (#2235)
(cherry picked from commit 56de324afe )
|
5 years ago |
Nicolás Venturo
|
56de324afe
|
Add SPX license identifier (#2235)
|
5 years ago |
Nicolás Venturo
|
c9630526e2
|
Draft and lifecycles directories cleanup (#2122)
* Move Pausable into utils
* Move Strings into utils
* Move Counters into utils
* Move SignedSafeMath into math
* Remove ERC1046
* Make ERC20Snapshot.snapshot internal
* Move ERC20Snapshot into ERC20
* Add drafts deprecation notice
* Remove drafts directory
* Add changelog entry
* Apply suggestions from code review
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
|
5 years ago |
Nicolás Venturo
|
5dfe7215a9
|
Migrate Contracts to Solidity v0.6 (#2080)
* Initial migration to Solidity 0.6.x - v3.0 first steps (#2063)
* Initial migration, missing GSN, 721, 777 and Crowdsales.
* Add _beforeTokenOperation and _afterTokenOperation.
* Add documentation for hooks.
* Add hooks doc
* Add missing drafts
* Add back ERC721 with hooks
* Bring back ERC777
* Notes on hooks
* Bring back GSN
* Make functions virtual
* Make GSN overrides explicit
* Fix ERC20Pausable tests
* Remove virtual from some view functions
* Update linter
* Delete examples
* Remove unnecessary virtual
* Remove roles from Pausable
* Remove roles
* Remove users of roles
* Adapt ERC20 tests
* Fix ERC721 tests
* Add all ERC721 hooks
* Add ERC777 hooks
* Fix remaining tests
* Bump compiler version
* Move 721BurnableMock into mocks directory
* Remove _before hooks
* Fix tests
* Upgrade linter
* Put modifiers last
* Remove _beforeTokenApproval and _beforeOperatorApproval hooks
|
5 years ago |
Nicolás Venturo
|
ae919629cd
|
Revert Solidity version bump. (#1729)
(cherry picked from commit 67bca857ee )
|
6 years ago |
Nicolás Venturo
|
67bca857ee
|
Revert Solidity version bump. (#1729)
|
6 years ago |
Nicolás Venturo
|
19c7414052
|
Bump minimum Solidity version to 0.5.7 (#1724)
* Bump Solidity version to 0.5.7
* Add changelog entry.
|
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 |
Francisco Giordano
|
a5b14f262e
|
Separate unsigned and signed safemath libraries (#1588)
* separate unsigned and signed safemath libraries
* update changelog entry for SignedSafeMath
|
6 years ago |