From 06db3483680c0f7c0eebb577bbbf1ea677deba65 Mon Sep 17 00:00:00 2001 From: "m.ray" <16125548+MadalinaRaicu@users.noreply.github.com> Date: Fri, 9 Feb 2024 13:22:08 +0000 Subject: [PATCH 1/2] Update libs/types/src/global-types-mappings.ts Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com> --- libs/types/src/global-types-mappings.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/types/src/global-types-mappings.ts b/libs/types/src/global-types-mappings.ts index 7731b0943..586a89140 100644 --- a/libs/types/src/global-types-mappings.ts +++ b/libs/types/src/global-types-mappings.ts @@ -750,8 +750,8 @@ export const LiquidityFeeMethodMapping: { [e in LiquidityFeeMethod]: string } = export const LiquidityFeeMethodMappingDescription: { [e in LiquidityFeeMethod]: string; } = { - METHOD_CONSTANT: `The fee is set by the market to a constant value irrespective of any liquidity provider's nominated fee.`, - METHOD_MARGINAL_COST: `The fee is smallest value of all bids, such that liquidity providers with nominated fees less than or equal to this value still have sufficient commitment to fulfil the market's target stake.`, + METHOD_CONSTANT: `This liquidity fee is a constant value, set in the market parameters, and overrides the liquidity providers' nominated fees.`, + METHOD_MARGINAL_COST: `This liquidity fee factor is determined by sorting all LP fee bids from lowest to highest, with LPs' commitments tallied up to fulfil the market's target stake. The last LP's bid becomes the fee factor.`, METHOD_UNSPECIFIED: 'Unspecified', - METHOD_WEIGHTED_AVERAGE: `The fee is the weighted average of all liquidity providers' nominated fees, weighted by their commitment`, + METHOD_WEIGHTED_AVERAGE: `This liquidity fee is the weighted average of all liquidity providers' nominated fees, weighted by their commitment.`, }; From beca205eabe9ea7c9a9b86dcbcad7819673569ba Mon Sep 17 00:00:00 2001 From: "m.ray" <16125548+MadalinaRaicu@users.noreply.github.com> Date: Fri, 9 Feb 2024 13:22:17 +0000 Subject: [PATCH 2/2] Update libs/types/src/global-types-mappings.ts Co-authored-by: candida-d <62548908+candida-d@users.noreply.github.com> --- libs/types/src/global-types-mappings.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/types/src/global-types-mappings.ts b/libs/types/src/global-types-mappings.ts index 586a89140..b6214d49e 100644 --- a/libs/types/src/global-types-mappings.ts +++ b/libs/types/src/global-types-mappings.ts @@ -739,12 +739,12 @@ export const ProposalProductTypeShortName: Record = export const LiquidityFeeMethodMapping: { [e in LiquidityFeeMethod]: string } = { /** Fee is set by the market to a constant value irrespective of any liquidity provider's nominated fee */ - METHOD_CONSTANT: 'Constant', + METHOD_CONSTANT: 'Constant fee', /** Fee is smallest value of all bids, such that liquidity providers with nominated fees less than or equal to this value still have sufficient commitment to fulfil the market's target stake. */ - METHOD_MARGINAL_COST: 'Marginal cost', + METHOD_MARGINAL_COST: 'Marginal cost fee', METHOD_UNSPECIFIED: 'Unspecified', /** Fee is the weighted average of all liquidity providers' nominated fees, weighted by their commitment */ - METHOD_WEIGHTED_AVERAGE: 'Weighted average', + METHOD_WEIGHTED_AVERAGE: 'Weighted average fee', }; export const LiquidityFeeMethodMappingDescription: {