Last active
April 3, 2020 12:16
BasicSafeMath.sol
This file contains 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