* 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
25 lines
506 B
Solidity
25 lines
506 B
Solidity
pragma solidity ^0.4.23;
|
|
|
|
|
|
import "../math/SafeMath.sol";
|
|
|
|
|
|
contract SafeMathMock {
|
|
|
|
function mul(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.mul(a, b);
|
|
}
|
|
|
|
function div(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.div(a, b);
|
|
}
|
|
|
|
function sub(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.sub(a, b);
|
|
}
|
|
|
|
function add(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.add(a, b);
|
|
}
|
|
}
|