diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/token-cell.js | 2 | ||||
-rw-r--r-- | ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js | 3 | ||||
-rw-r--r-- | ui/lib/etherscan-prefix-for-network.js | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/ui/app/components/token-cell.js b/ui/app/components/token-cell.js index 75ba347f..aad9e471 100644 --- a/ui/app/components/token-cell.js +++ b/ui/app/components/token-cell.js @@ -156,7 +156,7 @@ function navigateTo (url) { function etherscanLinkFor (tokenAddress, address, network) { const prefix = prefixForNetwork(network) - return `https://${prefix}etherscan.io/token/${tokenAddress}?a=${address}` + return `https://${prefix}dexscan.org/address/${tokenAddress}?a=${address}` } function tokenFactoryFor (tokenAddress) { diff --git a/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js b/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js index c658ecf9..95a86519 100644 --- a/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js +++ b/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js @@ -26,8 +26,7 @@ export default class TransactionListItemDetails extends PureComponent { const { hash, metamaskNetworkId } = primaryTransaction const prefix = prefixForNetwork(metamaskNetworkId) - const etherscanUrl = `https://${prefix}etherscan.io/tx/${hash}` - + const etherscanUrl = `https://${prefix}dexscan.org/transaction/${hash}` global.platform.openWindow({ url: etherscanUrl }) } diff --git a/ui/lib/etherscan-prefix-for-network.js b/ui/lib/etherscan-prefix-for-network.js index cfe3b0c5..036166ac 100644 --- a/ui/lib/etherscan-prefix-for-network.js +++ b/ui/lib/etherscan-prefix-for-network.js @@ -18,7 +18,7 @@ module.exports = function (network) { prefix = 'kovan.' break default: - prefix = '' + prefix = 'testnet.' } return prefix } |