LowGasSafeMath
Contains methods for doing math operations that revert on overflow or underflow for minimal gas cost
Functions
add
Returns x + y, reverts if sum overflows uint256
Parameters:
Return Values:
sub
Returns x - y, reverts if underflows
Parameters:
Return Values:
mul
Returns x * y, reverts if overflows
Parameters:
Return Values:
add
Returns x + y, reverts if overflows or underflows
Parameters:
Return Values:
sub
Returns x - y, reverts if overflows or underflows
Parameters:
Return Values:
Last updated