Skip to content

Add Operator Tools tab for claiming commission across all delegations#72

Merged
koenmtb1 merged 2 commits into
mainfrom
km/operator-claim
May 15, 2026
Merged

Add Operator Tools tab for claiming commission across all delegations#72
koenmtb1 merged 2 commits into
mainfrom
km/operator-claim

Conversation

@koenmtb1
Copy link
Copy Markdown
Contributor

@koenmtb1 koenmtb1 commented May 14, 2026

  • New /operator tab (only visible to wallets registered as providerAdmin or providerRewardsRecipient) that surfaces every split contract paying the operator, breaks the claimable amount into pending-distribute vs already-in-warehouse, and bundles claim → distribute → withdraw into the cart as one multicall.
  • Reuses the same three-way breakdown (total / pending / warehouse) inside the existing delegator-side "Claimable Rewards" card so users can see exactly which stage their rewards are in.
  • Indexer: /api/providers/:id now LEFT-JOINs atpPosition to expose the delegator beneficiary per stake, required to rebuild splitData for Split.distribute(). New field is additive and nullable.
  • Removed the 256-entry hard cap in useMulticall3Execution — large operator carts now chunk into multiple multicalls (gas-aware) instead of falling back to one-by-one execution.

@koenmtb1 koenmtb1 requested a review from a team as a code owner May 14, 2026 09:21
@koenmtb1 koenmtb1 merged commit adfd952 into main May 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant