Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/web/public/locales/de/IncentivizePool.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"claim": "Anspruch"
},
"label": {
"claimableUnvestedAmount": "Anspruchsberechtigter unverfallbarer Betrag",
"depositAmount": "Einzahlungsbetrag",
"endDate": "Enddatum",
"incentivizedAmount": "Angereicherter Betrag",
Expand All @@ -78,6 +79,7 @@
"unvestedAmount": "Unverfallbarer Betrag"
},
"tooltip": {
"claimableUnvestedAmount": "Der Betrag, den der Anbieter nach Beendigung der Incentivierung derzeit beanspruchen kann.",
"depositAmount": "Die Menge der Token, die hinterlegt wurde, als<br />\ndiese Incentivierung erstellt wurde. Er ist vollständig<br />\nwird nach Abschluss der Incentivierung<br />\nIncentivierung.",
"incentivizedAmount": "Die Menge der Token, die in den<br />\nPool.",
"remainingAmount": "Die Anzahl der im Pool verbleibenden Token<br />\nPool.",
Expand Down
6 changes: 5 additions & 1 deletion packages/web/public/locales/en/IncentivizePool.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
"claim": "Claim"
},
"label": {
"claimableUnvestedAmount": "Claimable Unvested Amount",
"depositAmount": "Deposit Amount",
"claimableUnvestedAmount": "Claimable Unvested Amount",
"endDate": "End Date",
"incentivizedAmount": "Incentivized Amount",
"pool": "Pool",
Expand All @@ -78,7 +80,9 @@
"unvestedAmount": "Unvested Amount"
},
"tooltip": {
"claimableUnvestedAmount": "The amount currently claimable by the provider after the incentivization has been ended.",
"depositAmount": "The amount of tokens deposited when<br />\nthis incentivization was created. It’s fully<br />\nrefundable upon the completion of the<br />\nincentivization.",
"claimableUnvestedAmount": "The amount currently claimable by the provider after the incentivization has been ended.",
"incentivizedAmount": "The amount of tokens incentivized to the<br />\npool.",
"remainingAmount": "The amount of tokens remaining in the<br />\npool.",
"unvestedAmount": "The amount of tokens unvested due to<br />\nwarm-up period <link/>. This amount will be shown<br/>\nup and claimable by the provider address upon<br />\nthe completion of the incentivization."
Expand All @@ -97,4 +101,4 @@
"selectPool": "Select Pool",
"switch": "Switch to Gnoland"
}
}
}
2 changes: 2 additions & 0 deletions packages/web/public/locales/es/IncentivizePool.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"claim": "Reclamación"
},
"label": {
"claimableUnvestedAmount": "Importe reclamable no adquirido",
"depositAmount": "Importe del depósito",
"endDate": "Fecha final",
"incentivizedAmount": "Importe incentivado",
Expand All @@ -78,6 +79,7 @@
"unvestedAmount": "Importe no invertido"
},
"tooltip": {
"claimableUnvestedAmount": "El importe que puede reclamar actualmente el proveedor una vez finalizada la incentivación.",
"depositAmount": "La cantidad de tokens depositados cuando<br />\nse creó este incentivo. Es totalmente<br />\nreembolsable al finalizar la<br />\nincentivación.",
"incentivizedAmount": "La cantidad de tokens incentivados al<br />\npool.",
"remainingAmount": "La cantidad de fichas que quedan en la<br />\nreserva.",
Expand Down
2 changes: 2 additions & 0 deletions packages/web/public/locales/fr/IncentivizePool.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"claim": "Réclamation"
},
"label": {
"claimableUnvestedAmount": "Montant réclamable non acquis",
"depositAmount": "Montant du dépôt",
"endDate": "Date de fin",
"incentivizedAmount": "Montant incitatif",
Expand All @@ -78,6 +79,7 @@
"unvestedAmount": "Montant non acquis"
},
"tooltip": {
"claimableUnvestedAmount": "Le montant actuellement réclamé par le prestataire après la fin de l'incitation.",
"depositAmount": "Le montant des jetons déposés lorsque<br />\ncette incitation a été créée. Il est entièrement<br />\nremboursable à l'issue de l'incitation<br />\nincitation.",
"incentivizedAmount": "Le montant des tokens incités à rejoindre le<br />\npool.",
"remainingAmount": "La quantité de jetons restants dans le<br />\npool.",
Expand Down
2 changes: 2 additions & 0 deletions packages/web/public/locales/ja/IncentivizePool.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"claim": "クレーム"
},
"label": {
"claimableUnvestedAmount": "請求可能な未投資額",
"depositAmount": "預金額",
"endDate": "終了日",
"incentivizedAmount": "インセンティブ額",
Expand All @@ -78,6 +79,7 @@
"unvestedAmount": "未給付額"
},
"tooltip": {
"claimableUnvestedAmount": "インセンティブ終了後、プロバイダーが現在請求可能な金額。",
"depositAmount": "このインセンティブが設定されたときに預けられたトークンの量。<br />\nこのインセンティブが作成されたこの金額は<br />\n払い戻し可能です。<br />\n払い戻されます。",
"incentivizedAmount": "トークンの量。<br />\nプールへのトークンの量。",
"remainingAmount": "プールに残っているトークンの量。<br />\nプールに残っているトークンの量。",
Expand Down
6 changes: 5 additions & 1 deletion packages/web/public/locales/ko/IncentivizePool.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
"claim": "청구하기"
},
"label": {
"claimableUnvestedAmount": "청구 가능한 미투자 금액",
"depositAmount": "예치 수량",
"claimableUnvestedAmount": "청구 가능 미분배 수량",
"endDate": "종료 날짜",
"incentivizedAmount": "인센티브 수량",
"pool": "풀",
Expand All @@ -78,7 +80,9 @@
"unvestedAmount": "미분배 수량"
},
"tooltip": {
"claimableUnvestedAmount": "인센티브가 종료된 후 현재 공급자가 청구할 수 있는 금액입니다.",
"depositAmount": "인센티브가 생성될 때 예치된 토큰의 수량입니다. <br />\n인센티브 기간이 종료되면 전액 환급받을 수 있습니다.",
"claimableUnvestedAmount": "인센티브 종료 후 제공자가 현재 청구할 수 있는 미분배 수량입니다.",
"incentivizedAmount": "풀에 인센티브로 제공되는 토큰의 수량입니다.",
"remainingAmount": "풀에 남은 토큰의 수량입니다.",
"unvestedAmount": "Warm-up 기간 <link/>으로 인해 아직 분배되지 않은 토큰 수량입니다. <br/>이 수량은 인센티브가 종료되면 제공자의 주소에서 확인되며<br/>청구할 수 있습니다."
Expand All @@ -97,4 +101,4 @@
"selectPool": "풀 선택",
"switch": "Gnoland로 전환"
}
}
}
2 changes: 2 additions & 0 deletions packages/web/public/locales/ru/IncentivizePool.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"claim": "Заявление"
},
"label": {
"claimableUnvestedAmount": "Сумма, на которую можно претендовать и которая не была выплачена",
"depositAmount": "Сумма депозита",
"endDate": "Дата окончания",
"incentivizedAmount": "Стимулируемая сумма",
Expand All @@ -78,6 +79,7 @@
"unvestedAmount": "Сумма, не переданная по наследству"
},
"tooltip": {
"claimableUnvestedAmount": "Сумма, которую поставщик может предъявить в настоящее время после окончания стимулирования.",
"depositAmount": "Количество токенов, внесенных на депозит, когда<br />\nкогда была создана эта стимуляция. Она полностью<br />\nвозвращается по завершении<br />\nстимула.",
"incentivizedAmount": "Количество токенов, поощряемых в<br />\nпул.",
"remainingAmount": "Количество жетонов, оставшихся в<br />\nпуле.",
Expand Down
2 changes: 2 additions & 0 deletions packages/web/public/locales/zh/IncentivizePool.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"claim": "索赔"
},
"label": {
"claimableUnvestedAmount": "可申请的未归属金额",
"depositAmount": "存款金额",
"endDate": "结束日期",
"incentivizedAmount": "奖励金额",
Expand All @@ -78,6 +79,7 @@
"unvestedAmount": "未归属金额"
},
"tooltip": {
"claimableUnvestedAmount": "奖励结束后,医疗服务提供者目前可报销的金额。",
"depositAmount": "创建此激励机制时存入的代币数量。<br />\n创建该激励机制时存入的代币数量。在<br />\n可在完成<br />\n奖励。",
"incentivizedAmount": "代币池中的代币数量。<br />\n池。",
"remainingAmount": "代币池中剩余的代币数量。<br />\n池中剩余的代币数量。",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,25 @@ const IncentivizePoolHistoryBox = ({ stakingData, poolPath }: IncentivizePoolHis
</div>
</div>

<div className="row">
<div className="label">
{t("IncentivizePool:incentiPool.history.label.claimableUnvestedAmount")}
<Tooltip
FloatingContent={
<span css={historyTooltipContent}>
<Trans ns="IncentivizePool" components={{ br: <br /> }} i18nKey={"incentiPool.history.tooltip.claimableUnvestedAmount"} />
</span>
}
placement="top"
>
<IconInfo size={16} />
</Tooltip>
</div>
<div className="value">
{formatAmount(stakingData.claimableUnvestedAmount, rewardToken.decimals)} {rewardToken.symbol}
</div>
</div>

<div className="row">
<div className="label">
{t("IncentivizePool:incentiPool.history.label.depositAmount")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const IncentivizePoolHistoryContainer = () => {
remainingAmount: shiftToDisplay(displayToken, item.remainingAmount || "0"),
incentivizedAmount: shiftToDisplay(displayToken, item.incentivizedAmount || "0"),
unvestedAmount: shiftToDisplay(displayToken, item.unvestedAmount || "0"),
claimableUnvestedAmount: shiftToDisplay(displayToken, item.claimableUnvestedAmount || "0"),
depositGnsAmount: shiftToDisplay(GNS_TOKEN, (item as ExtendedPoolStakingModel).depositGnsAmount || "0"),
};
})
Expand Down
3 changes: 2 additions & 1 deletion packages/web/src/models/pool/mapper/pool-staking-mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export class PoolStakingMapper {
return {
...poolStaking,
incentiveId: poolStaking?.incentiveId || null,
unvestedAmount: poolStaking.penaltyAmount || poolStaking.unvestedAmount || "0",
unvestedAmount: poolStaking.unvestedAmount || "0",
claimableUnvestedAmount: poolStaking.claimableUnvestedAmount || "0",
incentiveType: poolStaking.incentiveType as INCENTIVE_TYPE,
};
}
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/models/pool/pool-staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface PoolStakingModel {
startTimestamp: string;
endTimestamp: string;
unvestedAmount: string;
claimableUnvestedAmount: string;
createdBlockHeight: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export interface PoolStakingResponse {
startTimestamp: string;
endTimestamp: string;
unvestedAmount: string;
penaltyAmount: string;
totalPenaltyAmount: string;
collectedPenaltyAmount: string;
claimableUnvestedAmount: string;
createdBlockHeight: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class PoolConverter {
...data,
incentivizedAmount: AmountConverter.convertSingle(data.rewardToken, data.incentivizedAmount),
remainingAmount: AmountConverter.convertSingle(data.rewardToken, data.remainingAmount),
claimableUnvestedAmount: AmountConverter.convertSingle(data.rewardToken, data.claimableUnvestedAmount),
};
});
}
Expand Down
Loading