Closed seanmc9 closed 4 days ago
did a quickfix but it still is buggy bc for example right now when there's 0.0375 ETH of transactions in the rewards module, the landing page is saying 0.04 and the contest page is saying 0.03, we just need these to be consistent and accurate to the db
here we see it going to -0.01 after rewards were paid out
this is what I saw at 1:21pmET, whereas onchain the rewards module had 0.0325 ETH in it
this was correct though (should actually be 0.0325 but it looks like one of the txns didn't make it to our db, so it's correctly reflecting what's in our db at least)
Correct here too.
looks like this is what netbalances is returning in
packages/react-app-revamp/hooks/useRewardsTokens/useUnpaidRewardsTokens/index.ts
as called inpackages/react-app-revamp/components/_pages/Contest/components/RewardsInfo/index.tsx
maybe we just make all of the rewards logic uniform throughout the codebase? so for this it'd be using the logic and framework in
packages/react-app-revamp/components/_pages/ListContests/Contest/index.tsx
forpackages/react-app-revamp/components/_pages/Contest/components/RewardsInfo/index.tsx