Skip to content

Commit 44fab1a

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 a3c8b24 commit 44fab1a

File tree

12 files changed

+277
-2876
lines changed

12 files changed

+277
-2876
lines changed

pkg/bindings/AVSDirectory/binding.go

Lines changed: 99 additions & 752 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/AVSDirectoryStorage/binding.go

Lines changed: 95 additions & 696 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/DelayedWithdrawalRouter/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/DelegationManager/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/EigenPodManager/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/IAVSDirectory/binding.go

Lines changed: 54 additions & 577 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/IRewardsCoordinator/binding.go

Lines changed: 3 additions & 229 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/RewardsCoordinator/binding.go

Lines changed: 6 additions & 294 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/RewardsCoordinatorStorage/binding.go

Lines changed: 3 additions & 322 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/contracts/core/RewardsCoordinatorStorage.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ abstract contract RewardsCoordinatorStorage is IRewardsCoordinator {
9797

9898
/// @notice Mapping: address => bool to check if the address is permissioned to call createRewardsForAllSubmission
9999
mapping(address => bool) public isRewardsForAllSubmitter;
100+
/// @notice Mapping: operator => avs => operatorSetId => OperatorCommissionUpdate history
101+
mapping(address => mapping(address => mapping(uint32 => mapping(RewardType => OperatorCommissionUpdate[])))) public
102+
operatorCommissionUpdates;
100103

101104
/// @notice Mapping: avs => rewardsSubmissionForAllEarnersHash => bool to check
102105
/// if rewards submission hash for all stakers and operators has been submitted

0 commit comments

Comments
 (0)