Last active
April 3, 2020 12:16
-
-
Save alexroan/91ae1b387b51027734a4a3f82b3ee936 to your computer and use it in GitHub Desktop.
BasicSafeMath.sol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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