Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaiello committed Dec 27, 2023
1 parent 10a6a5b commit 6d06436
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const main = async () => {
await addReward(deployer, systemContract, REWARD_CONTRACT_ADDRESS, REWARD_DURATION, REWARDS_AMOUNT);
};

main().catch(error => {
main().catch((error) => {
console.error(error);
process.exit(1);
});
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const main = async () => {
await addReward(deployer, systemContract, rewardContractAddress, REWARD_DURATION, REWARDS_AMOUNT);
};

main().catch(error => {
main().catch((error) => {
console.error(error);
process.exit(1);
});
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const main = async () => {
await addReward(deployer, systemContract, rewardContractAddress, REWARD_DURATION, REWARDS_AMOUNT);
};

main().catch(error => {
main().catch((error) => {
console.error(error);
process.exit(1);
});
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const main = async () => {
await addReward(deployer, systemContract, rewardContractAddress, REWARD_DURATION, REWARDS_AMOUNT);
};

main().catch(error => {
main().catch((error) => {
console.error(error);
process.exit(1);
});
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
ERC20__factory,
RewardDistributor__factory,
RewardDistributorFactory,
SystemContract
SystemContract,
} from "../../typechain-types";
import { getChainId } from "../address.helpers";

Expand All @@ -30,7 +30,7 @@ export const deployRewardByToken = async (

const receipt = await tx.wait();

const event = receipt.events?.find(e => e.event === "RewardDistributorCreated");
const event = receipt.events?.find((e) => e.event === "RewardDistributorCreated");

const { rewardDistributorContract: rewardDistributorContractAddress } = event?.args as any;

Expand Down

0 comments on commit 6d06436

Please sign in to comment.