Skip to content

Commit

Permalink
remove extra logos
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed May 7, 2024
1 parent 0b6fc71 commit d76d30b
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 19 deletions.
Binary file removed logos/HONEY_128.png
Binary file not shown.
Binary file removed logos/HONEY_256.png
Binary file not shown.
Binary file removed logos/dogzilla_woof_600x600.avif
Binary file not shown.
Binary file removed logos/dogzilla_woof_64x64.avif
Binary file not shown.
4 changes: 4 additions & 0 deletions scripts/sort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ import fs from 'fs'

import tokens from "../tokens.json"

let count = 0
// sort tokens by name
tokens.sort((a, b) => {
count++
if (a.name[0].toLocaleLowerCase() < b.name[0].toLocaleLowerCase()) {
return -1;
}
Expand All @@ -13,4 +15,6 @@ tokens.sort((a, b) => {
return 0;
});

console.log("Sorted", count, "tokens");

fs.writeFileSync('tokens.json', JSON.stringify(tokens, null, 4));
38 changes: 19 additions & 19 deletions tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@
"account": "ram.defi",
"chain": "eos"
},
{
{
"name": "BukeleCoin",
"logo": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/bukele-.png",
"logo_lg": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/bukele-.png",
Expand Down Expand Up @@ -2023,6 +2023,14 @@
"account": "xtokens",
"chain": "proton"
},
{
"name": "HONEY",
"logo": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/HONEY_64.png",
"logo_lg": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/HONEY_512.png",
"symbol": "HONEY",
"account": "nfthivehoney",
"chain": "wax"
},
{
"name": "IndustrialCraft Gold",
"logo": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/icg.png",
Expand Down Expand Up @@ -4503,7 +4511,7 @@
"account": "xtokens",
"chain": "proton"
},
{
{
"name": "TrumpCoin",
"logo": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/trump-.png",
"logo_lg": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/trump-.png",
Expand Down Expand Up @@ -4967,6 +4975,14 @@
"account": "wuffi",
"chain": "wax"
},
{
"name": "WOOF Token",
"logo": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/dogzilla_woof_64x64.png",
"logo_lg": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/dogzilla_woof_600x600.png",
"symbol": "WOOF",
"account": "dogzillawoof",
"chain": "wax"
},
{
"name": "XDC Network",
"logo": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xdc.png",
Expand Down Expand Up @@ -5070,21 +5086,5 @@
"symbol": "ZKS",
"account": "zkstokensr4u",
"chain": "eos"
},
{
"name": "HONEY",
"logo": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/HONEY_64.png",
"logo_lg": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/HONEY_512.png",
"symbol": "HONEY",
"account": "nfthivehoney",
"chain": "wax"
},
{
"name": "WOOF Token",
"logo": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/dogzilla_woof_64x64.png",
"logo_lg": "https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/dogzilla_woof_600x600.png",
"symbol": "WOOF",
"account": "dogzillawoof",
"chain": "wax"
}
]
]
1 change: 1 addition & 0 deletions tokens.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ test('logo file not associated with a token', async () => {
// if ( !logos.has(file) ) {
// fs.rmSync(`./logos/${file}`)
// }
// console.log(file)
expect(logos.has(file)).toBe(true)
}
})
Expand Down

0 comments on commit d76d30b

Please sign in to comment.