Skip to content

Instantly share code, notes, and snippets.

View ekumahost's full-sized avatar

Okokoh Benjamin ekumahost

View GitHub Profile
@ekumahost
ekumahost / contracts...CleanToken.sol
Created August 19, 2024 07:36
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.0+commit.c7dfd78e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
@ekumahost
ekumahost / 1599596784191.jpeg
Created September 10, 2020 13:54
My first gist
Aren't gists great!