Skip to content

Commit 55eca28

Browse files
sktbrdclaude
andauthored
chore(stake): drop four unused MOR strings (#259)
`opp.youKeepMor`, `opp.donateOpt`, `opp.morHow` and `opp.athleteBonus` are not referenced anywhere in the codebase — leftovers from an opt-in model the code never implemented. They were also actively misleading. "You keep 100% of the MOR" and "Optionally donate your MOR to the split" describe a flow where the split is a choice the staker makes. What `use-morpheus-stake.ts` actually does is wire the claim receiver to the 3-way split (staker 50 / Gnars 25 / athlete 25) by default, right after the deposit, as a second signature. Keeping 100% is the exception — it happens only if that second prompt is declined — and there is no UI for it. `lootbox.hint` ("You keep 50% · Gnars 25% · athlete 25%") is the one the user actually sees, and it is correct. Deleting rather than rewriting: making them accurate would mean describing a toggle that does not exist. The opt-out is a product decision, not a copy fix. Both locales, 283 keys each, identical order. Verified the dialog's 20 live `opp.*` keys all still resolve. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1ce5893 commit 55eca28

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

messages/en/stake.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@
118118
"morUsdc": "Morpheus USDC",
119119
"estNote": "≈{rate}% APR estimate — swings with the MOR price and pool size.",
120120
"mainnetWarn": "Ethereum mainnet — real gas. Principal unlocks after a 7-day lock.",
121-
"morHow": "How the MOR flows",
122-
"youKeepMor": "You keep 100% of the MOR",
123-
"athleteBonus": "{name} earns a referrer bonus (protocol-funded)",
124-
"donateOpt": "Optionally donate your MOR to the split",
125121
"estYearLabel": "Estimated value / year",
126122
"estYearNote": "Paid in MOR on Arbitrum — a live estimate, not a guarantee.",
127123
"approving": "approving…",

messages/pt-br/stake.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@
118118
"morUsdc": "Morpheus USDC",
119119
"estNote": "≈{rate}% APR estimado — varia com o preço do MOR e o tamanho do pool.",
120120
"mainnetWarn": "Ethereum mainnet — gas real. O principal destrava após um lock de 7 dias.",
121-
"morHow": "Como o MOR flui",
122-
"youKeepMor": "Você fica com 100% do MOR",
123-
"athleteBonus": "{name} ganha um bônus de indicação (pago pelo protocolo)",
124-
"donateOpt": "Opcional: doe seu MOR pro split",
125121
"estYearLabel": "Valor estimado / ano",
126122
"estYearNote": "Pago em MOR na Arbitrum — estimativa ao vivo, não é garantia.",
127123
"approving": "aprovando…",

0 commit comments

Comments
 (0)