mirror of openzeppelin-contracts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
pragma solidity ^0.5.7;
|
|
|
|
|
|
|
|
import "../drafts/SignedSafeMath.sol";
|
|
|
|
|
|
|
|
contract SignedSafeMathMock {
|
|
|
|
function mul(int256 a, int256 b) public pure returns (int256) {
|
|
|
|
return SignedSafeMath.mul(a, b);
|
|
|
|
}
|
|
|
|
|
|
|
|
function div(int256 a, int256 b) public pure returns (int256) {
|
|
|
|
return SignedSafeMath.div(a, b);
|
|
|
|
}
|
|
|
|
|
|
|
|
function sub(int256 a, int256 b) public pure returns (int256) {
|
|
|
|
return SignedSafeMath.sub(a, b);
|
|
|
|
}
|
|
|
|
|
|
|
|
function add(int256 a, int256 b) public pure returns (int256) {
|
|
|
|
return SignedSafeMath.add(a, b);
|
|
|
|
}
|
|
|
|
}
|