You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves two conflicts against #224 and #225, both in the /stake feature:
- `services/stake-graph.ts`: #224 added a `claimReceiver` check so the
orbit only counts official /stake deposits. Kept, composed with this
branch's `priceStEth()` — their receiver filter runs first, then the
stETH row is priced through the guard that throws instead of silently
valuing it at $0. Also took their hoisted `user` const.
- `hooks/use-morpheus-stake.ts`: #225 added the `claimLockEnd` power-factor
argument. Kept verbatim; this branch's only change to that block was
prettier formatting, plus the `requestRevalidation` calls, which are on
untouched lines.
Both sides' intent verified present after the merge.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: messages/en/stake.json
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,22 @@
139
139
"lineStable": "Steady wins. {you} {asset} a year back to you — I'll take my cut in grip tape.",
140
140
"lineVar": "~{rate}% APR is a big air. Could land clean, could slam. You in?"
141
141
},
142
+
"lock": {
143
+
"step": "Step 2 · boost (optional)",
144
+
"title": "Lock your MOR claim to earn more",
145
+
"explain": "Your stETH stays liquid — withdraw after the 7-day window, whenever you want. You only defer WHEN you can claim the MOR you earn; in exchange your reward multiplier goes up.",
146
+
"continue": "Next: lock →",
147
+
"none": "No lock",
148
+
"noneNote": "Claim your MOR anytime",
149
+
"years": "{n, plural, one {# year} other {# years}}",
150
+
"mult": "{mult}× more MOR",
151
+
"oneway": "A lock can only be extended later, never shortened.",
152
+
"back": "Back",
153
+
"summaryTitle": "What you're choosing",
154
+
"summaryNone": "No lock — base rate, and you can claim your MOR whenever you like.",
155
+
"summaryLocked": "Locking {label} → {mult}× the MOR share, in exchange for not claiming it until then.",
156
+
"stethNote": "Either way your stETH principal is never locked by this — only the 7-day withdraw rule applies."
Copy file name to clipboardExpand all lines: messages/pt-br/stake.json
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,22 @@
139
139
"lineStable": "Devagar e sempre. {you} {asset} por ano de volta pra você — meu corte eu pego em fita.",
140
140
"lineVar": "~{rate}% APR é um baita air. Pode cair limpo ou levar tombo. Tá dentro?"
141
141
},
142
+
"lock": {
143
+
"step": "Passo 2 · turbinar (opcional)",
144
+
"title": "Trave o claim do MOR pra render mais",
145
+
"explain": "Seu stETH continua líquido — saca depois dos 7 dias, quando quiser. Você só adia QUANDO pode sacar o MOR que acumula; em troca, seu multiplicador de recompensa sobe.",
146
+
"continue": "Próximo: lock →",
147
+
"none": "Sem lock",
148
+
"noneNote": "Saca seu MOR quando quiser",
149
+
"years": "{n, plural, one {# ano} other {# anos}}",
150
+
"mult": "{mult}× mais MOR",
151
+
"oneway": "O lock só pode ser estendido depois, nunca encurtado.",
152
+
"back": "Voltar",
153
+
"summaryTitle": "O que você está escolhendo",
154
+
"summaryNone": "Sem lock — taxa base, e você saca seu MOR quando quiser.",
155
+
"summaryLocked": "Travar {label} → {mult}× a fatia de MOR, em troca de não poder sacar até lá.",
156
+
"stethNote": "De qualquer forma seu stETH nunca fica preso por isso — vale só a regra de saque de 7 dias."
0 commit comments