Commit Graph

83 Commits

Author SHA1 Message Date
Andrew M
af570af4e1
add_RONIN (#14319)
* add_RONIN

Added Ronin Blockchain and assets.

* Add RONIN as valid token type

* Add ronin explorer support

* Fixes (sanity and consistency, auto)

Co-authored-by: catenocrypt <13562139+catenocrypt@users.noreply.github.com>
Co-authored-by: catenocrypt <catenocrypt@users.noreply.github.com>
2021-10-12 09:18:05 +02:00
Adam R
f89a7f6be4
[Internal] Infrastructure for Polygon tokenlist (#14136)
* [Internal] Infrastructure for Polygon tokenlist

* Lint fix

* Dynamic date parameter

* More pairs
2021-10-06 12:25:07 +02:00
Viacheslav Kulish
9af1b65377
Revert pairs cleanup (#13972) 2021-09-28 12:03:38 -07:00
Adam R
af967a8d91
[Internal] Cleanup empty pairs[] from Eth tokenlist (#13933)
* Cleanup empty pairs[] from Eth tokenlist

* Small revert
2021-09-27 10:56:09 +02:00
Adam R
abb55dbfbf
[Internal] Remove obsolete history information, and infrastructure (#13879)
* Remove history infrastructure.

* Remove history information

* Revert "Remove history information"

This reverts commit e490134192e3c99b0815cf5a87a574916f038ba7.
2021-09-24 22:02:35 +02:00
Adam R
88258b1d26
[Internal] Remove allow & deny lists (#13871)
* Remove allow & deny lists

* Remove allow/deny list handling scripts/logic
2021-09-24 18:19:16 +02:00
CryptoA
cc8b74cc40
remove logo for old Vanity (#13672)
* Delete logo.png

* Abandoned check fix

Co-authored-by: catenocrypt <13562139+catenocrypt@users.noreply.github.com>
2021-09-18 04:02:21 -04:00
Adam R
ebddc54efa
Allow logo to be missing for abandoned tokens (#13715) 2021-09-18 09:55:19 +02:00
Adam R
a4c0f220b2
[Internal] Add info for Terra tokens (#13688)
* Create info.json

* Create info.json

* Create info.json

* Create info.json

* Support Terra tokens

* Rename asset folders to ID

Co-authored-by: Nazar <nazarmamai1@gmail.com>
2021-09-17 12:55:44 +02:00
hewigovens
c9fda9283c
Add fantom / arbitrum token type (#13296)
* add fantom / arbitrum token type
* add arbitrum info
* fix check script
2021-09-02 13:42:58 +08:00
hewigovens
92ad6bf22e
Add Optimism and fix Avalanche C chain (#13017)
* add optimism logo
* fix folder name
* Fix token types
* use suggest token type
* Update allowlist.json
2021-08-26 15:33:24 +08:00
Adam R
64b62f987e
Enforce decimals=8 for BEP2 tokens (#12727)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-08-12 09:50:33 +02:00
Adam R
04a66f3de5
Change Polygon type to POLYGON (#12326)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2021-07-27 21:33:56 +02:00
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
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
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
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
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
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
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