You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
Each pool requires a number of async call to contract to get data for APY calculation. Frontend resources get eaten up every time the APYs are being updated.
Proposals:
Store constant value from contract to redux to avoid unnecessary updates. Eg Cakes Per Block from Pancake master chef contract.
A lean backend to update and aggregate APYs regularly. The DApp get only a list of APYs via the api call. (Restful or WebSocket).
Contract provides APY.
The text was updated successfully, but these errors were encountered:
EdwardMan917
changed the title
APY async requests makes page laggy
APY async requests make page laggy
Jan 4, 2022
Problem:
Each pool requires a number of async call to contract to get data for APY calculation. Frontend resources get eaten up every time the APYs are being updated.
Proposals:
The text was updated successfully, but these errors were encountered: