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

Boosts feature #151

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from
Draft

Boosts feature #151

wants to merge 23 commits into from

Conversation

amaljosea
Copy link
Contributor

@amaljosea amaljosea commented Jan 9, 2025

closes #144
closes #145

Todo @amaljosea

  • Introduce boost banner
  • Fuel points banner update bottom
  • Boost banner with data
    • Implement time left
    • integrate rewards earned api
    • multiply and show $ value
  • Final UI improvements and cleanup

Todo @kallemoen

  • Learn more blog link
  • Boost configuration % data per pool

Todo @dmihal

Copy link

vercel bot commented Jan 9, 2025

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

Name Status Preview Comments Updated (UTC)
mira-amm-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2025 9:56am

@amaljosea
Copy link
Contributor Author

amaljosea commented Jan 9, 2025

Hi @dmihal

What is the best way to find the price of 1 FUEL token?

We need this in 2 places:

https://www.loom.com/share/b7a57cf9c44b49d1a681cbf4218c5a9a?from_recorder=1&focus_title=1

@FossilFrank
Copy link
Contributor

Hey @amaljosea, the simplest way would be to query from the SQD indexer, here's an example:

query {
  eth: assetById(id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07") {
    price
  }
  fuel: assetById(id: "0x1d5d97005e41cae2187a895fd8eab0506111e0e2f3331cd3912c15c24e3c1d82") {
    price
  }
}

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.

Boost reward UI Remove points programme
2 participants