Hadrien Croubois
|
9c1e703990
|
Add a Strings.toHexString function (#2504)
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 |
Francisco Giordano
|
8b10cb38d8
|
Rename Strings.fromUint256 to Strings.toString (#2188)
* rename Strings.fromUint256 to Strings.toString
* add changelog entry
* fix conflict with js toString method
|
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 |
Andrew B Coathup
|
fbbff53528
|
Strings library (#1746)
* Feature Issue #1745
* Feature Issue #1745 remove whitespace in contract
* Feature Issue #1745 fix Solidity linter issues
* Feature Issue #1745 fix JS lint issues
* Update contracts/drafts/Strings.sol
Co-Authored-By: Nicolás Venturo <nicolas.venturo@gmail.com>
* Update contracts/drafts/Strings.sol
Co-Authored-By: Nicolás Venturo <nicolas.venturo@gmail.com>
* Update contracts/drafts/Strings.sol
Co-Authored-By: Nicolás Venturo <nicolas.venturo@gmail.com>
* Updates based on PR feedback
* Remove trailing whitespace
* Update tests based on @nventuro feedback
* Removed return name
* Rename length as suggested
* Rename temp variables in uint256ToString
* Renamed bytes variable to buffer
* Change concatenate to use abi.encodePacked
* Moved OraclizeAPI reference to unit256ToString
* Add emoji concat test
* Remove concatenate
* Remove concatenate from StringsMock and test
* Rename function to fromUint256
* Update StringsMock.sol
|
6 years ago |