28 lines
680 B
Solidity
28 lines
680 B
Solidity
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.6.0;
|
||
|
|
||
|
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);
|
||
|
}
|
||
|
|
||
|
function mod(uint256 a, uint256 b) public pure returns (uint256) {
|
||
|
return SafeMath.mod(a, b);
|
||
|
}
|
||
|
}
|