diff --git a/.husky/pre-commit b/.husky/pre-commit index a36ebea..21d16ae 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,3 @@ bun run generate +npm run generate_v1 git add . \ No newline at end of file diff --git a/dist/data_legacy.json b/dist/data_legacy.json new file mode 100644 index 0000000..ed46c84 --- /dev/null +++ b/dist/data_legacy.json @@ -0,0 +1,1530 @@ +[ + { + "id": "alfajores", + "index": 4, + "graph_id": null, + "name": "Alfajores", + "alt_names": [], + "mainnet": "celo", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/celo.svg", + "img_invert": "https://pinax.network/assets/chains/celo_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "amoy", + "index": 4, + "graph_id": "amoy", + "name": "Amoy", + "alt_names": [], + "mainnet": "polygon", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/polygon.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2024-04-18T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-04-18T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2024-04-18T00:00:00.000Z", + "deprecated_at": null + } + } + }, + { + "id": "arbgoerli", + "index": 4, + "graph_id": "arbitrum-goerli", + "name": "Arbitrum Goerli", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/arbitrum.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "arbone", + "index": 4, + "graph_id": "arbitrum-one", + "name": "Arbitrum One", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/arbitrum.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "arbsepolia", + "index": 4, + "graph_id": "arbitrum-sepolia", + "name": "Arbitrum Sepolia", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/arbitrum.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2024-05-03T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-05-03T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2024-05-03T00:00:00.000Z", + "deprecated_at": null + } + } + }, + { + "id": "arweave", + "index": 4, + "graph_id": "arweave-mainnet", + "name": "Arweave", + "alt_names": [], + "mainnet": "arweave", + "standard": "erc20", + "block_type": { + "label": "sf.arweave.type.v1.Block", + "url": "https://buf.build/pinax/firehose-arweave/docs/main:sf.arweave.type.v1" + }, + "img": "https://pinax.network/assets/chains/arweave.svg", + "img_invert": "https://pinax.network/assets/chains/arweave_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-03-03T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "avalanche", + "index": 3, + "graph_id": "avalanche", + "name": "Avalanche", + "alt_names": [], + "mainnet": "avalanche", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/avalanche.svg", + "img_invert": "https://pinax.network/assets/chains/avalanche_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "base", + "index": 4, + "graph_id": "base", + "name": "Base", + "alt_names": [], + "mainnet": "base", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/base.svg", + "img_invert": "https://pinax.network/assets/chains/base_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2024-03-06T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-03-06T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "bitcoin", + "index": 2, + "graph_id": null, + "name": "Bitcoin", + "alt_names": [ + "btc" + ], + "mainnet": "bitcoin", + "standard": "brc20", + "block_type": { + "label": "sf.bitcoin.type.v1.Block", + "url": "https://buf.build/streamingfast/firehose-bitcoin/docs/main:sf.bitcoin.type.v1" + }, + "img": "https://pinax.network/assets/chains/bitcoin.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-21T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-21T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "bsc", + "index": 2, + "graph_id": "bsc", + "name": "BNB", + "alt_names": [ + "bsc", + "binance" + ], + "mainnet": "bsc", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/bsc.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } + }, + { + "id": "celo", + "index": 2, + "graph_id": "celo", + "name": "Celo", + "alt_names": [], + "mainnet": "celo", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/celo.svg", + "img_invert": "https://pinax.network/assets/chains/celo_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "chapel", + "index": 2, + "graph_id": "chapel", + "name": "Chapel", + "alt_names": [], + "mainnet": "bsc", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/bsc.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } + }, + { + "id": "chiado-cl", + "index": 10, + "graph_id": null, + "name": "Chiado Consensus Layer", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/gnosis.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "chiado", + "index": 10, + "graph_id": null, + "name": "Chiado", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/gnosis.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "cosmoshub", + "index": 4, + "graph_id": "cosmoshub-4", + "name": "Cosmos Hub", + "alt_names": [], + "mainnet": "cosmoshub", + "standard": "cosmos", + "block_type": { + "label": "sf.cosmos.type.v1.Block", + "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" + }, + "img": "https://pinax.network/assets/chains/cosmoshub.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "decimal", + "index": 3, + "graph_id": null, + "name": "Decimal", + "alt_names": [], + "mainnet": "decimal", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/decimal.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "eos", + "index": 4, + "graph_id": null, + "name": "EOS", + "alt_names": [], + "mainnet": "eos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/eos.svg", + "img_invert": "https://pinax.network/assets/chains/eos_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "eth-cl", + "index": 10, + "graph_id": null, + "name": "Ethereum Consensus Layer", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "eth", + "index": 1, + "graph_id": "mainnet", + "name": "Ethereum", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } + }, + { + "id": "fantom", + "index": 4, + "graph_id": "fantom", + "name": "Fantom", + "alt_names": [], + "mainnet": "fantom", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/fantom.svg", + "img_invert": "https://pinax.network/assets/chains/fantom_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "gnosis-cl", + "index": 10, + "graph_id": null, + "name": "Gnosis Consensus Layer", + "alt_names": [], + "mainnet": "gnosis", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/gnosis.svg", + "img_invert": "https://pinax.network/assets/chains/gnosis_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "gnosis", + "index": 4, + "graph_id": "gnosis", + "name": "Gnosis", + "alt_names": [], + "mainnet": "gnosis", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/gnosis.svg", + "img_invert": "https://pinax.network/assets/chains/gnosis_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "goerli-cl", + "index": 10, + "graph_id": null, + "name": "Goerli Consensus Layer", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": "2023-03-08T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": "2023-03-21T00:00:00.000Z" + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "goerli", + "index": 1, + "graph_id": "goerli", + "name": "Goerli", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-03-21T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-03-21T00:00:00.000Z" + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-03-21T00:00:00.000Z" + } + } + }, + { + "id": "holesky-cl", + "index": 10, + "graph_id": null, + "name": "Holesky Consensus Layer", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "holesky", + "index": 1, + "graph_id": null, + "name": "Holesky", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } + }, + { + "id": "jungle4", + "index": 4, + "graph_id": null, + "name": "Jungle4", + "alt_names": [], + "mainnet": "eos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/jungle4.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "juno", + "index": 4, + "graph_id": null, + "name": "Juno", + "alt_names": [], + "mainnet": "juno", + "standard": "cosmos", + "block_type": { + "label": "sf.cosmos.type.v1.Block", + "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" + }, + "img": "https://pinax.network/assets/chains/juno.svg", + "img_invert": "https://pinax.network/assets/chains/juno_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "kava", + "index": 4, + "graph_id": null, + "name": "Kava", + "alt_names": [], + "mainnet": "kava", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/kava.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "kylin", + "index": 4, + "graph_id": null, + "name": "Kylin", + "alt_names": [], + "mainnet": "eos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/kylin.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "moonbeam", + "index": 5, + "graph_id": "moonbeam", + "name": "Moonbeam", + "alt_names": [], + "mainnet": "moonbeam", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/moonbeam.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "mumbai", + "index": 3, + "graph_id": "mumbai", + "name": "Mumbai", + "alt_names": [], + "mainnet": "polygon", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/polygon.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-04-12T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-04-12T00:00:00.000Z" + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-04-12T00:00:00.000Z" + } + } + }, + { + "id": "near", + "index": 4, + "graph_id": "near-mainnet", + "name": "Near", + "alt_names": [], + "mainnet": "near", + "standard": "near", + "block_type": { + "label": "sf.near.type.v1.Block", + "url": "https://buf.build/streamingfast/firehose-near/docs/main:sf.near.type.v1" + }, + "img": "https://pinax.network/assets/chains/near.svg", + "img_invert": "https://pinax.network/assets/chains/near_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "neartest", + "index": 4, + "graph_id": "near-testnet", + "name": "Near-testnet", + "alt_names": [], + "mainnet": "near", + "standard": "near", + "block_type": { + "label": "sf.near.type.v1.Block", + "url": "https://buf.build/streamingfast/firehose-near/docs/main:sf.near.type.v1" + }, + "img": "https://pinax.network/assets/chains/near.svg", + "img_invert": "https://pinax.network/assets/chains/near_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "optimism", + "index": 4, + "graph_id": "optimism", + "name": "Optimism", + "alt_names": [], + "mainnet": "optimism", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/optimism.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2024-01-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-01-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "ore", + "index": 5, + "graph_id": null, + "name": "Ore", + "alt_names": [], + "mainnet": "ore", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/ore.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "orestage", + "index": 5, + "graph_id": null, + "name": "Ore Stage", + "alt_names": [], + "mainnet": "ore", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/ore.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "osmosis", + "index": 4, + "graph_id": "osmosis-1", + "name": "Osmosis", + "alt_names": [], + "mainnet": "osmosis", + "standard": "cosmos", + "block_type": { + "label": "sf.cosmos.type.v1.Block", + "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" + }, + "img": "https://pinax.network/assets/chains/osmosis.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "polygon", + "index": 3, + "graph_id": "matic", + "name": "Polygon", + "alt_names": [ + "matic" + ], + "mainnet": "polygon", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/polygon.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } + }, + { + "id": "scroll", + "index": 5, + "graph_id": "scroll", + "name": "Scroll", + "alt_names": [], + "mainnet": "scroll", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/scroll.svg", + "img_invert": "https://pinax.network/assets/chains/scroll_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "sepolia-cl", + "index": 10, + "graph_id": null, + "name": "Sepolia Consensus Layer", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "sepolia", + "index": 1, + "graph_id": "sepolia", + "name": "Sepolia", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } + }, + { + "id": "starknet", + "index": 4, + "graph_id": null, + "name": "Starknet", + "alt_names": [], + "mainnet": "starknet", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/starknet.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "telos", + "index": 4, + "graph_id": null, + "name": "Telos", + "alt_names": [], + "mainnet": "telos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/telos.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "telostest", + "index": 4, + "graph_id": null, + "name": "Telos Test", + "alt_names": [], + "mainnet": "telos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/telos.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "theta", + "index": 4, + "graph_id": "theta-testnet-001", + "name": "Theta", + "alt_names": [], + "mainnet": "cosmoshub", + "standard": "cosmos", + "block_type": { + "label": "sf.cosmos.type.v1.Block", + "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" + }, + "img": "https://pinax.network/assets/chains/cosmoshub.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "ux", + "index": 5, + "graph_id": null, + "name": "UX", + "alt_names": [], + "mainnet": "ux", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/ux.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "wax", + "index": 4, + "graph_id": null, + "name": "WAX", + "alt_names": [], + "mainnet": "wax", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/wax.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "waxtest", + "index": 4, + "graph_id": null, + "name": "WAX Test", + "alt_names": [], + "mainnet": "wax", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/wax.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + }, + { + "id": "zkatana", + "index": 5, + "graph_id": null, + "name": "Zkatana", + "alt_names": [], + "mainnet": "zkatana", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/zkatana.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } + } +] \ No newline at end of file diff --git a/package.json b/package.json index 70b5756..122939f 100644 --- a/package.json +++ b/package.json @@ -20,11 +20,16 @@ "format": "prettier --log-level warn --write \"./**/*.{js,jsx,ts,tsx}\"", "generate": "bun run generate:data && bun run generate:types", "generate:data": "bun run generate:data_index && bun run generate:data_json", - "generate:data_index": "bun ./scripts/generate/data_index.ts", - "generate:data_json": "bun ./scripts/generate/data_json.ts", + "generate:data_index": "bun ./scripts/generate/V2/data_index.ts", + "generate:data_json": "bun ./scripts/generate/V2/data_json.ts", "generate:types": "bun run generate:type_graphid && bun run generate:type_pinaxid && bun run format", - "generate:type_graphid": "bun ./scripts/generate/type_graphid.ts", - "generate:type_pinaxid": "bun ./scripts/generate/type_pinaxid.ts", + "generate:type_graphid": "bun ./scripts/generate/V2/type_graphid.ts", + "generate:type_pinaxid": "bun ./scripts/generate/V2/type_pinaxid.ts", + "generate_v1": "npm run generate_v1:data", + "generate_v1:data": "node ./scripts/generate/V1/data_json.js", + "generate_v1:types": "npm run generate_v1:type_graphid && npm run generate_v1:type_pinaxid && npm run format", + "generate_v1:type_graphid": "node ./scripts/generate/V1/type_graphid.js", + "generate_v1:type_pinaxid": "node ./scripts/generate/V1/type_pinaxid.js", "test": "echo \"Error: no test specified\" && exit 1", "prepare": "husky" }, diff --git a/scripts/generate/V1/data_json.js b/scripts/generate/V1/data_json.js new file mode 100644 index 0000000..9a83827 --- /dev/null +++ b/scripts/generate/V1/data_json.js @@ -0,0 +1,31 @@ +const fs = require('fs'); +const path = require('path'); + +// Define the directory containing the JSON files +const directoryPath = path.join(__dirname, '../../../src/data/chains/V1'); + +// Read the directory +fs.readdir(directoryPath, (err, files) => { + if (err) { + return console.error('Unable to scan directory: ' + err); + } + + let data = []; + + // Loop through all the files in the directory + files.forEach((file) => { + // Only process .json files + if (path.extname(file) === '.json') { + // Read the JSON file + const fileData = fs.readFileSync(path.join(directoryPath, file)); + // Parse the file data as JSON and add it to the array + data.push(JSON.parse(fileData)); + } + }); + + // Write the combined data to a new JSON file + fs.writeFileSync( + path.join('./dist/', 'data_legacy.json'), + JSON.stringify(data, null, 2), + ); +}); diff --git a/scripts/generate/V1/type_graphid.js b/scripts/generate/V1/type_graphid.js new file mode 100644 index 0000000..0d533f9 --- /dev/null +++ b/scripts/generate/V1/type_graphid.js @@ -0,0 +1,38 @@ +const fs = require('fs'); +const path = require('path'); + +const typesDir = path.join(__dirname, '../../types'); + +const graphTypesFile = path.join(typesDir, 'graph.types.ts'); + +console.log('Generating GraphId type...'); + +fetch('https://api.studio.thegraph.com/deploy', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + body: JSON.stringify({ + jsonrpc: '2.0', + method: 'chain_list', + id: 1, + }), +}) + .then((res) => res.json()) + .then((res) => { + let graphIds = res.result.studio; + let sortedGraphIds = graphIds.sort((a, b) => (a < b ? -1 : 1)); + + // Generate the GraphId type definition + const graphIdType = `// This file is auto-generated on pre-commit to avoid maintaining it.\n// Do not modify manually as it will be overwritten.\n// Last generation on ${new Date().toLocaleString()}.\nexport type GraphId = '${sortedGraphIds.join("' | '")}'`; + + // Write the GraphId type definition to the types directory + fs.writeFile(graphTypesFile, graphIdType, (err) => { + if (err) { + console.error('Error writing graph.types.ts file:', err); + return; + } + + console.log('✅ Generating GraphId type'); + }); + }); diff --git a/scripts/generate/V1/type_pinaxid.js b/scripts/generate/V1/type_pinaxid.js new file mode 100644 index 0000000..ef7acb5 --- /dev/null +++ b/scripts/generate/V1/type_pinaxid.js @@ -0,0 +1,37 @@ +const fs = require('fs'); +const path = require('path'); + +const chainsDir = path.join(__dirname, '../../data/chains'); +const typesDir = path.join(__dirname, '../../types'); + +const excludedFile = 'index.ts'; +const pinaxTypesFile = path.join(typesDir, 'pinax.types.ts'); + +console.log('Generating PinaxId type...'); + +// Scan the chains directory +fs.readdir(chainsDir, (err, files) => { + if (err) { + console.error('Error reading chains directory:', err); + return; + } + + // Filter out the excluded file + const filteredFiles = files.filter((file) => file !== excludedFile); + + // Extract the file names without the extension + const fileNames = filteredFiles.map((file) => path.parse(file).name); + + // Generate the PinaxId type definition + const pinaxIdType = `// This file is auto-generated on pre-commit to avoid maintaining it / circular dependencies.\n// Do not modify manually as it will be overwritten.\n// Last generation on ${new Date().toLocaleString()}.\nexport type PinaxId = '${fileNames.join("' | '")}'`; + + // Write the PinaxId type definition to the types directory + fs.writeFile(pinaxTypesFile, pinaxIdType, (err) => { + if (err) { + console.error('Error writing pinax.types.ts file:', err); + return; + } + + console.log('✅ Generating PinaxId type'); + }); +}); diff --git a/scripts/generate/data_index.ts b/scripts/generate/V2/data_index.ts similarity index 88% rename from scripts/generate/data_index.ts rename to scripts/generate/V2/data_index.ts index df4aaba..6ec5fd5 100644 --- a/scripts/generate/data_index.ts +++ b/scripts/generate/V2/data_index.ts @@ -1,10 +1,10 @@ import fs from 'fs'; import path from 'path'; -import { toCamelCase } from '../../src/utils/case'; +import { toCamelCase } from '../../../src/utils/case'; console.log('🕑 Generating data index...'); -const dataDir = path.join(__dirname, '../../src', 'data/chains'); +const dataDir = path.join(__dirname, '../../../src', 'data/chains/V2'); let indexContent = ''; fs.readdirSync(dataDir).forEach((mainnetDir) => { diff --git a/scripts/generate/data_json.ts b/scripts/generate/V2/data_json.ts similarity index 92% rename from scripts/generate/data_json.ts rename to scripts/generate/V2/data_json.ts index 1df9fcb..2f906b2 100644 --- a/scripts/generate/data_json.ts +++ b/scripts/generate/V2/data_json.ts @@ -1,8 +1,8 @@ import fs from 'fs'; import path from 'path'; import bun from 'bun'; -import * as chainData from '../../src/data/chains/index'; -import { toCamelCase } from '../../src/utils/case'; +import * as chainData from '../../../src/data/chains/V2/index'; +import { toCamelCase } from '../../../src/utils/case'; interface Icon { id: string; variants: string[]; @@ -48,7 +48,7 @@ const networks: Network[] = JSON.parse( const indexConfigPath = path.join( __dirname, - '../../src/configs/index.config.json', + '../../../src/configs/index.config.json', ); const indexConf: { [key: string]: string[] } = JSON.parse( @@ -106,7 +106,7 @@ Object.keys(indexConf).forEach((mainnet, mainnetIndex) => { data.push(mainnetData); }); -const distFolderPath = path.join(__dirname, '../../dist'); +const distFolderPath = path.join(__dirname, '../../../dist'); if (!fs.existsSync(distFolderPath)) { fs.mkdirSync(distFolderPath); } diff --git a/scripts/generate/type_graphid.ts b/scripts/generate/V2/type_graphid.ts similarity index 95% rename from scripts/generate/type_graphid.ts rename to scripts/generate/V2/type_graphid.ts index c346df6..460b474 100644 --- a/scripts/generate/type_graphid.ts +++ b/scripts/generate/V2/type_graphid.ts @@ -1,7 +1,7 @@ import fs from 'fs'; import path from 'path'; -const typesDir = path.join(__dirname, '../../src/types'); +const typesDir = path.join(__dirname, '../../../src/types'); const graphTypesFile = path.join(typesDir, 'graph.types.ts'); console.log('🕑 Generating GraphID type...'); diff --git a/scripts/generate/type_pinaxid.ts b/scripts/generate/V2/type_pinaxid.ts similarity index 92% rename from scripts/generate/type_pinaxid.ts rename to scripts/generate/V2/type_pinaxid.ts index ecd7115..3a8d14e 100644 --- a/scripts/generate/type_pinaxid.ts +++ b/scripts/generate/V2/type_pinaxid.ts @@ -1,8 +1,8 @@ import fs from 'fs'; import path from 'path'; -const chainsDir = path.join(__dirname, '../../src/data'); -const typesDir = path.join(__dirname, '../../src/types'); +const chainsDir = path.join(__dirname, '../../../src/data'); +const typesDir = path.join(__dirname, '../../../src/types'); const pinaxTypesFile = path.join(typesDir, 'pinax.types.ts'); diff --git a/src/data/chains/V1/alfajores.json b/src/data/chains/V1/alfajores.json new file mode 100644 index 0000000..4d7d155 --- /dev/null +++ b/src/data/chains/V1/alfajores.json @@ -0,0 +1,31 @@ +{ + "id": "alfajores", + "index": 4, + "graph_id": null, + "name": "Alfajores", + "alt_names": [], + "mainnet": "celo", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/celo.svg", + "img_invert": "https://pinax.network/assets/chains/celo_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/amoy.json b/src/data/chains/V1/amoy.json new file mode 100644 index 0000000..6a49256 --- /dev/null +++ b/src/data/chains/V1/amoy.json @@ -0,0 +1,30 @@ +{ + "id": "amoy", + "index": 4, + "graph_id": "amoy", + "name": "Amoy", + "alt_names": [], + "mainnet": "polygon", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/polygon.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2024-04-18T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-04-18T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2024-04-18T00:00:00.000Z", + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/arbgoerli.json b/src/data/chains/V1/arbgoerli.json new file mode 100644 index 0000000..1f24aa1 --- /dev/null +++ b/src/data/chains/V1/arbgoerli.json @@ -0,0 +1,30 @@ +{ + "id": "arbgoerli", + "index": 4, + "graph_id": "arbitrum-goerli", + "name": "Arbitrum Goerli", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/arbitrum.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/arbone.json b/src/data/chains/V1/arbone.json new file mode 100644 index 0000000..d314931 --- /dev/null +++ b/src/data/chains/V1/arbone.json @@ -0,0 +1,30 @@ +{ + "id": "arbone", + "index": 4, + "graph_id": "arbitrum-one", + "name": "Arbitrum One", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/arbitrum.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/arbsepolia.json b/src/data/chains/V1/arbsepolia.json new file mode 100644 index 0000000..b59fdf6 --- /dev/null +++ b/src/data/chains/V1/arbsepolia.json @@ -0,0 +1,30 @@ +{ + "id": "arbsepolia", + "index": 4, + "graph_id": "arbitrum-sepolia", + "name": "Arbitrum Sepolia", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/arbitrum.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2024-05-03T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-05-03T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2024-05-03T00:00:00.000Z", + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/arweave.json b/src/data/chains/V1/arweave.json new file mode 100644 index 0000000..0fa46ce --- /dev/null +++ b/src/data/chains/V1/arweave.json @@ -0,0 +1,31 @@ +{ + "id": "arweave", + "index": 4, + "graph_id": "arweave-mainnet", + "name": "Arweave", + "alt_names": [], + "mainnet": "arweave", + "standard": "erc20", + "block_type": { + "label": "sf.arweave.type.v1.Block", + "url": "https://buf.build/pinax/firehose-arweave/docs/main:sf.arweave.type.v1" + }, + "img": "https://pinax.network/assets/chains/arweave.svg", + "img_invert": "https://pinax.network/assets/chains/arweave_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-03-03T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/avalanche.json b/src/data/chains/V1/avalanche.json new file mode 100644 index 0000000..fb6b4ad --- /dev/null +++ b/src/data/chains/V1/avalanche.json @@ -0,0 +1,31 @@ +{ + "id": "avalanche", + "index": 3, + "graph_id": "avalanche", + "name": "Avalanche", + "alt_names": [], + "mainnet": "avalanche", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/avalanche.svg", + "img_invert": "https://pinax.network/assets/chains/avalanche_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/base.json b/src/data/chains/V1/base.json new file mode 100644 index 0000000..9b23a2c --- /dev/null +++ b/src/data/chains/V1/base.json @@ -0,0 +1,31 @@ +{ + "id": "base", + "index": 4, + "graph_id": "base", + "name": "Base", + "alt_names": [], + "mainnet": "base", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/base.svg", + "img_invert": "https://pinax.network/assets/chains/base_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2024-03-06T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-03-06T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/bitcoin.json b/src/data/chains/V1/bitcoin.json new file mode 100644 index 0000000..dbb7514 --- /dev/null +++ b/src/data/chains/V1/bitcoin.json @@ -0,0 +1,30 @@ +{ + "id": "bitcoin", + "index": 2, + "graph_id": null, + "name": "Bitcoin", + "alt_names": ["btc"], + "mainnet": "bitcoin", + "standard": "brc20", + "block_type": { + "label": "sf.bitcoin.type.v1.Block", + "url": "https://buf.build/streamingfast/firehose-bitcoin/docs/main:sf.bitcoin.type.v1" + }, + "img": "https://pinax.network/assets/chains/bitcoin.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-21T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-21T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/bsc.json b/src/data/chains/V1/bsc.json new file mode 100644 index 0000000..29da2d2 --- /dev/null +++ b/src/data/chains/V1/bsc.json @@ -0,0 +1,30 @@ +{ + "id": "bsc", + "index": 2, + "graph_id": "bsc", + "name": "BNB", + "alt_names": ["bsc", "binance"], + "mainnet": "bsc", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/bsc.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/celo.json b/src/data/chains/V1/celo.json new file mode 100644 index 0000000..33cba65 --- /dev/null +++ b/src/data/chains/V1/celo.json @@ -0,0 +1,31 @@ +{ + "id": "celo", + "index": 2, + "graph_id": "celo", + "name": "Celo", + "alt_names": [], + "mainnet": "celo", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/celo.svg", + "img_invert": "https://pinax.network/assets/chains/celo_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/chapel.json b/src/data/chains/V1/chapel.json new file mode 100644 index 0000000..ae9e352 --- /dev/null +++ b/src/data/chains/V1/chapel.json @@ -0,0 +1,30 @@ +{ + "id": "chapel", + "index": 2, + "graph_id": "chapel", + "name": "Chapel", + "alt_names": [], + "mainnet": "bsc", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/bsc.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/chiado-cl.json b/src/data/chains/V1/chiado-cl.json new file mode 100644 index 0000000..68ed350 --- /dev/null +++ b/src/data/chains/V1/chiado-cl.json @@ -0,0 +1,30 @@ +{ + "id": "chiado-cl", + "index": 10, + "graph_id": null, + "name": "Chiado Consensus Layer", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/gnosis.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/chiado.json b/src/data/chains/V1/chiado.json new file mode 100644 index 0000000..5166256 --- /dev/null +++ b/src/data/chains/V1/chiado.json @@ -0,0 +1,30 @@ +{ + "id": "chiado", + "index": 10, + "graph_id": null, + "name": "Chiado", + "alt_names": [], + "mainnet": "arbitrum", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/gnosis.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/cosmoshub.json b/src/data/chains/V1/cosmoshub.json new file mode 100644 index 0000000..810f921 --- /dev/null +++ b/src/data/chains/V1/cosmoshub.json @@ -0,0 +1,30 @@ +{ + "id": "cosmoshub", + "index": 4, + "graph_id": "cosmoshub-4", + "name": "Cosmos Hub", + "alt_names": [], + "mainnet": "cosmoshub", + "standard": "cosmos", + "block_type": { + "label": "sf.cosmos.type.v1.Block", + "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" + }, + "img": "https://pinax.network/assets/chains/cosmoshub.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/decimal.json b/src/data/chains/V1/decimal.json new file mode 100644 index 0000000..2aa25e4 --- /dev/null +++ b/src/data/chains/V1/decimal.json @@ -0,0 +1,30 @@ +{ + "id": "decimal", + "index": 3, + "graph_id": null, + "name": "Decimal", + "alt_names": [], + "mainnet": "decimal", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/decimal.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/eos.json b/src/data/chains/V1/eos.json new file mode 100644 index 0000000..3e1ac0f --- /dev/null +++ b/src/data/chains/V1/eos.json @@ -0,0 +1,31 @@ +{ + "id": "eos", + "index": 4, + "graph_id": null, + "name": "EOS", + "alt_names": [], + "mainnet": "eos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/eos.svg", + "img_invert": "https://pinax.network/assets/chains/eos_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/eth-cl.json b/src/data/chains/V1/eth-cl.json new file mode 100644 index 0000000..8bd94e8 --- /dev/null +++ b/src/data/chains/V1/eth-cl.json @@ -0,0 +1,31 @@ +{ + "id": "eth-cl", + "index": 10, + "graph_id": null, + "name": "Ethereum Consensus Layer", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/eth.json b/src/data/chains/V1/eth.json new file mode 100644 index 0000000..8851205 --- /dev/null +++ b/src/data/chains/V1/eth.json @@ -0,0 +1,31 @@ +{ + "id": "eth", + "index": 1, + "graph_id": "mainnet", + "name": "Ethereum", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/fantom.json b/src/data/chains/V1/fantom.json new file mode 100644 index 0000000..78087c9 --- /dev/null +++ b/src/data/chains/V1/fantom.json @@ -0,0 +1,31 @@ +{ + "id": "fantom", + "index": 4, + "graph_id": "fantom", + "name": "Fantom", + "alt_names": [], + "mainnet": "fantom", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/fantom.svg", + "img_invert": "https://pinax.network/assets/chains/fantom_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/gnosis-cl.json b/src/data/chains/V1/gnosis-cl.json new file mode 100644 index 0000000..c524750 --- /dev/null +++ b/src/data/chains/V1/gnosis-cl.json @@ -0,0 +1,31 @@ +{ + "id": "gnosis-cl", + "index": 10, + "graph_id": null, + "name": "Gnosis Consensus Layer", + "alt_names": [], + "mainnet": "gnosis", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/gnosis.svg", + "img_invert": "https://pinax.network/assets/chains/gnosis_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/gnosis.json b/src/data/chains/V1/gnosis.json new file mode 100644 index 0000000..ed5c220 --- /dev/null +++ b/src/data/chains/V1/gnosis.json @@ -0,0 +1,31 @@ +{ + "id": "gnosis", + "index": 4, + "graph_id": "gnosis", + "name": "Gnosis", + "alt_names": [], + "mainnet": "gnosis", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/gnosis.svg", + "img_invert": "https://pinax.network/assets/chains/gnosis_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/goerli-cl.json b/src/data/chains/V1/goerli-cl.json new file mode 100644 index 0000000..cddd318 --- /dev/null +++ b/src/data/chains/V1/goerli-cl.json @@ -0,0 +1,31 @@ +{ + "id": "goerli-cl", + "index": 10, + "graph_id": null, + "name": "Goerli Consensus Layer", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": "2023-03-08T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": "2023-03-21T00:00:00.000Z" + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/goerli.json b/src/data/chains/V1/goerli.json new file mode 100644 index 0000000..1234949 --- /dev/null +++ b/src/data/chains/V1/goerli.json @@ -0,0 +1,31 @@ +{ + "id": "goerli", + "index": 1, + "graph_id": "goerli", + "name": "Goerli", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-03-21T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-03-21T00:00:00.000Z" + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-03-21T00:00:00.000Z" + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/holesky-cl.json b/src/data/chains/V1/holesky-cl.json new file mode 100644 index 0000000..b247870 --- /dev/null +++ b/src/data/chains/V1/holesky-cl.json @@ -0,0 +1,31 @@ +{ + "id": "holesky-cl", + "index": 10, + "graph_id": null, + "name": "Holesky Consensus Layer", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/holesky.json b/src/data/chains/V1/holesky.json new file mode 100644 index 0000000..0535a78 --- /dev/null +++ b/src/data/chains/V1/holesky.json @@ -0,0 +1,31 @@ +{ + "id": "holesky", + "index": 1, + "graph_id": null, + "name": "Holesky", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/jungle4.json b/src/data/chains/V1/jungle4.json new file mode 100644 index 0000000..8665590 --- /dev/null +++ b/src/data/chains/V1/jungle4.json @@ -0,0 +1,30 @@ +{ + "id": "jungle4", + "index": 4, + "graph_id": null, + "name": "Jungle4", + "alt_names": [], + "mainnet": "eos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/jungle4.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/juno.json b/src/data/chains/V1/juno.json new file mode 100644 index 0000000..e43258e --- /dev/null +++ b/src/data/chains/V1/juno.json @@ -0,0 +1,31 @@ +{ + "id": "juno", + "index": 4, + "graph_id": null, + "name": "Juno", + "alt_names": [], + "mainnet": "juno", + "standard": "cosmos", + "block_type": { + "label": "sf.cosmos.type.v1.Block", + "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" + }, + "img": "https://pinax.network/assets/chains/juno.svg", + "img_invert": "https://pinax.network/assets/chains/juno_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/kava.json b/src/data/chains/V1/kava.json new file mode 100644 index 0000000..a97157a --- /dev/null +++ b/src/data/chains/V1/kava.json @@ -0,0 +1,30 @@ +{ + "id": "kava", + "index": 4, + "graph_id": null, + "name": "Kava", + "alt_names": [], + "mainnet": "kava", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/kava.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/kylin.json b/src/data/chains/V1/kylin.json new file mode 100644 index 0000000..011f912 --- /dev/null +++ b/src/data/chains/V1/kylin.json @@ -0,0 +1,30 @@ +{ + "id": "kylin", + "index": 4, + "graph_id": null, + "name": "Kylin", + "alt_names": [], + "mainnet": "eos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/kylin.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/moonbeam.json b/src/data/chains/V1/moonbeam.json new file mode 100644 index 0000000..503ddf1 --- /dev/null +++ b/src/data/chains/V1/moonbeam.json @@ -0,0 +1,30 @@ +{ + "id": "moonbeam", + "index": 5, + "graph_id": "moonbeam", + "name": "Moonbeam", + "alt_names": [], + "mainnet": "moonbeam", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/moonbeam.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/mumbai.json b/src/data/chains/V1/mumbai.json new file mode 100644 index 0000000..4cc6621 --- /dev/null +++ b/src/data/chains/V1/mumbai.json @@ -0,0 +1,30 @@ +{ + "id": "mumbai", + "index": 3, + "graph_id": "mumbai", + "name": "Mumbai", + "alt_names": [], + "mainnet": "polygon", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/polygon.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-04-12T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-04-12T00:00:00.000Z" + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-04-12T00:00:00.000Z" + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/near.json b/src/data/chains/V1/near.json new file mode 100644 index 0000000..5d32731 --- /dev/null +++ b/src/data/chains/V1/near.json @@ -0,0 +1,31 @@ +{ + "id": "near", + "index": 4, + "graph_id": "near-mainnet", + "name": "Near", + "alt_names": [], + "mainnet": "near", + "standard": "near", + "block_type": { + "label": "sf.near.type.v1.Block", + "url": "https://buf.build/streamingfast/firehose-near/docs/main:sf.near.type.v1" + }, + "img": "https://pinax.network/assets/chains/near.svg", + "img_invert": "https://pinax.network/assets/chains/near_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/neartest.json b/src/data/chains/V1/neartest.json new file mode 100644 index 0000000..e58146d --- /dev/null +++ b/src/data/chains/V1/neartest.json @@ -0,0 +1,31 @@ +{ + "id": "neartest", + "index": 4, + "graph_id": "near-testnet", + "name": "Near-testnet", + "alt_names": [], + "mainnet": "near", + "standard": "near", + "block_type": { + "label": "sf.near.type.v1.Block", + "url": "https://buf.build/streamingfast/firehose-near/docs/main:sf.near.type.v1" + }, + "img": "https://pinax.network/assets/chains/near.svg", + "img_invert": "https://pinax.network/assets/chains/near_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/optimism.json b/src/data/chains/V1/optimism.json new file mode 100644 index 0000000..f04de2a --- /dev/null +++ b/src/data/chains/V1/optimism.json @@ -0,0 +1,30 @@ +{ + "id": "optimism", + "index": 4, + "graph_id": "optimism", + "name": "Optimism", + "alt_names": [], + "mainnet": "optimism", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/optimism.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2024-01-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2024-01-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/ore.json b/src/data/chains/V1/ore.json new file mode 100644 index 0000000..434d98a --- /dev/null +++ b/src/data/chains/V1/ore.json @@ -0,0 +1,30 @@ +{ + "id": "ore", + "index": 5, + "graph_id": null, + "name": "Ore", + "alt_names": [], + "mainnet": "ore", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/ore.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/orestage.json b/src/data/chains/V1/orestage.json new file mode 100644 index 0000000..ab0cca6 --- /dev/null +++ b/src/data/chains/V1/orestage.json @@ -0,0 +1,30 @@ +{ + "id": "orestage", + "index": 5, + "graph_id": null, + "name": "Ore Stage", + "alt_names": [], + "mainnet": "ore", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/ore.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/osmosis.json b/src/data/chains/V1/osmosis.json new file mode 100644 index 0000000..a46a773 --- /dev/null +++ b/src/data/chains/V1/osmosis.json @@ -0,0 +1,30 @@ +{ + "id": "osmosis", + "index": 4, + "graph_id": "osmosis-1", + "name": "Osmosis", + "alt_names": [], + "mainnet": "osmosis", + "standard": "cosmos", + "block_type": { + "label": "sf.cosmos.type.v1.Block", + "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" + }, + "img": "https://pinax.network/assets/chains/osmosis.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/polygon.json b/src/data/chains/V1/polygon.json new file mode 100644 index 0000000..9bdef19 --- /dev/null +++ b/src/data/chains/V1/polygon.json @@ -0,0 +1,30 @@ +{ + "id": "polygon", + "index": 3, + "graph_id": "matic", + "name": "Polygon", + "alt_names": ["matic"], + "mainnet": "polygon", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/polygon.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/scroll.json b/src/data/chains/V1/scroll.json new file mode 100644 index 0000000..6cb1bf9 --- /dev/null +++ b/src/data/chains/V1/scroll.json @@ -0,0 +1,31 @@ +{ + "id": "scroll", + "index": 5, + "graph_id": "scroll", + "name": "Scroll", + "alt_names": [], + "mainnet": "scroll", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/scroll.svg", + "img_invert": "https://pinax.network/assets/chains/scroll_dark.svg", + "is_img_dt_invert": true, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/sepolia-cl.json b/src/data/chains/V1/sepolia-cl.json new file mode 100644 index 0000000..4a1d8fa --- /dev/null +++ b/src/data/chains/V1/sepolia-cl.json @@ -0,0 +1,31 @@ +{ + "id": "sepolia-cl", + "index": 10, + "graph_id": null, + "name": "Sepolia Consensus Layer", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-03-08T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/sepolia.json b/src/data/chains/V1/sepolia.json new file mode 100644 index 0000000..f8375e2 --- /dev/null +++ b/src/data/chains/V1/sepolia.json @@ -0,0 +1,31 @@ +{ + "id": "sepolia", + "index": 1, + "graph_id": "sepolia", + "name": "Sepolia", + "alt_names": [], + "mainnet": "eth", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/eth.svg", + "img_invert": "https://pinax.network/assets/chains/eth_dark.svg", + "is_img_dt_invert": true, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/starknet.json b/src/data/chains/V1/starknet.json new file mode 100644 index 0000000..2975585 --- /dev/null +++ b/src/data/chains/V1/starknet.json @@ -0,0 +1,30 @@ +{ + "id": "starknet", + "index": 4, + "graph_id": null, + "name": "Starknet", + "alt_names": [], + "mainnet": "starknet", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/starknet.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/telos.json b/src/data/chains/V1/telos.json new file mode 100644 index 0000000..100ad33 --- /dev/null +++ b/src/data/chains/V1/telos.json @@ -0,0 +1,30 @@ +{ + "id": "telos", + "index": 4, + "graph_id": null, + "name": "Telos", + "alt_names": [], + "mainnet": "telos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/telos.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/telostest.json b/src/data/chains/V1/telostest.json new file mode 100644 index 0000000..f928e92 --- /dev/null +++ b/src/data/chains/V1/telostest.json @@ -0,0 +1,30 @@ +{ + "id": "telostest", + "index": 4, + "graph_id": null, + "name": "Telos Test", + "alt_names": [], + "mainnet": "telos", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/telos.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/theta.json b/src/data/chains/V1/theta.json new file mode 100644 index 0000000..0b3cbb4 --- /dev/null +++ b/src/data/chains/V1/theta.json @@ -0,0 +1,30 @@ +{ + "id": "theta", + "index": 4, + "graph_id": "theta-testnet-001", + "name": "Theta", + "alt_names": [], + "mainnet": "cosmoshub", + "standard": "cosmos", + "block_type": { + "label": "sf.cosmos.type.v1.Block", + "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" + }, + "img": "https://pinax.network/assets/chains/cosmoshub.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/ux.json b/src/data/chains/V1/ux.json new file mode 100644 index 0000000..8a320c8 --- /dev/null +++ b/src/data/chains/V1/ux.json @@ -0,0 +1,30 @@ +{ + "id": "ux", + "index": 5, + "graph_id": null, + "name": "UX", + "alt_names": [], + "mainnet": "ux", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/ux.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": "2024-01-15T00:00:00.000Z" + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} diff --git a/src/data/chains/V1/wax.json b/src/data/chains/V1/wax.json new file mode 100644 index 0000000..93660ec --- /dev/null +++ b/src/data/chains/V1/wax.json @@ -0,0 +1,30 @@ +{ + "id": "wax", + "index": 4, + "graph_id": null, + "name": "WAX", + "alt_names": [], + "mainnet": "wax", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/wax.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/waxtest.json b/src/data/chains/V1/waxtest.json new file mode 100644 index 0000000..b69441b --- /dev/null +++ b/src/data/chains/V1/waxtest.json @@ -0,0 +1,30 @@ +{ + "id": "waxtest", + "index": 4, + "graph_id": null, + "name": "WAX Test", + "alt_names": [], + "mainnet": "wax", + "standard": "antelope", + "block_type": { + "label": "sf.antelope.type.v1.Block", + "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" + }, + "img": "https://pinax.network/assets/chains/wax.svg", + "is_img_dt_invert": false, + "is_testnet": true, + "supported_services": { + "firehose": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "substreams": { + "released_at": "2023-12-01T00:00:00.000Z", + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/V1/zkatana.json b/src/data/chains/V1/zkatana.json new file mode 100644 index 0000000..8e416bf --- /dev/null +++ b/src/data/chains/V1/zkatana.json @@ -0,0 +1,30 @@ +{ + "id": "zkatana", + "index": 5, + "graph_id": null, + "name": "Zkatana", + "alt_names": [], + "mainnet": "zkatana", + "standard": "erc20", + "block_type": { + "label": "sf.ethereum.type.v2.Block", + "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" + }, + "img": "https://pinax.network/assets/chains/zkatana.svg", + "is_img_dt_invert": false, + "is_testnet": false, + "supported_services": { + "firehose": { + "released_at": null, + "deprecated_at": null + }, + "substreams": { + "released_at": null, + "deprecated_at": null + }, + "rpc": { + "released_at": null, + "deprecated_at": null + } + } +} \ No newline at end of file diff --git a/src/data/chains/arbone/arbgoerli/meta.ts b/src/data/chains/V2/arbone/arbgoerli/meta.ts similarity index 100% rename from src/data/chains/arbone/arbgoerli/meta.ts rename to src/data/chains/V2/arbone/arbgoerli/meta.ts diff --git a/src/data/chains/arbone/arbsepolia/meta.ts b/src/data/chains/V2/arbone/arbsepolia/meta.ts similarity index 100% rename from src/data/chains/arbone/arbsepolia/meta.ts rename to src/data/chains/V2/arbone/arbsepolia/meta.ts diff --git a/src/data/chains/arbone/chiado-cl/meta.ts b/src/data/chains/V2/arbone/chiado-cl/meta.ts similarity index 100% rename from src/data/chains/arbone/chiado-cl/meta.ts rename to src/data/chains/V2/arbone/chiado-cl/meta.ts diff --git a/src/data/chains/arbone/chiado/meta.ts b/src/data/chains/V2/arbone/chiado/meta.ts similarity index 100% rename from src/data/chains/arbone/chiado/meta.ts rename to src/data/chains/V2/arbone/chiado/meta.ts diff --git a/src/data/chains/arbone/meta.ts b/src/data/chains/V2/arbone/meta.ts similarity index 100% rename from src/data/chains/arbone/meta.ts rename to src/data/chains/V2/arbone/meta.ts diff --git a/src/data/chains/arweave/meta.ts b/src/data/chains/V2/arweave/meta.ts similarity index 100% rename from src/data/chains/arweave/meta.ts rename to src/data/chains/V2/arweave/meta.ts diff --git a/src/data/chains/avalanche/meta.ts b/src/data/chains/V2/avalanche/meta.ts similarity index 100% rename from src/data/chains/avalanche/meta.ts rename to src/data/chains/V2/avalanche/meta.ts diff --git a/src/data/chains/base/meta.ts b/src/data/chains/V2/base/meta.ts similarity index 100% rename from src/data/chains/base/meta.ts rename to src/data/chains/V2/base/meta.ts diff --git a/src/data/chains/bitcoin/meta.ts b/src/data/chains/V2/bitcoin/meta.ts similarity index 100% rename from src/data/chains/bitcoin/meta.ts rename to src/data/chains/V2/bitcoin/meta.ts diff --git a/src/data/chains/bsc/chapel/meta.ts b/src/data/chains/V2/bsc/chapel/meta.ts similarity index 100% rename from src/data/chains/bsc/chapel/meta.ts rename to src/data/chains/V2/bsc/chapel/meta.ts diff --git a/src/data/chains/bsc/meta.ts b/src/data/chains/V2/bsc/meta.ts similarity index 100% rename from src/data/chains/bsc/meta.ts rename to src/data/chains/V2/bsc/meta.ts diff --git a/src/data/chains/celo/alfajores/meta.ts b/src/data/chains/V2/celo/alfajores/meta.ts similarity index 100% rename from src/data/chains/celo/alfajores/meta.ts rename to src/data/chains/V2/celo/alfajores/meta.ts diff --git a/src/data/chains/celo/meta.ts b/src/data/chains/V2/celo/meta.ts similarity index 100% rename from src/data/chains/celo/meta.ts rename to src/data/chains/V2/celo/meta.ts diff --git a/src/data/chains/cosmoshub/juno/meta.ts b/src/data/chains/V2/cosmoshub/juno/meta.ts similarity index 100% rename from src/data/chains/cosmoshub/juno/meta.ts rename to src/data/chains/V2/cosmoshub/juno/meta.ts diff --git a/src/data/chains/cosmoshub/meta.ts b/src/data/chains/V2/cosmoshub/meta.ts similarity index 100% rename from src/data/chains/cosmoshub/meta.ts rename to src/data/chains/V2/cosmoshub/meta.ts diff --git a/src/data/chains/cosmoshub/theta/meta.ts b/src/data/chains/V2/cosmoshub/theta/meta.ts similarity index 100% rename from src/data/chains/cosmoshub/theta/meta.ts rename to src/data/chains/V2/cosmoshub/theta/meta.ts diff --git a/src/data/chains/decimal/meta.ts b/src/data/chains/V2/decimal/meta.ts similarity index 100% rename from src/data/chains/decimal/meta.ts rename to src/data/chains/V2/decimal/meta.ts diff --git a/src/data/chains/eos/jungle4/meta.ts b/src/data/chains/V2/eos/jungle4/meta.ts similarity index 100% rename from src/data/chains/eos/jungle4/meta.ts rename to src/data/chains/V2/eos/jungle4/meta.ts diff --git a/src/data/chains/eos/kylin/meta.ts b/src/data/chains/V2/eos/kylin/meta.ts similarity index 100% rename from src/data/chains/eos/kylin/meta.ts rename to src/data/chains/V2/eos/kylin/meta.ts diff --git a/src/data/chains/eos/meta.ts b/src/data/chains/V2/eos/meta.ts similarity index 100% rename from src/data/chains/eos/meta.ts rename to src/data/chains/V2/eos/meta.ts diff --git a/src/data/chains/eth/eth-cl/meta.ts b/src/data/chains/V2/eth/eth-cl/meta.ts similarity index 100% rename from src/data/chains/eth/eth-cl/meta.ts rename to src/data/chains/V2/eth/eth-cl/meta.ts diff --git a/src/data/chains/eth/goerli-cl/meta.ts b/src/data/chains/V2/eth/goerli-cl/meta.ts similarity index 100% rename from src/data/chains/eth/goerli-cl/meta.ts rename to src/data/chains/V2/eth/goerli-cl/meta.ts diff --git a/src/data/chains/eth/goerli/meta.ts b/src/data/chains/V2/eth/goerli/meta.ts similarity index 100% rename from src/data/chains/eth/goerli/meta.ts rename to src/data/chains/V2/eth/goerli/meta.ts diff --git a/src/data/chains/eth/holesky-cl/meta.ts b/src/data/chains/V2/eth/holesky-cl/meta.ts similarity index 100% rename from src/data/chains/eth/holesky-cl/meta.ts rename to src/data/chains/V2/eth/holesky-cl/meta.ts diff --git a/src/data/chains/eth/holesky/meta.ts b/src/data/chains/V2/eth/holesky/meta.ts similarity index 100% rename from src/data/chains/eth/holesky/meta.ts rename to src/data/chains/V2/eth/holesky/meta.ts diff --git a/src/data/chains/eth/meta.ts b/src/data/chains/V2/eth/meta.ts similarity index 100% rename from src/data/chains/eth/meta.ts rename to src/data/chains/V2/eth/meta.ts diff --git a/src/data/chains/eth/sepolia-cl/meta.ts b/src/data/chains/V2/eth/sepolia-cl/meta.ts similarity index 100% rename from src/data/chains/eth/sepolia-cl/meta.ts rename to src/data/chains/V2/eth/sepolia-cl/meta.ts diff --git a/src/data/chains/eth/sepolia/meta.ts b/src/data/chains/V2/eth/sepolia/meta.ts similarity index 100% rename from src/data/chains/eth/sepolia/meta.ts rename to src/data/chains/V2/eth/sepolia/meta.ts diff --git a/src/data/chains/fantom/meta.ts b/src/data/chains/V2/fantom/meta.ts similarity index 100% rename from src/data/chains/fantom/meta.ts rename to src/data/chains/V2/fantom/meta.ts diff --git a/src/data/chains/gnosis/gnosis-cl/meta.ts b/src/data/chains/V2/gnosis/gnosis-cl/meta.ts similarity index 100% rename from src/data/chains/gnosis/gnosis-cl/meta.ts rename to src/data/chains/V2/gnosis/gnosis-cl/meta.ts diff --git a/src/data/chains/gnosis/meta.ts b/src/data/chains/V2/gnosis/meta.ts similarity index 100% rename from src/data/chains/gnosis/meta.ts rename to src/data/chains/V2/gnosis/meta.ts diff --git a/src/data/chains/V2/index.ts b/src/data/chains/V2/index.ts new file mode 100644 index 0000000..a95105b --- /dev/null +++ b/src/data/chains/V2/index.ts @@ -0,0 +1,45 @@ +export { default as arbone } from './arbone/meta'; +export { default as arbgoerli } from './arbone/arbgoerli/meta'; +export { default as arbsepolia } from './arbone/arbsepolia/meta'; +export { default as chiado } from './arbone/chiado/meta'; +export { default as chiadoCl } from './arbone/chiado-cl/meta'; +export { default as arweave } from './arweave/meta'; +export { default as avalanche } from './avalanche/meta'; +export { default as base } from './base/meta'; +export { default as bitcoin } from './bitcoin/meta'; +export { default as bsc } from './bsc/meta'; +export { default as chapel } from './bsc/chapel/meta'; +export { default as celo } from './celo/meta'; +export { default as alfajores } from './celo/alfajores/meta'; +export { default as cosmoshub } from './cosmoshub/meta'; +export { default as juno } from './cosmoshub/juno/meta'; +export { default as theta } from './cosmoshub/theta/meta'; +export { default as decimal } from './decimal/meta'; +export { default as eos } from './eos/meta'; +export { default as jungle4 } from './eos/jungle4/meta'; +export { default as kylin } from './eos/kylin/meta'; +export { default as eth } from './eth/meta'; +export { default as ethCl } from './eth/eth-cl/meta'; +export { default as goerli } from './eth/goerli/meta'; +export { default as goerliCl } from './eth/goerli-cl/meta'; +export { default as holesky } from './eth/holesky/meta'; +export { default as holeskyCl } from './eth/holesky-cl/meta'; +export { default as sepolia } from './eth/sepolia/meta'; +export { default as sepoliaCl } from './eth/sepolia-cl/meta'; +export { default as fantom } from './fantom/meta'; +export { default as gnosis } from './gnosis/meta'; +export { default as gnosisCl } from './gnosis/gnosis-cl/meta'; +export { default as kava } from './kava/meta'; +export { default as moonbeam } from './moonbeam/meta'; +export { default as near } from './near/meta'; +export { default as neartest } from './near/neartest/meta'; +export { default as optimism } from './optimism/meta'; +export { default as osmosis } from './osmosis/meta'; +export { default as polygon } from './polygon/meta'; +export { default as mumbai } from './polygon/mumbai/meta'; +export { default as scroll } from './scroll/meta'; +export { default as starknet } from './starknet/meta'; +export { default as telos } from './telos/meta'; +export { default as telostest } from './telos/telostest/meta'; +export { default as wax } from './wax/meta'; +export { default as waxtest } from './wax/waxtest/meta'; diff --git a/src/data/chains/kava/meta.ts b/src/data/chains/V2/kava/meta.ts similarity index 100% rename from src/data/chains/kava/meta.ts rename to src/data/chains/V2/kava/meta.ts diff --git a/src/data/chains/moonbeam/meta.ts b/src/data/chains/V2/moonbeam/meta.ts similarity index 100% rename from src/data/chains/moonbeam/meta.ts rename to src/data/chains/V2/moonbeam/meta.ts diff --git a/src/data/chains/near/meta.ts b/src/data/chains/V2/near/meta.ts similarity index 100% rename from src/data/chains/near/meta.ts rename to src/data/chains/V2/near/meta.ts diff --git a/src/data/chains/near/neartest/meta.ts b/src/data/chains/V2/near/neartest/meta.ts similarity index 100% rename from src/data/chains/near/neartest/meta.ts rename to src/data/chains/V2/near/neartest/meta.ts diff --git a/src/data/chains/optimism/meta.ts b/src/data/chains/V2/optimism/meta.ts similarity index 100% rename from src/data/chains/optimism/meta.ts rename to src/data/chains/V2/optimism/meta.ts diff --git a/src/data/chains/osmosis/meta.ts b/src/data/chains/V2/osmosis/meta.ts similarity index 100% rename from src/data/chains/osmosis/meta.ts rename to src/data/chains/V2/osmosis/meta.ts diff --git a/src/data/chains/polygon/meta.ts b/src/data/chains/V2/polygon/meta.ts similarity index 100% rename from src/data/chains/polygon/meta.ts rename to src/data/chains/V2/polygon/meta.ts diff --git a/src/data/chains/polygon/mumbai/meta.ts b/src/data/chains/V2/polygon/mumbai/meta.ts similarity index 100% rename from src/data/chains/polygon/mumbai/meta.ts rename to src/data/chains/V2/polygon/mumbai/meta.ts diff --git a/src/data/chains/scroll/meta.ts b/src/data/chains/V2/scroll/meta.ts similarity index 100% rename from src/data/chains/scroll/meta.ts rename to src/data/chains/V2/scroll/meta.ts diff --git a/src/data/chains/starknet/meta.ts b/src/data/chains/V2/starknet/meta.ts similarity index 100% rename from src/data/chains/starknet/meta.ts rename to src/data/chains/V2/starknet/meta.ts diff --git a/src/data/chains/telos/meta.ts b/src/data/chains/V2/telos/meta.ts similarity index 100% rename from src/data/chains/telos/meta.ts rename to src/data/chains/V2/telos/meta.ts diff --git a/src/data/chains/telos/telostest/meta.ts b/src/data/chains/V2/telos/telostest/meta.ts similarity index 100% rename from src/data/chains/telos/telostest/meta.ts rename to src/data/chains/V2/telos/telostest/meta.ts diff --git a/src/data/chains/wax/meta.ts b/src/data/chains/V2/wax/meta.ts similarity index 100% rename from src/data/chains/wax/meta.ts rename to src/data/chains/V2/wax/meta.ts diff --git a/src/data/chains/wax/waxtest/meta.ts b/src/data/chains/V2/wax/waxtest/meta.ts similarity index 100% rename from src/data/chains/wax/waxtest/meta.ts rename to src/data/chains/V2/wax/waxtest/meta.ts diff --git a/src/data/chains/index.ts b/src/data/chains/index.ts index a95105b..47f1bab 100644 --- a/src/data/chains/index.ts +++ b/src/data/chains/index.ts @@ -1,45 +1,23 @@ -export { default as arbone } from './arbone/meta'; -export { default as arbgoerli } from './arbone/arbgoerli/meta'; -export { default as arbsepolia } from './arbone/arbsepolia/meta'; -export { default as chiado } from './arbone/chiado/meta'; -export { default as chiadoCl } from './arbone/chiado-cl/meta'; -export { default as arweave } from './arweave/meta'; -export { default as avalanche } from './avalanche/meta'; -export { default as base } from './base/meta'; -export { default as bitcoin } from './bitcoin/meta'; -export { default as bsc } from './bsc/meta'; -export { default as chapel } from './bsc/chapel/meta'; -export { default as celo } from './celo/meta'; -export { default as alfajores } from './celo/alfajores/meta'; -export { default as cosmoshub } from './cosmoshub/meta'; -export { default as juno } from './cosmoshub/juno/meta'; -export { default as theta } from './cosmoshub/theta/meta'; -export { default as decimal } from './decimal/meta'; -export { default as eos } from './eos/meta'; -export { default as jungle4 } from './eos/jungle4/meta'; -export { default as kylin } from './eos/kylin/meta'; -export { default as eth } from './eth/meta'; -export { default as ethCl } from './eth/eth-cl/meta'; -export { default as goerli } from './eth/goerli/meta'; -export { default as goerliCl } from './eth/goerli-cl/meta'; -export { default as holesky } from './eth/holesky/meta'; -export { default as holeskyCl } from './eth/holesky-cl/meta'; -export { default as sepolia } from './eth/sepolia/meta'; -export { default as sepoliaCl } from './eth/sepolia-cl/meta'; -export { default as fantom } from './fantom/meta'; -export { default as gnosis } from './gnosis/meta'; -export { default as gnosisCl } from './gnosis/gnosis-cl/meta'; -export { default as kava } from './kava/meta'; -export { default as moonbeam } from './moonbeam/meta'; -export { default as near } from './near/meta'; -export { default as neartest } from './near/neartest/meta'; -export { default as optimism } from './optimism/meta'; -export { default as osmosis } from './osmosis/meta'; -export { default as polygon } from './polygon/meta'; -export { default as mumbai } from './polygon/mumbai/meta'; -export { default as scroll } from './scroll/meta'; -export { default as starknet } from './starknet/meta'; -export { default as telos } from './telos/meta'; -export { default as telostest } from './telos/telostest/meta'; -export { default as wax } from './wax/meta'; -export { default as waxtest } from './wax/waxtest/meta'; +export { default as arbone } from './V2/arbone/meta'; +export { default as arweave } from './V2/arweave/meta'; +export { default as avalanche } from './V2/avalanche/meta'; +export { default as base } from './V2/base/meta'; +export { default as bitcoin } from './V2/bitcoin/meta'; +export { default as bsc } from './V2/bsc/meta'; +export { default as celo } from './V2/celo/meta'; +export { default as cosmoshub } from './V2/cosmoshub/meta'; +export { default as decimal } from './V2/decimal/meta'; +export { default as eos } from './V2/eos/meta'; +export { default as eth } from './V2/eth/meta'; +export { default as fantom } from './V2/fantom/meta'; +export { default as gnosis } from './V2/gnosis/meta'; +export { default as kava } from './V2/kava/meta'; +export { default as moonbeam } from './V2/moonbeam/meta'; +export { default as near } from './V2/near/meta'; +export { default as optimism } from './V2/optimism/meta'; +export { default as osmosis } from './V2/osmosis/meta'; +export { default as polygon } from './V2/polygon/meta'; +export { default as scroll } from './V2/scroll/meta'; +export { default as starknet } from './V2/starknet/meta'; +export { default as telos } from './V2/telos/meta'; +export { default as wax } from './V2/wax/meta'; diff --git a/src/types/graph.types.ts b/src/types/graph.types.ts index fcb0671..81f5fee 100644 --- a/src/types/graph.types.ts +++ b/src/types/graph.types.ts @@ -1,12 +1,11 @@ // This file is auto-generated on pre-commit to avoid maintaining it. // Do not modify manually as it will be overwritten. -// Last generation on 4/12/2024, 11:46:42 AM. +// Last generation on 5/7/2024, 4:33:43 PM. export type GraphID = | 'arbitrum-one' | 'arbitrum-sepolia' | 'arweave-mainnet' | 'astar-zkevm-mainnet' - | 'astar-zkevm-sepolia' | 'aurora' | 'aurora-testnet' | 'avalanche' @@ -28,16 +27,19 @@ export type GraphID = | 'fuji' | 'fuse' | 'gnosis' + | 'gnosis-chiado' | 'harmony' | 'holesky' | 'linea' | 'linea-goerli' + | 'linea-sepolia' | 'mainnet' | 'matic' | 'mbase' + | 'mode-mainnet' + | 'mode-sepolia' | 'moonbeam' | 'moonriver' - | 'mumbai' | 'near-mainnet' | 'near-testnet' | 'optimism' diff --git a/src/types/pinax.types.ts b/src/types/pinax.types.ts index 8f4cb4c..4989558 100644 --- a/src/types/pinax.types.ts +++ b/src/types/pinax.types.ts @@ -1,6 +1,6 @@ // This file is auto-generated on pre-commit to avoid maintaining it / circular dependencies. // Do not modify manually as it will be overwritten. -// Last generation on 4/12/2024, 11:46:42 AM. +// Last generation on 5/7/2024, 4:33:43 PM. export type PinaxID = | 'arbgoerli' | 'arbsepolia'