* Bump required compiler version to 0.5.2. * Fix shadowed variable warning in ERC20Migrator. * Rename Counter to Counters. * Add dummy state variable to SafeERC20Helper. * Update changelog entry. * Fix CountersImpl name. * Improve changelog entry.
26 lines
647 B
Solidity
26 lines
647 B
Solidity
pragma solidity ^0.5.2;
|
|
|
|
import "../math/SafeMath.sol";
|
|
|
|
contract SafeMathMock {
|
|
function mul(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.mul(a, b);
|
|
}
|
|
|
|
function div(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.div(a, b);
|
|
}
|
|
|
|
function sub(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.sub(a, b);
|
|
}
|
|
|
|
function add(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.add(a, b);
|
|
}
|
|
|
|
function mod(uint256 a, uint256 b) public pure returns (uint256) {
|
|
return SafeMath.mod(a, b);
|
|
}
|
|
}
|