From 88ae2dcb25482c671e154410cbfd724b20a05dda Mon Sep 17 00:00:00 2001 From: Yevhen Haievyi Date: Mon, 18 Nov 2024 21:40:42 +0200 Subject: [PATCH] 2.0.72: ltc, ronin, opbnb, bobabnb, starksepolia, scrollsepolia --- .../boba/{testnets => evms}/bobabnb/meta.ts | 5 +++-- .../V2/bsc/{testnets => evms}/opbnb/meta.ts | 5 +++-- data/chains/V2/chains.json | 19 ++++++++++++------- data/chains/V2/eos/eos.dark.svg | 14 ++++++++++++-- data/chains/V2/eos/eos.light.svg | 14 ++++++++++++-- data/chains/V2/eos/meta.ts | 2 +- data/chains/V2/index.ts | 6 +++--- .../V2/scroll/testnets/scrsepolia/meta.ts | 2 +- data/index.config.ts | 2 +- package.json | 2 +- scripts/generate/V2/copy_token_icons.ts | 3 ++- types/graph.types.ts | 2 +- types/pinax.types.ts | 6 +++--- 13 files changed, 55 insertions(+), 27 deletions(-) rename data/chains/V2/boba/{testnets => evms}/bobabnb/meta.ts (88%) rename data/chains/V2/bsc/{testnets => evms}/opbnb/meta.ts (87%) diff --git a/data/chains/V2/boba/testnets/bobabnb/meta.ts b/data/chains/V2/boba/evms/bobabnb/meta.ts similarity index 88% rename from data/chains/V2/boba/testnets/bobabnb/meta.ts rename to data/chains/V2/boba/evms/bobabnb/meta.ts index 3159928..4752229 100644 --- a/data/chains/V2/boba/testnets/bobabnb/meta.ts +++ b/data/chains/V2/boba/evms/bobabnb/meta.ts @@ -1,11 +1,12 @@ -import { ___InternalTestnet } from '../../../../../../types/chain.types'; +import { ___InternalEVM } from '../../../../../../types'; -const meta: ___InternalTestnet = { +const meta: ___InternalEVM = { id: 'bobabnb', graph_id: 'boba-bnb', name: 'BobaBNB', alt_names: [], standard: 'erc20', + is_evm: true, is_detailed_blocks: false, block_type: { label: 'sf.ethereum.type.v2.Block', diff --git a/data/chains/V2/bsc/testnets/opbnb/meta.ts b/data/chains/V2/bsc/evms/opbnb/meta.ts similarity index 87% rename from data/chains/V2/bsc/testnets/opbnb/meta.ts rename to data/chains/V2/bsc/evms/opbnb/meta.ts index 9356a42..33cbe89 100644 --- a/data/chains/V2/bsc/testnets/opbnb/meta.ts +++ b/data/chains/V2/bsc/evms/opbnb/meta.ts @@ -1,11 +1,12 @@ -import { ___InternalTestnet } from '../../../../../../types/chain.types'; +import { ___InternalEVM } from '../../../../../../types/chain.types'; -const meta: ___InternalTestnet = { +const meta: ___InternalEVM = { id: 'opbnb', graph_id: null, name: 'opBNB', alt_names: [], standard: 'erc20', + is_evm: true, is_detailed_blocks: false, block_type: { label: 'sf.ethereum.type.v2.Block', diff --git a/data/chains/V2/chains.json b/data/chains/V2/chains.json index 01e40bf..756ec88 100644 --- a/data/chains/V2/chains.json +++ b/data/chains/V2/chains.json @@ -316,7 +316,7 @@ "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" }, "icon": { - "id": "networks/polygon", + "id": "networks/polygon-pos", "brand_theme": "both", "variants": [ "branded", @@ -585,13 +585,16 @@ } }, "index": 15 - }, + } + ], + "evms": [ { "id": "opbnb", "graph_id": null, "name": "opBNB", "alt_names": [], "standard": "erc20", + "is_evm": true, "is_detailed_blocks": false, "block_type": { "label": "sf.ethereum.type.v2.Block", @@ -1789,7 +1792,7 @@ { "id": "scrsepolia", "graph_id": "scroll-sepolia", - "name": "BobaBNB", + "name": "Scroll Sepolia", "alt_names": [], "standard": "erc20", "is_detailed_blocks": false, @@ -1918,7 +1921,7 @@ "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" }, "icon": { - "id": "tokens/eos", + "id": "tokens/neweos", "brand_theme": "light", "variants": [ "mono" @@ -2472,13 +2475,17 @@ } }, "index": 61 - }, + } + ], + "consensus": [], + "evms": [ { "id": "bobabnb", "graph_id": "boba-bnb", "name": "BobaBNB", "alt_names": [], "standard": "erc20", + "is_evm": true, "is_detailed_blocks": false, "block_type": { "label": "sf.ethereum.type.v2.Block", @@ -2509,8 +2516,6 @@ "index": 62 } ], - "consensus": [], - "evms": [], "metadata": { "layer": "L2", "website": "https://boba.network/" diff --git a/data/chains/V2/eos/eos.dark.svg b/data/chains/V2/eos/eos.dark.svg index d3a8188..04d2ffd 100644 --- a/data/chains/V2/eos/eos.dark.svg +++ b/data/chains/V2/eos/eos.dark.svg @@ -1,3 +1,13 @@ - - + + + + + + + + + + + + diff --git a/data/chains/V2/eos/eos.light.svg b/data/chains/V2/eos/eos.light.svg index 4ae89b2..8323f75 100644 --- a/data/chains/V2/eos/eos.light.svg +++ b/data/chains/V2/eos/eos.light.svg @@ -1,3 +1,13 @@ - - + + + + + + + + + + + + diff --git a/data/chains/V2/eos/meta.ts b/data/chains/V2/eos/meta.ts index 4dc8baa..e5811e2 100644 --- a/data/chains/V2/eos/meta.ts +++ b/data/chains/V2/eos/meta.ts @@ -12,7 +12,7 @@ const meta: ___InternalChain = { url: 'https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1', }, icon: { - id: 'tokens/eos', + id: 'tokens/neweos', brand_theme: 'light', variants: ['mono'], }, diff --git a/data/chains/V2/index.ts b/data/chains/V2/index.ts index f722e0f..e7b70f2 100644 --- a/data/chains/V2/index.ts +++ b/data/chains/V2/index.ts @@ -1,6 +1,6 @@ // This file is auto-generated on pre-commit to avoid maintaining it. // Do not modify manually as it will be overwritten. -// Last generation on 11/18/2024, 8:50:25 PM. +// Last generation on 11/18/2024, 9:31:51 PM. export { default as celo } from './celo/meta'; export { default as alfajores } from './celo/testnets/alfajores/meta'; @@ -25,8 +25,8 @@ export { default as scrsepolia } from './scroll/testnets/scrsepolia/meta'; export { default as mode } from './mode/meta'; export { default as fantom } from './fantom/meta'; export { default as boba } from './boba/meta'; -export { default as bobabnb } from './boba/testnets/bobabnb/meta'; export { default as bobasepolia } from './boba/testnets/bobasepolia/meta'; +export { default as bobabnb } from './boba/evms/bobabnb/meta'; export { default as fuse } from './fuse/meta'; export { default as cosmoshub } from './cosmoshub/meta'; export { default as theta } from './cosmoshub/testnets/theta/meta'; @@ -40,8 +40,8 @@ export { default as amoy } from './polygon/testnets/amoy/meta'; export { default as polygonzk } from './polygon/evms/polygonzk/meta'; export { default as cardona } from './polygon/evms/cardona/meta'; export { default as bsc } from './bsc/meta'; -export { default as opbnb } from './bsc/testnets/opbnb/meta'; export { default as chapel } from './bsc/testnets/chapel/meta'; +export { default as opbnb } from './bsc/evms/opbnb/meta'; export { default as xai } from './xai/meta'; export { default as osmosis } from './osmosis/meta'; export { default as bitcoin } from './bitcoin/meta'; diff --git a/data/chains/V2/scroll/testnets/scrsepolia/meta.ts b/data/chains/V2/scroll/testnets/scrsepolia/meta.ts index 5538dd1..1c67382 100644 --- a/data/chains/V2/scroll/testnets/scrsepolia/meta.ts +++ b/data/chains/V2/scroll/testnets/scrsepolia/meta.ts @@ -3,7 +3,7 @@ import { ___InternalTestnet } from '../../../../../../types/chain.types'; const meta: ___InternalTestnet = { id: 'scrsepolia', graph_id: 'scroll-sepolia', - name: 'BobaBNB', + name: 'Scroll Sepolia', alt_names: [], standard: 'erc20', is_detailed_blocks: false, diff --git a/data/index.config.ts b/data/index.config.ts index 6550086..76be0e2 100644 --- a/data/index.config.ts +++ b/data/index.config.ts @@ -2,7 +2,7 @@ // Chains under ordered were manually placed, to manage the z-index (priority order) of chains. // Chains under missing are generated from available data, make sure to order them. // Include deprecated or future chains. -// Last generation on 11/18/2024, 8:50:25 PM. +// Last generation on 11/18/2024, 9:31:51 PM. export default { ordered: { diff --git a/package.json b/package.json index db71f75..3485c15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pinax/chains", - "version": "2.0.68", + "version": "2.0.72", "description": "Single-source-of-truth for the metadata of chains supported by Pinax.", "keywords": [ "chains", diff --git a/scripts/generate/V2/copy_token_icons.ts b/scripts/generate/V2/copy_token_icons.ts index caa00a7..b4d31a5 100644 --- a/scripts/generate/V2/copy_token_icons.ts +++ b/scripts/generate/V2/copy_token_icons.ts @@ -37,6 +37,8 @@ const chains = JSON.parse( const tiUnavailableIcons = [ // Those icons are not available in Token Icons 'networks/ore', + 'networks/ux', + 'tokens/neweos', ]; // Token Icon Exceptions, where metadata ID @@ -44,7 +46,6 @@ const tiUnavailableIcons = [ const tiExceptions = [ ['networks/optimistic-ethereum', 'optimism'], ['networks/binance-smart-chain', 'binance-smart-chain'], // Don't split at hyphen for bsc - ['networks/polygon-pos', 'polygon'], ['networks/zora-network', 'zora'], ['networks/x-layer', 'x-layer'], // Don't split at hyphen for x-layer ]; diff --git a/types/graph.types.ts b/types/graph.types.ts index 48c1814..aae5a01 100644 --- a/types/graph.types.ts +++ b/types/graph.types.ts @@ -1,6 +1,6 @@ // This file is auto-generated on pre-commit to avoid maintaining it. // Do not modify manually as it will be overwritten. -// Last generation on 11/18/2024, 8:50:25 PM. +// Last generation on 11/18/2024, 9:31:51 PM. export type GraphID = | 'arbitrum-nova' | 'arbitrum-one' diff --git a/types/pinax.types.ts b/types/pinax.types.ts index a6e783d..18ffa80 100644 --- a/types/pinax.types.ts +++ b/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 11/18/2024, 8:50:25 PM. +// Last generation on 11/18/2024, 9:31:51 PM. export type PinaxID = | 'celo' | 'alfajores' @@ -25,8 +25,8 @@ export type PinaxID = | 'mode' | 'fantom' | 'boba' - | 'bobabnb' | 'bobasepolia' + | 'bobabnb' | 'fuse' | 'cosmoshub' | 'theta' @@ -40,8 +40,8 @@ export type PinaxID = | 'polygonzk' | 'cardona' | 'bsc' - | 'opbnb' | 'chapel' + | 'opbnb' | 'xai' | 'osmosis' | 'bitcoin'