From 10b334dbda30968a4e5f8ed82a29a9372b4f7203 Mon Sep 17 00:00:00 2001 From: franm Date: Mon, 9 Sep 2024 15:41:26 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20add=20APR=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/staking/StakedEXASummary/index.tsx | 18 +++++++++++++++++- i18n/es/translation.json | 11 +++-------- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/components/staking/StakedEXASummary/index.tsx b/components/staking/StakedEXASummary/index.tsx index 9645bffb2..786f566b7 100644 --- a/components/staking/StakedEXASummary/index.tsx +++ b/components/staking/StakedEXASummary/index.tsx @@ -8,6 +8,7 @@ import { useEXAPrice } from 'hooks/useEXA'; import useAccountData from 'hooks/useAccountData'; import formatNumber from 'utils/formatNumber'; import { calculateStakingRewardsAPR, calculateTotalStakingRewardsAPR } from 'utils/calculateStakingAPR'; +import { InfoOutlined } from '@mui/icons-material'; function StakedEXASummary() { const { t } = useTranslation(); @@ -41,7 +42,22 @@ function StakedEXASummary() { - {t('Estimated APR')} + + {t('Estimated APR')} + + {t( + "The 'Estimated APR' is equal to 50% of last week's treasury fees from the USDC market (annualized) divided by the total EXA Staked (in $).", + )} + + } + placement="top" + arrow + > + + + {totalRewardsAPR === undefined ? ( diff --git a/i18n/es/translation.json b/i18n/es/translation.json index dfd8a1ddd..d9d055209 100644 --- a/i18n/es/translation.json +++ b/i18n/es/translation.json @@ -657,13 +657,6 @@ "Started": "Iniciado", "Ends": "Finaliza", "Claim rewards to date": "Reclamar recompensas hasta la fecha", - "Staking progress": "Progreso de Staking", - "Started on": "Iniciado el", - "Rewards to date": "Recompensas hasta la fecha", - "Claimed: ": "Reclamado: ", - "penalty": "penalización", - "Total rewards": "Recompensas totales", - "By staking end on ": "Al finalizar el staking el ", "Staking Program": "Programa de Staking", "Earn a portion of the Protocol’s treasury fees by staking your EXA over a twelve-month period.": "Gana una parte de las tarifas del tesoro del Protocolo stakeando tu EXA durante un período de doce meses.", "Your Rewards": "Tus Recompensas", @@ -675,5 +668,7 @@ "Step 1: Stake your EXA": "Paso 1: Stakea tu EXA", "Step 2: Start receiving rewards from the protocol’s treasury fees.": "Paso 2: Comienza a recibir recompensas de las tarifas del tesoro del protocolo.", "Start staking now": "Comienza a stakear ahora", - "Stake EXA and Claim rewards": "Stakea EXA y Reclama recompensas" + "Stake EXA and Claim rewards": "Stakea EXA y Reclama recompensas", + "The 'Estimated APR' is equal to 50% of last week's treasury fees from the USDC market (annualized) divided by the total EXA Staked (in $).": "La 'TNA Estimada' es igual al 50% de las tarifas del tesoro de la semana pasada del mercado USDC (anualizado) dividido por el total de EXA Stakeado (en $).", + "Available to claim": "Disponible para reclamar" }