Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit c3c0029

Browse files
authored
fix: wording (#147)
* fix: wording * fix: lint
1 parent 6fa3a29 commit c3c0029

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/modules/campaigns/hooks/useCampaignRules.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,15 @@ export default function useCampaignRules(campaign: CampaignFromApi, opportunity?
7070
arr.push({
7171
type: "liquidity",
7272
value: {
73-
description:
74-
"Only positions with an upper tick price below a fixed threshold are eligible for rewards. This rule sets a hard price ceiling for eligible positions: positions extending above this level do not qualify for rewards. Example: If the threshold is $1,050, only positions with an upper bound of $1,050 or lower are eligible.A position from $980 to $1,040 qualifies; one from $990 to $1,080 does not.",
73+
description: `Only positions with an upper tick price below ${params.upperPriceBond / 10000} are eligible for rewards. Here, "price" refers to the ratio of token 1 to token 0 — for example, if token 1 is ETH and token 0 is BTC, the price represents the ETH/BTC rate. This rule sets a strict upper limit on the price range for qualifying positions: any position with an upper tick price above this threshold is not eligible for rewards. Example: If the threshold is 1,050 token 1 per token 0, then only positions where the upper tick corresponds to a price of 1,050 or less are eligible. A position ranging from 980 to 1,040 qualifies; a position from 990 to 1,080 does not.`,
7574
label: (
7675
<Group size="sm">
7776
<Icon remix="RiDiscountPercentFill" />
7877
<Text size={"xs"} look="bold">
7978
Upper Price Bound
8079
</Text>
8180
<Value format={dollarFormat} size="xs" className="font-bold">
82-
{params.upperPriceBond / 1000}
81+
{params.upperPriceBond / 10000}
8382
</Value>
8483
</Group>
8584
),
@@ -90,16 +89,15 @@ export default function useCampaignRules(campaign: CampaignFromApi, opportunity?
9089
arr.push({
9190
type: "liquidity",
9291
value: {
93-
description:
94-
"Only positions with a lower tick price above a fixed threshold are eligible. This rule sets a hard price floor for eligible positions: positions extending below this level do not qualify for rewards. Example: If the threshold is $0.50, only positions with a lower bound of $0.50 or higher are eligible.A position from $0.60 to $1.10 qualifies; one from $0.30 to $1.00 does not.",
92+
description: `Only positions with a lower tick price above ${params.lowerPriceBond / 10000} are eligible for rewards. Here, "price" refers to the ratio of token 1 to token 0 — for example, if token 1 is ETH and token 0 is BTC, the price represents the ETH/BTC rate. This rule sets a strict lower limit on the price range for qualifying positions: any position with a lower tick price below this threshold is not eligible for rewards. Example: If the threshold is 1,050 token 1 per token 0, then only positions where the lower tick corresponds to a price of 1,050 or above are eligible. A position ranging from 1,060 to 1,080 qualifies; a position from 990 to 1,080 does not.`,
9593
label: (
9694
<Group size="sm">
9795
<Icon remix="RiDiscountPercentFill" />
9896
<Text size={"xs"} look="bold">
9997
Lower Price Bound
10098
</Text>
10199
<Value format={dollarFormat} size="xs" className="font-bold">
102-
{params.lowerPriceBond / 1000}
100+
{params.lowerPriceBond / 10000}
103101
</Value>
104102
</Group>
105103
),

0 commit comments

Comments
 (0)