Skip to content

feat(claimer): let a custom rewards claimer use the widget - #645

Merged
Vorobeyko merged 15 commits into
developfrom
feat/claimer-shell
Sep 10, 2026
Merged

feat(claimer): let a custom rewards claimer use the widget#645
Vorobeyko merged 15 commits into
developfrom
feat/claimer-shell

Conversation

@exromany

@exromany exromany commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Stacked on #641 (base feat/create-operator-flow).

Lets a wallet that only holds the custom rewards claimer role use the widget instead of landing on the starter pack. Discovery already finds these wallets (SDK ROLES.CLAIMER); this is the show-rule and routing side.

  • HAS_CLAIMER_ROLE / HAS_ANY_ROLE show rules; IS_NODE_OPERATOR now means manager or rewards only — a claimer is a role holder, not an operator, so keys/surveys/bond-management surfaces stay hidden.
  • Dashboard, /, and /bond/claim open to HAS_ANY_ROLE; bond tabs and get-correct-path keep a claimer-only wallet off operator-only bond routes.
  • Switch modal: role badges explain themselves on hover; the group View link is hidden for wallets with no operator role.
  • Alerts watcher and CM header links are gated so a claimer sees no operator-scoped alerts.
  • SDK pinned to 2.3.0-alpha.10 — that is the first alpha shipping ROLES.CLAIMER and claimerAddress from getManagementProperties.
  • /test/claimer stand + claimer-only mock providers for the claim form.

Note: claimer wallets are only discoverable once the SMDiscovery upgrade (claimer search) is deployed; until then the paths are reachable but nothing resolves to a claimer.

@exromany
exromany requested a review from a team as a code owner September 7, 2026 09:59
@preview-stands

preview-stands Bot commented Sep 7, 2026

Copy link
Copy Markdown

Preview stand status

Stand was demolished

Base automatically changed from feat/create-operator-flow to develop September 8, 2026 17:10
A sole new 0x02 operator becomes active, flipping the module to CSM_02 and
turning the apply-form flag off, which hid the ICS/IDVTC cards on /create
while the per-type route gates still allowed them. Only the apply fallback
depends on that flag now. The DEF gate itself refuses a wallet holding an
unconsumed ICS/IDVTC proof, so /create/0x01 and the card agree.
Appending flips the CAN_CREATE_* gate on the create page, whose Navigate
fallback pushed /create and cancelled the in-flight push to /.
…y flows

Operator discovery lists operators the wallet merely claims for, and both
the creation gates and the ICS/IDVTC apply flows counted them as owned. A
claimer-only wallet lost the 0x01 card and saw "Claimed" instead of its own
application form. Only manager/rewards roles now make the wallet "an
operator" in those places.
@Vorobeyko
Vorobeyko merged commit 4a9978d into develop Sep 10, 2026
7 checks passed
@Vorobeyko
Vorobeyko deleted the feat/claimer-shell branch September 10, 2026 16:35
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.

3 participants