Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor some hooks and show expired farms with pending rewards #476

Merged
merged 14 commits into from
Jul 22, 2023

Conversation

prodesert22
Copy link
Contributor

@prodesert22 prodesert22 commented Jul 17, 2023

Summary

  • Added useMultipleContractMultipledata hook to fetch multiple contract data
  • Fixed address is "false" in component state
  • Added extraPendingRewards for extra superfarms rewards
  • Refactor useExtraPendingRewards hook to use extraPendingRewards withou made contract calls
  • Show expired farms for user with pending rewards and extra pending rewards

you can test with this account 0.0.1775994, in HST/WHBAR whbar reward should be 0.04 and HST 0.18

@vercel
Copy link

vercel bot commented Jul 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2023 3:50pm

Copy link
Contributor

@SarjuHansaliya SarjuHansaliya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. In Flare and Coston2 when I open detail modal I am getting this error
    flare_error1
coston2-superfarm.mov
  1. In Avalanche mainnet approve button is not getting enabled
    image_2023_07_18T18_17_39_124Z

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
5.9% 5.9% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@prodesert22 prodesert22 merged commit 3f94746 into pangolindex:dev Jul 22, 2023
6 of 7 checks passed
@prodesert22 prodesert22 mentioned this pull request Jul 22, 2023
@github-actions
Copy link

Last commit released to npm version: 7.3.5-internal.c60dc9b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants