Skip to content

Commit 67eea0e

Browse files
[Dashboard] Replace modular contracts with Arbitrum Stylus contracts in explore page
1 parent b9154cc commit 67eea0e

File tree

1 file changed

+16
-140
lines changed
  • apps/dashboard/src/app/(app)/(dashboard)/explore

1 file changed

+16
-140
lines changed

apps/dashboard/src/app/(app)/(dashboard)/explore/data.ts

Lines changed: 16 additions & 140 deletions
Original file line numberDiff line numberDiff line change
@@ -90,144 +90,6 @@ const MARKETS = {
9090
name: "Marketplace",
9191
} satisfies ExploreCategory;
9292

93-
const MODULAR_CONTRACTS = {
94-
contracts: [
95-
// erc721 drop
96-
[
97-
"thirdweb.eth/ERC721CoreInitializable",
98-
[
99-
"deployer.thirdweb.eth/ClaimableERC721",
100-
"deployer.thirdweb.eth/BatchMetadataERC721",
101-
"deployer.thirdweb.eth/RoyaltyERC721",
102-
],
103-
{
104-
description: "ERC721 NFTs that anyone can mint.",
105-
title: "Modular NFT Drop",
106-
},
107-
],
108-
// erc721 token
109-
[
110-
"thirdweb.eth/ERC721CoreInitializable",
111-
[
112-
"deployer.thirdweb.eth/MintableERC721",
113-
"deployer.thirdweb.eth/BatchMetadataERC721",
114-
"deployer.thirdweb.eth/TransferableERC721",
115-
],
116-
{
117-
description: "ERC721 NFTs that only owners can mint.",
118-
title: "Modular NFT Collection",
119-
},
120-
],
121-
// open edition 721
122-
[
123-
"thirdweb.eth/ERC721CoreInitializable",
124-
[
125-
"deployer.thirdweb.eth/ClaimableERC721",
126-
"deployer.thirdweb.eth/OpenEditionMetadataERC721",
127-
"deployer.thirdweb.eth/RoyaltyERC721",
128-
],
129-
{
130-
description: "ERC721 NFTs with identical metadata.",
131-
title: "Modular Open Edition",
132-
},
133-
],
134-
// erc1155 drop
135-
[
136-
"thirdweb.eth/ERC1155CoreInitializable",
137-
[
138-
"deployer.thirdweb.eth/ClaimableERC1155",
139-
"deployer.thirdweb.eth/BatchMetadataERC1155",
140-
"deployer.thirdweb.eth/RoyaltyERC1155",
141-
"deployer.thirdweb.eth/SequentialTokenIdERC1155",
142-
],
143-
{
144-
description: "ERC1155 NFTs that others can mint.",
145-
title: "Modular Edition Drop",
146-
},
147-
],
148-
// erc1155 token
149-
[
150-
"thirdweb.eth/ERC1155CoreInitializable",
151-
[
152-
"deployer.thirdweb.eth/MintableERC1155",
153-
"deployer.thirdweb.eth/BatchMetadataERC1155",
154-
"deployer.thirdweb.eth/TransferableERC1155",
155-
"deployer.thirdweb.eth/SequentialTokenIdERC1155",
156-
],
157-
{
158-
description: "ERC1155 NFTs that only owners can mint.",
159-
title: "Modular Edition",
160-
},
161-
],
162-
// erc20 drop
163-
[
164-
"thirdweb.eth/ERC20CoreInitializable",
165-
[
166-
"deployer.thirdweb.eth/ClaimableERC20",
167-
"deployer.thirdweb.eth/TransferableERC20",
168-
],
169-
{
170-
description: "ERC20 Tokens that others can mint.",
171-
title: "Modular Token Drop",
172-
},
173-
],
174-
// erc20 token
175-
[
176-
"thirdweb.eth/ERC20CoreInitializable",
177-
[
178-
"deployer.thirdweb.eth/MintableERC20",
179-
"deployer.thirdweb.eth/TransferableERC20",
180-
],
181-
{
182-
description: "ERC20 Tokens that only owners can mint.",
183-
title: "Modular Token",
184-
},
185-
],
186-
],
187-
description:
188-
"Collection of highly customizable and upgradeable smart contracts built with the modular contracts framework.",
189-
displayName: "Modular Contracts",
190-
id: "modular-contracts",
191-
name: "modular",
192-
} satisfies ExploreCategory;
193-
194-
const SUPERCHAIN = {
195-
contracts: [
196-
// erc20 token + superchain
197-
[
198-
"thirdweb.eth/ERC20CoreInitializable",
199-
[
200-
"deployer.thirdweb.eth/MintableERC20",
201-
"deployer.thirdweb.eth/TransferableERC20",
202-
"deployer.thirdweb.eth/SuperChainInterop",
203-
],
204-
{
205-
description: "ERC20 Tokens that only owners can mint.",
206-
title: "Modular Superchain Token",
207-
},
208-
],
209-
// erc20 drop + superchain
210-
[
211-
"thirdweb.eth/ERC20CoreInitializable",
212-
[
213-
"deployer.thirdweb.eth/ClaimableERC20",
214-
"deployer.thirdweb.eth/TransferableERC20",
215-
"deployer.thirdweb.eth/SuperChainInterop",
216-
],
217-
{
218-
description: "ERC20 Tokens that others can mint.",
219-
title: "Modular Superchain Token Drop",
220-
},
221-
],
222-
],
223-
description: "Modular contracts with OP Superchain support",
224-
displayName: "Modular Superchain Contracts",
225-
id: "modular-superchain-contracts",
226-
isBeta: true,
227-
name: "Modular Superchain Contracts",
228-
showInExplore: true,
229-
} satisfies ExploreCategory;
230-
23193
const AIRDROP = {
23294
contracts: ["thirdweb.eth/Airdrop"],
23395
description:
@@ -313,12 +175,26 @@ const SMART_WALLET = {
313175
showInExplore: true,
314176
} satisfies ExploreCategory;
315177

178+
const STYLUS = {
179+
contracts: [
180+
"0x6453a486d52e0EB6E79Ec4491038E2522a926936/StylusAirdropERC1155",
181+
"0x6453a486d52e0EB6E79Ec4491038E2522a926936/StylusAirdropERC721",
182+
"0x6453a486d52e0EB6E79Ec4491038E2522a926936/StylusAirdropERC20",
183+
],
184+
description:
185+
"Airdrop your NFTs or tokens to a large number of recipients. Built with Arbitrum Stylus.",
186+
displayName: "Arbitrum Stylus Contracts",
187+
id: "stylus",
188+
name: "Stylus",
189+
showInExplore: true,
190+
isBeta: true,
191+
} satisfies ExploreCategory;
192+
316193
const CATEGORIES: Record<string, ExploreCategory> = {
317194
[POPULAR.id]: POPULAR,
318-
[MODULAR_CONTRACTS.id]: MODULAR_CONTRACTS,
319-
[SUPERCHAIN.id]: SUPERCHAIN,
320195
[NFTS.id]: NFTS,
321196
[MARKETS.id]: MARKETS,
197+
[STYLUS.id]: STYLUS,
322198
[DROPS.id]: DROPS,
323199
[SMART_WALLET.id]: SMART_WALLET,
324200
[AIRDROP.id]: AIRDROP,

0 commit comments

Comments
 (0)