chore(#2151): rename market valuation entry and change tooltips on LP table (#2181)

* chore(#2151): rename market valuation entry and change tooltips on LP table

* chore(#2159): rename to Market valuation at entry
This commit is contained in:
m.ray 2022-11-21 05:30:38 -05:00 committed by GitHub
parent dbf30fc5c9
commit 6dffe9c019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@ describe('LiquidityTable', () => {
'Commitment ()',
'Share',
'Proposed fee',
'Average entry valuation',
'Market valuation at entry',
'Obligation',
'Supplied',
'Status',

View File

@ -94,7 +94,7 @@ export const LiquidityTable = forwardRef<AgGridReact, LiquidityTableProps>(
field="equityLikeShare"
type="rightAligned"
headerTooltip={t(
'The equity-like share of liquidity of the market, specific to each liquidity provider.'
'The equity-like share of liquidity of the market used to determine allocation of LP fees. Calculated based on share of total liquidity, with a premium added for length of commitment.'
)}
valueFormatter={percentageFormatter}
/>
@ -108,11 +108,11 @@ export const LiquidityTable = forwardRef<AgGridReact, LiquidityTableProps>(
valueFormatter={percentageFormatter}
/>
<AgGridColumn
headerName={t('Average entry valuation')}
headerName={t('Market valuation at entry')}
field="averageEntryValuation"
type="rightAligned"
headerTooltip={t(
'The average entry valuation of this liquidity provision for the market.'
'The valuation of the market at the time the liquidity commitment was made. Commitments made at a lower valuation earlier in the lifetime of the market would be expected to have a higher equity-like share if the market has grown. If a commitment is amended, value will reflect the average of the market valuations across the lifetime of the commitment.'
)}
minWidth={160}
valueFormatter={assetDecimalsFormatter}
@ -122,14 +122,14 @@ export const LiquidityTable = forwardRef<AgGridReact, LiquidityTableProps>(
field="commitmentAmount"
type="rightAligned"
headerTooltip={t(
'The liquidity providers obligation to the market, calculated as the liquidity commitment amount multiplied by the value of the stake_to_ccy_siskas network parameter.'
`The liquidity provider's obligation to the market, calculated as the liquidity commitment amount multiplied by the value of the stake_to_ccy_siskas network parameter to convert into units of liquidity volume. The obligation can be met by a combination of LP orders and limit orders on the order book.`
)}
valueFormatter={stakeToCcySiskasFormatter}
/>
<AgGridColumn
headerName={t('Supplied')}
headerTooltip={t(
'The amount of the settlement asset supplied for liquidity by this provider, calculated as the bond account balance multiplied by the value of the stake_to_ccy_siskas network parameter.'
`The amount of liquidity volume supplied by the LP order in order to meet the obligation. If the obligation is already met in full by other limit orders from the same Vega key the LP order is not required and this value will be zero. Also note if the target stake for the market is less than the obligation the full value of the obligation may not be required.`
)}
field="balance"
type="rightAligned"