Skip to content

Instantly share code, notes, and snippets.

View GenaroSanada's full-sized avatar
🤡
Joker

Genaro Sanada GenaroSanada

🤡
Joker
View GitHub Profile

Keybase proof

I hereby claim:

  • I am genarosanada on github.
  • I am waylon_keepshh (https://keybase.io/waylon_keepshh) on keybase.
  • I have a public key ASC_6Zr-tWMVgaXDtUs7gE_rxz201WSe0P8H_JRDMJ-zvwo

To claim this, I am signing this object:

pragma solidity ^0.4.13;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;