Skip to content

Commit

Permalink
feat: reduce coingecko denmos
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed Dec 20, 2023
1 parent 92fb2bf commit 7d0392b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 234 deletions.
139 changes: 7 additions & 132 deletions config/default_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var DefaultPriceServerConfig = Config{
Providers: map[string]ProviderConfig{
"astroport": {
Interval: 30,
Timeout: 5,
Timeout: 10,
Symbols: []string{
"ibc/08095CEDEA29977C9DD0CE9A48329FDA622C183359D5F90CF04CC4FF80CBE431-ibc/B3504E092456BA618CC28AC671A71FB08C6CA0FD0BE7C8A5B5A3E2DD933CC9E4", // stLuna - axlUSDC
"ibc/08095CEDEA29977C9DD0CE9A48329FDA622C183359D5F90CF04CC4FF80CBE431-ibc/CBF67A2BCF6CAE343FDF251E510C8E18C361FC02B23430C121116E0811835DEF", // stLuna - axlUSDT
Expand Down Expand Up @@ -202,7 +202,7 @@ var DefaultPriceServerConfig = Config{
},
"bitstamp": {
Interval: 30,
Timeout: 5,
Timeout: 10,
Symbols: []string{
"1incheur",
"1inchusd",
Expand Down Expand Up @@ -795,7 +795,6 @@ var DefaultPriceServerConfig = Config{
"BORA-USDT",
"BRWL-USDT",
"BSV-USDT",
"BTM-USDT",
"BTT-USDT",
"BZZ-USDT",
"CAPO-USDT",
Expand All @@ -807,14 +806,12 @@ var DefaultPriceServerConfig = Config{
"CFG-USDT",
"CFX-USDT",
"CGL-USDT",
"CHE-USDT",
"CHZ-USDT",
"CITY-USDT",
"CLV-USDT",
"COMP-USDT",
"CONV-USDT",
"CORE-USDT",
"COVER-USDT",
"CQT-USDT",
"CRO-USDT",
"CRV-USDT",
Expand All @@ -830,7 +827,6 @@ var DefaultPriceServerConfig = Config{
"DCR-USDT",
"DEP-USDT",
"DGB-USDT",
"DHT-USDT",
"DIA-USDT",
"DOGE-USDT",
"DOME-USDT",
Expand All @@ -855,7 +851,6 @@ var DefaultPriceServerConfig = Config{
"FLOW-USDT",
"FLOKI-USDT",
"FLR-USDT",
"FODL-USDT",
"FORTH-USDT",
"FRONT-USDT",
"FSN-USDT",
Expand All @@ -880,14 +875,12 @@ var DefaultPriceServerConfig = Config{
"GRT-USDT",
"HBAR-USDT",
"HC-USDT",
"HNT-USDT",
"ICP-USDT",
"ICX-USDT",
"ID-USDT",
"IGU-USDT",
"ILV-USDT",
"IMX-USDT",
"INT-USDT",
"IOST-USDT",
"IOTA-USDT",
"IQ-USDT",
Expand Down Expand Up @@ -937,7 +930,6 @@ var DefaultPriceServerConfig = Config{
"MOVEZ-USDT",
"MRST-USDT",
"MXC-USDT",
"MXT-USDT",
"MYRIA-USDT",
"NEAR-USDT",
"NEO-USDT",
Expand All @@ -960,15 +952,12 @@ var DefaultPriceServerConfig = Config{
"PCI-USDT",
"PERP-USDT",
"PHA-USDT",
"PICKLE-USDT",
"PIT-USDT",
"PNK-USDT",
"POLS-USDT",
"POLYDOGE-USDT",
"POR-USDT",
"PRQ-USDT",
"PSTAKE-USDT",
"QOM-USDT",
"QTUM-USDT",
"RACA-USDT",
"RADAR-USDT",
Expand All @@ -984,7 +973,6 @@ var DefaultPriceServerConfig = Config{
"RSR-USDT",
"RSS3-USDT",
"RVN-USDT",
"SAITAMA-USDT",
"SAMO-USDT",
"SAND-USDT",
"SC-USDT",
Expand Down Expand Up @@ -1080,24 +1068,19 @@ var DefaultPriceServerConfig = Config{
"ASTR-USDC",
"ATOM-USDC",
"AVAX-USDC",
"AXS-USDC",
"BLUR-USDC",
"BNB-USDC",
"BSV-USDC",
"CEL-USDC",
"CELO-USDC",
"CHZ-USDC",
"COMP-USDC",
"CORE-USDC",
"CRO-USDC",
"CRV-USDC",
"CSPR-USDC",
"DASH-USDC",
"DOGE-USDC",
"DOT-USDC",
"DYDX-USDC",
"EGLD-USDC",
"ENS-USDC",
"EOS-USDC",
"ETC-USDC",
"ETHW-USDC",
Expand All @@ -1106,13 +1089,9 @@ var DefaultPriceServerConfig = Config{
"FLR-USDC",
"FTM-USDC",
"GALA-USDC",
"GMT-USDC",
"GMX-USDC",
"GRT-USDC",
"HBAR-USDC",
"ICP-USDC",
"IMX-USDC",
"IOST-USDC",
"JST-USDC",
"KLAY-USDC",
"KNC-USDC",
Expand All @@ -1129,26 +1108,21 @@ var DefaultPriceServerConfig = Config{
"MKR-USDC",
"NEAR-USDC",
"OKT-USDC",
"OMG-USDC",
"RDNT-USDC",
"RPL-USDC",
"SAND-USDC",
"SHIB-USDC",
"SNX-USDC",
"SSV-USDC",
"STORJ-USDC",
"STX-USDC",
"SUSHI-USDC",
"THETA-USDC",
"TON-USDC",
"TRX-USDC",
"UNI-USDC",
"USDT-USDC",
"WAVES-USDC",
"XLM-USDC",
"XMR-USDC",
"XTZ-USDC",
"YFI-USDC",
"YFII-USDC",
"YGG-USDC",
"ZEC-USDC",
Expand All @@ -1164,26 +1138,19 @@ var DefaultPriceServerConfig = Config{
"FIL-BTC",
"AAVE-BTC",
"ADA-BTC",
"ALGO-BTC",
"ANT-BTC",
"APE-BTC",
"ATOM-BTC",
"AVAX-BTC",
"BSV-BTC",
"CHZ-BTC",
"COMP-BTC",
"CRO-BTC",
"CRV-BTC",
"DASH-BTC",
"DOGE-BTC",
"DOT-BTC",
"DYDX-BTC",
"EOS-BTC",
"ETC-BTC",
"GRT-BTC",
"HBAR-BTC",
"INT-BTC",
"KNC-BTC",
"LINK-BTC",
"MANA-BTC",
"MATIC-BTC",
Expand All @@ -1207,35 +1174,24 @@ var DefaultPriceServerConfig = Config{
"XRP-ETH",
"SOL-ETH",
"FIL-ETH",
"AAVE-ETH",
"ADA-ETH",
"ATOM-ETH",
"BETH-ETH",
"CRV-ETH",
"DOGE-ETH",
"DOT-ETH",
"EOS-ETH",
"LINK-ETH",
"MKR-ETH",
"NEAR-ETH",
"OKT-ETH",
"STETH-ETH",
"SUSHI-ETH",
"TRX-ETH",
"UNI-ETH",
"XLM-ETH",
"XMR-ETH",
"LTC-OKB",
"XRP-OKB",
"OKDOT1-DOT",
"OKDOT2-DOT",
"BTC-EURT",
"ETH-EURT",
},
},
"coingecko": {
Interval: 6,
Timeout: 5,
Timeout: 10,
Symbols: []string{
"bitcoin",
"ethereum",
Expand All @@ -1244,91 +1200,10 @@ var DefaultPriceServerConfig = Config{
"usd-coin",
"binance-usd",
"dai",
"ripple",
"dogecoin",
"cardano",
"matic-network",
"polkadot",
"litecoin",
"staked-ether",
"okb",
"shiba-inu",
"solana",
"tron",
"uniswap",
"avalanche-2",
"chainlink",
"ethereum-classic",
"the-open-network",
"monero",
"stellar",
"algorand",
"quant-network",
"filecoin",
"near",
"vechain",
"flow",
"apecoin",
"internet-computer",
"elrond-erd-2",
"chiliz",
"eos",
"chain-2",
"tezos",
"lido-dao",
"the-sandbox",
"theta-token",
"aave",
"axie-infinity",
"decentraland",
"iota",
"maker",
"pancakeswap-token",
"aptos",
"ecash",
"zcash",
"klay-token",
"gatechain-token",
"neo",
"arweave",
"dash",
"fantom",
"the-graph",
"havven",
"mina-protocol",
"curve-dao-token",
"nexo",
"radix",
"gmx",
"basic-attention-token",
"zilliqa",
"ethereum-name-service",
"1inch",
"helium",
"xdce-crowd-sale",
"frax-share",
"blockstack",
"convex-finance",
"enjincoin",
"immutable-x",
"loopring",
"decred",
"defichain",
"theta-fuel",
"amp-token",
"compound-governance-token",
"nxm",
"dydx",
"cosmos",
"terra-luna-2",
"crypto-com-chain",
"osmosis",
"thorchain",
"evmos",
"kava",
"oec-token",
"ankr",
"kadena",
"terra-luna",
"terrausd",
"injective-protocol",
Expand Down Expand Up @@ -1560,7 +1435,7 @@ var DefaultPriceServerConfig = Config{
},
"bittrex": {
Interval: 30,
Timeout: 5,
Timeout: 10,
Symbols: []string{
"1INCH-USDT",
"AAVE-USD",
Expand Down Expand Up @@ -2019,17 +1894,17 @@ var DefaultPriceServerConfig = Config{
},
"exchangerate": {
Interval: 30,
Timeout: 5,
Timeout: 10,
Symbols: FiatCoins,
},
"frankfurter": {
Interval: 30,
Timeout: 5,
Timeout: 10,
Symbols: FiatCoins,
},
"fer": {
Interval: 30,
Timeout: 5,
Timeout: 10,
Symbols: FiatCoins,
},
},
Expand Down
Loading

0 comments on commit 7d0392b

Please sign in to comment.