-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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: Increase decimals on vecake card #10932
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
availableClaim: claimResult.result.toString(), | ||
} | ||
} catch (error) { | ||
console.error('[ERROR] Fetching Revenue Sharing Pool', error) | ||
return initialData | ||
throw error |
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.
to retry if it fails
@@ -56,25 +58,24 @@ export const useRevenueSharingProxy = ( | |||
const [revenueResult, claimResult] = await Promise.all([ | |||
client.multicall({ | |||
contracts: revenueCalls, | |||
allowFailure: true, | |||
allowFailure: false, |
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.
throw error if call fails that can be retried
|
PR-Codex overview
This PR focuses on renaming the
lastTokenTimestamp
variable tolastDistributionTimestamp
across multiple files, reflecting a clearer representation of its purpose. Additionally, it updates the decimal precision for displayed values in theCakeRewardsCard
.Detailed summary
lastTokenTimestamp
tolastDistributionTimestamp
in:RevenueSharing.tsx
useRevenueSharingProxy.ts
useRevenueSharingPool.ts
CakeRewardsCard.tsx
CakeRewardsCard
for various displayed values.