Skip to content

Commit 9c28996

Browse files
feat: operator commission bips (#627)
* feat: operator commission bips configured with a delay * build: bindings * fix: interfaces and comments * fix: storage gap and comments * chore: tests cleanup * build: bindings * chore: `forge fmt src/contracts` * feat: `operatorCommissionUpdates` length getter * fix: remove unused imports * fix: optimizations * chore: uncheckeds and remove dup view * build: bindings * chore: format --------- Co-authored-by: clandestine.eth <[email protected]>
1 parent bed47fb commit 9c28996

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/contracts/interfaces/IRewardsCoordinator.sol

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,16 @@ interface IRewardsCoordinator {
9292
uint32 duration;
9393
}
9494

95+
struct OperatorSetRewardsSubmission {
96+
RewardType rewardType;
97+
uint32 operatorSetId;
98+
StrategyAndMultiplier[] strategiesAndMultipliers;
99+
IERC20 token;
100+
uint256 amount;
101+
uint32 startTimestamp;
102+
uint32 duration;
103+
}
104+
95105
/**
96106
* @notice A distribution root is a merkle root of the distribution of earnings for a given period.
97107
* The RewardsCoordinator stores all historical distribution roots so that earners can claim their earnings against older roots

0 commit comments

Comments
 (0)