Commit Graph

32 Commits

Author SHA1 Message Date
Adam R
6d5682e43f
[Internal] Coin info type should be lowercase 'coin' (#11234)
* Coin info type should be lowercase 'coin'

* Make coin info types lowercase 'coin'

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-04 07:35:54 +02:00
Adam R
e5a5a0abed
[Internal] Remove source_code, whitepaper fields (#10891)
* Remove all source_code and whitepaper fields (moved to links section)

* Move white_paper fields to links section

* Add checks for source_code, whitepaper fields

* Whitepaper fixes

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-06-28 17:49:10 +02:00
Adam R
6572a691df
[Internal] Remove socials sections from info.json's (#10876)
* Remove socials sections from info.json's

* Update error message if socials is present

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-06-28 11:24:55 +02:00
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
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
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
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
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
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
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
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
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
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
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
3876862de4
[internal] Add Solana token infrastructure, Serum token. (#5000)
* Add Solana token infrastructure, Serum token.

* Use CoinType constants for chains

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-12-07 11:56:44 +01:00
Catenocrypt
c8a9340dff Revert "Add Solana token infrastructure, Serum token."
This reverts commit 652717b761.
2020-12-04 13:00:41 +01:00
Catenocrypt
652717b761 Add Solana token infrastructure, Serum token. 2020-12-04 12:56:45 +01:00
Adam R
2ff883945e
Lint fix (#4722)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-11-05 23:51:08 +01:00
Adam R
933f67125d
Enforce explorer check for ERC20 and BEP20 tokens. (#4631)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-10-27 16:09:28 +01:00
Adam R
42e7c888eb
[internal] Refine explorerUrl check, fix existing warnings. (#4566)
* Refine explorerUrl check, fix existing warnings.

* Lint fix

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-10-22 16:41:12 +02:00
Adam R
7da5daa51e
[internal] Add check for Explorer URL (#4525)
* 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>
2020-10-20 01:22:00 +02:00
Adam R
3429636c87
[internal] Assets checks: Info.json check for every chain (was for eth forks only). (#4524)
* Assets checks: Info.json check for every chain (was for eth forks only).

* Rename.

* Minor refinement.

* Add one missing TRC20 token explorer.

* Add check for explorerUrl, incl. content.

* Rename tronscan.org to tronscan.io

* Revert "Rename tronscan.org to tronscan.io"

This reverts commit 4de796d7825a7a04a06204040bed7298418aaf33.

* Revert "Add check for explorerUrl, incl. content."

This reverts commit fedcb8b3e611234da07241d0d55d198e38a1b1d0.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-10-20 00:51:47 +02:00