From 4338bb99f456c79eacfc068293a78aba1310f781 Mon Sep 17 00:00:00 2001 From: Jeremy Parish Date: Mon, 5 Aug 2024 21:21:44 -0600 Subject: [PATCH] Update Bitcoin Image --- .../utility/generate_assetlist_functions.mjs | 5 ++- osmosis-1/generated/frontend/assetlist.json | 40 ++++++++++--------- osmosis-1/osmosis.zone_assets.json | 6 ++- 3 files changed, 29 insertions(+), 22 deletions(-) diff --git a/.github/workflows/utility/generate_assetlist_functions.mjs b/.github/workflows/utility/generate_assetlist_functions.mjs index 63f72ce7d..e94ba7041 100644 --- a/.github/workflows/utility/generate_assetlist_functions.mjs +++ b/.github/workflows/utility/generate_assetlist_functions.mjs @@ -806,6 +806,9 @@ export function setDecimals(asset_data) { export function setImages(asset_data) { let images = getAssetProperty(asset_data.local_asset, "images") ?? getAssetProperty(asset_data.canonical_asset, "images"); + asset_data.chain_reg.images = images; + + images = getAssetProperty(asset_data.canonical_asset, "images"); let primaryImage = asset_data.zone_asset?.override_properties?.logo_URIs ?? images?.[0]; @@ -815,8 +818,6 @@ export function setImages(asset_data) { asset_data.chain_reg.logo_URIs = getAssetProperty(asset_data.local_asset, "logo_URIs"); - asset_data.chain_reg.images = images; - } diff --git a/osmosis-1/generated/frontend/assetlist.json b/osmosis-1/generated/frontend/assetlist.json index 9b535b4cc..34ad80815 100644 --- a/osmosis-1/generated/frontend/assetlist.json +++ b/osmosis-1/generated/frontend/assetlist.json @@ -138,8 +138,8 @@ "symbol": "ETH.axl", "decimals": 18, "logoURIs": { - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png", - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/eth.axl.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/eth.axl.svg" }, "price": { "poolId": "1431", @@ -2554,8 +2554,8 @@ "symbol": "VDL.vdl", "decimals": 6, "logoURIs": { - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/vidulum/images/vdl.png", - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/vidulum/images/vdl.svg" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/beezee/images/vdl.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/beezee/images/vdl.svg" }, "coingeckoId": "vidulum", "price": { @@ -5847,8 +5847,8 @@ "symbol": "GLMR", "decimals": 18, "logoURIs": { - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/moonbeam/images/glmr.svg", - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/moonbeam/images/glmr.png" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/moonbeam/images/glmr.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/moonbeam/images/glmr.svg" }, "coingeckoId": "moonbeam", "price": { @@ -5929,8 +5929,8 @@ "symbol": "GLTO.juno", "decimals": 6, "logoURIs": { - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/glto.png", - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/glto.svg" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/glto.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/glto.svg" }, "price": { "poolId": "778", @@ -7302,8 +7302,8 @@ "symbol": "FUND", "decimals": 9, "logoURIs": { - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/unification/images/fund.png", - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/unification/images/fund.svg" + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/unification/images/fund.svg", + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/unification/images/fund.png" }, "coingeckoId": "unification", "price": { @@ -12246,8 +12246,8 @@ "symbol": "DOT", "decimals": 10, "logoURIs": { - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/polkadot/images/dot.svg", - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/polkadot/images/dot.png" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/polkadot/images/dot.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/polkadot/images/dot.svg" }, "coingeckoId": "polkadot", "price": { @@ -16285,7 +16285,8 @@ "symbol": "NYM", "decimals": 6, "logoURIs": { - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nyx/images/nym.png" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nyx/images/nym_token_light.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nyx/images/nym_token_light.svg" }, "coingeckoId": "nym", "price": { @@ -17126,8 +17127,8 @@ "symbol": "GLTO", "decimals": 6, "logoURIs": { - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/glto.png", - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/glto.svg" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/glto.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/glto.svg" }, "price": { "poolId": "1574", @@ -18698,7 +18699,8 @@ "symbol": "PUNDIX", "decimals": 18, "logoURIs": { - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/pundix.png" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/pundix/images/pundi-x-token-logo.svg" }, "coingeckoId": "pundi-x-2", "categories": [ @@ -22176,7 +22178,7 @@ "symbol": "BTC", "decimals": 8, "logoURIs": { - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/allBTC.svg" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/bitcoin/images/btc.png" }, "coingeckoId": "bitcoin", "price": { @@ -23033,8 +23035,8 @@ "symbol": "ETH", "decimals": 18, "logoURIs": { - "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/allETH.svg", - "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/allETH.png" + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg" }, "coingeckoId": "ethereum", "price": { diff --git a/osmosis-1/osmosis.zone_assets.json b/osmosis-1/osmosis.zone_assets.json index 9a90f06bc..e3da43b78 100644 --- a/osmosis-1/osmosis.zone_assets.json +++ b/osmosis-1/osmosis.zone_assets.json @@ -60,7 +60,11 @@ "chain_name": "optimism", "base_denom": "0x4200000000000000000000000000000000000006" } - ] + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/eth.axl.png", + "svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/eth.axl.svg" + } }, "transfer_methods": [ {