trustwallet-assets/blockchains
Adam R 88f26b09d1
[Internal] Retrieve trading pairs from PancakeSwap ()
* Retrieve trading pairs from PancakeSwap.

* Retrieve trading pairs from Uniswap.

* Add doc link

* Lint fix

* Include decimals

* Move binance tokenlist generation to BinanceAction.

* Generate smartChain tokenlist, from base and pancakeswap pairs.

* Fix array types in tokenlists.ts

* Common writeToFile method, sort.

* Type fixes

* Revert tokenlist.json to master

* Include pairs with allowlisted coins only.

* Move assetID functions to common asset.ts

* Use common assetID functions.

* Use dynamic generation time.

* Keep constant generation time; Version in tokenlist.

* Count additions

* Update tokenlist version and timestamp if needed before save.

* No counting is needed in addXxxIfNeeded() functions.

* Tokenlist timestamp: take over if previous

* Update ethereum tokenlist with pairs from Uniswap.

* Increase query limit to 400 pairs.

* iDecimals always number, add decimal fields to Eth also.

* Include only pairs with primary tokens, add pair info to primary token only.

* Update base tokenlist (BSC) to current full list, in order not to remove any coins.

* Update base tokenlist (ETH) to current full list, in order not to remove any coins.

* Move out pair checks into common code.

* Add checks for volume and txCount.

* Assets tokenlist: Adjust token names for added tokens.

* Move parameters to central config.ts

* Nicer query string, compact

* Prevent change if subgraph API fails

* Reduce max limit in Pancakeswap query, with 400 often times out.

* Stricter error handling

* Reduce code duplication.

* Minor comment

* Display number of original tokens

* Lint fix

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-01-29 07:45:43 +01:00
..
aeternity/info
aion/info
algorand
ark/info
aryacoin/info
band
binance External Updates 2021-01-28 19:29:35 +00:00
bitcoin/info
bitcoincash/info
bitcoingold/info
callisto
cardano/info
celo/info
classic
cosmos [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
dash/info
decred/info
digibyte/info
doge/info
ellaism/info
elrond/info
eos
ether-1/info
ethereum [Internal] Retrieve trading pairs from PancakeSwap () 2021-01-29 07:45:43 +01:00
filecoin/info
fio/info
firo/info Rebrand Zcoin to Firo () 2021-01-18 23:02:21 +01:00
gochain
groestlcoin/info
harmony [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
icon/info
iost/info
iotex [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
kava [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
kin/info
kusama/info
litecoin/info
lkscoin/info
loom [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
nano/info
near/info
nebulas/info
neo
nervos/info
nimiq/info
nuls
oasis/info Add logo and info for Oasis Network () 2021-01-27 16:16:07 +01:00
ontology
poa
polkadot/info
qtum/info
ravencoin/info
ripple/info
smartchain [Internal] Retrieve trading pairs from PancakeSwap () 2021-01-29 07:45:43 +01:00
solana [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
steem/info
stellar/info
terra [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
tezos External Updates 2021-01-28 19:29:35 +00:00
theta
thundertoken
tomochain
ton/info
tron Fixes (sanity and consistency, auto) 2021-01-27 09:41:23 +00:00
vechain [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
viacoin/info
wanchain [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
waves [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
xdai [Cleanup] Remove www. from the urls () 2021-01-19 13:21:38 -08:00
xdc
xrp/info
zcash/info
zelcash/info
zilliqa/info