Skip to content

Commit db4a397

Browse files
committed
update imports
1 parent 67bc000 commit db4a397

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractPageMetadataSetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ThirdwebContract } from "thirdweb";
2-
import { getDeployedEntrypointERC20 } from "thirdweb/assets";
32
import { contractType as getContractType } from "thirdweb/extensions/thirdweb";
3+
import { getDeployedEntrypointERC20 } from "thirdweb/tokens";
44
import { resolveFunctionSelectors } from "@/lib/selectors";
55
import { getValidReward } from "../../../../../team/[team_slug]/[project_slug]/contract/[chainIdOrSlug]/[contractAddress]/rewards/utils/rewards";
66
import {

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/create-token-page-impl.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import {
77
type ThirdwebClient,
88
toWei,
99
} from "thirdweb";
10+
import { approve } from "thirdweb/extensions/erc20";
11+
import { useActiveAccount } from "thirdweb/react";
1012
import {
1113
createToken,
1214
distributeToken,
1315
getDeployedEntrypointERC20,
14-
} from "thirdweb/assets";
15-
import { approve } from "thirdweb/extensions/erc20";
16-
import { useActiveAccount } from "thirdweb/react";
16+
} from "thirdweb/tokens";
1717
import { create7702MinimalAccount } from "thirdweb/wallets/smart";
1818
import { revalidatePathAction } from "@/actions/revalidate";
1919
import {

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/tokens/create/token/distribution/token-sale.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { DollarSignIcon, XIcon } from "lucide-react";
55
import { useEffect, useState } from "react";
66
import type { ThirdwebClient } from "thirdweb";
77
import { defineChain } from "thirdweb";
8-
import { isRouterEnabled } from "thirdweb/assets";
8+
import { isRouterEnabled } from "thirdweb/tokens";
99
import { DistributionBarChart } from "@/components/blocks/distribution-chart";
1010
import { FormFieldSetup } from "@/components/blocks/FormFieldSetup";
1111
import { Badge } from "@/components/ui/badge";

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/contract/[chainIdOrSlug]/[contractAddress]/rewards/components/claim-rewards-page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import {
99
type ThirdwebContract,
1010
toTokens,
1111
} from "thirdweb";
12-
import { claimReward } from "thirdweb/assets";
1312
import { TokenIcon, TokenProvider, useSendTransaction } from "thirdweb/react";
13+
import { claimReward } from "thirdweb/tokens";
1414
import { DistributionBarChart } from "@/components/blocks/distribution-chart";
1515
import { WalletAddress } from "@/components/blocks/wallet-address";
1616
import { Button } from "@/components/ui/button";

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/contract/[chainIdOrSlug]/[contractAddress]/rewards/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
getDeployedEntrypointERC20,
55
getRewardLocker,
66
v3PositionManager as getV3PositionManager,
7-
} from "thirdweb/assets";
7+
} from "thirdweb/tokens";
88
import { getProject } from "@/api/projects";
99
import { getContractPageParamsInfo } from "../../../../../../../(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractFromParams";
1010
import type { ProjectContractPageParams } from "../types";

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/contract/[chainIdOrSlug]/[contractAddress]/rewards/utils/rewards.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type ThirdwebContract, ZERO_ADDRESS } from "thirdweb";
2-
import { getReward } from "thirdweb/assets";
2+
import { getReward } from "thirdweb/tokens";
33

44
export async function getValidReward(params: {
55
assetContract: ThirdwebContract;

0 commit comments

Comments
 (0)