diff --git a/services/core/src/sourcify-chains.ts b/services/core/src/sourcify-chains.ts index 540e578e8..3d6448199 100644 --- a/services/core/src/sourcify-chains.ts +++ b/services/core/src/sourcify-chains.ts @@ -607,6 +607,13 @@ const sourcifyChains: SourcifyChainsObject = { contractFetchAddress: "https://testnet.explorer.emerald.oasis.dev/" + BLOCKSCOUT_SUFFIX, txRegex: getBlockscoutRegex(), }, + "23294": { + // Oasis Sapphire Mainnet + supported: true, + monitored: false, + contractFetchAddress: "https://explorer.sapphire.oasis.io/" + BLOCKSCOUT_SUFFIX, + txRegex: getBlockscoutRegex(), + }, "23295": { // Oasis Sapphire Testnet supported: true, diff --git a/test/chains/chain-tests.js b/test/chains/chain-tests.js index b2b2b155b..86e701c38 100644 --- a/test/chains/chain-tests.js +++ b/test/chains/chain-tests.js @@ -1266,6 +1266,24 @@ describe("Test Supported Chains", function () { "shared/withImmutables.metadata.json" ); + // Oasis Sapphire Mainnet + verifyContract( + "0xFBcb580DD6D64fbF7caF57FB0439502412324179", + "23294", + "Oasis Sapphire", + ["shared/1_Storage.sol"], + "shared/1_Storage.metadata.json" + ); + verifyContractWithImmutables( + "0xA0FB05d6Ce497beb162C4EbA4F203544B18A3f31", + "23294", + "Oasis Sapphire", + ["uint256"], + [1234], + ["shared/WithImmutables.sol"], + "shared/withImmutables.metadata.json" + ); + // Oasis Sapphire Testnet verifyContract( "0xFBcb580DD6D64fbF7caF57FB0439502412324179",