24 lines
591 B
Solidity
24 lines
591 B
Solidity
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.6.0;
|
||
|
|
||
|
import "../math/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);
|
||
|
}
|
||
|
}
|