Nicolás Venturo
d51e38758e
Math.average ( #1170 )
...
* Added Math.average
* Removed assertion.
7 years ago
jeano
9aa30e1960
Add Modulo operation for getting the quotient ( #915 )
...
* Add Modulo operation for getting the quotient
* Improved modulo tests and implementation.
* Removed assertion.
7 years ago
Nicolás Venturo
a2e7103869
Improved SafeMath inline comments.
7 years ago
Brett Sun
c9e91586e7
feat: use require in SafeMath ( #1187 )
...
* feat: use require in SafeMath
* fix: grammar with revert
7 years ago
Nicolás Venturo
e819416d04
SafeMath is now more consistent with itself. ( #1168 )
7 years ago
Francisco Giordano
bf34911857
Remove Math.min64 and Math.max64 ( #1156 )
...
* remove Math.min64 and Math.max64
* refactor Math tests to use return values
* enhance Math coverage
7 years ago
Leo Arias
2765350248
Prefix all parameters with underscore ( #1133 )
7 years ago
artiebits
5daaf60d11
Make contracts 4.24 compatible ( #951 )
...
* Make contracts 4.24 compatible
7 years ago
Nicolás Venturo
5651538045
Clarified the rationaly behind the mul branch test. ( #970 )
7 years ago
John Shutt
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
7 years ago
DeltaBalances
c63b203c1d
Small SafeMath.sol gas improvements (add & mul). ( #894 )
7 years ago
Francisco Giordano
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
7 years ago
Klaus Hott Vidal
1d2d18f9da
Small gas improvement in SafeMath.sol ( #811 )
7 years ago
Phillip Birtcher
7586e383c2
Fixes typo in SafeMath subtraction docs ( #806 )
7 years ago
Matt Condon
e60aee61f2
fix: solium errors - blank-line only
7 years ago
Santiago Palladino
49b42e8696
Minor change in SafeMath sub documentation
7 years ago
Santiago Palladino
21297e2b2c
Add documentation to safemath functions
...
Fixes #655
7 years ago
Alejandro Santander
815d9e1f45
Replace constant with view/pure
7 years ago
Alejandro Santander
e6213767fa
Update all solidity versions to 0.4.18
7 years ago
Chen Yi-Cyuan
5ad07e1892
improve mum performance and reduce gas cost
7 years ago
Joseph Krug
353285e5d9
Added Constant to SafeMath functions as they don't modify storage
8 years ago
Francisco Giordano
0b1f08043b
change Math to a library instead of a contract
8 years ago
Francisco Giordano
ba383a6d20
refactor max and min out of SafeMath
8 years ago
Francisco Giordano
a66f5f8f03
format SafeMath documentation as NatSpec
8 years ago