c9e91586e7
feat: use require in SafeMath ( #1187 )
...
* feat: use require in SafeMath
* fix: grammar with revert
2018-08-10 15:41:06 -03:00
e819416d04
SafeMath is now more consistent with itself. ( #1168 )
2018-08-08 11:21:23 -03:00
bf34911857
Remove Math.min64 and Math.max64 ( #1156 )
...
* remove Math.min64 and Math.max64
* refactor Math tests to use return values
* enhance Math coverage
2018-08-06 15:18:19 -03:00
2765350248
Prefix all parameters with underscore ( #1133 )
2018-07-31 13:06:53 -03:00
5daaf60d11
Make contracts 4.24 compatible ( #951 )
...
* Make contracts 4.24 compatible
2018-06-13 11:34:32 -07:00
5651538045
Clarified the rationaly behind the mul branch test. ( #970 )
2018-06-04 16:04:08 -07:00
ad12381549
update constructor syntax for solidity 0.4.23 in numerous contracts ( #921 )
...
* update solidity-coverage to ^0.5.0
* update truffle dependency to ^4.1.8
* update solium to ^1.1.7
* update all contracts to solidity ^0.4.23
2018-05-08 18:02:00 -07:00
c63b203c1d
Small SafeMath.sol gas improvements (add & mul). ( #894 )
2018-04-17 19:16:30 -03:00
a7e91856f3
Update to Truffle 4.1.5 and Ganache 6.1.0 ( #876 )
...
* Update to ganache-cli v6.1.0 and truffle v4.1.0
* Update to stable version of ganache-cli
* fix: update event emission warning
- Fix event emission warnings for solidity 4.21 after truffle has been
updated to use this version
* fix pr review comments
* update to truffle v4.1.5
* update package-lock
* add additional emit keywords
* update solidity-coverage to 0.4.15
* update to solium 1.1.6
* fix MerkleProof coverage analysis by testing through wrapper
* change version pragma to ^0.4.21
* fix solium linting errors
2018-04-09 20:48:32 -03:00
1d2d18f9da
Small gas improvement in SafeMath.sol ( #811 )
2018-03-28 15:00:10 -03:00
7586e383c2
Fixes typo in SafeMath subtraction docs ( #806 )
2018-03-12 12:27:17 -05:00
e60aee61f2
fix: solium errors - blank-line only
2018-01-15 16:11:45 -05:00
49b42e8696
Minor change in SafeMath sub documentation
2018-01-15 15:44:06 -03:00
21297e2b2c
Add documentation to safemath functions
...
Fixes #655
2018-01-11 11:12:13 -03:00
815d9e1f45
Replace constant with view/pure
2017-11-22 18:59:54 -03:00
e6213767fa
Update all solidity versions to 0.4.18
2017-11-22 18:52:52 -03:00
5ad07e1892
improve mum performance and reduce gas cost
2017-10-30 09:58:52 +08:00
353285e5d9
Added Constant to SafeMath functions as they don't modify storage
2017-07-15 11:37:35 -07:00
0b1f08043b
change Math to a library instead of a contract
2017-07-02 17:56:10 -03:00
ba383a6d20
refactor max and min out of SafeMath
2017-07-02 13:01:55 -03:00
a66f5f8f03
format SafeMath documentation as NatSpec
2017-07-02 13:00:23 -03:00