Skip to content

Commit

Permalink
Add EIGEN rewards to holesky testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
8sunyuan committed Jul 16, 2024
1 parent acf49d3 commit 793dd64
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
24 changes: 14 additions & 10 deletions contracts/script/deploy/holesky/EigenDASM_RewardsUpgrade.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {EigenDAServiceManager} from "../../../src/core/EigenDAServiceManager.sol
contract ServiceManagerBaseUpgrade is ExistingDeploymentParser {
// Hardcode these values to your needs
address public serviceManager = 0xD4A7E1Bd8015057293f0D0A557088c286942e84b;
address public serviceManagerImplementation = 0xB355B24871241ee666Cb03a35848F1fe8EEDDEB7;
address public serviceManagerImplementation = 0xdBFd6C8582b58590C4AFF40BdF15488A086bC672;

ProxyAdmin public avsProxyAdmin = ProxyAdmin(0xB043055dd967A382577c2f5261fA6428f2905c15);
address deployerAddress = 0xDA29BB71669f46F2a779b4b62f03644A84eE3479;
Expand Down Expand Up @@ -150,18 +150,22 @@ contract ServiceManagerBaseUpgrade is ExistingDeploymentParser {
multiplier: 1e18
});

IERC20 token = new ERC20PresetFixedSupply(
"HARRYPOTTEROBAMASONIC10INU",
"BITCOIN",
mockTokenInitialSupply,
msg.sender
);
// IERC20 token = new ERC20PresetFixedSupply(
// "HARRYPOTTEROBAMASONIC10INU",
// "BITCOIN",
// mockTokenInitialSupply,
// msg.sender
// );

IERC20 token = IERC20(0x3B78576F7D6837500bA3De27A60c7f594934027E);


// must be in multiples of weeks i.e startTimestamp % 604800 == 0
uint32 startTimestamp = 1714608000;
uint32 startTimestamp = 1714608000 + 8 weeks;
// must be in multiples of weeks i.e duration % 604800 == 0
uint32 duration = 1 weeks;
uint32 duration = 10 weeks;
// amount <= 1e38 - 1
uint256 amount = 100e18;
uint256 amount = 5000000e18;

// Create RewardsSubmission input param
IRewardsCoordinator.RewardsSubmission[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"MAX_RETROACTIVE_LENGTH": 7776000,
"MAX_FUTURE_LENGTH": 2592000,
"GENESIS_REWARDS_TIMESTAMP": 1710979200,
"rewards_updater_address": "0x18a0f92Ad9645385E8A8f3db7d0f6CF7aBBb0aD4",
"rewards_updater_address": "0xBda666E84f5354358edC1Cd24c062bd831818C5A",
"activation_delay": 7200,
"calculation_interval_seconds": 604800,
"global_operator_commission_bips": 1000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"strategyManager": "0xdfB5f6CE42aAA7830E94ECFCcAd411beF4d4D5b6",
"strategyManagerImplementation": "0x59f766A603C53f3AC8Be43bBe158c1519b193a18",
"rewardsCoordinator": "0xAcc1fb458a1317E886dB376Fc8141540537E68fE",
"rewardsCoordinatorImplementation": "0x123C1A3543DBCA3f704E703dDda7FAAaA8e43D02",
"rewardsCoordinatorImplementation": "0xe54625095656206AC1B42819875343453c447f97",
"token": {
"tokenProxyAdmin": "0x67482666771e82C9a73BB9e9A22B2B597f448BBf",
"EIGEN": "0x3B78576F7D6837500bA3De27A60c7f594934027E",
Expand Down

0 comments on commit 793dd64

Please sign in to comment.