From 29d6e481abe21380367b532f0d085a1f9690b5b8 Mon Sep 17 00:00:00 2001 From: Dmytro Vorotyntsev <2937451+vorotech@users.noreply.github.com> Date: Tue, 7 Dec 2021 17:48:28 +0200 Subject: [PATCH] put celo assets to correct location (#16426) * Rename blockchains/celo/info/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json to blockchains/celo/assets/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json * move celo assets to correct location * Update asset-infos.ts * explorereUrl for celo chain * reverted changes done to asset-info * revert reverted changes done to asset-info --- .../info.json | 2 +- .../logo.png | Bin .../info.json | 0 .../logo.png | Bin script/generic/asset-infos.ts | 5 ++++- 5 files changed, 5 insertions(+), 2 deletions(-) rename blockchains/celo/{info => assets}/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json (99%) rename blockchains/celo/{info => assets}/0x765DE816845861e75A25fCA122bb6898B8B1282a/logo.png (100%) rename blockchains/celo/{info => assets}/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/info.json (100%) rename blockchains/celo/{info => assets}/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/logo.png (100%) diff --git a/blockchains/celo/info/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json b/blockchains/celo/assets/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json similarity index 99% rename from blockchains/celo/info/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json rename to blockchains/celo/assets/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json index fe6df3f33..653a1ddb4 100644 --- a/blockchains/celo/info/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json +++ b/blockchains/celo/assets/0x765DE816845861e75A25fCA122bb6898B8B1282a/info.json @@ -22,4 +22,4 @@ "url": "https://github.com/celo-org/celo-monorepo" } ] -} \ No newline at end of file +} diff --git a/blockchains/celo/info/0x765DE816845861e75A25fCA122bb6898B8B1282a/logo.png b/blockchains/celo/assets/0x765DE816845861e75A25fCA122bb6898B8B1282a/logo.png similarity index 100% rename from blockchains/celo/info/0x765DE816845861e75A25fCA122bb6898B8B1282a/logo.png rename to blockchains/celo/assets/0x765DE816845861e75A25fCA122bb6898B8B1282a/logo.png diff --git a/blockchains/celo/info/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/info.json b/blockchains/celo/assets/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/info.json similarity index 100% rename from blockchains/celo/info/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/info.json rename to blockchains/celo/assets/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/info.json diff --git a/blockchains/celo/info/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/logo.png b/blockchains/celo/assets/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/logo.png similarity index 100% rename from blockchains/celo/info/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/logo.png rename to blockchains/celo/assets/0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73/logo.png diff --git a/script/generic/asset-infos.ts b/script/generic/asset-infos.ts index 7b554eeed..5e24d2041 100644 --- a/script/generic/asset-infos.ts +++ b/script/generic/asset-infos.ts @@ -224,6 +224,7 @@ export function chainFromAssetType(type: string): string { case "FANTOM": return "fantom"; case "TERRA": return "terra"; case "RONIN": return "ronin"; + case "CELO": return "celo"; default: return ""; } } @@ -316,7 +317,9 @@ export function explorerUrl(chain: string, contract: string): string { return `https://finder.terra.money/columbus-4/${contract}` case "ronin": return `https://explorer.roninchain.com/token/ronin:${contract}` - } + case "celo": + return `https://explorer.bitquery.io/celo_rc1/token/${contract}`; + } } return ""; }