Skip to content

Instantly share code, notes, and snippets.

View DeanMojo's full-sized avatar
🧠
dev

DeanMojo DeanMojo

🧠
dev
View GitHub Profile
@DeanMojo
DeanMojo / .deps...npm...@openzeppelin...contracts...governance...utils...IVotes.sol
Created November 1, 2025 16:43
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.30+commit.73712a01.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (governance/utils/IVotes.sol)
pragma solidity >=0.8.4;
/**
* @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.
*/
interface IVotes {
/**
* @dev The signature used has expired.
@DeanMojo
DeanMojo / Upsurge.sol
Created July 25, 2021 02:46
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.7.6+commit.7338295f.js&optimize=true&runs=200&gist=
pragma solidity ^0.7.0;
// SPDX-License-Identifier: Unlicensed
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
@DeanMojo
DeanMojo / artifacts...Upsurge.json
Created July 25, 2021 00:47
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.4+commit.c7e474f2.js&optimize=true&runs=200&gist=
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
@DeanMojo
DeanMojo / Interfaces...IBEP20.sol
Created July 25, 2021 00:31
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.4+commit.c7e474f2.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
interface IBEP20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() external view returns (string memory);
function name() external view returns (string memory);
function getOwner() external view returns (address);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
@DeanMojo
DeanMojo / UpSurgeToken.sol
Created July 25, 2021 00:29
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.4+commit.c7e474f2.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: MIT
/* Hold UpSurge to earn crazy BUSD rewards, 100% of all busd reflect goes to holders!
UpSurge is not just a reward token.The token is backed by a strong usecase. Devs are building a unique Telegram Reward Bot
Join the telegram group for more info - t.me/upsurgetoken
Visit our Website - upsurgetoken.com
@DeanMojo
DeanMojo / settings.sol
Created July 24, 2021 22:37
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.7.6+commit.7338295f.js&optimize=true&runs=200&gist=
{
"remappings": [],
"optimizer": {
"enabled": false,
"runs": 200
},
"evmVersion": "istanbul",
"libraries": {
"/C/UpSurge/contracts/UpSurge.sol": {
"IterableMapping": "0xb37a7ca18baba6cb30f8d4b98467693f6d6e4bad4e2d8924e3d5f9a26622f71b"
@DeanMojo
DeanMojo / settings.sol
Last active July 24, 2021 22:08
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.7.6+commit.7338295f.js&optimize=false&runs=200&gist=
{
"compiler": {
"version": "0.7.6+commit.7338295f"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
@DeanMojo
DeanMojo / contracts...UpSurge.sol
Created July 24, 2021 22:03
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.7.6+commit.7338295f.js&optimize=false&runs=200&gist=
//
/*
Hold UpSurge to earn crazy BUSD rewards, 100% of all busd reflect goes to holders!
UpSurge is not just a reward token.The token is backed by a strong usecase. Devs are building a unique Telegram Reward Bot
Join the telegram group for more info - t.me/upsurgetoken
Visit our Website - upsurgetoken.com
@DeanMojo
DeanMojo / contracts...artifacts...IterableMapping_metadata.json
Created July 24, 2021 22:00
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.7.6+commit.7338295f.js&optimize=false&runs=200&gist=
{
"compiler": {
"version": "0.7.6+commit.7338295f"
},
"language": "Solidity",
"output": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
@DeanMojo
DeanMojo / contracts...artifacts...UpSurge.json
Created July 24, 2021 21:44
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.7.6+commit.7338295f.js&optimize=false&runs=200&gist=
{
"deploy": {
"VM:-": {
"linkReferences": {
"contracts/UpSurge.sol": {
"IterableMapping": "<address>"
}
},
"autoDeployLib": true
},