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

fix: PAXG rewards on misconfigured markets #69

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Conversation

yum0e
Copy link
Contributor

@yum0e yum0e commented Oct 18, 2024

Context

Market was misconfigured.
Formula used was:
$$new_{rate}=old_{rate}$$
$$new_{amount}/new_{duration}=old_{amount}/old_{duration}$$
$$new_{amount} = old_{amount}*new_{duration}/old_{duration}$$

@yum0e yum0e merged commit 11e4e1d into main Oct 18, 2024
2 checks passed
@yum0e yum0e deleted the stop-paxg-programs branch October 18, 2024 08:28
Copy link

🎉 This PR is included in version 1.4.47 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants