|
@@ -51,8 +51,6 @@ library SafeMath {
|
|
|
*
|
|
|
* Requirements:
|
|
|
* - Subtraction cannot overflow.
|
|
|
- *
|
|
|
- * _Available since v2.4.0._
|
|
|
*/
|
|
|
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
|
|
|
require(b <= a, errorMessage);
|
|
@@ -109,8 +107,6 @@ library SafeMath {
|
|
|
*
|
|
|
* Requirements:
|
|
|
* - The divisor cannot be zero.
|
|
|
- *
|
|
|
- * _Available since v2.4.0._
|
|
|
*/
|
|
|
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
|
|
|
// Solidity only automatically asserts when dividing by 0
|
|
@@ -146,8 +142,6 @@ library SafeMath {
|
|
|
*
|
|
|
* Requirements:
|
|
|
* - The divisor cannot be zero.
|
|
|
- *
|
|
|
- * _Available since v2.4.0._
|
|
|
*/
|
|
|
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
|
|
|
require(b != 0, errorMessage);
|