From 73316e5283fc6c9de44a16872946dba9bbb3fd1e Mon Sep 17 00:00:00 2001 From: Nicolas Lecouflet Date: Fri, 20 Dec 2024 08:15:35 +0100 Subject: [PATCH] feat: set dumper as fee recipient --- scripts/merklDeploy.s.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/merklDeploy.s.sol b/scripts/merklDeploy.s.sol index ad5e53c..4501cb7 100644 --- a/scripts/merklDeploy.s.sol +++ b/scripts/merklDeploy.s.sol @@ -157,7 +157,7 @@ contract MainDeployScript is Script, JsonReader, TokensUtils, CreateXConstants { vm.startBroadcast(DEPLOYER_PRIVATE_KEY); // Set params and transfer ownership - setDistributionCreatorParams(address(creator.proxy), aglaMerkl, KEEPER); + setDistributionCreatorParams(address(creator.proxy), aglaMerkl, DUMPER); setDistributorParams(address(distributor.proxy), DISPUTE_TOKEN, KEEPER); // Deploy Disputer @@ -354,7 +354,7 @@ contract MainDeployScript is Script, JsonReader, TokensUtils, CreateXConstants { SETTERS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/ - function setDistributionCreatorParams(address _distributionCreator, address aglaMerkl, address keeper) public { + function setDistributionCreatorParams(address _distributionCreator, address aglaMerkl, address dumper) public { console.log("\n=== Setting DistributionCreator params ==="); DistributionCreator distributionCreator = DistributionCreator(_distributionCreator); @@ -368,8 +368,8 @@ contract MainDeployScript is Script, JsonReader, TokensUtils, CreateXConstants { distributionCreator.setRewardTokenMinAmounts(tokens, minAmounts); // Set keeper as fee recipient - console.log("Setting keeper as fee recipient:", keeper); - distributionCreator.setFeeRecipient(keeper); + console.log("Setting dumper as fee recipient:", dumper); + distributionCreator.setFeeRecipient(dumper); // Set campaign fees to 5% for airdrop campaigns console.log("Setting campaign fees to 5% for airdrop campaigns");