Skip to content

Commit 7ac39dc

Browse files
sktbrdclaude
andcommitted
fix(stake): deposit-first yield source tiles, drop the real-gas line
Community feedback (willywonka): users deposit regular USDC/stETH — Morpho/Morpheus is only the yield source. Tile title becomes the deposit ("Deposit USDC"), the protocol moves to the source line ("yield via Morpheus · in MOR"). Also removes the "Ethereum mainnet — real gas" sentence from the amber note, keeping the 7-day lock fact. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3a4bca1 commit 7ac39dc

3 files changed

Lines changed: 15 additions & 18 deletions

File tree

messages/en/stake.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,11 @@
112112
},
113113
"opp": {
114114
"choose": "What does {name} offer?",
115-
"stableTag": "Stable",
116-
"morTag": "MOR · variable",
117-
"vaultUsdc": "Morpho USDC",
118-
"morSteth": "Morpheus stETH",
119-
"morUsdc": "Morpheus USDC",
115+
"depositTitle": "Deposit {unit}",
116+
"viaMorpho": "yield via Morpho · stable",
117+
"viaMorpheus": "yield via Morpheus · in MOR",
120118
"estNote": "≈{rate}% APR estimate — swings with the MOR price and pool size.",
121-
"mainnetWarn": "Ethereum mainnet — real gas. Principal unlocks after a 7-day lock.",
119+
"mainnetWarn": "Principal unlocks after a 7-day lock.",
122120
"estYearLabel": "Estimated value / year",
123121
"estYearNote": "Paid in MOR on Arbitrum — a live estimate, not a guarantee.",
124122
"approving": "approving…",

messages/pt-br/stake.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,11 @@
112112
},
113113
"opp": {
114114
"choose": "O que {name} oferece?",
115-
"stableTag": "Estável",
116-
"morTag": "MOR · variável",
117-
"vaultUsdc": "Morpho USDC",
118-
"morSteth": "Morpheus stETH",
119-
"morUsdc": "Morpheus USDC",
115+
"depositTitle": "Depositar {unit}",
116+
"viaMorpho": "rendimento via Morpho · estável",
117+
"viaMorpheus": "rendimento via Morpheus · em MOR",
120118
"estNote": "≈{rate}% APR estimado — varia com o preço do MOR e o tamanho do pool.",
121-
"mainnetWarn": "Ethereum mainnet — gas real. O principal destrava após um lock de 7 dias.",
119+
"mainnetWarn": "O principal destrava após um lock de 7 dias.",
122120
"estYearLabel": "Valor estimado / ano",
123121
"estYearNote": "Pago em MOR na Arbitrum — estimativa ao vivo, não é garantia.",
124122
"approving": "aprovando…",

src/components/stake/StakeDialog.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ interface Opp {
3434
kind: "vault" | "mor";
3535
asset: "usdc" | "steth";
3636
unit: string;
37-
labelKey: string;
3837
venue: string;
3938
logo: string;
4039
presets: number[];
@@ -46,7 +45,6 @@ const OPPS: Opp[] = [
4645
kind: "vault",
4746
asset: "usdc",
4847
unit: "USDC",
49-
labelKey: "opp.vaultUsdc",
5048
venue: "Morpho",
5149
logo: MORPHO_LOGO,
5250
presets: [100, 500, 1000, 5000],
@@ -57,7 +55,6 @@ const OPPS: Opp[] = [
5755
kind: "mor",
5856
asset: "steth",
5957
unit: "stETH",
60-
labelKey: "opp.morSteth",
6158
venue: "Morpheus",
6259
logo: MORPHEUS_LOGO,
6360
presets: [0.011, 0.1, 0.5, 1],
@@ -68,7 +65,6 @@ const OPPS: Opp[] = [
6865
kind: "mor",
6966
asset: "usdc",
7067
unit: "USDC",
71-
labelKey: "opp.morUsdc",
7268
venue: "Morpheus",
7369
logo: MORPHEUS_LOGO,
7470
presets: [100, 500, 1000, 5000],
@@ -432,12 +428,17 @@ export function StakeDialog({
432428
{/* eslint-disable-next-line @next/next/no-img-element */}
433429
<img src={o.logo} alt="" className="h-6 w-6 flex-none rounded-full" />
434430
<div className="min-w-0 flex-1">
435-
<div className="text-sm font-bold">{t(o.labelKey)}</div>
431+
{/* Deposit asset first, protocol second: users deposit
432+
regular USDC/stETH — Morpho/Morpheus is only the
433+
yield source (community feedback). */}
434+
<div className="text-sm font-bold">
435+
{t("opp.depositTitle", { unit: o.unit })}
436+
</div>
436437
<div
437438
className="mt-0.5 text-[11.5px] font-semibold"
438439
style={{ color: muted }}
439440
>
440-
{o.kind === "vault" ? t("opp.stableTag") : t("opp.morTag")} · {o.unit}
441+
{o.kind === "vault" ? t("opp.viaMorpho") : t("opp.viaMorpheus")}
441442
</div>
442443
</div>
443444
<div className="flex-none text-[17px] font-black" style={{ color: GREEN }}>

0 commit comments

Comments
 (0)