diff --git a/src/sourcify-chains.ts b/src/sourcify-chains.ts index 21a3e1185..d2b9773c5 100644 --- a/src/sourcify-chains.ts +++ b/src/sourcify-chains.ts @@ -325,6 +325,18 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = { contractFetchAddress: "https://tanenbaum.io/" + BLOCKSCOUT_SUFFIX, txRegex: getBlockscoutRegex(), }, + "570": { + supported: true, + monitored: false, + contractFetchAddress: "https://explorer.rollux.com/" + BLOCKSCOUT_SUFFIX, + txRegex: getBlockscoutRegex(), + }, + "57000": { + supported: true, + monitored: false, + contractFetchAddress: "https://rollux.tanenbaum.io/" + BLOCKSCOUT_SUFFIX, + txRegex: getBlockscoutRegex(), + }, "40": { supported: true, monitored: false, diff --git a/test/chains/chain-tests.js b/test/chains/chain-tests.js index 9e80e8765..4ab500644 100644 --- a/test/chains/chain-tests.js +++ b/test/chains/chain-tests.js @@ -283,13 +283,22 @@ describe("Test Supported Chains", function () { "shared/1_Storage.metadata.json" ); - // Has contracts to be fetched from IPFS + // Rollux Mainnet verifyContract( - "0xB2d0641fc8863514B6533b129fD744200eE17D29", - "57", - "Syscoin Tanenbaum Testnet", - ["57/Token.sol"], - "57/TestToken.json" + "0x1187124eC74e2A2F420540C338186dD702cF6340", + "570", + "Rollux Mainnet", + ["shared/1_Storage.sol"], + "shared/1_Storage.metadata.json" + ); + + // Rollux Tanenbaum (testnet) + verifyContract( + "0x736bfcA6a599bF0C3D499F8a0bC5ab2bA2030AC6", + "57000", + "Rollux Tanenbaum", + ["shared/1_Storage.sol"], + "shared/1_Storage.metadata.json" ); verifyContract(