pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

feat: add-return-rate-in-PM-apr-display

Open ChefBingbong opened this issue 8 months ago • 2 comments


PR-Codex overview

This PR introduces new functionalities related to vault history snapshots, ROR calculations, and UI improvements.

Detailed summary

  • Added vaultAddress in PCSDuoTokenVault interface
  • Added ONE_DAY_MILLISECONDS constant in info.ts
  • Added floorToUTC00 function in floorCurrentTimestamp.ts
  • Added VAULT_API_ENDPOINT constant in endpoints.ts
  • Added getFixedDecimals function in getFixedDecimals.ts
  • Updated SkeletonTextProps in SkeletonText.tsx
  • Added ror in YieldInfo component
  • Added vaultHistorySnapshots in VaultContent component
  • Added vaultHistorySnapshots in ThirdPartyVaultCard component
  • Added ror in ThirdPartyVaultCard component
  • Added isVaultLoading and ror in DuoTokenVaultCard component
  • Added useFetchVaultHistory hook

The following files were skipped due to too many changes: apps/web/src/views/PositionManagers/hooks/useFetchVaultHistory.ts, apps/web/src/views/PositionManagers/hooks/useRor.ts, apps/web/src/views/PositionManagers/components/AprButton.tsx, apps/web/src/views/PositionManagers/components/TableView/index.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

ChefBingbong avatar Jun 19 '24 11:06 ChefBingbong