Skip to content

Commit

Permalink
Add chain 888
Browse files Browse the repository at this point in the history
  • Loading branch information
lolieatapple authored Apr 24, 2023
1 parent 854004e commit 57458ea
Show file tree
Hide file tree
Showing 2 changed files with 25 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 @@ -699,7 +699,14 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = {
contractFetchAddress: "https://goerli.basescan.org/" + ETHERSCAN_SUFFIX,
txRegex: ETHERSCAN_REGEX,
},
"888": {
// Wanchain Mainnet
supported: true,
monitored: false,
txRegex: ETHERSCAN_REGEX,
},
"999": {
// Wanchain Testnet
supported: true,
monitored: false,
txRegex: ETHERSCAN_REGEX,
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 @@ -1354,6 +1354,24 @@ describe("Test Supported Chains", function () {
"shared/withImmutables.metadata.json"
);

// Wanchain Mainnet
verifyContract(
"0xC3649123BCa36c0c38A71bDbd2F508AB4f939f47",
"888",
"Wanchain Mainnet",
["shared/1_Storage.sol"],
"shared/1_Storage.metadata.json"
);
verifyContractWithImmutables(
"0xAc7Df63C447201965222dF9675E8d4A78c3CA315",
"888",
"Wanchain Mainnet",
["uint256"],
[888],
["shared/WithImmutables.sol"],
"shared/withImmutables.metadata.json"
);

// Wanchain Testnet
verifyContract(
"0x500E12a948E9Fc594bC6Fe86B3B270B5a67332D8",
Expand Down

0 comments on commit 57458ea

Please sign in to comment.