From b2a8020e66825e4c6c0403b9864577cf246863fa Mon Sep 17 00:00:00 2001 From: 0xrajath Date: Mon, 16 Dec 2024 18:31:26 -0500 Subject: [PATCH] feat: tx2 --- script/TestRewardsV2.sol | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/script/TestRewardsV2.sol b/script/TestRewardsV2.sol index 90de5a56..2ccbf2b4 100644 --- a/script/TestRewardsV2.sol +++ b/script/TestRewardsV2.sol @@ -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); + } }