In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
export const arbitrumTokens = [ | |
{ | |
"logoURI": "https://assets.coingecko.com/coins/images/279/thumb/ethereum.png?1595348880", | |
"chainId": 1, | |
"name": "Ethereum", | |
"address": "0x0000000000000000000000000000000000000000", | |
"symbol": "ETH", | |
"decimals": 18 | |
}, | |
{ |
import { gql } from "graphql-request"; | |
// import { returningValues as genericValues } from "./payload"; | |
import { returningValues as genericValues } from "./payload"; | |
export interface IPage { | |
/** How many records should be returned on the page */ | |
limit: number; | |
/** Which page should be displayed (starts with 1) */ | |
page: number; |
const https = require("https"); | |
const fs = require("fs"); | |
const SKIP_PLATFORMS = [ | |
"tron", | |
"sora", | |
"factom", | |
"elrond", | |
"osmosis", | |
"cosmos", |
const fs = require("fs"); | |
const axios = require("axios"); | |
const URLS = [ | |
"https://tokens.uniswap.org", | |
"https://extendedtokens.uniswap.org", | |
"https://unsupportedtokens.uniswap.org", | |
"https://raw.githubusercontent.com/The-Blockchain-Association/sec-notice-list/master/ba-sec-list.json", | |
"https://api.coinmarketcap.com/data-api/v3/uniswap/all.json", | |
"https://tokens.coingecko.com/uniswap/all.json", |
const data = { | |
amount_marketplace: null, | |
amount: 500000000000000000000, | |
latest_settlement_offer_address: null, | |
released_at: null, | |
arbitrator_fee: 500, | |
marketplace: '0x0000000000000000000000000000000000000777', | |
split_marketplace: 1000, | |
refunded_at: null, | |
amount_arbitrator: null, |
# Fig pre block. Keep at the top of this file. | |
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh" | |
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# export ANDROID_HOME=~/Android/Sdk | |
# export PATH="$PATH:$ANDROID_HOME/tools" | |
# export PATH="$PATH:$ANDROID_HOME/platform-tools" |
.fadeinDown { | |
-webkit-animation: fadeInDown 500ms ease-in-out; /* Chrome, Safari, Opera */ | |
animation: fadeInDown 500ms ease-in-out; | |
} | |
/* Chrome, Safari, Opera */ | |
@-webkit-keyframes fadeInDown { | |
0% { |
import { DateTime, DurationLikeObject } from 'luxon' | |
const DAYS_IN_SECONDS = 86400 | |
const HOURS_IN_SECONDS = 3600 | |
const MINUTES_IN_SECONDS = 60 | |
/* | |
const getUnit = (challengePeriod: number): keyof DurationLikeObject => { | |
let unit: keyof DurationLikeObject = 'days' |