Skip to content

Commit

Permalink
Update Bitcoin Image
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyParish69 committed Aug 6, 2024
1 parent 6c994e0 commit 4338bb9
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 22 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/utility/generate_assetlist_functions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand All @@ -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;

}


Expand Down
40 changes: 21 additions & 19 deletions osmosis-1/generated/frontend/assetlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
6 changes: 5 additions & 1 deletion osmosis-1/osmosis.zone_assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down

0 comments on commit 4338bb9

Please sign in to comment.