pancake-frontend
pancake-frontend copied to clipboard
feat: add-return-rate-in-PM-apr-display
PR-Codex overview
This PR introduces new functionalities related to vault history snapshots, ROR calculations, and UI improvements.
Detailed summary
- Added
vaultAddress
inPCSDuoTokenVault
interface - Added
ONE_DAY_MILLISECONDS
constant ininfo.ts
- Added
floorToUTC00
function infloorCurrentTimestamp.ts
- Added
VAULT_API_ENDPOINT
constant inendpoints.ts
- Added
getFixedDecimals
function ingetFixedDecimals.ts
- Updated
SkeletonTextProps
inSkeletonText.tsx
- Added
ror
inYieldInfo
component - Added
vaultHistorySnapshots
inVaultContent
component - Added
vaultHistorySnapshots
inThirdPartyVaultCard
component - Added
ror
inThirdPartyVaultCard
component - Added
isVaultLoading
andror
inDuoTokenVaultCard
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}