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.
22 lines
335 B
22 lines
335 B
8 years ago
|
pragma solidity ^0.4.4;
|
||
8 years ago
|
|
||
|
|
||
8 years ago
|
import '../../contracts/SafeMath.sol';
|
||
8 years ago
|
|
||
8 years ago
|
|
||
8 years ago
|
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);
|
||
|
}
|
||
|
}
|