Skip to content

Commit

Permalink
feat: temporary remove underlying assets for runepool (#7480)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeOMakinG authored Aug 5, 2024
1 parent ffd6148 commit 227220b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/assets/translations/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
"saversVaults": {
"description": "Earn yield on your %{asset} through the THORChain Savers Vaults. There is no lock up time, and rewards are accumulated automatically. Yield on THORChain comes from swap fees and block rewards. Single-sided yield is capped at half the double-sided yield of liquidity providers.",
"runePoolDescription": "RUNEPool lets you earn more %{asset} by pooling your %{asset} with others. You don't have to pick specific pools, everyone shares in the overall performance.",
"runePoolOverviewDescription": "RUNEPool optimizes %{asset} usage by depositing it into all POL-enabled liquidity pools in THORChain. By pooling %{asset} across these pools, participants earn the combined APY but face exposure to the aggregate impermanent loss. Instead of choosing individual pools, users benefit from the overall performance, effectively investing in a %{asset} index and all THORChain PoL-enabled assets. This simplifies liquidity provision and reduces individual risk.",
"runePoolOverviewDescription": "RUNEPool optimizes RUNE usage by depositing it into all POL-enabled liquidity pools in THORChain. By pooling RUNE across these pools, participants earn the combined APY but face exposure to the aggregate impermanent loss. Instead of choosing individual pools, users benefit from the overall performance, effectively investing in a RUNE index and all THORChain PoL-enabled assets. This simplifies liquidity provision and reduces individual risk.",
"vaultCap": "Vault Cap",
"vaultCapTooltip": "Current maximum capacity for this vault",
"haltedDepositTitle": "Deposits are temporarily halted.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export const ThorchainSaversOverview: React.FC<OverviewProps> = ({
asset: underlyingAsset?.symbol ?? '',
},
),
isLoaded: !!underlyingAsset?.symbol,
isLoaded: isRunePool || !!underlyingAsset?.symbol,
isTrustedDescription: true,
}),
[translate, underlyingAsset?.symbol, isRunePool],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ export const thorchainSaversStakingOpportunitiesMetadataResolver = async ({
type: DefiType.Staking,
underlyingAssetId: thorchainAssetId,
// @TODO: use all assets supported in RUNEPool as underlyingAssetIds
underlyingAssetIds: [thorchainAssetId] as [AssetId],
underlyingAssetIds: [],
rewardAssetIds: [thorchainAssetId] as [AssetId],
// @TODO: calculate underlying asset ratios when every asset is supported by underlyingAssetIds
underlyingAssetRatiosBaseUnit: ['1'],
underlyingAssetRatiosBaseUnit: [],
name: `RUNEPool`,
saversMaxSupplyFiat: undefined,
isFull: false,
Expand Down

0 comments on commit 227220b

Please sign in to comment.