Skip to content

Commit

Permalink
redeploy mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaiello committed Dec 16, 2024
1 parent ded93e7 commit 75dbf0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/zevm-app-contracts/data/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ZetaXP": "0x9A4e8bB5FFD8088ecF1DdE823e97Be8080BD38cb",
"InstantRewards": "0xfD5dcBf68c81274B48593Cb4b0322e965741392b",
"ProofOfLiveness": "0x327c9837B183e69C522a30E6f91A42c86e057432",
"InstantRewardsFactory": "0x03Cdd980eFe1EBfc0eC814C823e2f52c3704c8D9"
"InstantRewardsFactory": "0xAf5693bBC958e442462F411F46421e389c7A8602"
}
}
}
14 changes: 7 additions & 7 deletions packages/zevm-app-contracts/scripts/instant-rewards/deploy-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const networkName = network.name;

const OWNERS = {
zeta_mainnet: "0xD7E8bD37db625a4856E056D2617C9d140dB99182",
zeta_testnet: "0xD7E8bD37db625a4856E056D2617C9d140dB99182",
zeta_testnet: "0x1d24d94520B94B26351f6573de5ef9731c48531A",
};

//@ts-ignore
Expand Down Expand Up @@ -48,7 +48,11 @@ const deployInstantRewardsSample = async (instantRewards: InstantRewardsFactory)
if (!instantRewardsAddress) throw new Error("InstantRewards address not found");
console.log("InstantRewards deployed to:", instantRewardsAddress);

await verifyContract(instantRewardsAddress, [owner, ...params]);
await verifyContract(
instantRewardsAddress,
[owner, ...params],
"contracts/instant-rewards/InstantRewardsV2.sol:InstantRewardsV2"
);
};

const deployInstantRewards = async () => {
Expand All @@ -65,11 +69,7 @@ const deployInstantRewards = async () => {

saveAddress("InstantRewardsFactory", instantRewards.address, networkName);

await verifyContract(
instantRewards.address,
[owner],
"contracts/instant-rewards/InstantRewardsV2.sol:InstantRewardsV2"
);
await verifyContract(instantRewards.address, [owner]);

return instantRewards;
};
Expand Down

0 comments on commit 75dbf0f

Please sign in to comment.