Skip to content

Instantly share code, notes, and snippets.

View wafflemakr's full-sized avatar

wafflemakr wafflemakr

View GitHub Profile
/*!
* YieldFarming
* Boilerplate for a Static website using EJS and SASS
* https://yieldfarming.info
* @author Jongseung Lim -- https://yieldfarming.info
* Copyright 2021. MIT Licensed.
*/
$(function() {
@wafflemakr
wafflemakr / Test.sol
Created March 5, 2021 20:16
Using Enumerable Set From OZ
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.6.12;
import "./Enumerable.sol";
contract Test{
using EnumerableSet for EnumerableSet.UintSet;
mapping (address => EnumerableSet.UintSet) private ownedCards;
@wafflemakr
wafflemakr / NiftyTools.sol
Last active May 29, 2022 02:38
Reduced gas consumption vNFT.
pragma solidity ^0.6.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
*Submitted for verification at Etherscan.io on 2020-02-06
*/
pragma solidity 0.5.7;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:muport:QmPfxBr4wbhApEap2RqBVWgk6Pqtw7m9rsqoMzRjo4ZnuZ ✅
Create your profile today to start building social connection and trust online at https://3Box.io/