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
This commit is contained in:
Dmytro Vorotyntsev 2021-12-07 17:48:28 +02:00 committed by GitHub
parent 60a41f35c8
commit 29d6e481ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 2 deletions

View File

@ -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 "";
}