Skip to content

Instantly share code, notes, and snippets.

Token data: ipfs://QmZ4vBPDdKfTBKvDMBwjsuPXrpTQnbJo4LPJEBF1rJrGic
Salt 0xe32ad8bca184ff49cadbc377d1cbecf6650b069302ce642a8bcada028828c873 (13374200)
0x60806040527310b16eede03cf73cbf44e4bfffa3e6bff36f1fad600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180606001604052806035815260200162002ad360359139600790805190602001906200008a9291906200042c565b506360eec8606008556040518060400160405280600881526020017f47616d6573746f700000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f474d4500000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001179291906200042c565b508060019080519060200190620001309291906200042c565b50505062000168600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000620001d560201b60201c565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cd
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
// SPDX-License-Identifier: GPL-3.0
/**
Cycle through NFTX pools until you find the ID you want
See https://github.com/NFTX-project/x-contracts-private/blob/4650f3cae4c2d776ca45effba65513c9e6ec4b6b/contracts/NFTX.sol
*/
const { expect } = require("chai");
describe("NFTOptions", function () {
const penguAddr = "0xBd3531dA5CF5857e7CfAA92426877b022e612cf8";
const penguOwner = "0x2c2c2F6DBe08942280d4F7626b6BAd5C11D20215";
const ids = ["2036", "4205"];
const buyer = "0xe5ee2B9d5320f2D1492e16567F36b578372B3d9F";
const erc721Abi = [
"function approve(address to, uint256 tokenId)"
@0xfoobar
0xfoobar / gist:45959d4508e5a084609542a361c7cb24
Created September 1, 2021 10:41
HDPunks Final Reservation
{
"0xAb2e11C99D8830D5d9B2494A565c974595e39eef": [
"https://opensea.io/bundles/hdpunks-reservation-bundle-0xab2e11c99d8830d5d-eh2"
],
"0x94eB448740ff114046d2Dd4A9E7e36Ce25adCC06": [
"https://opensea.io/bundles/hdpunks-reservation-bundle-0x94eb448740ff11404-AKX"
],
"0xE9Fb10063CF707EF741Ff7149a27880cE5adB296": [
"https://opensea.io/bundles/hdpunks-reservation-bundle-0xe9fb10063cf707ef7-sFF"
],
{
"0xAb2e11C99D8830D5d9B2494A565c974595e39eef": [],
"0x94eB448740ff114046d2Dd4A9E7e36Ce25adCC06": [
"https://opensea.io/bundles/hdpunks-reservation-bundle-0x94eb448740ff11404-AKX"
],
"0xE9Fb10063CF707EF741Ff7149a27880cE5adB296": [
"https://opensea.io/bundles/hdpunks-reservation-bundle-0xe9fb10063cf707ef7-sFF"
],
"0xdFB6B1febdEcBfDCe1014216D5F80BA52109Eb1A": [
"https://opensea.io/bundles/hdpunks-reservation-bundle-0xdfb6b1febdecbfdce-kuH"
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
import {IERC20} from "../interfaces/IERC20.sol";
contract BetEscrow {
event BetOffered(uint betId);
enum Status {
@0xfoobar
0xfoobar / ForteRouter.sol
Created August 23, 2022 19:59
ForteRouter at 0x0e2374110f4Eba21f396FBf2d92cC469372f7DA0
[
{
"inputs": [
{
"internalType": "address",
"name": "_factory",
"type": "address"
},
{
"internalType": "address",
@0xfoobar
0xfoobar / FortePairFactory.sol
Created August 23, 2022 20:12
FortePairFactory at 0x759e390D946249c63e0A1d8a810C5A577a591719
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
@0xfoobar
0xfoobar / FortePair
Created November 17, 2022 16:05
FortePair.sol
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{