Skip to content

Commit

Permalink
update deploy constants and verify
Browse files Browse the repository at this point in the history
  • Loading branch information
0xble committed Mar 26, 2024
1 parent 1fffcc7 commit 9fe2087
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deploy/LibDeployConstants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ library LibDeployConstants {
contributionRouterInitialFee: 0.00055 ether,
tokenDistributorV1: 0x1CA2007a81F8A7491BB6E11D8e357FD810896454,
tokenDistributorV2: 0x49a3caab781f711aD74C9d2F34c3cbD835d6A608,
tokenDistributorV3: 0x0b7b86DCEAa8015CeD8F625d3b7A961b31fB05FE,
tokenDistributorV3: 0x8723b021b008dd370fbec1c791c390a2bc957654,
baseExternalURL: "https://party.app/party/"
});

Expand Down Expand Up @@ -168,7 +168,7 @@ library LibDeployConstants {
contributionRouterInitialFee: 0.00055 ether,
tokenDistributorV1: address(0),
tokenDistributorV2: 0xf0560F963538017CAA5081D96f839FE5D265acCB,
tokenDistributorV3: 0x65778953D291DD1e3a97c6b4d8BEea188B650077,
tokenDistributorV3: 0x6c7d98079023F05c2B57DFc933fa0903A2C95411,
baseExternalURL: "https://base.party.app/party/"
});

Expand Down Expand Up @@ -203,7 +203,7 @@ library LibDeployConstants {
contributionRouterInitialFee: 0.00055 ether,
tokenDistributorV1: address(0),
tokenDistributorV2: address(0),
tokenDistributorV3: 0x5B19016a409a888326b05949391EB8797dD5F75B,
tokenDistributorV3: 0x9a85aD6eb642bd1409df73484B331a1925B6c6cd,
baseExternalURL: "https://zora.party.app/party/"
});

Expand Down
9 changes: 8 additions & 1 deletion utils/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ const generateStandardJson = (
chain,
)} --optimizer-runs ${optimizerRuns} --constructor-args '${constructorArgsEncoded}' --compiler-version ${compilerVersion}`;

if (chain === "zora") {
cmd += " --verifier-url 'https://api.routescan.io/v2/network/mainnet/evm/7777777/etherscan'";
}

if (libraries.length > 0) {
cmd += ` --libraries ${libraries.join(" ")}`;
}
Expand Down Expand Up @@ -326,7 +330,10 @@ export const verify = async (chain: string, skip: boolean) => {
const contractName = result["contract_name"];
const guid = result["guid"];

const cmd = `forge verify-check ${guid} --chain-id ${getChainId(chain)}`;
let cmd = `forge verify-check ${guid} --chain-id ${getChainId(chain)}`;
if (apiKey) {
cmd += ` --etherscan-api-key ${apiKey}`;
}

console.log();
console.log(`Checking verification result for ${contractName}...`);
Expand Down

0 comments on commit 9fe2087

Please sign in to comment.