brianleect / etherscan-labels

Full label data dump of top EVM chains in JSON/CSV.
MIT License
256 stars 77 forks source link

[QOL] [combinedLabels] Remove duplicate nameTags #8

Closed brianleect closed 2 years ago

brianleect commented 2 years ago

Change combinedLabels.json to

{'nameTag':NAME,'labels':[LABEL1,LABEL2,LABEL3]}

Main mistake made initially was thinking there was multiple nameTags for same address. This results in unnecessary repetition.

Example: ["Paradex (0x-ecosystem)", "Paradex (dex)"] -> nametag:"Paradex", labels:[0x-ecosystem,dex]

brianleect commented 2 years ago

Restructured.