* 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>
* Rename tronscan.org to tronscan.io
* Make explorer links in checksum.
* Fix explorer links.
* Add explorerUrl check.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Add support for Ethereum and Binance Chain
* Add tokenlist.json to assetFolderAllowedFiles
* Rename token list name
* Create tokenlist.json
* Add list logoURI
* Make non-mandatory action interface elements optional.
* Remove one unused import
* Scripts main renamed to entrypoint.
* Script common rename to generic
* Move generic scripts from action to generic.
* Move chain-specific scripts to blockchain.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Add Binance validators list, with a dummy value
* Add logo for Dummy binance validator.
* Add Binance as a validator chain
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
* Infra for errors and warnings.
* Most allowlist/denylist consistency errors are warnings only.
* Adapt danger to errors+wranings.
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>