diff --git a/blockchains/ethereum/assets/0x12D102F06da35cC0111EB58017fd2Cd28537d0e1/info.json b/blockchains/ethereum/assets/0x12D102F06da35cC0111EB58017fd2Cd28537d0e1/info.json index bfeecbbbf..97cd62b59 100644 --- a/blockchains/ethereum/assets/0x12D102F06da35cC0111EB58017fd2Cd28537d0e1/info.json +++ b/blockchains/ethereum/assets/0x12D102F06da35cC0111EB58017fd2Cd28537d0e1/info.json @@ -2,7 +2,7 @@ "name": "Vox Finance", "website": "https://app.vox.finance/", "short_description": "Yield farming token with low supply and 2% burn rate.", - "explorer": "https://etherscan.io/address/0x12D102F06da35cC0111EB58017fd2Cd28537d0e1", + "explorer": "https://etherscan.io/token/0x12D102F06da35cC0111EB58017fd2Cd28537d0e1", "socials": [ { "name": "Twitter", diff --git a/blockchains/ethereum/assets/0x776CA7dEd9474829ea20AD4a5Ab7a6fFdB64C796/info.json b/blockchains/ethereum/assets/0x776CA7dEd9474829ea20AD4a5Ab7a6fFdB64C796/info.json index 1628db930..a4a45d3d1 100644 --- a/blockchains/ethereum/assets/0x776CA7dEd9474829ea20AD4a5Ab7a6fFdB64C796/info.json +++ b/blockchains/ethereum/assets/0x776CA7dEd9474829ea20AD4a5Ab7a6fFdB64C796/info.json @@ -2,7 +2,7 @@ "name": "TENS", "website": "https://tenspeed.finance/", "short_description": "TenSpeed is the next generation of high yield deflationary farming, utilizing the TENS cryptocurrency which has been programmed to decrease in total supply the more active trading, yield farming and moving tokens becomes.", - "explorer": "https://etherscan.io/address/0x776ca7ded9474829ea20ad4a5ab7a6ffdb64c796", + "explorer": "https://etherscan.io/token/0x776CA7dEd9474829ea20AD4a5Ab7a6fFdB64C796", "socials": [ { "name": "Discord", diff --git a/blockchains/ethereum/assets/0x9aF7c46A4ebdfB1e11B5F94196C288c885F37bCD/info.json b/blockchains/ethereum/assets/0x9aF7c46A4ebdfB1e11B5F94196C288c885F37bCD/info.json index 58c2fb197..51197649b 100644 --- a/blockchains/ethereum/assets/0x9aF7c46A4ebdfB1e11B5F94196C288c885F37bCD/info.json +++ b/blockchains/ethereum/assets/0x9aF7c46A4ebdfB1e11B5F94196C288c885F37bCD/info.json @@ -2,5 +2,5 @@ "name": "BakerKingSwap", "website": "https://bakerkingswap.com/", "short_description": "Bakerking is fork from bakeryswap to make more secured, low fees, faster, easily earn from farming.", - "explorer": "https://etherscan.io/address/0x9af7c46a4ebdfb1e11b5f94196c288c885f37bcd" + "explorer": "https://etherscan.io/token/0x9aF7c46A4ebdfB1e11B5F94196C288c885F37bCD" } \ No newline at end of file diff --git a/blockchains/ethereum/assets/0xA8eC2B2F021B55d7d594c8d12Bbd6d23C05245D7/info.json b/blockchains/ethereum/assets/0xA8eC2B2F021B55d7d594c8d12Bbd6d23C05245D7/info.json index bdb60e13d..27dc40d3e 100644 --- a/blockchains/ethereum/assets/0xA8eC2B2F021B55d7d594c8d12Bbd6d23C05245D7/info.json +++ b/blockchains/ethereum/assets/0xA8eC2B2F021B55d7d594c8d12Bbd6d23C05245D7/info.json @@ -2,5 +2,5 @@ "name": "CASHBACK Token", "website": "https://cashback.so", "short_description": "Cashback E-commerce Exchange was born from new ideas based on great start-up technologies and has had certain achievements in the market.", - "explorer": "https://etherscan.io/address/0xa8ec2b2f021b55d7d594c8d12bbd6d23c05245d7" + "explorer": "https://etherscan.io/token/0xA8eC2B2F021B55d7d594c8d12Bbd6d23C05245D7" } \ No newline at end of file diff --git a/script/generic/asset-infos.ts b/script/generic/asset-infos.ts index e24ebfad9..c89746d04 100644 --- a/script/generic/asset-infos.ts +++ b/script/generic/asset-infos.ts @@ -113,8 +113,12 @@ function isAssetInfoOK(chain: string, address: string, errors: string[], warning let matchCount = 0; explorersAlt.forEach(exp => { if (exp.toLowerCase() == explorerActualLower) { ++matchCount; }}); if (matchCount == 0) { - // none matchs - warnings.push(`Unexpected explorer, ${explorerActual} instead of ${explorerExpected} (${explorersAlt.join(', ')})`); + // none matches, this is warning/error + if (chain.toLowerCase() == "ethereum" || chain.toLowerCase() == "smartchain") { + errors.push(`Incorrect explorer, ${explorerActual} instead of ${explorerExpected} (${explorersAlt.join(', ')})`); + } else { + warnings.push(`Unexpected explorer, ${explorerActual} instead of ${explorerExpected} (${explorersAlt.join(', ')})`); + } } } }