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

Connect add liquidity hook with pool data #34

Merged

Conversation

yvesfracari
Copy link
Contributor

Copy link

linear bot commented Oct 15, 2024

Copy link

vercel bot commented Oct 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cow-hooks-dapps-claim-vesting ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 4:35pm
cow-hooks-dapps-create-vesting ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 4:35pm
cow-hooks-dapps-withdraw-pool ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 4:35pm

Copy link
Contributor

@JeanNeiverth JeanNeiverth left a comment

Choose a reason for hiding this comment

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

Nice job, just pointed some minors

apps/withdraw-pool/src/app/page.tsx Show resolved Hide resolved
apps/deposit-pool/src/utils/schema.ts Outdated Show resolved Hide resolved
Comment on lines 4 to +6
poolId: z.string(),
amounts: z.record(z.string(), z.number()),
referenceTokenAddress: z.string(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a question, is there a scenario where this zod validation blocks something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Amounts must be positive, I will add it.

apps/deposit-pool/src/hooks/useTokenPools.ts Outdated Show resolved Hide resolved
apps/deposit-pool/src/app/page.tsx Show resolved Hide resolved
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.

2 participants