Commit Graph

162 Commits

Author SHA1 Message Date
Adam R
439db849d7
[Internal] Infra for Polygon tokens (#12244)
* Infra for Polygon tokens.

* Placeholer for assets fo

* Add CRO/polygon token

* Update CRO website

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-26 11:59:22 +02:00
Adam R
9b0360cb3b
[Internal] Add info.json to some Classic tokens where missing (5) (#11740)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-14 09:42:21 +02:00
Adam R
96ca9f465a
[Internal] Add info.json to Poa tokens (3) (#11739)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-14 09:20:58 +02:00
Adam R
9b6e954901
Add info.json to some Thorchain tokens where missing (7) (#11715)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-13 17:39:58 +02:00
Adam R
5dc4b993ca
[Internal] Add nsfw tag (tag, not status) (#11536)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-08 21:01:32 +02:00
Adam R
41037d09f0
[Internal] Allow assets to exist with no logo, info only (typically spam) (#11530)
* Allow assets to exist with no logo, info only (typically spam)

* Allow missing logo only for spam assets

* Lint fix

* Remove logo for a few spam tokens

* Revert "Remove logo for a few spam tokens"

This reverts commit 95e93cd7b2e9c3c03f4e8369f59a5c56c593e13d.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-08 17:40:16 +02:00
Adam R
62f50817bb
Add new nsfw tag (#11525)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-08 16:20:02 +02:00
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
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