├── .eslintrc.cjs ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── Dockerfile ├── LICENSE ├── api ├── index.ts ├── index.unit.test.ts └── services │ ├── select-all-labels.ts │ └── select-matching-labels.ts ├── bun.lockb ├── data ├── csv │ ├── accounts.csv │ └── tokens.csv ├── db.sqlite3 └── json │ ├── accounts.json │ └── tokens.json ├── docs └── img │ ├── arbiscan.svg │ ├── basescan.svg │ ├── bscscan.svg │ ├── celo.svg │ ├── etherscan.svg │ ├── gnosis.svg │ └── optimism.svg ├── package.json ├── readme.md ├── scripts ├── ApiParser │ ├── ApiParser.ts │ ├── ApiParser.unit.test.ts │ ├── EtherscanApiParser.ts │ └── mocks │ │ └── etherscan │ │ └── aave.json ├── Chain │ ├── ArbiscanChain.ts │ ├── BasescanChain.ts │ ├── BscscanChain.ts │ ├── CeloChain.ts │ ├── Chain.ts │ ├── EtherscanChain.ts │ ├── GnosisChain.ts │ └── OptimismChain.ts ├── ChainPuller.ts ├── CheerioParser.ts ├── FileSystem │ └── FileSystem.ts ├── HtmlParser │ ├── ArbitrumHtmlParser.ts │ ├── BscscanHtmlParser.ts │ ├── CeloScanParser.ts │ ├── EtherscanParser.ts │ ├── HtmlParser.ts │ ├── HtmlParser.unit.test.ts │ ├── OptimismHtmlParser.ts │ └── mocks │ │ ├── arbiscan │ │ ├── accounts.html │ │ ├── labelcloud.html │ │ └── tokens.html │ │ ├── basescan │ │ ├── accounts.html │ │ ├── labelcloud.html │ │ └── tokens.html │ │ ├── bscscan │ │ ├── accounts.html │ │ ├── labelcloud.html │ │ └── tokens.html │ │ ├── celo │ │ ├── accounts.html │ │ ├── labelcloud.html │ │ └── tokens.html │ │ ├── etherscan │ │ ├── accounts.html │ │ ├── labelcloud.html │ │ └── tokens.html │ │ ├── gnosisscan │ │ ├── accounts.html │ │ ├── labelcloud.html │ │ └── tokens.html │ │ └── optimism │ │ ├── accounts.html │ │ ├── labelcloud.html │ │ └── tokens.html ├── ProgressBar.ts ├── cli.ts ├── db │ ├── database.ts │ ├── generate-db-json.ts │ ├── migrations │ │ ├── 001-init.ts │ │ ├── 002-add-tokens-table.ts │ │ └── 003-track-last-modified.ts │ ├── migrator.ts │ ├── repositories │ │ ├── AccountsRepository.ts │ │ ├── AccountsRepository.unit.test.ts │ │ └── TokensRepository.ts │ └── types.ts ├── fetch-all.ts ├── fetch-html.ts ├── one-off │ └── hydrate-missing-symbols │ │ └── hydrate-missing-symbols.ts ├── scan-config.ts └── utils │ ├── error-parse.ts │ └── sleep.ts └── tsconfig.json /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/LICENSE -------------------------------------------------------------------------------- /api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/api/index.ts -------------------------------------------------------------------------------- /api/index.unit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/api/index.unit.test.ts -------------------------------------------------------------------------------- /api/services/select-all-labels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/api/services/select-all-labels.ts -------------------------------------------------------------------------------- /api/services/select-matching-labels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/api/services/select-matching-labels.ts -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/bun.lockb -------------------------------------------------------------------------------- /data/csv/accounts.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/data/csv/accounts.csv -------------------------------------------------------------------------------- /data/csv/tokens.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/data/csv/tokens.csv -------------------------------------------------------------------------------- /data/db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/data/db.sqlite3 -------------------------------------------------------------------------------- /data/json/accounts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/data/json/accounts.json -------------------------------------------------------------------------------- /data/json/tokens.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/data/json/tokens.json -------------------------------------------------------------------------------- /docs/img/arbiscan.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/docs/img/arbiscan.svg -------------------------------------------------------------------------------- /docs/img/basescan.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/docs/img/basescan.svg -------------------------------------------------------------------------------- /docs/img/bscscan.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/docs/img/bscscan.svg -------------------------------------------------------------------------------- /docs/img/celo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/docs/img/celo.svg -------------------------------------------------------------------------------- /docs/img/etherscan.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/docs/img/etherscan.svg -------------------------------------------------------------------------------- /docs/img/gnosis.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/docs/img/gnosis.svg -------------------------------------------------------------------------------- /docs/img/optimism.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/docs/img/optimism.svg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/readme.md -------------------------------------------------------------------------------- /scripts/ApiParser/ApiParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/ApiParser/ApiParser.ts -------------------------------------------------------------------------------- /scripts/ApiParser/ApiParser.unit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/ApiParser/ApiParser.unit.test.ts -------------------------------------------------------------------------------- /scripts/ApiParser/EtherscanApiParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/ApiParser/EtherscanApiParser.ts -------------------------------------------------------------------------------- /scripts/ApiParser/mocks/etherscan/aave.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/ApiParser/mocks/etherscan/aave.json -------------------------------------------------------------------------------- /scripts/Chain/ArbiscanChain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/Chain/ArbiscanChain.ts -------------------------------------------------------------------------------- /scripts/Chain/BasescanChain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/Chain/BasescanChain.ts -------------------------------------------------------------------------------- /scripts/Chain/BscscanChain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/Chain/BscscanChain.ts -------------------------------------------------------------------------------- /scripts/Chain/CeloChain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/Chain/CeloChain.ts -------------------------------------------------------------------------------- /scripts/Chain/Chain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/Chain/Chain.ts -------------------------------------------------------------------------------- /scripts/Chain/EtherscanChain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/Chain/EtherscanChain.ts -------------------------------------------------------------------------------- /scripts/Chain/GnosisChain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/Chain/GnosisChain.ts -------------------------------------------------------------------------------- /scripts/Chain/OptimismChain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/Chain/OptimismChain.ts -------------------------------------------------------------------------------- /scripts/ChainPuller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/ChainPuller.ts -------------------------------------------------------------------------------- /scripts/CheerioParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/CheerioParser.ts -------------------------------------------------------------------------------- /scripts/FileSystem/FileSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/FileSystem/FileSystem.ts -------------------------------------------------------------------------------- /scripts/HtmlParser/ArbitrumHtmlParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/ArbitrumHtmlParser.ts -------------------------------------------------------------------------------- /scripts/HtmlParser/BscscanHtmlParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/BscscanHtmlParser.ts -------------------------------------------------------------------------------- /scripts/HtmlParser/CeloScanParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/CeloScanParser.ts -------------------------------------------------------------------------------- /scripts/HtmlParser/EtherscanParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/EtherscanParser.ts -------------------------------------------------------------------------------- /scripts/HtmlParser/HtmlParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/HtmlParser.ts -------------------------------------------------------------------------------- /scripts/HtmlParser/HtmlParser.unit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/HtmlParser.unit.test.ts -------------------------------------------------------------------------------- /scripts/HtmlParser/OptimismHtmlParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/OptimismHtmlParser.ts -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/arbiscan/accounts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/arbiscan/accounts.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/arbiscan/labelcloud.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/arbiscan/labelcloud.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/arbiscan/tokens.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/arbiscan/tokens.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/basescan/accounts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/basescan/accounts.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/basescan/labelcloud.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/basescan/labelcloud.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/basescan/tokens.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/basescan/tokens.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/bscscan/accounts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/bscscan/accounts.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/bscscan/labelcloud.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/bscscan/labelcloud.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/bscscan/tokens.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/bscscan/tokens.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/celo/accounts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/celo/accounts.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/celo/labelcloud.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/celo/labelcloud.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/celo/tokens.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/celo/tokens.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/etherscan/accounts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/etherscan/accounts.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/etherscan/labelcloud.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/etherscan/labelcloud.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/etherscan/tokens.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/etherscan/tokens.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/gnosisscan/accounts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/gnosisscan/accounts.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/gnosisscan/labelcloud.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/gnosisscan/labelcloud.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/gnosisscan/tokens.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/gnosisscan/tokens.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/optimism/accounts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/optimism/accounts.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/optimism/labelcloud.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/optimism/labelcloud.html -------------------------------------------------------------------------------- /scripts/HtmlParser/mocks/optimism/tokens.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/HtmlParser/mocks/optimism/tokens.html -------------------------------------------------------------------------------- /scripts/ProgressBar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/ProgressBar.ts -------------------------------------------------------------------------------- /scripts/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/cli.ts -------------------------------------------------------------------------------- /scripts/db/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/database.ts -------------------------------------------------------------------------------- /scripts/db/generate-db-json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/generate-db-json.ts -------------------------------------------------------------------------------- /scripts/db/migrations/001-init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/migrations/001-init.ts -------------------------------------------------------------------------------- /scripts/db/migrations/002-add-tokens-table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/migrations/002-add-tokens-table.ts -------------------------------------------------------------------------------- /scripts/db/migrations/003-track-last-modified.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/migrations/003-track-last-modified.ts -------------------------------------------------------------------------------- /scripts/db/migrator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/migrator.ts -------------------------------------------------------------------------------- /scripts/db/repositories/AccountsRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/repositories/AccountsRepository.ts -------------------------------------------------------------------------------- /scripts/db/repositories/AccountsRepository.unit.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/repositories/AccountsRepository.unit.test.ts -------------------------------------------------------------------------------- /scripts/db/repositories/TokensRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/repositories/TokensRepository.ts -------------------------------------------------------------------------------- /scripts/db/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/db/types.ts -------------------------------------------------------------------------------- /scripts/fetch-all.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/fetch-all.ts -------------------------------------------------------------------------------- /scripts/fetch-html.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/fetch-html.ts -------------------------------------------------------------------------------- /scripts/one-off/hydrate-missing-symbols/hydrate-missing-symbols.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/one-off/hydrate-missing-symbols/hydrate-missing-symbols.ts -------------------------------------------------------------------------------- /scripts/scan-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/scan-config.ts -------------------------------------------------------------------------------- /scripts/utils/error-parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/utils/error-parse.ts -------------------------------------------------------------------------------- /scripts/utils/sleep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/scripts/utils/sleep.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dawsbot/eth-labels/HEAD/tsconfig.json --------------------------------------------------------------------------------