Open mrbasado opened 1 year ago
lmk what more you need to know. i think doing an initial check onchain for the last time we claimed (eg https://etherscan.io/tx/0xa49c64642abcaf22debcf6359778f00619fe8cb7e43128f3d514cc68e529d6e3) and then stating something like:
note that this api is not suppose to be public, and we are lucky hh lets us use it. if to be used in prod i would therefore suggest to cache it or something, as to not overload the endpoint.
we could have the api pinged on a fixed cadence every 5 minutes and have the result saved in the DB to prevent high usage
Integrate this API https://api.hiddenhand.finance/reward/1/0x3c0989eF27e3e3fAb87a2d7C38B35880C90E63b5 into the app to show if rewards have been claimed yet (showing users that not claimed yet can explain low yields). This ticket needs more explantion and detail before being implemented by @mrbasado and someone who knows the system better