Skip to content

Commit

Permalink
Merge pull request #1007 from symplexialabs/add-chain-1149
Browse files Browse the repository at this point in the history
Add Symplexia Smart Chain (1149)
  • Loading branch information
marcocastignoli authored May 11, 2023
2 parents 2d7991d + 45a56a3 commit 5f6a247
Show file tree
Hide file tree
Showing 8 changed files with 8,984 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/sourcify-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,13 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = {
rpc: buildAlchemyAndCustomRpcURLs("ropsten", "eth"),
txRegex: ETHERSCAN_REGEX,
},
"1149": {
// Symplexia Smart Chain
supported: true,
monitored: false,
contractFetchAddress: "https://explorer.plexfinance.us/" + BLOCKSCOUT_SUFFIX,
txRegex: getBlockscoutRegex(),
},
};

const sourcifyChainsMap: SourcifyChainMap = {};
Expand Down
18 changes: 18 additions & 0 deletions test/chains/chain-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,24 @@ describe("Test Supported Chains", function () {
currentResponse = null;
});

// Symplexia Smart Chain
verifyContract(
"0xa33a20ba0aC3fe6b94a8e1Eb4614947B9cb51F84",
"1149",
"Symplexia Smart Chain",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);
verifyContractWithImmutables(
"0x968fd0BADc643B0A7b088f4b6aA2CE5FA65db622",
"1149",
"Symplexia Smart Chain",
["uint256"],
[3742],
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);

verifyContract(
"0x801f3983c7baBF5E6ae192c84E1257844aDb4b4D",
"1",
Expand Down
Loading

0 comments on commit 5f6a247

Please sign in to comment.