-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat: ido #11114
base: develop
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
7 Skipped Deployments
|
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces functionality for an Initial DEX Offering (IDO) feature. It adds new hooks, constants, and contract interactions related to IDOs, allowing users to deposit, claim, and retrieve information about their participation in IDOs. ### Detailed summary - Added `getIDOAddress` function in `addressHelpers.ts`. - Introduced IDO-related constants in `contracts.ts`. - Created `useIDOContract` hook in `useContract.ts`. - Added hooks for user info, status, deposit, and claim related to IDOs. - Defined IDO ABI in `ido.ts`. - Implemented queries for IDO pool info and user details. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
PR-Codex overview
This PR focuses on enhancing the IDO (Initial DEX Offering) features in the PancakeSwap platform, including the addition of new components, hooks, and utilities for better asset handling and user experience.
Detailed summary
useCurrentIDOConfig
hook for active IDO retrieval.VestingStatus
enum for managing vesting states.getIDOAddress
utility function.ASSET_CDN
.CurrentIdo
component to display current IDO details.useIDOUserInfo
hook for fetching user-specific IDO data.