From ab85c6132c56ef81ff85ed7ed5c3b2df3e3c12a2 Mon Sep 17 00:00:00 2001 From: 0xsign <0xsign@protonmail.com> Date: Thu, 29 Jun 2023 09:36:57 +0200 Subject: [PATCH] feat: rm native currencies --- bsc/tokenlist.json | 8 -------- celo/tokenlist.json | 8 -------- fantom/tokenlist.json | 8 -------- index.ts | 1 - scripts/cleanup.ts | 2 -- 5 files changed, 27 deletions(-) diff --git a/bsc/tokenlist.json b/bsc/tokenlist.json index 1b59a88f..40b2e8a9 100644 --- a/bsc/tokenlist.json +++ b/bsc/tokenlist.json @@ -2673,14 +2673,6 @@ "decimals": 18, "stable": false }, - { - "address": "0x0000000000000000000000000000000000000000", - "name": "BNB", - "symbol": "BNB", - "decimals": 18, - "native": true, - "stable": false - }, { "address": "0x3c730718c97a77562866b5d29b33228c019eac68", "name": "BNB Diamond", diff --git a/celo/tokenlist.json b/celo/tokenlist.json index e07ead29..3ab18d26 100644 --- a/celo/tokenlist.json +++ b/celo/tokenlist.json @@ -1,12 +1,4 @@ [ - { - "address": "0x471ece3750da237f93b8e339c536989b8978a438", - "name": "Celo", - "symbol": "CELO", - "decimals": 18, - "native": true, - "stable": false - }, { "address": "0x6e512bfc33be36f2666754e996ff103ad1680cc9", "name": "Allbridge", diff --git a/fantom/tokenlist.json b/fantom/tokenlist.json index 106e963b..e664ee7a 100644 --- a/fantom/tokenlist.json +++ b/fantom/tokenlist.json @@ -706,14 +706,6 @@ "decimals": 18, "stable": false }, - { - "address": "0x0000000000000000000000000000000000000000", - "name": "FTM", - "symbol": "FTM", - "decimals": 18, - "native": true, - "stable": false - }, { "address": "0x9bd0611610a0f5133e4dd1bfdd71c5479ee77f37", "name": "Fantom Oasis Token", diff --git a/index.ts b/index.ts index 690360a0..95dcc9bd 100644 --- a/index.ts +++ b/index.ts @@ -16,7 +16,6 @@ export interface Token { symbol: string decimals: number stable: boolean - native?: boolean } export interface ChainToken extends Token { diff --git a/scripts/cleanup.ts b/scripts/cleanup.ts index 17440cdd..35f2cbec 100644 --- a/scripts/cleanup.ts +++ b/scripts/cleanup.ts @@ -24,8 +24,6 @@ async function main() { name: found?.name || token.name, symbol: found?.symbol || token.symbol, decimals: found?.decimals || token.decimals, - native: found?.native || token.native, - wallet: found?.wallet || token.wallet, stable: found?.stable || token.stable }