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

feat: Dont fetch farms in pools public data for prices and use wallet and info api instead

Open memoyil opened this issue 7 months ago • 2 comments


PR-Codex overview

The focus of this PR is to optimize fetching active farms and token prices for pools data.

Detailed summary

  • Removed fetchFarmsPublicDataAsync import
  • Renamed getCurrencyUsdPrice to getCurrencyListUsdPrice
  • Added getLivePoolsConfig import
  • Updated fetching active farms logic
  • Added getInfoTokenPrice function
  • Improved pools data fetching efficiency

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

memoyil avatar Jul 14 '24 10:07 memoyil