-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
51 lines (45 loc) · 1.61 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import useCreate1155Contract from "./hooks/useCreate1155Contract";
import { useEthersSigner } from "./hooks/useEthersSigner"
import { uploadToIpfs, store, getIpfsLink } from "@/lib/ipfs"
import type { Create1155ContractArgs } from "@/lib/types/Create1155ContractArgs"
import useZoraFixedPriceSaleStrategy from "@/hooks/useZoraFixedPriceSaleStrategy";
import getEncodedMinterArgs from "@/lib/zora/getEncodedMinterArgs";
import useUniversalMinter from "@/hooks/useUniversalMinter";
import useCollection from "@/hooks/useCollection";
import usePermission from "@/hooks/usePermission";
import useCallSale from "@/hooks/useCallSale";
import useErc20FixedPriceSaleStrategy from "./hooks/useErc20FixedPriceSaleStrategy";
import getAlchemyBaseUrl from "@/lib/alchemy/getAlchemyBaseUrl";
import getNFTsForContract from "@/lib/alchemy/getNFTsForContract";
import getFormattedDrops from "@/lib/getFormattedDrops";
import getDefaultProvider from "@/lib/getDefaultProvider";
import getCalldatas from "@/lib/getCalldatas";
import getCallSaleData from "@/lib/zora/getCallSaleData";
import { ZORA_FEE } from "@/lib/consts";
export {
// ZORA
type Create1155ContractArgs,
useCollection,
useCreate1155Contract,
useCallSale,
useErc20FixedPriceSaleStrategy,
usePermission,
useZoraFixedPriceSaleStrategy,
useUniversalMinter,
ZORA_FEE,
// ETHERS
useEthersSigner,
// ALCHEMY
getAlchemyBaseUrl,
getNFTsForContract,
// IPFS
getIpfsLink,
store,
uploadToIpfs,
// Misc.
getCalldatas,
getCallSaleData,
getDefaultProvider,
getEncodedMinterArgs,
getFormattedDrops
};