Skip to content

Instantly share code, notes, and snippets.

@trajan0x
trajan0x / TetherToken.sol
Created July 3, 2021 16:15 — 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;