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/Show NDOL redemption rate and give warning when low #28

Closed
wants to merge 2 commits into from

Conversation

camchis
Copy link
Contributor

@camchis camchis commented Jan 4, 2022

imgonline-com-ua-twotoone-vjvc

PR for: #23

  • Show NDOL redemption rate on mint modal and confirmation box
  • Show warnings if redemption rate < 90%

Happy to change any of the copy

@vercel
Copy link

vercel bot commented Jan 4, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/neccdao/frontend/EtVaWL1WsdbdH3f6iUsybrTPfPon
✅ Preview: https://frontend-git-fork-camchis-avg-redemption-rate-neccdao.vercel.app

@@ -456,6 +460,19 @@ const MintBox = (props) => {
// console.log("redemptionValue?.toString()");
// console.log(redemptionValue?.toString());

// Get average rate, check if redemption rate is less than 90%
let averageRedemptionRate = bigNumberify(0);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

is this all ok? BigNumber got me trippin 😵‍💫

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.

1 participant