Skip to content

Commit

Permalink
rewards: add mainnet deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
eladmallel committed Mar 11, 2024
1 parent dad314a commit d03fd26
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions packages/nouns-contracts/script/Rewards/DeployRewardsMainnet.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.19;

import { DeployRewardsBase } from './DeployRewardsBase.s.sol';
import { Rewards } from '../../contracts/client-incentives/Rewards.sol';
import { INounsDAOLogic } from '../../contracts/interfaces/INounsDAOLogic.sol';
import { INounsAuctionHouseV2 } from '../../contracts/interfaces/INounsAuctionHouseV2.sol';

contract DeployRewardsMainnet is DeployRewardsBase {
address constant AUCTION_HOUSE_MAINNET = 0x830BD73E4184ceF73443C15111a1DF14e495C706;
address constant DAO_PROXY_MAINNET = 0x6f3E6272A167e8AcCb32072d08E0957F9c79223d;
address constant VERBS_SAFE_MAINNET = 0x1020E5b6dB4382A93dab447AE9a310D24404962b;
address constant WETH_MAINNET = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

function run() public returns (Rewards rewards) {
return
super.runInternal({
dao: INounsDAOLogic(DAO_PROXY_MAINNET),
auctionHouse: INounsAuctionHouseV2(AUCTION_HOUSE_MAINNET),
admin: VERBS_SAFE_MAINNET,
ethToken: WETH_MAINNET,
params: Rewards.RewardParams({
minimumRewardPeriod: 14 days,
numProposalsEnoughForReward: 3,
proposalRewardBps: 100,
votingRewardBps: 50,
auctionRewardBps: 150,
proposalEligibilityQuorumBps: 1000,
minimumAuctionsBetweenUpdates: 7
})
});
}
}

0 comments on commit d03fd26

Please sign in to comment.