pancake-frontend
pancake-frontend copied to clipboard
feat: launch-pools
PR-Codex overview
This PR focuses on adding launch pool constants, supported chains, and components to the web app. It also includes configuration updates and utility functions.
Detailed summary
- Added launch pool constants and supported chains
- Updated configuration files
- Added new components for launch pools
- Implemented utility functions for calculations
The following files were skipped due to too many changes:
apps/web/src/views/LaunchPools/components/utils/formatSecondsToWeeks.ts
,apps/web/src/views/LaunchPools/hooks/useProfileRequirement.ts
,apps/web/src/views/LaunchPools/hooks/useHarvestPool.ts
,apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/BenefitsTooltipsText.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/RecentCakeProfitBalance.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/styles.ts
,apps/web/src/views/LaunchPools/hooks/useVCake.tsx
,apps/web/src/views/LaunchPools/components/PoolControls/index.tsx
,packages/launch-pools/package.json
,apps/web/src/views/LaunchPools/hooks/useUnstakePool.ts
,apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultCardActions/VaultApprovalAction.tsx
,apps/web/src/views/LaunchPools/MpPageLayout.tsx
,apps/web/src/views/LaunchPools/components/Vault/VaultStakeButtonGroup.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/YieldBoostRow.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/Cells/AprCell.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/BurningCountDown.tsx
,apps/web/src/views/LaunchPools/hooks/useStakePool.ts
,apps/web/src/views/LaunchPools/components/PoolsTable/Cells/TotalStakedCell.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/DateRow.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/TextRow.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/StaticAmount.tsx
,apps/web/src/views/LaunchPools/components/PoolCard/CardActions/ApprovalAction.tsx
,apps/web/src/views/LaunchPools/components/PoolTypeTag.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/ExtendEnable.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Modals/RoiCalculatorModalProvider.tsx
,apps/web/src/views/LaunchPools/components/Apr.tsx
,apps/web/src/views/LaunchPools/components/Modals/NotEnoughTokensModal.tsx
,apps/web/src/views/LaunchPools/hooks/useWithdrawalFeeTimer.ts
,apps/web/src/views/LaunchPools/components/RevenueSharing/JoinRevenueModal/VCakeModal.tsx
,apps/web/src/views/LaunchPools/components/ProfileRequirementWarning.tsx
,apps/web/src/views/LaunchPools/components/RevenueSharing/JoinRevenueModal/JoinButton.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/RecentCakeProfitRow.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/IfoCakeRow.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Buttons/ExtendDurationButton.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/ConvertToLock.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/hooks/useUserDataInVaultPresenter.ts
,apps/web/src/views/LaunchPools/components/LockedPool/hooks/useAvgLockDuration.tsx
,apps/web/src/views/LaunchPools/components/Stat.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Buttons/AddCakeButton.tsx
,apps/web/src/views/LaunchPools/components/MaxStakeRow.tsx
,apps/web/src/views/LaunchPools/components/PoolCard/CardFooter/index.tsx
,apps/web/src/views/LaunchPools/components/OriginalLockedInfo.tsx
,apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/ClaimButton.tsx
,apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/SharingPoolNameCell.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/FeeSummary.tsx
,apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/index.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultCardActions/VaultStakeActions.tsx
,apps/web/src/views/LaunchPools/components/Modals/CollectModal.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/BalanceRow.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultCardActions/index.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Buttons/WithdrawAllButton.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/LockedActions.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Buttons/ConvertToFlexibleButton.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/AfterLockedActions.tsx
,apps/web/src/views/LaunchPools/components/AutoEarningsBreakdown.tsx
,packages/launch-pools/src/constants/launchpools/bsc.ts
,apps/web/src/views/LaunchPools/components/LockedPool/Modals/LockedStakeModal.tsx
,apps/web/src/views/LaunchPools/hooks/useApprove.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/StakingApy.tsx
,apps/web/src/views/LaunchPools/hooks/useRevenueSharingPool.ts
,apps/web/src/views/LaunchPools/components/CakeVaultCard/UnstakingFeeCountdownRow.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/CakeVaultApr.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/Cells/EarningsCell.tsx
,apps/web/src/views/LaunchPools/components/PoolCard/CardActions/index.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/Harvest.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/Cells/AutoEarningsCell.tsx
,apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/RevenueSharing.tsx
,apps/web/src/views/LaunchPools/components/Vault/VaultPositionTag.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/LockDurationField.tsx
,apps/web/src/views/LaunchPools/components/RevenueSharing/JoinRevenueModal/index.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/Cells/StakedCell.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultCardActions/HasSharesActions.tsx
,apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/LockedBenefits.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/hooks/useLockedPool.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/PoolRow.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/LockedStakingApy.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/types/index.ts
,apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx
,apps/web/src/views/LaunchPools/helpers.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/BalanceField.tsx
,apps/web/src/views/LaunchPools/index.tsx
,apps/web/src/views/LaunchPools/components/Vault/VaultRoiCalculatorModal.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/Cells/NameCell.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/LockedStaking.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/Cells/AutoAprCell.tsx
,apps/web/src/views/LaunchPools/components/Modals/StakeModal.tsx
,apps/web/src/views/LaunchPools/components/PoolStatsInfo.tsx
,pnpm-lock.yaml
,apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Modals/AddAmountModal.tsx
,apps/web/src/views/LaunchPools/components/LockedPool/Common/LockedModalBody.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/index.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/ActionPanel.tsx
,apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx
,apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/Stake.tsx
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}
⚠️ No Changeset found
Latest commit: 51276f61d99ba39a5fa06a4b940b1ab58e769958
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 23, 2024 10:07am |
5 Ignored Deployments
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
aptos-web | ⬜️ Ignored (Inspect) | Visit Preview | Feb 23, 2024 10:07am | |
blog | ⬜️ Ignored (Inspect) | Visit Preview | Feb 23, 2024 10:07am | |
bridge | ⬜️ Ignored (Inspect) | Visit Preview | Feb 23, 2024 10:07am | |
games | ⬜️ Ignored (Inspect) | Visit Preview | Feb 23, 2024 10:07am | |
uikit | ⬜️ Ignored (Inspect) | Visit Preview | Feb 23, 2024 10:07am |
Typescript errors check
Ohhh you have added 107 errors whith this PR 😥
1240 ts errors detected in all the codebase 😟.
107 ts errors detected in the modified files.
Details
Filename | Location | Message |
---|---|---|
apps/web/src/views/LaunchPools/components/AutoEarningsBreakdown.tsx | 25, 5 | 'userData' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/AutoEarningsBreakdown.tsx | 26, 5 | 'userData' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/AutoEarningsBreakdown.tsx | 27, 5 | Argument of type 'BigNumber | undefined' is not assignable to parameter of type 'BigNumber'. |
apps/web/src/views/LaunchPools/components/AutoEarningsBreakdown.tsx | 36, 26 | 'userData' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/AutoEarningsBreakdown.tsx | 36, 65 | 'userData' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/FeeSummary.tsx | 22, 13 | Property 'withdrawalFee' does not exist on type 'DeserializedVaultFees | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/FeeSummary.tsx | 22, 28 | Property 'withdrawalFeePeriod' does not exist on type 'DeserializedVaultFees | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/FeeSummary.tsx | 23, 17 | Property 'lastDepositedTime' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/RecentCakeProfitRow.tsx | 19, 5 | Argument of type '0x${string} | undefined' is not assignable to parameter of type 'string'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/RecentCakeProfitRow.tsx | 20, 5 | 'userData' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/RecentCakeProfitRow.tsx | 21, 5 | 'userData' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/RecentCakeProfitRow.tsx | 31, 9 | 'userData' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/UnstakingFeeCountdownRow.tsx | 26, 17 | Property 'lastDepositedTime' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/UnstakingFeeCountdownRow.tsx | 26, 36 | Property 'userShares' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/UnstakingFeeCountdownRow.tsx | 27, 13 | Property 'withdrawalFee' does not exist on type 'DeserializedVaultFees | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/UnstakingFeeCountdownRow.tsx | 27, 28 | Property 'withdrawalFeePeriod' does not exist on type 'DeserializedVaultFees | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/UnstakingFeeCountdownRow.tsx | 83, 47 | Type 'null' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 83, 50 | Argument of type 'VaultKey | undefined' is not assignable to parameter of type 'VaultKey'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 88, 7 | Property 'lastDepositedTime' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 89, 7 | Property 'userShares' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 90, 7 | Property 'balance' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 105, 69 | Argument of type 'VaultKey | undefined' is not assignable to parameter of type 'VaultKey'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 106, 90 | Argument of type 'VaultKey | undefined' is not assignable to parameter of type 'VaultKey'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 117, 26 | Type 'undefined' cannot be used as an index type. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 122, 11 | 'flexibleApy' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 123, 5 | Type 'number | undefined' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 128, 44 | 'pool.earningTokenPrice' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 175, 81 | Argument of type 'BigNumber | undefined' is not assignable to parameter of type 'BigNumber'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 190, 41 | Type '0x${string} | undefined' is not assignable to type '0x${string} '. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 190, 50 | Type 'number | undefined' is not assignable to type 'ChainId'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 211, 41 | Type '0x${string} | undefined' is not assignable to type '0x${string} '. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 211, 50 | Type 'number | undefined' is not assignable to type 'ChainId'. |
apps/web/src/views/LaunchPools/components/CakeVaultCard/VaultStakeModal.tsx | 293, 21 | Type 'VaultKey | undefined' is not assignable to type 'VaultKey'. |
apps/web/src/views/LaunchPools/components/LockedPool/Buttons/AddCakeButton.tsx | 32, 7 | Type 'Token | undefined' is not assignable to type 'Token'. |
apps/web/src/views/LaunchPools/components/LockedPool/Buttons/AddCakeButton.tsx | 44, 80 | 'stakingToken' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Buttons/CalculatorButton.tsx | 10, 92 | This expression is not callable. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/ConvertToLock.tsx | 33, 9 | No overload matches this call. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/BalanceRow.tsx | 50, 9 | Type 'string | number | undefined' is not assignable to type 'string | number'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 40, 40 | Type 'string | false | undefined' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 44, 81 | Type 'number | undefined' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 50, 64 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 54, 42 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 58, 50 | Type 'BigNumber | undefined' is not assignable to type 'BigNumber'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 65, 48 | Type 'number | undefined' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 65, 72 | Type 'BigNumber | undefined' is not assignable to type 'BigNumber'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 94, 13 | Type 'string | false' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 95, 13 | Type 'string | false | 0 | undefined' is not assignable to type 'string | undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Common/Overview/index.tsx | 110, 13 | Type 'false | Date' is not assignable to type 'Date'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/AddAmountModal.tsx | 103, 61 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/AddAmountModal.tsx | 104, 71 | Argument of type 'string | undefined' is not assignable to parameter of type 'string'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/AddAmountModal.tsx | 122, 9 | Type 'number | null' is not assignable to type 'number | undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 38, 62 | 'stakingToken' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 39, 9 | 'stakingToken' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 41, 46 | 'stakingToken' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 65, 57 | 'stakingToken' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 68, 6 | 'stakingToken' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 113, 29 | 'stakingToken' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 114, 28 | 'stakingToken' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 120, 11 | Type 'Token | undefined' is not assignable to type 'Token'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/ExtendDurationModal.tsx | 127, 11 | Type '({ duration }: { duration: any; }) => { isValidAmount: boolean | 0; isValidDuration: boolean; isOverMax: boolean; }' is not assignable to type '(arg: ValidatorArg) => ModalValidator'. |
apps/web/src/views/LaunchPools/components/LockedPool/Modals/RoiCalculatorModalProvider.tsx | 35, 41 | Type 'Dispatch<SetStateAction |
apps/web/src/views/LaunchPools/components/LockedPool/hooks/useAvgLockDuration.tsx | 14, 32 | 'totalCakeInVault' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/hooks/useAvgLockDuration.tsx | 14, 55 | Argument of type 'BigNumber | undefined' is not assignable to parameter of type 'Value'. |
apps/web/src/views/LaunchPools/components/LockedPool/hooks/useAvgLockDuration.tsx | 15, 55 | Argument of type 'BigNumber | undefined' is not assignable to parameter of type 'Value'. |
apps/web/src/views/LaunchPools/components/LockedPool/hooks/useAvgLockDuration.tsx | 16, 37 | 'totalShares' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/hooks/useAvgLockDuration.tsx | 17, 38 | 'totalLockedAmount' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/LockedPool/hooks/useAvgLockDuration.tsx | 17, 60 | Argument of type 'BigNumber | undefined' is not assignable to parameter of type 'Value'. |
apps/web/src/views/LaunchPools/components/Modals/CollectModal.tsx | 41, 50 | Type '0x${string} | undefined' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/components/Modals/CollectModal.tsx | 41, 59 | Type 'number | undefined' is not assignable to type 'ChainId'. |
apps/web/src/views/LaunchPools/components/Modals/CollectModal.tsx | 42, 50 | Type '0x${string} | undefined' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/components/Modals/CollectModal.tsx | 42, 59 | Type 'number | undefined' is not assignable to type 'ChainId'. |
apps/web/src/views/LaunchPools/components/Modals/CollectModal.tsx | 43, 44 | Type '0x${string} | undefined' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/components/Modals/CollectModal.tsx | 43, 53 | Type 'number | undefined' is not assignable to type 'ChainId'. |
apps/web/src/views/LaunchPools/components/PoolCard/CardActions/index.tsx | 57, 13 | Type 'number | undefined' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 50, 17 | Property 'userShares' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 50, 29 | Property 'cakeAtLastUserAction' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 54, 5 | Argument of type '0x${string} | undefined' is not assignable to parameter of type 'string'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 60, 9 | Object is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 61, 17 | Object is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 62, 17 | Object is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 81, 53 | Type '0x${string} | undefined' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 137, 60 | 'earningTokenPrice' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 161, 43 | Type 'VaultKey | undefined' is not assignable to type 'VaultKey'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 166, 58 | Object is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/AutoHarvest.tsx | 193, 9 | Object is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/Harvest.tsx | 28, 76 | Argument of type 'number | undefined' is not assignable to parameter of type 'Value'. |
apps/web/src/views/LaunchPools/components/PoolsTable/ActionPanel/Harvest.tsx | 88, 18 | 'earningTokenPrice' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/ClaimButton.tsx | 29, 79 | Type '0x${string} | undefined' is not assignable to type '0x${string} '. |
apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/LockedBenefits.tsx | 27, 46 | Argument of type 'string | false | undefined' is not assignable to parameter of type 'Value'. |
apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/LockedBenefits.tsx | 92, 15 | Type 'string | undefined' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/LockedBenefits.tsx | 104, 15 | Type 'string | undefined' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/SharingPoolNameCell.tsx | 43, 68 | Type 'number | undefined' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/RevenueSharing/BenefitsModal/SharingPoolNameCell.tsx | 53, 11 | Type 'number | null' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/RevenueSharing/JoinRevenueModal/JoinButton.tsx | 23, 94 | Argument of type 'never[]' is not assignable to parameter of type '{ value?: undefined; gas?: bigint | undefined; nonce?: number | undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; type?: "legacy" | undefined; accessList?: undefined; account: 0x${string} | Account; chain: Chain | null | undefined; dataSuffix?: 0x${string} | undefined; } | { value?: undefined; gas?: bigint | undefined; nonce?: number | undefined; gasPrice?: bigint | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; type?: "eip2930" | undefined; accessList?: AccessList | undefined; account: 0x${string} | Account; chain: Chain | null | undefined; dataSuffix?: 0x${string} | undefined; } | { value?: undefined; gas?: bigint | undefined; nonce?: number | undefined; gasPrice?: undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; type?: "eip1559" | undefined; accessList?: AccessList | undefined; account: 0x${string} | Account; chain: Chain | null | undefined; dataSuffix?: 0x${string} | undefined; }'. |
apps/web/src/views/LaunchPools/components/Vault/VaultRoiCalculatorModal.tsx | 30, 7 | Property 'balance' does not exist on type 'DeserializedVaultUser | undefined'. |
apps/web/src/views/LaunchPools/components/Vault/VaultRoiCalculatorModal.tsx | 61, 13 | 'apy' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/Vault/VaultRoiCalculatorModal.tsx | 69, 7 | Type 'number | undefined' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/Vault/VaultRoiCalculatorModal.tsx | 70, 7 | Type 'number | undefined' is not assignable to type 'number'. |
apps/web/src/views/LaunchPools/components/Vault/VaultRoiCalculatorModal.tsx | 131, 58 | Object is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/Vault/VaultRoiCalculatorModal.tsx | 158, 39 | Object is possibly 'undefined'. |
apps/web/src/views/LaunchPools/components/Vault/VaultStakeButtonGroup.tsx | 33, 8 | This condition will always return true since this function is always defined. Did you mean to call it instead? |
apps/web/src/views/LaunchPools/helpers.tsx | 55, 28 | Argument of type 'number | undefined' is not assignable to parameter of type 'number'. |
apps/web/src/views/LaunchPools/helpers.tsx | 84, 37 | 'startTimestamp' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/helpers.tsx | 85, 36 | 'endTimestamp' is possibly 'undefined'. |
apps/web/src/views/LaunchPools/hooks/useApprove.tsx | 38, 46 | Type '0x${string} | undefined' is not assignable to type 'string'. |
apps/web/src/views/LaunchPools/hooks/useApprove.tsx | 38, 55 | Type 'number | undefined' is not assignable to type 'ChainId'. |
apps/web/src/views/LaunchPools/hooks/useWithdrawalFeeTimer.ts | 26, 27 | Argument of type 'number' is not assignable to parameter of type 'SetStateAction |
107 new errors added Note : in some rare cases, new errors can be existing errors but with different locations