Skip to content

Instantly share code, notes, and snippets.

@emandeguzman
emandeguzman / TetherToken.sol
Created June 12, 2022 08:10 — forked from plutoegg/TetherToken.sol
TetherToken.sol - Tether.to USD
pragma solidity ^0.4.11;
/**
* Math operations with safety checks
*/
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;