Time's a flat circle, I'm rounding up the usual suspects Memories on replay, future's got me perplexed Caught between the seconds, where hindsight meets foresight (cough) Tryna decode the matrix of my life in broad daylight
The Haberdashery Degen DAO proposes to grant $100,000 to Purple DAO, a prominent noun builder DAO in the Farcaster ecosystem. This grant, comprising 80% in USDC and 20% in DEGEN, aims to enhance Purple's grant and funding programs, and to foster growth within the Farcaster and Degen ecosystems.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from dune_client.client import DuneClient | |
from dune_client.query import QueryBase | |
import time | |
import random | |
FID = 533 | |
NEYNAR_API_KEY = "" | |
DUNE_API_KEY = "" | |
SIGNER_UUID = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from dune_client.client import DuneClient | |
from dune_client.query import QueryBase | |
import time | |
import random | |
NEYNAR_API_KEY = "" | |
DUNE_API_KEY = "" | |
SIGNER_UUID = "" | |
HEADERS = {'accept': 'application/json', 'api_key': NEYNAR_API_KEY} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from transformers import AutoModelForImageClassification, AutoProcessor | |
import torch | |
import requests | |
from PIL import Image | |
import numpy as np | |
from io import BytesIO | |
def download_image(url): | |
response = requests.get(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.firefox.options import Options | |
from selenium.webdriver.common.keys import Keys | |
import pandas as pd | |
import time | |
import logging | |
import json | |
from selenium.common.exceptions import NoSuchElementException, TimeoutException, WebDriverException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
contract Reputation is Ownable { | |
struct ReputationData { | |
int reputation; | |
string comment; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) | |
pragma solidity ^0.8.0; | |
import "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_collection_owners( | |
self, | |
collection_id: str, | |
cursor: NoneStr = None, | |
limit: PositiveInt = 25, | |
) -> UsersResult: | |
"""Get the owners of an OpenSea collection | |
Args: | |
collection_id (str): OpenSea collection ID | |
cursor (NoneStr, optional): cursor, defaults to None |