-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add mainnet appconfig for wsteth/usdc and eeth pools #1394
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
@@ -9,5 +9,5 @@ export function calculateRatio({ | |||
b: bigint; | |||
decimals: number; | |||
}): bigint { | |||
return fixed(a, decimals).div(b, decimals).mul(100, 0).bigint; | |||
return fixed(fixed(a, decimals).div(b, decimals).mul(100, 0)).bigint; |
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.
@ryangoree Need to find a better solution for altering decimals of existing instances.
@@ -100,7 +100,7 @@ export function usePreviewAddLiquidity({ | |||
|
|||
return { | |||
status: queryStatus, | |||
previewAddLiquidityError: error as string, | |||
previewAddLiquidityError: error as 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.
@ryangoree Fix error.name for SDK errors.
Fix remaining issues with the wsteth/usdc decimals and include the latest pools from the registry in mainnet appconfig.