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

chore: upgrade v4 for December contract deploy #4562

Merged
merged 4 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
"graphql": "^16.8.1",
"he": "^1.2.0",
"jsonwebtoken": "^9.0.0",
"juice-sdk-core": "^11.6.0-alpha",
"juice-sdk-react": "^11.7.1-alpha",
"juice-sdk-core": "^12.1.0-alpha",
"juice-sdk-react": "^12.1.0-alpha",
"juicebox-metadata-helper": "0.1.7",
"less": "4.1.2",
"lodash": "^4.17.21",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { NftRewardTier } from 'models/nftRewards'
import { CreateCollapse } from 'packages/v2v3/components/Create/components/CreateCollapse/CreateCollapse'
import { OptionalHeader } from 'packages/v2v3/components/Create/components/OptionalHeader'
import { useLockPageRulesWrapper } from 'packages/v2v3/components/Create/hooks/useLockPageRulesWrapper'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'
import { inputMustExistRule } from 'utils/antdRules'
import { RewardsList } from '../RewardsList/RewardsList'
import { NftAdvancedFormItems } from './NftAdvancedFormItems'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { OptionalHeader } from 'packages/v2v3/components/Create/components/Optio
import { DEFAULT_NFT_MAX_SUPPLY } from 'packages/v2v3/constants/nftRewards'
import { UploadRequestOption } from 'rc-upload/lib/interface'
import { useCallback, useEffect, useLayoutEffect, useState } from 'react'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'
import {
inputIsIntegerRule,
inputIsValidUrlRule,
Expand Down
2 changes: 1 addition & 1 deletion src/components/NftRewards/RewardsList/RewardItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import TooltipLabel from 'components/TooltipLabel'
import round from 'lodash/round'
import { NftRewardTier } from 'models/nftRewards'
import { ReactNode } from 'react'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'
import { isZeroAddress } from 'utils/address'
import { hasLimitedSupply } from 'utils/nftRewards'
import { prettyUrl } from 'utils/url'
Expand Down
2 changes: 1 addition & 1 deletion src/components/NftRewards/RewardsList/RewardsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { FormItemInput } from 'models/formItemInput'
import { NftRewardTier } from 'models/nftRewards'
import { MAX_NFT_REWARD_TIERS } from 'packages/v2v3/constants/nftRewards'
import { createContext, useCallback, useContext, useState } from 'react'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'
import { sortNftsByContributionFloor } from 'utils/nftRewards'
import { AddEditRewardModal } from './AddEditRewardModal'
import { useRewards } from './hooks/useRewards'
Expand Down
2 changes: 1 addition & 1 deletion src/components/formItems/ProjectDiscountRate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Form, Switch } from 'antd'
import FormItemLabel from 'components/FormItemLabel'
import FormItemWarningText from 'components/FormItemWarningText'
import { DISCOUNT_RATE_EXPLANATION } from 'components/strings'
import { DEFAULT_FUNDING_CYCLE_DATA } from 'redux/slices/shared/v2ProjectDefaultState'
import { DEFAULT_FUNDING_CYCLE_DATA } from 'redux/slices/v2v3/shared/v2ProjectDefaultState'
import NumberSlider from '../inputs/NumberSlider'
import { FormItemExt } from './formItemExt'

Expand Down
2 changes: 1 addition & 1 deletion src/components/formItems/ProjectReserved.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { useState } from 'react'
import {
DEFAULT_FUNDING_CYCLE_METADATA,
DEFAULT_MINT_RATE,
} from 'redux/slices/shared/v2ProjectDefaultState'
} from 'redux/slices/v2v3/shared/v2ProjectDefaultState'
import { formattedNum } from 'utils/format/formatNumber'
import NumberSlider from '../inputs/NumberSlider'
import FundingCycleDetailWarning from '../Project/FundingCycleDetailWarning'
Expand Down
6 changes: 6 additions & 0 deletions src/locales/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ msgstr ""
msgid "Extended functionality for project owners"
msgstr ""

msgid "Weight cut percent"
msgstr ""

msgid "Error downloading participants, try again."
msgstr ""

Expand Down Expand Up @@ -4571,6 +4574,9 @@ msgstr ""
msgid "Save profile details"
msgstr ""

msgid "Cash out tax rate"
msgstr ""

msgid "Current owner"
msgstr ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { serializeV1FundingCycle } from 'packages/v1/utils/serializers'
import { useCallback, useContext, useLayoutEffect, useState } from 'react'
import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import { useEditingV1FundingCycleSelector } from 'redux/hooks/v1'
import { editingProjectActions } from 'redux/slices/editingProject'
import { editingProjectActions } from 'redux/slices/v1/editingProject'
import { classNames } from 'utils/classNames'
import { drawerWidth } from 'utils/drawerWidth'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/packages/v1/components/shared/forms/BudgetForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { useContext, useLayoutEffect, useMemo, useState } from 'react'
import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import { useEditingV1FundingCycleSelector } from 'redux/hooks/v1'
import { editingProjectActions } from 'redux/slices/editingProject'
import { editingProjectActions } from 'redux/slices/v1/editingProject'
import { fromWad } from 'utils/format/formatNumber'
import { helpPagePath } from 'utils/helpPagePath'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CreatePage } from 'models/createPage'
import { useCallback, useContext, useMemo } from 'react'
import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { creatingV2ProjectActions } from 'redux/slices/v2v3/creatingV2Project'
import { WizardContext } from '../contexts/WizardContext'

export const usePage = ({ name }: { name: string }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { t } from '@lingui/macro'
import { CreatePage } from 'models/createPage'
import { useCallback, useContext, useMemo } from 'react'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { useEditingCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { useEditingCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { WizardContext } from '../contexts/WizardContext'

const stepNames = (): Record<string, string> => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CreatePage } from 'models/createPage'
import { useCallback, useEffect, useMemo, useState } from 'react'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { useEditingCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { useEditingCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { PageProps } from '../Page'

const isPage = (element: PageProps | undefined) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import moment from 'moment'
import Link from 'next/link'
import { useLockPageRulesWrapper } from 'packages/v2v3/components/Create/hooks/useLockPageRulesWrapper'
import { useContext, useEffect } from 'react'
import { useSetCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { useSetCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { durationMustExistRule } from 'utils/antdRules'
import { CreateBadge } from '../../CreateBadge'
import { CreateCollapse } from '../../CreateCollapse/CreateCollapse'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useAppSelector } from 'redux/hooks/useAppSelector'
import {
DEFAULT_MUST_START_AT_OR_AFTER,
creatingV2ProjectActions,
} from 'redux/slices/creatingV2Project'
} from 'redux/slices/v2v3/creatingV2Project'
import {
deriveDurationUnit,
otherUnitToSeconds,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { trackFathomGoal } from 'lib/fathom'
import { V2V3_CURRENCY_USD } from 'packages/v2v3/utils/currency'
import { useContext } from 'react'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { useSetCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { useSetCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { PageContext } from '../../Wizard/contexts/PageContext'
import { Wizard } from '../../Wizard/Wizard'
import { useCreateFlowNftRewardsForm } from './hooks/useCreateFlowNftRewardsForm'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { NftRewardTier } from 'models/nftRewards'
import { useEffect, useMemo } from 'react'
import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { creatingV2ProjectActions } from 'redux/slices/v2v3/creatingV2Project'
import { withHttps, withoutHttp } from 'utils/externalLink'
import {
defaultNftCollectionDescription,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useContext } from 'react'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { useSetCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { useSetCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { Wizard } from '../../Wizard/Wizard'
import { PageContext } from '../../Wizard/contexts/PageContext'
import { CreateFlowPayoutsTable } from './components/CreateFlowPayoutsTable'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { useCallback, useEffect, useMemo, useState } from 'react'
import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { ReduxDistributionLimit } from 'redux/hooks/v2v3/shared'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { creatingV2ProjectActions } from 'redux/slices/v2v3/creatingV2Project'
import { fromWad } from 'utils/format/formatNumber'
import { Icons } from '../../../Icons'
import { RadioCard } from './RadioCard'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
V2V3_CURRENCY_USD,
} from 'packages/v2v3/utils/currency'
import { useCallback, useContext, useMemo, useState } from 'react'
import { useSetCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { useSetCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { inputMustBeEthAddressRule, inputMustExistRule } from 'utils/antdRules'
import { inputIsLengthRule } from 'utils/antdRules/inputIsLengthRule'
import { CreateCollapse } from '../../CreateCollapse/CreateCollapse'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useAppSelector } from 'redux/hooks/useAppSelector'
import {
DEFAULT_MUST_START_AT_OR_AFTER,
creatingV2ProjectActions,
} from 'redux/slices/creatingV2Project'
} from 'redux/slices/v2v3/creatingV2Project'
import { useFormDispatchWatch } from '../../hooks/useFormDispatchWatch'
import { AmountInputValue } from '../ProjectDetailsPage'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Callout } from 'components/Callout/Callout'
import { CREATE_FLOW } from 'constants/fathomEvents'
import { trackFathomGoal } from 'lib/fathom'
import { useContext, useEffect } from 'react'
import { useSetCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { useSetCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { CreateBadge } from '../../CreateBadge'
import { Icons } from '../../Icons'
import { Selection } from '../../Selection/Selection'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
useCreatingDistributionLimit,
useCreatingReservedTokensSplits,
} from 'redux/hooks/v2v3/create'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { creatingV2ProjectActions } from 'redux/slices/v2v3/creatingV2Project'
import { useFormDispatchWatch } from '../../hooks/useFormDispatchWatch'

export type ProjectTokensFormProps = Partial<{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { trackFathomGoal } from 'lib/fathom'
import { Selection } from 'packages/v2v3/components/Create/components/Selection/Selection'
import { useAvailableReconfigurationStrategies } from 'packages/v2v3/components/Create/hooks/useAvailableReconfigurationStrategies'
import { useContext } from 'react'
import { useSetCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { useSetCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { featureFlagEnabled } from 'utils/featureFlags'
import { CreateCollapse } from '../../CreateCollapse/CreateCollapse'
import { PageContext } from '../../Wizard/contexts/PageContext'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useAvailableReconfigurationStrategies } from 'packages/v2v3/components/
import { useEffect, useMemo } from 'react'
import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { creatingV2ProjectActions } from 'redux/slices/v2v3/creatingV2Project'
import { isEqualAddress, isZeroAddress } from 'utils/address'
import { useFormDispatchWatch } from '../../hooks/useFormDispatchWatch'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import { useDeployProject } from 'packages/v2v3/components/Create/hooks/DeployPr
import { useCallback, useContext, useEffect, useMemo, useState } from 'react'
import { useDispatch } from 'react-redux'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { useSetCreateFurthestPageReached } from 'redux/hooks/useEditingCreateFurthestPageReached'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { useSetCreateFurthestPageReached } from 'redux/hooks/v2v3/useEditingCreateFurthestPageReached'
import { creatingV2ProjectActions } from 'redux/slices/v2v3/creatingV2Project'
import { helpPagePath } from 'utils/helpPagePath'
import { CreateBadge } from '../../CreateBadge'
import { CreateCollapse } from '../../CreateCollapse/CreateCollapse'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
useCreatingDistributionLimit,
useCreatingPayoutSplits,
} from 'redux/hooks/v2v3/create'
import { DEFAULT_MUST_START_AT_OR_AFTER } from 'redux/slices/creatingV2Project'
import { DEFAULT_MUST_START_AT_OR_AFTER } from 'redux/slices/v2v3/creatingV2Project'
import { formatFundingTarget } from 'utils/format/formatFundingTarget'

export const useFundingConfigurationReview = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { V2V3_CURRENCY_USD } from 'packages/v2v3/utils/currency'
import { useCallback, useMemo } from 'react'
import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import { useAppSelector } from 'redux/hooks/useAppSelector'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { creatingV2ProjectActions } from 'redux/slices/v2v3/creatingV2Project'
import { formatEnabled } from 'utils/format/formatBoolean'
import { v4 } from 'uuid'
import { ReviewDescription } from '../ReviewDescription'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
useCreatingV2V3FundingCycleDataSelector,
useCreatingV2V3FundingCycleMetadataSelector,
} from 'redux/hooks/v2v3/create'
import { DEFAULT_NFT_FLAGS } from 'redux/slices/creatingV2Project'
import { DEFAULT_NFT_FLAGS } from 'redux/slices/v2v3/creatingV2Project'
import { NFT_FUNDING_CYCLE_METADATA_OVERRIDES } from 'utils/nftFundingCycleMetadataOverrides'
import { buildJB721TierParams } from 'utils/nftRewards'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
useCreatingV2V3FundingCycleDataSelector,
useCreatingV2V3FundingCycleMetadataSelector,
} from 'redux/hooks/v2v3/create'
import { creatingV2ProjectActions } from 'redux/slices/creatingV2Project'
import { creatingV2ProjectActions } from 'redux/slices/v2v3/creatingV2Project'
import { emitErrorNotification } from 'utils/notifications'
import { useDeployNftProject } from './hooks/NFT/useDeployNftProject'
import { useIsNftProject } from './hooks/NFT/useIsNftProject'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import { useDispatch } from 'react-redux'
import {
DEFAULT_REDUX_STATE,
creatingV2ProjectActions,
} from 'redux/slices/creatingV2Project'
import { INITIAL_REDUX_STATE } from 'redux/slices/shared/v2ProjectInitialReduxState'
import { CreateState, ProjectState } from 'redux/slices/shared/v2ProjectTypes'
} from 'redux/slices/v2v3/creatingV2Project'
import { INITIAL_REDUX_STATE } from 'redux/slices/v2v3/shared/v2ProjectInitialReduxState'
import { CreateState, ProjectState } from 'redux/slices/v2v3/shared/v2ProjectTypes'
import { isEqualAddress } from 'utils/address'
import { parseWad } from 'utils/format/formatNumber'
import { DefaultSettings as DefaultTokenSettings } from '../components/pages/ProjectToken/hooks/useProjectTokenForm'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
reservedRateFrom,
} from 'packages/v2v3/utils/math'
import { allocationToSplit } from 'packages/v2v3/utils/splitToAllocation'
import { EMPTY_RESERVED_TOKENS_GROUPED_SPLITS } from 'redux/slices/creatingV2Project'
import { EMPTY_RESERVED_TOKENS_GROUPED_SPLITS } from 'redux/slices/v2v3/creatingV2Project'
import { ProjectTokensFormProps } from '../components/pages/ProjectToken/hooks/useProjectTokenForm'

export const projectTokenSettingsToReduxFormat = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
useEditingV2V3FundingCycleDataSelector,
useEditingV2V3FundingCycleMetadataSelector,
} from 'redux/hooks/v2v3/edit'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'

export interface EditingFundingCycleConfig {
editingPayoutGroupedSplits: ETHPayoutGroupedSplits
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import { useAppDispatch } from 'redux/hooks/useAppDispatch'
import {
DEFAULT_MUST_START_AT_OR_AFTER,
editingV2ProjectActions,
} from 'redux/slices/editingV2Project'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
} from 'redux/slices/v2v3/editingV2Project'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'
import useDeepCompareEffect from 'use-deep-compare-effect'
import { fromWad } from 'utils/format/formatNumber'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DurationOption } from 'components/inputs/DurationInput'
import { CurrencyName } from 'constants/currency'
import { Split } from 'packages/v2v3/models/splits'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'

type DetailsSectionFields = {
duration: number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import {
} from 'packages/v2v3/utils/math'
import { BaseV3FundingCycleMetadataGlobal } from 'packages/v3/models/fundingCycle'
import { useContext } from 'react'
import { DEFAULT_MUST_START_AT_OR_AFTER } from 'redux/slices/editingV2Project'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
import { DEFAULT_MUST_START_AT_OR_AFTER } from 'redux/slices/v2v3/editingV2Project'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'
import { isZeroAddress } from 'utils/address'
import { parseWad } from 'utils/format/formatNumber'
import { otherUnitToSeconds } from 'utils/format/formatTime'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useAppSelector } from 'redux/hooks/useAppSelector'
import {
DEFAULT_NFT_FLAGS,
DEFAULT_NFT_PRICING,
} from 'redux/slices/editingV2Project'
} from 'redux/slices/v2v3/editingV2Project'
import {
defaultNftCollectionDescription,
defaultNftCollectionName,
Expand Down
4 changes: 2 additions & 2 deletions src/packages/v2v3/contexts/NftRewards/NftRewardsContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
DEFAULT_NFT_FLAGS,
DEFAULT_NFT_PRICING,
EMPTY_NFT_COLLECTION_METADATA,
} from 'redux/slices/shared/v2ProjectDefaultState'
import { NftRewardsData } from 'redux/slices/shared/v2ProjectTypes'
} from 'redux/slices/v2v3/shared/v2ProjectDefaultState'
import { NftRewardsData } from 'redux/slices/v2v3/shared/v2ProjectTypes'

type NftRewardsContextType = {
nftRewards: NftRewardsData
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
DEFAULT_NFT_FLAGS,
DEFAULT_NFT_PRICING,
EMPTY_NFT_COLLECTION_METADATA,
} from 'redux/slices/shared/v2ProjectDefaultState'
} from 'redux/slices/v2v3/shared/v2ProjectDefaultState'
import { CIDsOfNftRewardTiersResponse } from 'utils/nftRewards'
import { JB721DelegateContractsContext } from './JB721DelegateContracts/JB721DelegateContractsContext'

Expand Down
Loading
Loading