* Handle fields, 1
* Few more fields
* Discord field, fixes
* Facebook, youtube fields
* Telegram_news, docs, ignored fields
* New fields Coinmarketcap & coingecko, better handling of handles.
* Code to commit links into info.json, commented out
* Add checks for new links fields
* Minor log fixes
* Extra check for URLs must start with https://
* Duplicate info from 'socials' to 'links'.
* Fix for one links (was not array)
* Revert asset-infos, except checking
* Lint fix
* Fix discord.gg .com//invite links
* Add error for lone socials section (w/o links)
* Remove empty socials section
* Manual fix of some socials sections.
* Check for invalid fields in links.
* Lint fix
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Add check for tags field (array)
* Lint fix
* Using reduce() instead of forEach() for checking all values
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Add check for existence of id field.
* Fix id field if it differs from address.
* Fix a few tokens with casing differences.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Assets fix script: format all JSON files, not only eth-fork info files.
* More debug message
* Cleanup
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Info type files: accept both casing, in fix make it uppercase.
* Minor, to re-trigger CI
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Add checks for dapps folder files, extension and casing.
* Add checks for dapps logo dimansions/size.
* Reduce size of large dapps logos
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Disable full change support
* Reset history
* Init history, version 2 with ALL changes.
* Take out changeCount field; extra trim
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Infrastructure for change management (history).
* Always take latest commit from master
* Allow history folder.
* Lint fixes
* Error handling, do not update LATEST if version writing failed
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Add status field to all info files (where missing, with value active).
* Enforce check for field status.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Generate missing info files for ETC tokens.
* Add missing waves info files
* Revert
* Fix wanchain ID casing.
* Enforce values for type in info files.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Rearrange info field checks.
* Fill missing id field in some infos; enable check for filled id field.
* Minor script change
* Fill missing type field in some infos; enable check for filled type field.
* Enable check for filled symbol type.
* Enable check for decimals field.
* Enable check for filled description field.
* Enforce non-empty website field.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* ExplorerUrl switch fix
* ExplorerUrl export fix
* Generate info.json for each token where it was missing.
* Replace placeholder text for description to a dash.
* Add id field; reorder tags.
* Add id fields.
* Fill website from info from ethplorer.
* Complete blockchain info.jsons (with symbol, decimals; auto update).
* Complete blockchain info.jsons (with symbol, decimals, status; manual update).
* Rename short_description to description in all info.json files.
* Tomochain explorer urls.
* ExplorerUrls (kava, ontology, gochain).
* Few leftover short_description field rename.
* Set missing website to empty.
* Merge fixes
* Fix duplicate description fields.
* Remove long descriptions from chain info.json files.
* Duplicate description fields; last 5 instances.
* Add warning for too long description
* Shorten some long descriptions.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Rename short_description to description in all info.json files.
* Adjust check of fields
* Adjust field check
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Force include and exclude implementation.
* Rename update to updateAuto
* UpdateManual hooks
* UpdateManual hook fix
* Update existing tokenlist.json file, use exclude/include config.
* Force include only pairs against the main currency.
* PS config adjustment
* Remove tokenlist_base files
* Lint fix
* Remove all pairs first.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Extra logs
* External Updates
* Move token validity check, cheksumFormat ID is available only later.
* External Updates
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* 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>
* Update tokenlist version and timestamp if needed before save, move assetID functions to common asset.ts.
* Lint fixes
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Allowlist: auto-allow only assets with both logo and info.
* Rmove unsed imports.
* Lint fix
* Lint
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Do not automatically add tokens to denylist.
* Removed orphan check; that case is OK
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>