forked from input-output-hk/daedalus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request input-output-hk#2924 from input-output-hk/fix/ddw-…
…1012-stake-pool
- Loading branch information
Showing
16 changed files
with
862 additions
and
692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 110 additions & 0 deletions
110
source/renderer/app/components/staking/stake-pools/StakePoolsTable.messages.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
import { defineMessages } from 'react-intl'; | ||
|
||
export const messages = defineMessages({ | ||
tableHeaderRank: { | ||
id: 'staking.stakePools.tableHeader.rank', | ||
defaultMessage: '!!!Rank', | ||
description: 'Table header "Rank" label on stake pools list view page', | ||
}, | ||
tableHeaderRankTooltip: { | ||
id: 'staking.stakePools.tooltip.rankingTooltip', | ||
defaultMessage: | ||
'!!!<p>A hierarchical ranking based on the potential rewards you will earn if you delegate the intended amount of stake to this pool, assuming that it reaches saturation.</p><p>*Stake pools with the potential rewards estimated at zero have the same ranking. Please set the stake slider to a higher value for more pools to get potential rewards estimated at more than zero.</p>', | ||
description: '"Rank" tooltip for the Stake Pools Table.', | ||
}, | ||
tableHeaderTicker: { | ||
id: 'staking.stakePools.tableHeader.ticker', | ||
defaultMessage: '!!!Ticker', | ||
description: 'Table header "Ticker" label on stake pools list view page', | ||
}, | ||
tableHeaderSaturation: { | ||
id: 'staking.stakePools.tableHeader.saturation', | ||
defaultMessage: '!!!Saturation', | ||
description: | ||
'Table header "Saturation" label on stake pools list view page', | ||
}, | ||
tableHeaderSaturationTooltip: { | ||
id: 'staking.stakePools.tooltip.saturationTooltip', | ||
defaultMessage: | ||
'!!!Saturation measures the stake in the pool and indicates the point at which rewards stop increasing with increases in stake. This capping mechanism encourages decentralization by discouraging users from delegating to oversaturated stake pools.', | ||
description: '"Saturation" tooltip for the Stake Pools Table.', | ||
}, | ||
tableHeaderPerformance: { | ||
id: 'staking.stakePools.tableHeader.performance', | ||
defaultMessage: '!!!Performance', | ||
description: | ||
'Table header "Performance" label on stake pools list view page', | ||
}, | ||
tableHeaderUptime: { | ||
id: 'staking.stakePools.tableHeader.uptime', | ||
defaultMessage: '!!!Uptime (days)', | ||
description: 'Table header "Uptime" label on stake pools list view page', | ||
}, | ||
tableHeaderMargin: { | ||
id: 'staking.stakePools.tableHeader.margin', | ||
defaultMessage: '!!!Margin', | ||
description: 'Table header "Margin" label on stake pools list view page', | ||
}, | ||
tableHeaderMarginTooltip: { | ||
id: 'staking.stakePools.tooltip.profitMarginTooltip', | ||
defaultMessage: | ||
"!!!The pool's profit, defined as the rewards percentage kept by the pool from the stake that was delegated to it.", | ||
description: '"Pool margin" tooltip for the Stake Pools Table.', | ||
}, | ||
tableHeaderRoi: { | ||
id: 'staking.stakePools.tableHeader.roi', | ||
defaultMessage: '!!!Roi', | ||
description: 'Table header "Roi" label on stake pools list view page', | ||
}, | ||
tableHeaderCost: { | ||
id: 'staking.stakePools.tableHeader.cost', | ||
defaultMessage: '!!!Cost (ADA)', | ||
description: 'Table header "Cost" label on stake pools list view page', | ||
}, | ||
tableHeaderCostTooltip: { | ||
id: 'staking.stakePools.tooltip.costPerEpochTooltip', | ||
defaultMessage: | ||
'!!!Fixed operational costs that the stake pool retains from any rewards earned during each epoch.', | ||
description: '"Cost per epoch" tooltip for the Stake Pools Table.', | ||
}, | ||
tableHeaderProducedBlocks: { | ||
id: 'staking.stakePools.tableHeader.producedBlocks', | ||
defaultMessage: '!!!Produced Blocks', | ||
description: | ||
'Table header "Produced Blocks" label on stake pools list view page', | ||
}, | ||
tableHeaderProducedBlocksTooltip: { | ||
id: 'staking.stakePools.tooltip.producedBlocksTooltip', | ||
defaultMessage: | ||
'!!!The total number of blocks the stake pool has produced.', | ||
description: '"Blocks" tooltip for the Stake Pools Table.', | ||
}, | ||
tableHeaderPotentialRewards: { | ||
id: 'staking.stakePools.tableHeader.potentialRewards', | ||
defaultMessage: '!!!Potential rewards', | ||
description: | ||
'Table header "Potential rewards" label on stake pools list view page', | ||
}, | ||
tableHeaderPotentialRewardsTooltip: { | ||
id: 'staking.stakePools.tooltip.potentialRewardsTooltip', | ||
defaultMessage: | ||
"!!!An estimation of the potential rewards you will earn per epoch if you delegate the intended amount of stake. The system looks at the pool's parameters and historical performance data to calculate potential rewards, assuming that the pool reaches optimal saturation.", | ||
description: '"Rewards" tooltip for the Stake Pools Table.', | ||
}, | ||
tableHeaderPledge: { | ||
id: 'staking.stakePools.tableHeader.pledge', | ||
defaultMessage: '!!!Pledge (ADA)', | ||
description: 'Table header "Pledge" label on stake pools list view page', | ||
}, | ||
tableHeaderPledgeTooltip: { | ||
id: 'staking.stakePools.tooltip.pledgeTooltip', | ||
defaultMessage: | ||
'!!!The amount of stake that a pool operator contributes to a pool. Pools with higher pledge amounts earn more rewards for themselves and their delegators. Pools that do not honor their pledge earn zero rewards and accrue low ranking.', | ||
description: '"Pledge" tooltip for the Stake Pools Table.', | ||
}, | ||
tableHeaderRetiring: { | ||
id: 'staking.stakePools.tableHeader.retiring', | ||
defaultMessage: '!!!Retiring in', | ||
description: 'Table header "Retiring" label on stake pools list view page', | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.