Skip to content

Commit

Permalink
feat: set dumper as fee recipient
Browse files Browse the repository at this point in the history
  • Loading branch information
nlecoufl committed Dec 20, 2024
1 parent b46d7f2 commit 73316e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/merklDeploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand All @@ -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");
Expand Down

0 comments on commit 73316e5

Please sign in to comment.