-
Notifications
You must be signed in to change notification settings - Fork 39
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
Reinstate Liquidity Rewards Program #260
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@hhio618 is attempting to deploy a commit to the Nation3 DAO Team on Vercel. A member of the Team first needs to authorize it. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #260 +/- ##
=======================================
Coverage 11.79% 11.79%
=======================================
Files 18 18
Lines 356 356
Branches 80 77 -3
=======================================
Hits 42 42
- Misses 308 314 +6
+ Partials 6 0 -6 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hhio618 I tested on the Mainnet preview: https://citizen-app-mainnet-git-fork-hhio618-main-nation3dao.vercel.app
On the /lock
page, my $veNATION balance shows as 19.65:
But on the /liquidity
page it shows as 0:
Any idea why the $veNATION balance is not loading?
Please test using the latest commit. |
@hhio618 I'm getting a Is that because of the Reward APY being zero? |
Co-authored-by: Aahna Ashina <[email protected]>
@aahna-ashina I'm not sure! Please send me the testnet token so that I can test this further. |
@hhio618 Here is how to get testnet tokens: https://github.com/nation3/.github/blob/main/CONTRIBUTING.md |
@aahna-ashina Found the issue, the totalDeposit is zero in this contract: https://sepolia.etherscan.io/address/0x5514cF24D2241Ecc6012306927eA8d74E052416D#readContract. This value is being used for division in this code: citizen-app/ui/lib/liquidity-rewards.ts Line 75 in 833fc22
|
@hhio618 Okay, thank you. So if we make a deposit, the error message should disappear? |
@aahna-ashina You're welcome! Yes, Just add tokens using the |
This will revert the changes made in commit 0d32b32#diff-c929e9424c96a55187bf3c7ecec95438b67f7a6f20df177e368728ba4bbe4890
Related GitHub Issue
#225
Screenshots (if appropriate):
How Has This Been Tested?
Are There Admin Tasks?