Skip to content

Instantly share code, notes, and snippets.

@alexroan
Last active April 3, 2020 12:16
BasicSafeMath.sol
pragma solidity ^0.5.5;
import "@openzeppelin/contracts/math/SafeMath.sol";
contract BasicSafeMath {
using SafeMath for uint;
function doSomeMath(uint _a, uint _b) public returns (uint) {
return _a.sub(_b);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment