diff options
author | Hsuan Lee <hsuan@cobinhood.com> | 2018-12-05 17:14:44 +0800 |
---|---|---|
committer | Hsuan Lee <hsuan@cobinhood.com> | 2018-12-10 18:53:27 +0800 |
commit | e8442db6f38afd120d299437709524d3adb5a70e (patch) | |
tree | 0904cd924588c84f8f5248491cf9197baddcf36f /ui | |
parent | 57b8b8520e2f0dba53e1850169acb5a510ef9f67 (diff) | |
download | dexon-wallet-e8442db6f38afd120d299437709524d3adb5a70e.tar.gz dexon-wallet-e8442db6f38afd120d299437709524d3adb5a70e.tar.zst dexon-wallet-e8442db6f38afd120d299437709524d3adb5a70e.zip |
Update DEXSCAN domain
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 | 2 | ||||
-rw-r--r-- | ui/lib/account-link.js | 4 | ||||
-rw-r--r-- | ui/lib/tx-link.js | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/ui/app/components/token-cell.js b/ui/app/components/token-cell.js index b044d95c..de34f994 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}dexscan.org/address/${tokenAddress}?a=${address}` + return `https://${prefix}dexscan.app/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 69db3f9f..e4e50245 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,7 +26,7 @@ export default class TransactionListItemDetails extends PureComponent { const { hash, dekusanNetworkId } = primaryTransaction const prefix = prefixForNetwork(dekusanNetworkId) - const etherscanUrl = `https://${prefix}dexscan.org/transaction/${hash}` + const etherscanUrl = `https://${prefix}dexscan.app/transaction/${hash}` global.platform.openWindow({ url: etherscanUrl }) } diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js index 74a068cf..df875abf 100644 --- a/ui/lib/account-link.js +++ b/ui/lib/account-link.js @@ -4,12 +4,12 @@ module.exports = function (address, network) { switch (net) { case 1: // main net case 237: // main net - link = `https://dexscan.org/address/${address}` + link = `https://dexscan.app/address/${address}` break case 2: // test net case 238: // test net default: - link = `https://testnet.dexscan.org/address/${address}` + link = `https://testnet.dexscan.app/address/${address}` break } diff --git a/ui/lib/tx-link.js b/ui/lib/tx-link.js index f4d2ede3..6a556a36 100644 --- a/ui/lib/tx-link.js +++ b/ui/lib/tx-link.js @@ -3,12 +3,12 @@ module.exports = function (txHash, network) { let link switch (net) { case 1: // main net - link = `https://dexscan.org/transaction/${txHash}` + link = `https://dexscan.app/transaction/${txHash}` break case 2: // test net case 238: // test net default: - link = `https://testnet.dexscan.org/transaction/${txHash}` + link = `https://testnet.dexscan.app/transaction/${txHash}` break } |