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: share allocation chart on project cards #154

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Matthews3301
Copy link
Contributor

When publishing a chain, it's possible to set allocation percentage of a token. This is now displayed as a bar chart on project card in explore page. Also, the same chart should appear in project detail page.

Closes #65

@github-actions
Copy link

github-actions bot commented Jun 8, 2022

Visit the preview URL for this PR (updated for commit 10f2a05):

https://ignite-new--pr154-feat-share-allocatio-hqqglrq9.web.app

(expires Wed, 15 Jun 2022 14:13:13 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@Matthews3301
Copy link
Contributor Author

Matthews3301 commented Jun 8, 2022

@fadeev you have mentioned that "Past" portion of the allocations should be using aggregated allocations from previous chains. However, I'm not sure if this is possible - after launching new chains for the same campaign, "allocatedShares" seem to be automatically aggregated, e.g.

      "allocatedShares": [
        {
          "denom": "s/foo",
          "amount": "10" // after launching second chain with the same amount, this will change to 20
        }
      ],

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.

Explore: show share allocation on cards
1 participant