Commit Graph

152 Commits

Author SHA1 Message Date
Adam R
6a5dfc94b5
Links check: fix for prefix check (#10786)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-06-26 22:02:27 +02:00
Adam R
e3d5d8ed79
[Internal] Coin info's: Include in checks; perform socials->links migration (#10707)
* Include coin info.json's in checks as well

* Put all chain coin cheks into one check step

* Socials->links adaptation in coin info.json's

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-06-25 11:12:11 +02:00
Adam R
5a4dfb324a
[Internal] Duplicate info from 'socials' to 'links' (#10639)
* 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>
2021-06-24 10:58:38 +02:00
Adam R
d927278bef
[Internal] Change references to github usercontent (#10266)
* [Internal] Change references to github usercontent

* Fix binance tokenlist

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-06-17 14:10:23 +02:00
Adam R
fbaa48e748
Add missing info files for Waves tokens (#9271)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-06-03 16:21:12 +02:00
Adam R
af1d3e1f4e
[Internal] Token missing info cleanup: eos, theta, tomochain, xdai, tron (#8444)
* [Internal] Token missing info cleanup: eos, theta, tomochain, xdai, tron

* Add explorerUrl generation

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-05-20 14:33:44 +02:00
Adam R
2c716b8aa3
Enforce that info file must be present for all tokens (with some exceptions). (#8439)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-05-20 12:10:48 +02:00
Adam R
d756cd28d4
[Internal] When auto-adding Binance tokens, also create info.json (#8256)
* [Internal] When auto-adding Binance tokens, also create info.json

* Text fix

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-05-17 17:02:45 +02:00
Adam R
93f8abfcda
Binance update: Better error handling and safeguards (#7980)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-05-15 05:41:13 +02:00
Adam R
f905bad945
[Internal] Change all explorers to standard explorer (#7655)
* In fix, overwrite Explorer to computed version.

* Ignore case-only diff

* Add VeChain explorer

* Revert "Add VeChain explorer"

This reverts commit 0a0b22c6beda4648c41cf307bbb9b4f421d7d773.

* Add VeChain explorer template

* Update thundertoken explorer

* Lint fix

* Lint fix

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-05-10 15:08:10 +02:00
Viktor Radchenko
80221e581a Add check tokenList.length > 0 2021-05-07 09:00:07 -07:00
Viktor Radchenko
514882f086 Set dex markets limit to 500 2021-05-07 08:53:00 -07:00
Adam R
fb85a400be
Type should be all-caps (#6629)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-04-20 16:05:09 +02:00
Adam R
f5a53a6d0e
Force-add STMX to tokenlist (#6201)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-04-02 11:54:06 +02:00
Adam R
16be8d0ab2
Tokenlist update, increase max count from API (#6199)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-04-02 11:40:56 +02:00
Adam R
87bd94552e
Remove danger, leftovers (#6151)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-30 14:19:49 +02:00
Adam R
87750b5f9d
Enforce that info.id field matches exactly folder name (i.e. in checksum format) (#6077)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-25 14:28:56 +01:00
Adam R
2d771a60b1
Remove unused import; Lint fix (#6039)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-23 16:33:59 +01:00
Adam R
6b22d924be
[Internal] Tag values config in typed file (#6016)
* Tag values config in typed file.

* Lint fix

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-22 11:33:21 +01:00
Viktor Radchenko
5f6fb5ed94
[Internal] Add tagging support (#5911)
* Add tagging support

* Add example dao support for TWT

* Update info.json

* Rename daos => dao

* Update tags.json

* Update tag in TWT, governance/dao

* Update test

* Add staking-native tag

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-18 13:42:03 -07:00
Adam R
63c1dcaf1a
[Internal] Add check for tags field (array) (#5960)
* 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>
2021-03-18 00:27:21 +01:00
Adam R
1042aa9e63
[Internal] Add check for valid values of status field (#5951)
* Add check for valid values of status field

* Ad dmissing new file

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-17 11:51:03 +01:00
Adam R
a957795c20
[Internal] Add check and fix id field (#5904)
* 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>
2021-03-12 19:01:29 +01:00
Adam R
e5cc13e032
[Internal] Assets fix script: format all JSON files, not only eth-fork info files (#5853)
* 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>
2021-03-08 11:38:22 +01:00
Adam R
6e601fe172
[Internal] Update ETH tokenlist from Uniswap. (#5767)
* Update ETH tokenlist from Uniswap.

* Remove BUSD (has no active pairs)

* Remove BUSD from forced tokens on Uniswap.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-02 16:50:21 +01:00
Adam R
c8f7520574
Update pacakeswap API provider. (#5766)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-03-01 16:02:06 +01:00
Adam R
76ccac3437
[Internal] Info type files: accept both casing, in fix make it uppercase (#5762)
* 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>
2021-03-01 15:46:10 +01:00
Adam R
a6ab7933a9
[Internal] Add checks for dapps folder files, extension, casing, image size (#5725)
* 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>
2021-02-26 12:39:39 +01:00
Adam R
4104360d9a
[Internal] Re-init history ALL changes (#5682)
* 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>
2021-02-24 10:06:56 +01:00
Adam R
2a8fcc707c
[Internal] Filter changed files to blockchains and dapps folders (#5668)
* Merge fix and history build into one.

* Filter chganged files to blockchains and dapps foldersx).

* Debug github.ref

* Fix echo

* Debug

* Debug

* Remove

* Debug

* Debug

* Setup history conditions

* Cleanup

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-23 11:00:47 +01:00
Adam R
a7db1a3509
History update: add Readme, make build green when there is not change (#5660)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-22 17:48:47 +01:00
Catenocrypt
fdefb587e0 Ignore history files form changes to prevent endless loop 2021-02-22 17:26:16 +01:00
Adam R
d7b5c047af
History update build fixes (#5658)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-22 17:10:44 +01:00
Adam R
a189c05c4f
[Internal] Update version to 2 (#5654)
* Update version to 2

* Full change limit is above 40 files

* Updated 2.json

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-22 16:34:14 +01:00
Adam R
159cec7043
[Internal] Infrastructure for change management (history) (#5653)
* 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>
2021-02-22 16:25:32 +01:00
Adam R
2c895b6df9
[Internal] More prominent error markers (#5652)
* Central place for error/warning markers

* More prominent error marker.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-22 12:55:52 +01:00
Adam R
c41a67d7f6
Adjust token type / chain check; case insensitive (#5537)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-09 23:43:12 +01:00
Adam R
a987c49d9b
[Internal] Add status field to all info files (#5514)
* 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>
2021-02-08 11:38:26 +01:00
Adam R
dd56b0122a
[Internal] Enforce values for type in info files (#5513)
* 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>
2021-02-08 11:23:34 +01:00
Adam R
617df987fd
[Internal] Add missing info files (#5511)
* Generate missing info files for ETC tokens.

* Add missing waves info files

* Revert

* Fix wanchain ID casing.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-08 11:08:45 +01:00
Adam R
38ed414425
Add check for missing info files, only warning for now. (#5509)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-08 10:28:04 +01:00
Adam R
55c5a48652
Enforce value of the ID field. (#5488)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-05 11:59:21 +01:00
hewigovens
ceaf159196
[Tezos] Remove not used baker update code (#5474)
* remove not used baker update code
* remove not used model
* more cleanup
2021-02-05 13:19:50 +08:00
Adam R
19e8a5c9ab
[Internal] Extend checking fields in info files. (#5483)
* 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>
2021-02-04 17:47:14 +01:00
Adam R
03028a6712
[Internal] Generate info.json for each token where it was missing (#5432)
* 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>
2021-02-03 23:42:15 +01:00
Adam R
bb47ec5f3c
[Internal] Rename short_description to description in all info.json files (#5461)
* 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>
2021-02-03 09:59:29 -08:00
Adam R
bf24ea2d8b
[Internal] Tokenlist pairs update: Only manual update; use exclude/include config; no tokenlist_base (#5451)
* 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>
2021-02-01 16:45:55 +01:00
Adam R
de0ea4b7d9
[Internal] Update ETH & BSC trading pairs from external API (#5450)
* Update ETH & BSC trading pairs from external API

* Typo

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-01 16:16:14 +01:00
Adam R
187b8e240a
Add id field to each info.json. (#5447)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-02-01 12:12:30 +01:00
Adam R
77fd58ae99
Disable for now auto-update of Eth&Bsc trading pairs. (#5441)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-01-30 23:58:39 +01:00