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.
21 lines
322 B
21 lines
322 B
pragma solidity ^0.4.4;
|
|
|
|
|
|
import '../SafeMath.sol';
|
|
|
|
|
|
contract SafeMathMock is SafeMath {
|
|
uint public result;
|
|
|
|
function multiply(uint a, uint b) {
|
|
result = safeMul(a, b);
|
|
}
|
|
|
|
function subtract(uint a, uint b) {
|
|
result = safeSub(a, b);
|
|
}
|
|
|
|
function add(uint a, uint b) {
|
|
result = safeAdd(a, b);
|
|
}
|
|
}
|
|
|