This file contains hidden or 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
{ | |
"name": "Token List", | |
"timestamp": "2077-01-01T11:11:11.111Z", | |
"version": { | |
"major": 1, | |
"minor": 0, | |
"patch": 0 | |
}, | |
"tags": {}, | |
"logoURI": "https://raw.githubusercontent.com/SmolDapp/tokenAssets/main/tokens/8453/0x4200000000000000000000000000000000000006/logo.svg", |
This file contains hidden or 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 { useRef, useEffect } from 'react'; | |
import { CandlestickSeries, createChart } from 'lightweight-charts'; | |
export default function Chart() { | |
const chartContainerRef = useRef<HTMLDivElement>(null); | |
useEffect(() => { | |
const initialData = [ | |
{ time: '2018-12-22', open: 75.16, high: 82.84, low: 36.16, close: 45.72 }, | |
{ time: '2018-12-23', open: 45.12, high: 53.9, low: 45.12, close: 48.09 }, |
This file contains hidden or 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 { NetlifyAPI } from "netlify"; | |
// https://app.netlify.com/user/applications#personal-access-tokens | |
const client = new NetlifyAPI("nfp_YGNVq"); | |
async function main() { | |
// create empty site | |
const site = await client.createSite().catch((err) => console.log(err)); | |
if (!site) return; |
This file contains hidden or 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 { ethers } from "ethers"; | |
import "dotenv/config"; | |
const QUOTER_CONTRACT_ADDRESS = "0x0880484412B5bAa18B3fa2904a500c08f0fE79D2"; | |
// prettier-ignore | |
const QUOTER_ABI = [ { "inputs": [ { "internalType": "address", "name": "_factory", "type": "address" }, { "internalType": "address", "name": "_WETH9", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "WETH9", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "path", "type": "bytes" }, { "internalType": "uint256", "name": "amountIn", "type": "uint256" } ], "name": "quoteExactInput", "outputs": [ { "internalType": "uint256", "name": "amountOut", "type": "uint256" }, { "internalType": "uint160[]", "name": "sqrtPriceX96AfterList |
This file contains hidden or 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
{ | |
"name": "Token List", | |
"timestamp": "2077-01-01T11:11:11.111Z", | |
"version": { | |
"major": 1, | |
"minor": 0, | |
"patch": 0 | |
}, | |
"tags": { | |
}, |
This file contains hidden or 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
{ | |
"name": "Token List", | |
"timestamp": "2077-01-01T11:11:11.111Z", | |
"version": { | |
"major": 1, | |
"minor": 0, | |
"patch": 0 | |
}, | |
"tags": { | |
"v3CoreFactoryAddress": "0xbe4C021F8fD2be76dBE9DA6a000221ac6893aA3d", |
This file contains hidden or 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
{ | |
"name": "Token List", | |
"timestamp": "2077-01-01T11:11:11.111Z", | |
"version": { | |
"major": 1, | |
"minor": 0, | |
"patch": 0 | |
}, | |
"tags": { | |
"v3CoreFactoryAddress": "0x001281C9d8F134F0dD15EBFe4D1011800403a8f7", |
This file contains hidden or 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
{ | |
"name": "Token List", | |
"timestamp": "2077-01-01T11:11:11.111Z", | |
"version": { | |
"major": 1, | |
"minor": 0, | |
"patch": 0 | |
}, | |
"tags": {}, | |
"logoURI": "https://www.gelato.network/brand-assets/GEL_Token_Logos/GEL%20Token%20Logo.png", |
This file contains hidden or 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
{ | |
"name": "EtcswapV2Test", | |
"logoURI": "https://raw.githubusercontent.com/etcswap/token-list/main/assets/ethereum-classic.svg", | |
"keywords": ["etcswap", "ethereum classic", "etc"], | |
"timestamp": "2024-01-13T00:00:00.000+00:00", | |
"tokens": [ | |
{ | |
"chainId": 61, | |
"address": "0x1953cab0E5bFa6D4a9BaD6E05fD46C1CC6527a5a", | |
"name": "Wrapped Ether", |
This file contains hidden or 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
[ | |
{ | |
"id": "0x3f57f76e30b47b6eaf9799c4403aaa67f209550d", | |
"token0": { | |
"id": "0xd333787e69dbfc47e67c59441e392eb530b3dc19" | |
}, | |
"token1": { | |
"id": "0xfc95e5e3f912823ee531687e2df137940ef3ba2c" | |
}, | |
"feeTier": "500", |
NewerOlder