0

Is there a version of the SafeMath library that is compliant to SOlidity v0.5?

Thanks for your inputs in advance

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.