Skip to content

Commit

Permalink
refactor(settings): update algorand explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
envin3 committed Mar 12, 2024
1 parent 87318ea commit b475196
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const settings = {
ultra: 'https://explorer.mainnet.ultra.io/',
arbitrum: 'https://arbiscan.io/',
luxochain: 'https://explorer.luxochain.io/',
algorand: 'https://algoexplorer.io/',
algorand: 'https://allo.info/',
ftm: 'https://ftmscan.com/',
ore: 'https://explorer.ore.network/',
},
Expand Down
4 changes: 2 additions & 2 deletions src/utils/__tests__/explorer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('getCorrespondingTxExplorerLinkByBlockchain', () => {
['ULTRA', 'https://explorer.mainnet.ultra.io/tx/txhash'],
['ARBITRUM', 'https://arbiscan.io/tx/txhash'],
['LUXOCHAIN', 'https://explorer.luxochain.io/tx/txhash'],
['ALGORAND', 'https://algoexplorer.io/tx/group/txhash'],
['ALGORAND', 'https://allo.info/tx/txhash'],
['FTM', 'https://ftmscan.com/tx/txhash'],
])('Should get the correct %s explorer link for the transaction', (blockchain, expected) => {
const txHash = 'txhash'
Expand All @@ -45,7 +45,7 @@ describe('getCorrespondingTokenExplorerLinkByBlockchain', () => {
['ULTRA', 'https://explorer.mainnet.ultra.io/account/tokenaddress'],
['ARBITRUM', 'https://arbiscan.io/token/tokenaddress'],
['LUXOCHAIN', 'https://explorer.luxochain.io/token/tokenaddress'],
['ALGORAND', 'https://algoexplorer.io/asset/tokenaddress'],
['ALGORAND', 'https://allo.info/asset/tokenaddress'],
['FTM', 'https://ftmscan.com/token/tokenaddress'],
])('Should get the correct %s token link for the transaction', (blockchain, expected) => {
const tokenAddress = 'tokenaddress'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const transactionBaseLink = {
ULTRA: `${settings.explorers.mainnet.ultra}tx/%s`,
ARBITRUM: `${settings.explorers.mainnet.arbitrum}tx/%s`,
LUXOCHAIN: `${settings.explorers.mainnet.luxochain}tx/%s`,
ALGORAND: `${settings.explorers.mainnet.algorand}tx/group/%s`,
ALGORAND: `${settings.explorers.mainnet.algorand}tx/%s`,
FTM: `${settings.explorers.mainnet.ftm}tx/%s`,
}

Expand Down

0 comments on commit b475196

Please sign in to comment.