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.
19 lines
319 B
19 lines
319 B
8 years ago
|
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);
|
||
|
}
|
||
|
}
|