Is there a version of the SafeMath library that is compliant to SOlidity v0.5?
Thanks for your inputs in advance
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
First of all, there is no single "SafeMath" library, but rather a number of different libraries with the same (or similar) names.
Most widely used (though not necessary the best), is SafeMath library from OpenZeppelin.
The most recent released version 0.2.4 starts with
pragma solidity ^0.5.0;, so I believe, that it is compatible with Solidity 0.5.x.