2020-09-18 14:39:31 +00:00
export const imageMaxLogoWidth = 512 ;
export const imageMaxLogoHeight = 512 ;
export const imageMinLogoWidth = 64 ;
export const imageMinLogoHeight = 64 ;
export const imageMaxLogoSizeKb = 100 ;
2021-09-24 21:01:43 +00:00
export const foldersRootdirAllowedFiles : string [ ] = [ ".github" , "blockchains" , "dapps" , "media" , "node_modules" , "script-old" , "script" , "test" , ".gitignore" , "azure-pipelines.yml" , "jest.config.js" , "LICENSE" , "package-lock.json" , "package.json" , "README.md" , ".git" , ".eslintignore" , ".eslintrc.js" ] ;
2020-09-18 14:39:31 +00:00
export const binanceUrlTokenAssets = "https://explorer.binance.org/api/v1/assets?page=1&rows=1000" ;
2020-10-14 01:20:42 +00:00
export const binanceDexURL = 'https://dex-atlantic.binance.org/api'
2021-06-17 12:10:23 +00:00
export const assetsURL = 'https://assets.trustwalletapp.com'
2021-01-29 06:45:43 +00:00
2021-02-01 15:45:55 +00:00
// Force include & exclude config: list of token symbols, or symbol pairs (e.g. ["Cake", "DAI-WBNB"]).
export const PancakeSwap_ForceInclude : string [ ] = [ "Cake" , "DAI" , "ETH" , "TWT" , "VAI" , "USDT" , "BLINK" , "BTCB" , "ALPHA" , "INJ" , "CTK" , "UNI" , "XVS" , "BUSD" , "HARD" , "BIFI" , "FRONT" ] ;
export const PancakeSwap_ForceExclude : string [ ] = [ ] ;
2021-03-01 15:02:06 +00:00
export const PancakeSwap_TradingPairsUrl = "https://api.bscgraph.org/subgraphs/name/cakeswap" ;
2021-01-29 06:45:43 +00:00
export const PancakeSwap_TradingPairsQuery = `
query pairs {
2021-04-02 09:40:56 +00:00
pairs ( first : 300 , orderBy : reserveUSD , orderDirection : desc ) {
2021-02-01 15:45:55 +00:00
id reserveUSD volumeUSD txCount __typename
2021-01-29 06:45:43 +00:00
token0 {
id symbol name decimals __typename
}
token1 {
id symbol name decimals __typename
}
}
}
` ;
export const PancakeSwap_MinLiquidity = 1000000 ;
export const PancakeSwap_MinVol24 = 500000 ;
export const PancakeSwap_MinTxCount24 = 288 ;
2021-02-01 15:45:55 +00:00
// Force include & exclude config: list of token symbols, or symbol pairs (e.g. ["BAT", "YFI-WETH"]).
2021-11-10 00:03:42 +00:00
export const Uniswap_ForceInclude : string [ ] = [ "TUSD" , "STAKE" , "YFI" , "BAT" , "MANA" , "1INCH" , "REP" , "KP3R" , "UNI" , "WBTC" , "HEX" , "CREAM" , "SLP" , "REN" , "XOR" , "Link" , "sUSD" , "HEGIC" , "RLC" , "DAI" , "SUSHI" , "FYZ" , "DYT" , "AAVE" , "LEND" , "UBT" , "DIA" , "RSR" , "SXP" , "OCEAN" , "MKR" , "USDC" , "CEL" , "BAL" , "BAND" , "COMP" , "SNX" , "OMG" , "AMPL" , "USDT" , "KNC" , "ZRX" , "AXS" , "ENJ" , "STMX" , "DPX" , "FTT" , "DPI" , "PAX" ] ;
export const Uniswap_ForceExclude : string [ ] = [ "STARL" , "UFO" ] ;
2021-01-29 06:45:43 +00:00
export const Uniswap_TradingPairsUrl = "https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2" ; // see https://thegraph.com/explorer/subgraph/uniswap/uniswap-v2
export const Uniswap_TradingPairsQuery = `
query pairs {
2021-04-02 09:40:56 +00:00
pairs ( first : 800 , orderBy : reserveUSD , orderDirection : desc ) {
2021-01-29 06:45:43 +00:00
id reserveUSD trackedReserveETH volumeUSD txCount untrackedVolumeUSD __typename
token0 {
id symbol name decimals __typename
}
token1 {
id symbol name decimals __typename
}
}
}
` ;
export const Uniswap_MinLiquidity = 2000000 ;
export const Uniswap_MinVol24 = 1000000 ;
export const Uniswap_MinTxCount24 = 480 ;
2021-02-01 15:45:55 +00:00
2021-10-06 10:25:07 +00:00
// Force include & exclude config: list of token symbols, or symbol pairs (e.g. ["Cake", "DAI-WBNB"]).
export const PolygonSwap_ForceInclude : string [ ] = [ ] ;
export const PolygonSwap_ForceExclude : string [ ] = [ ] ;
export const PolygonSwap_TradingPairsUrl = "https://graphql.bitquery.io" ;
export const PolygonSwap_TradingPairsQuery = `
{
ethereum ( network : matic ) {
dexTrades ( date : { is : "$DATE$" } ) {
sellCurrency { address symbol name decimals }
buyCurrency { address symbol name decimals }
trade : count
tradeAmount ( in : USD )
}
}
}
` ;
//export const PolygonSwap_MinLiquidity = 1000000;
export const PolygonSwap_MinVol24 = 500000 ;
export const PolygonSwap_MinTxCount24 = 288 ;