Skip to content

Commit

Permalink
update lbsp pools
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Dec 1, 2023
1 parent 8af8181 commit 0dda96a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/applicationConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ interface ApplicationConfig {
readonly lbspLiquidityPools: string[];
readonly spfPoolId: string;
readonly specialRewards: string[];
readonly specialRewardsPct: Dictionary<number>;
readonly deprecatedPools: string[];
readonly isRewardsAvailable: boolean;
}
Expand Down Expand Up @@ -263,8 +264,11 @@ export const applicationConfig: ApplicationConfig = {
spfPoolId:
'a80022230c821a52e426d2fdb096e7d967b5ab25d350d469a7603dbf.5350465f4144415f4e4654',
specialRewards: [
'54ffabdd4c6cb983ea1d0c8c5296aa9d8d5dfaafbf0ff33efc45669b.4d41595a5f4144415f4e4654',
'12fbad0ff98818ec9d75a5a1a4d54ce9cdd45cce77b84cc9b91ee896.4d41595a5f4144415f4e4654',
],
specialRewardsPct: {
'12fbad0ff98818ec9d75a5a1a4d54ce9cdd45cce77b84cc9b91ee896.4d41595a5f4144415f4e4654': 125,
},
deprecatedPools: [
'c2ea7b366349afda7bab0fbdb712d1e6cec1c91c1cfda21a43998e38.436f726e75636f706961735f4144415f4e4654',
'd8beceb1ac736c92df8e1210fb39803508533ae9573cffeb2b24a839.696274635f4144415f4e4654',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { t, Trans } from '@lingui/macro';
import sum from 'lodash/sum';
import { FC, ReactNode } from 'react';

import { applicationConfig } from '../../../../../../../../applicationConfig.ts';
import { useObservable } from '../../../../../../../../common/hooks/useObservable';
import { AmmPool } from '../../../../../../../../common/models/AmmPool';
import { AssetIcon } from '../../../../../../../../components/AssetIcon/AssetIcon.tsx';
Expand Down Expand Up @@ -94,7 +95,7 @@ const CardanoLbspAmmPoolAprColumnContent: FC<CardanoAprColumnContent> = ({
if (isSpecialBoostedPool(ammPool.id)) {
aprs.push({
name: t`Boosted APR:`,
val: 75,
val: applicationConfig.specialRewardsPct[ammPool.id],
logo: <AssetIcon asset={ammPool.y.asset} size="extraSmall" />,
});
}
Expand Down

0 comments on commit 0dda96a

Please sign in to comment.