diff --git a/data/chains/V2/arbone/arbone.branded.svg b/data/chains/V2/arbone/arbone.branded.svg new file mode 100644 index 0000000..360279a --- /dev/null +++ b/data/chains/V2/arbone/arbone.branded.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/chains/V2/arbone/arbone.mono.svg b/data/chains/V2/arbone/arbone.mono.svg new file mode 100644 index 0000000..7da8405 --- /dev/null +++ b/data/chains/V2/arbone/arbone.mono.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/chains/V2/arbone/meta.ts b/data/chains/V2/arbone/meta.ts index 68c4af0..9cfa58f 100644 --- a/data/chains/V2/arbone/meta.ts +++ b/data/chains/V2/arbone/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2', }, icon: { - id: 'tokens/arbitrum', + id: 'tokens/arbi', brand_theme: 'both', }, supported_services: { diff --git a/data/chains/V2/arweave/arweave.branded.svg b/data/chains/V2/arweave/arweave.branded.svg new file mode 100644 index 0000000..2612559 --- /dev/null +++ b/data/chains/V2/arweave/arweave.branded.svg @@ -0,0 +1,4 @@ + + + + diff --git a/data/chains/V2/arweave/arweave.mono.svg b/data/chains/V2/arweave/arweave.mono.svg new file mode 100644 index 0000000..cfc6fac --- /dev/null +++ b/data/chains/V2/arweave/arweave.mono.svg @@ -0,0 +1,4 @@ + + + + diff --git a/data/chains/V2/arweave/meta.ts b/data/chains/V2/arweave/meta.ts index 4b08748..13fca78 100644 --- a/data/chains/V2/arweave/meta.ts +++ b/data/chains/V2/arweave/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://buf.build/pinax/firehose-arweave/docs/main:sf.arweave.type.v1', }, icon: { - id: 'tokens/arweave', + id: 'tokens/ar', brand_theme: 'dark', }, supported_services: { diff --git a/data/chains/V2/avalanche/avalanche.branded.svg b/data/chains/V2/avalanche/avalanche.branded.svg new file mode 100644 index 0000000..8bd623e --- /dev/null +++ b/data/chains/V2/avalanche/avalanche.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/avalanche/avalanche.mono.svg b/data/chains/V2/avalanche/avalanche.mono.svg new file mode 100644 index 0000000..c3d0cc4 --- /dev/null +++ b/data/chains/V2/avalanche/avalanche.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/base/base.branded.svg b/data/chains/V2/base/base.branded.svg new file mode 100644 index 0000000..0da53fa --- /dev/null +++ b/data/chains/V2/base/base.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/base/base.mono.svg b/data/chains/V2/base/base.mono.svg new file mode 100644 index 0000000..7da8b77 --- /dev/null +++ b/data/chains/V2/base/base.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/bitcoin/bitcoin.branded.svg b/data/chains/V2/bitcoin/bitcoin.branded.svg new file mode 100644 index 0000000..1482f66 --- /dev/null +++ b/data/chains/V2/bitcoin/bitcoin.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/bitcoin/bitcoin.mono.svg b/data/chains/V2/bitcoin/bitcoin.mono.svg new file mode 100644 index 0000000..079304b --- /dev/null +++ b/data/chains/V2/bitcoin/bitcoin.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/bitcoin/meta.ts b/data/chains/V2/bitcoin/meta.ts index e10fb59..74c0af4 100644 --- a/data/chains/V2/bitcoin/meta.ts +++ b/data/chains/V2/bitcoin/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://buf.build/streamingfast/firehose-bitcoin/docs/main:sf.bitcoin.type.v1', }, icon: { - id: 'tokens/bitcoin', + id: 'tokens/btc', brand_theme: 'both', }, supported_services: { diff --git a/data/chains/V2/bsc/bsc.branded.svg b/data/chains/V2/bsc/bsc.branded.svg new file mode 100644 index 0000000..13c355c --- /dev/null +++ b/data/chains/V2/bsc/bsc.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/bsc/bsc.mono.svg b/data/chains/V2/bsc/bsc.mono.svg new file mode 100644 index 0000000..745075c --- /dev/null +++ b/data/chains/V2/bsc/bsc.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/celo/celo.branded.svg b/data/chains/V2/celo/celo.branded.svg new file mode 100644 index 0000000..b985af8 --- /dev/null +++ b/data/chains/V2/celo/celo.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/celo/celo.mono.svg b/data/chains/V2/celo/celo.mono.svg new file mode 100644 index 0000000..32edcd7 --- /dev/null +++ b/data/chains/V2/celo/celo.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/chains.json b/data/chains/V2/chains.json index 421d626..53a12db 100644 --- a/data/chains/V2/chains.json +++ b/data/chains/V2/chains.json @@ -216,12 +216,8 @@ "url": "https://buf.build/streamingfast/firehose-bitcoin/docs/main:sf.bitcoin.type.v1" }, "icon": { - "id": "tokens/bitcoin", - "brand_theme": "both", - "variants": [ - "branded", - "mono" - ] + "id": "tokens/btc", + "brand_theme": "both" }, "supported_services": { "firehose": { @@ -252,12 +248,8 @@ "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" }, "icon": { - "id": "tokens/matic-network", - "brand_theme": "both", - "variants": [ - "branded", - "mono" - ] + "id": "networks/polygon", + "brand_theme": "both" }, "supported_services": { "firehose": { @@ -405,11 +397,8 @@ "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" }, "icon": { - "id": "tokens/arbitrum", - "brand_theme": "both", - "variants": [ - "mono" - ] + "id": "tokens/arbi", + "brand_theme": "both" }, "supported_services": { "firehose": { @@ -576,12 +565,8 @@ "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" }, "icon": { - "id": "tokens/optimism", - "brand_theme": "both", - "variants": [ - "branded", - "mono" - ] + "id": "networks/optimism", + "brand_theme": "both" }, "supported_services": { "firehose": { @@ -644,12 +629,8 @@ "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" }, "icon": { - "id": "tokens/decimal", - "brand_theme": "both", - "variants": [ - "branded", - "mono" - ] + "id": "tokens/del", + "brand_theme": "both" }, "supported_services": { "firehose": { @@ -678,12 +659,8 @@ "url": "https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2" }, "icon": { - "id": "tokens/gnosis", - "brand_theme": "dark", - "variants": [ - "branded", - "mono" - ] + "id": "tokens/gno", + "brand_theme": "dark" }, "supported_services": { "firehose": { @@ -894,12 +871,8 @@ "url": "https://buf.build/pinax/firehose-arweave/docs/main:sf.arweave.type.v1" }, "icon": { - "id": "tokens/arweave", - "brand_theme": "dark", - "variants": [ - "branded", - "mono" - ] + "id": "tokens/ar", + "brand_theme": "dark" }, "supported_services": { "firehose": { @@ -1016,7 +989,7 @@ "url": "https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto" }, "icon": { - "id": "tokens/osmosis", + "id": "networks/osmosis", "brand_theme": "both", "variants": [ "branded", @@ -1267,12 +1240,8 @@ "url": "https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1" }, "icon": { - "id": "tokens/wax", - "brand_theme": "both", - "variants": [ - "branded", - "mono" - ] + "id": "tokens/waxp", + "brand_theme": "both" }, "supported_services": { "firehose": { diff --git a/data/chains/V2/cosmoshub/cosmoshub.branded.svg b/data/chains/V2/cosmoshub/cosmoshub.branded.svg new file mode 100644 index 0000000..a373532 --- /dev/null +++ b/data/chains/V2/cosmoshub/cosmoshub.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/cosmoshub/cosmoshub.mono.svg b/data/chains/V2/cosmoshub/cosmoshub.mono.svg new file mode 100644 index 0000000..1677ec5 --- /dev/null +++ b/data/chains/V2/cosmoshub/cosmoshub.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/decimal/decimal.branded.svg b/data/chains/V2/decimal/decimal.branded.svg new file mode 100644 index 0000000..5195000 --- /dev/null +++ b/data/chains/V2/decimal/decimal.branded.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/chains/V2/decimal/decimal.mono.svg b/data/chains/V2/decimal/decimal.mono.svg new file mode 100644 index 0000000..096354b --- /dev/null +++ b/data/chains/V2/decimal/decimal.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/decimal/meta.ts b/data/chains/V2/decimal/meta.ts index 03c8d1b..fe0d5dc 100644 --- a/data/chains/V2/decimal/meta.ts +++ b/data/chains/V2/decimal/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2', }, icon: { - id: 'tokens/decimal', + id: 'tokens/del', brand_theme: 'both', }, supported_services: { diff --git a/data/chains/V2/eos/eos.mono.svg b/data/chains/V2/eos/eos.mono.svg new file mode 100644 index 0000000..9bab1d9 --- /dev/null +++ b/data/chains/V2/eos/eos.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/eth/eth.branded.svg b/data/chains/V2/eth/eth.branded.svg new file mode 100644 index 0000000..88766bd --- /dev/null +++ b/data/chains/V2/eth/eth.branded.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/chains/V2/eth/eth.mono.svg b/data/chains/V2/eth/eth.mono.svg new file mode 100644 index 0000000..9cf9d33 --- /dev/null +++ b/data/chains/V2/eth/eth.mono.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/chains/V2/fantom/fantom.branded.svg b/data/chains/V2/fantom/fantom.branded.svg new file mode 100644 index 0000000..c48ac21 --- /dev/null +++ b/data/chains/V2/fantom/fantom.branded.svg @@ -0,0 +1,4 @@ + + + + diff --git a/data/chains/V2/fantom/fantom.mono.svg b/data/chains/V2/fantom/fantom.mono.svg new file mode 100644 index 0000000..9c649c2 --- /dev/null +++ b/data/chains/V2/fantom/fantom.mono.svg @@ -0,0 +1,4 @@ + + + + diff --git a/data/chains/V2/gnosis/gnosis.branded.svg b/data/chains/V2/gnosis/gnosis.branded.svg new file mode 100644 index 0000000..5271f3e --- /dev/null +++ b/data/chains/V2/gnosis/gnosis.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/gnosis/gnosis.mono.svg b/data/chains/V2/gnosis/gnosis.mono.svg new file mode 100644 index 0000000..df70c2b --- /dev/null +++ b/data/chains/V2/gnosis/gnosis.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/gnosis/meta.ts b/data/chains/V2/gnosis/meta.ts index 2ce5e64..88ab003 100644 --- a/data/chains/V2/gnosis/meta.ts +++ b/data/chains/V2/gnosis/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2', }, icon: { - id: 'tokens/gnosis', + id: 'tokens/gno', brand_theme: 'dark', }, supported_services: { diff --git a/data/chains/V2/kava/kava.branded.svg b/data/chains/V2/kava/kava.branded.svg new file mode 100644 index 0000000..afca52f --- /dev/null +++ b/data/chains/V2/kava/kava.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/kava/kava.mono.svg b/data/chains/V2/kava/kava.mono.svg new file mode 100644 index 0000000..fb40b57 --- /dev/null +++ b/data/chains/V2/kava/kava.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/moonbeam/moonbeam.branded.svg b/data/chains/V2/moonbeam/moonbeam.branded.svg new file mode 100644 index 0000000..f819a51 --- /dev/null +++ b/data/chains/V2/moonbeam/moonbeam.branded.svg @@ -0,0 +1,4 @@ + + + + diff --git a/data/chains/V2/moonbeam/moonbeam.mono.svg b/data/chains/V2/moonbeam/moonbeam.mono.svg new file mode 100644 index 0000000..a10f1b8 --- /dev/null +++ b/data/chains/V2/moonbeam/moonbeam.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/near/near.branded.svg b/data/chains/V2/near/near.branded.svg new file mode 100644 index 0000000..3efe47c --- /dev/null +++ b/data/chains/V2/near/near.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/near/near.mono.svg b/data/chains/V2/near/near.mono.svg new file mode 100644 index 0000000..56a8fef --- /dev/null +++ b/data/chains/V2/near/near.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/optimism/meta.ts b/data/chains/V2/optimism/meta.ts index def4c81..f972e29 100644 --- a/data/chains/V2/optimism/meta.ts +++ b/data/chains/V2/optimism/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2', }, icon: { - id: 'tokens/optimism', + id: 'networks/optimism', brand_theme: 'both', }, supported_services: { diff --git a/data/chains/V2/optimism/optimism.branded.svg b/data/chains/V2/optimism/optimism.branded.svg new file mode 100644 index 0000000..d355b27 --- /dev/null +++ b/data/chains/V2/optimism/optimism.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/optimism/optimism.mono.svg b/data/chains/V2/optimism/optimism.mono.svg new file mode 100644 index 0000000..f1635fd --- /dev/null +++ b/data/chains/V2/optimism/optimism.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/osmosis/meta.ts b/data/chains/V2/osmosis/meta.ts index 92fe924..55152ff 100644 --- a/data/chains/V2/osmosis/meta.ts +++ b/data/chains/V2/osmosis/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://github.com/figment-networks/proto-cosmos/blob/main/sf/cosmos/type/v1/type.proto', }, icon: { - id: 'tokens/osmosis', + id: 'networks/osmosis', brand_theme: 'both', }, supported_services: { diff --git a/data/chains/V2/osmosis/osmosis.branded.svg b/data/chains/V2/osmosis/osmosis.branded.svg new file mode 100644 index 0000000..b287a36 --- /dev/null +++ b/data/chains/V2/osmosis/osmosis.branded.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/chains/V2/osmosis/osmosis.mono.svg b/data/chains/V2/osmosis/osmosis.mono.svg new file mode 100644 index 0000000..5d9d59e --- /dev/null +++ b/data/chains/V2/osmosis/osmosis.mono.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/data/chains/V2/polygon/meta.ts b/data/chains/V2/polygon/meta.ts index 1408b03..0dc0474 100644 --- a/data/chains/V2/polygon/meta.ts +++ b/data/chains/V2/polygon/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://buf.build/streamingfast/firehose-ethereum/docs/main:sf.ethereum.type.v2', }, icon: { - id: 'tokens/matic-network', + id: 'networks/polygon', brand_theme: 'both', }, supported_services: { diff --git a/data/chains/V2/polygon/polygon.branded.svg b/data/chains/V2/polygon/polygon.branded.svg new file mode 100644 index 0000000..5f4bdea --- /dev/null +++ b/data/chains/V2/polygon/polygon.branded.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/data/chains/V2/polygon/polygon.mono.svg b/data/chains/V2/polygon/polygon.mono.svg new file mode 100644 index 0000000..f42be5f --- /dev/null +++ b/data/chains/V2/polygon/polygon.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/scroll/scroll.branded.svg b/data/chains/V2/scroll/scroll.branded.svg new file mode 100644 index 0000000..2672cbc --- /dev/null +++ b/data/chains/V2/scroll/scroll.branded.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/data/chains/V2/scroll/scroll.mono.svg b/data/chains/V2/scroll/scroll.mono.svg new file mode 100644 index 0000000..2f277fb --- /dev/null +++ b/data/chains/V2/scroll/scroll.mono.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/data/chains/V2/starknet/starknet.branded.svg b/data/chains/V2/starknet/starknet.branded.svg new file mode 100644 index 0000000..a092984 --- /dev/null +++ b/data/chains/V2/starknet/starknet.branded.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/data/chains/V2/starknet/starknet.mono.svg b/data/chains/V2/starknet/starknet.mono.svg new file mode 100644 index 0000000..6c69e2a --- /dev/null +++ b/data/chains/V2/starknet/starknet.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/telos/telos.branded.svg b/data/chains/V2/telos/telos.branded.svg new file mode 100644 index 0000000..335acf8 --- /dev/null +++ b/data/chains/V2/telos/telos.branded.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/data/chains/V2/telos/telos.mono.svg b/data/chains/V2/telos/telos.mono.svg new file mode 100644 index 0000000..9aa4743 --- /dev/null +++ b/data/chains/V2/telos/telos.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/wax/meta.ts b/data/chains/V2/wax/meta.ts index f36fd0f..9ea45e3 100644 --- a/data/chains/V2/wax/meta.ts +++ b/data/chains/V2/wax/meta.ts @@ -11,7 +11,7 @@ const meta: Chain = { url: 'https://buf.build/pinax/firehose-antelope/docs/main:sf.antelope.type.v1', }, icon: { - id: 'tokens/wax', + id: 'tokens/waxp', brand_theme: 'both', }, supported_services: { diff --git a/data/chains/V2/wax/wax.branded.svg b/data/chains/V2/wax/wax.branded.svg new file mode 100644 index 0000000..57c5d8b --- /dev/null +++ b/data/chains/V2/wax/wax.branded.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/chains/V2/wax/wax.mono.svg b/data/chains/V2/wax/wax.mono.svg new file mode 100644 index 0000000..080cdc1 --- /dev/null +++ b/data/chains/V2/wax/wax.mono.svg @@ -0,0 +1,3 @@ + + + diff --git a/data/index.config.ts b/data/index.config.ts index 588b6f6..6014b7b 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 5/10/2024, 4:41:53 PM. +// Last generation on 5/10/2024, 5:30:16 PM. export default { ordered: { diff --git a/package.json b/package.json index 1738a70..317f593 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "generate:type_graphid": "bun ./scripts/generate/V2/type_graphid.ts", "generate:type_pinaxid": "bun ./scripts/generate/V2/type_pinaxid.ts", "generate:match_legacy_check": "bun ./scripts/generate/V2/match_legacy_data.ts", + "generate:copy_token_icons": "bun ./scripts/generate/V2/copy_token_icons.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", @@ -44,9 +45,6 @@ "prettier": "^3.2.5", "@types/bun": "latest" }, - "bundledDependencies": [ - "@token-icons/core" - ], "repository": { "type": "git", "url": "git+https://github.com/pinax-network/chains.git" diff --git a/scripts/generate/V2/copy_token_icons.ts b/scripts/generate/V2/copy_token_icons.ts new file mode 100644 index 0000000..ec172e5 --- /dev/null +++ b/scripts/generate/V2/copy_token_icons.ts @@ -0,0 +1,53 @@ +// Run after `npm run generate:data` +import fs from 'fs'; +import path from 'path'; + +// Define the source directories for the icons +const networksSourceDir: string = + './node_modules/@token-icons/core/dist/svgs/networks'; +const tokensSourceDir: string = + './node_modules/@token-icons/core/dist/svgs/tokens'; + +// Read and parse the chains.json file +const chains = JSON.parse( + fs.readFileSync('./data/chains/V2/chains.json', 'utf-8'), +); + +// Iterate over each chain +for (const chain of chains) { + // Define the destination directory for the icons + const destDir: string = `./data/chains/V2/${chain.id}`; + const iconBasePath: string = + chain.icon.id.split('/')[0] === 'networks' + ? networksSourceDir + : tokensSourceDir; + + // Define the paths to the icon variants + const brandedIconPath: string = path.join( + iconBasePath, + 'branded', + `${chain.icon.id.split('/')[1]}.svg`, + ); + const monoIconPath: string = path.join( + iconBasePath, + 'mono', + `${chain.icon.id.split('/')[1]}.svg`, + ); + + // Define the destination file paths + const destBrandedIconPath: string = path.join( + destDir, + `${chain.id}.branded.svg`, + ); + const destMonoIconPath: string = path.join(destDir, `${chain.id}.mono.svg`); + + // Copy the branded icon to the destination directory + if (fs.existsSync(brandedIconPath)) { + fs.copyFileSync(brandedIconPath, destBrandedIconPath); + } + + // Copy the mono icon to the destination directory + if (fs.existsSync(monoIconPath)) { + fs.copyFileSync(monoIconPath, destMonoIconPath); + } +} diff --git a/types/graph.types.ts b/types/graph.types.ts index 8f74aac..b499e20 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 5/10/2024, 4:41:54 PM. +// Last generation on 5/10/2024, 5:30:17 PM. export type GraphID = | 'arbitrum-one' | 'arbitrum-sepolia' diff --git a/types/pinax.types.ts b/types/pinax.types.ts index 1903c37..6eebba6 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 5/10/2024, 4:41:54 PM. +// Last generation on 5/10/2024, 5:30:17 PM. export type PinaxID = | 'arbone' | 'arbgoerli'