Skip to content

Commit

Permalink
feat: tx2
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrajath committed Dec 16, 2024
1 parent e2b71a8 commit b2a8020
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions script/TestRewardsV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,21 @@ contract TestRewardsV2 is Script {

eigenDAServiceManager.createAVSRewardsSubmission(rewardsSubmissions);
}

function tx_2() public {
IRewardsCoordinator.RewardsSubmission[]
memory rewardsSubmissions = new IRewardsCoordinator.RewardsSubmission[](
1
);

rewardsSubmissions[0] = IRewardsCoordinator.RewardsSubmission({
strategiesAndMultipliers: defaultStrategyAndMultipliers,
token: WETH,
amount: 1e18,
startTimestamp: uint32(1733788800), // 2024-12-10 00:00:00 UTC
duration: uint32(518400) // 6 days
});

eigenDAServiceManager.createAVSRewardsSubmission(rewardsSubmissions);
}
}

0 comments on commit b2a8020

Please sign in to comment.