Skip to content

Instantly share code, notes, and snippets.

View erubboli's full-sized avatar

Enrico Rubboli erubboli

View GitHub Profile
*.sol linguist-language=Solidity
{
"id": 556186559,
"out": 2,
"total": 222773,
"fee": 8400,
"size": 249
}
{
"id": 556186558,
"out": 2,
@erubboli
erubboli / TetherToken.sol
Created October 19, 2023 05:04 — 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;