Skip to content

Commit

Permalink
Fix mantle block explorer api URLs. Add missing UniswapV2 addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
MantisClone committed Oct 27, 2023
1 parent ab1eb42 commit 0c0e93b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ export class MultichainExplorerApiProvider extends ethers.providers.EtherscanPro
case 'avalanche':
return 'https://api.snowtrace.io';
case 'mantle':
return 'https://explorer.mantle.xyz/';
return 'https://explorer.mantle.xyz/api';
case 'mantle-testnet':
return 'https://explorer.testnet.mantle.xyz/';
return 'https://explorer.testnet.mantle.xyz/api';
default:
return super.getBaseUrl();
}
Expand Down
2 changes: 2 additions & 0 deletions packages/smart-contracts/scripts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export const uniswapV2RouterAddresses: Record<string, string> = {
// No swap v2 found
optimism: '0x0000000000000000000000000000000000000000',
moonbeam: '0x0000000000000000000000000000000000000000',
mantle: '0x0000000000000000000000000000000000000000',
'mantle-testnet': '0x0000000000000000000000000000000000000000',
};

/**
Expand Down

0 comments on commit 0c0e93b

Please sign in to comment.