CarefulMath

Overview

License: MIT

contract CarefulMath

Author: Compound

Derived from OpenZeppelin's SafeMath library https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/math/SafeMath.sol

Enums info

MathError

enum MathError {
	 NO_ERROR,
	 DIVISION_BY_ZERO,
	 INTEGER_OVERFLOW,
	 INTEGER_UNDERFLOW
}

Last updated