@medialane/ui 0.311.0 → 0.312.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/account/input-otp.d.cts +2 -2
- package/dist/components/account/input-otp.d.ts +2 -2
- package/dist/components/button.d.cts +2 -2
- package/dist/components/button.d.ts +2 -2
- package/dist/components/launchpad/edition-mint-schema.d.cts +19 -19
- package/dist/components/launchpad/edition-mint-schema.d.ts +19 -19
- package/dist/components/launchpad/pop-create-schema.d.cts +10 -10
- package/dist/components/launchpad/pop-create-schema.d.ts +10 -10
- package/dist/components/media-wallet/media-wallet-send.cjs +2 -5
- package/dist/components/media-wallet/media-wallet-send.cjs.map +1 -1
- package/dist/components/media-wallet/media-wallet-send.js +2 -5
- package/dist/components/media-wallet/media-wallet-send.js.map +1 -1
- package/dist/components/transfer-collection-ownership.cjs +1 -1
- package/dist/components/transfer-collection-ownership.cjs.map +1 -1
- package/dist/components/transfer-collection-ownership.js +1 -1
- package/dist/components/transfer-collection-ownership.js.map +1 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/utils/media-wallet/use-erc20-balance.d.cts +1 -1
- package/dist/utils/media-wallet/use-erc20-balance.d.ts +1 -1
- package/dist/utils/send-token.cjs +40 -0
- package/dist/utils/send-token.cjs.map +1 -0
- package/dist/utils/send-token.d.cts +19 -0
- package/dist/utils/send-token.d.ts +19 -0
- package/dist/utils/send-token.js +16 -0
- package/dist/utils/send-token.js.map +1 -0
- package/dist/utils/use-collection-settings.d.cts +19 -19
- package/dist/utils/use-collection-settings.d.ts +19 -19
- package/dist/utils/use-collections.d.cts +212 -205
- package/dist/utils/use-collections.d.ts +212 -205
- package/dist/utils/use-orders.d.cts +299 -299
- package/dist/utils/use-orders.d.ts +299 -299
- package/dist/utils/use-pop.d.cts +57 -55
- package/dist/utils/use-pop.d.ts +57 -55
- package/dist/utils/use-tiers.d.cts +76 -73
- package/dist/utils/use-tiers.d.ts +76 -73
- package/dist/utils/use-tokens-by-ip-type.d.cts +78 -77
- package/dist/utils/use-tokens-by-ip-type.d.ts +78 -77
- package/dist/utils/use-tokens.d.cts +234 -229
- package/dist/utils/use-tokens.d.ts +234 -229
- package/package.json +3 -3
package/dist/utils/use-pop.d.cts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
|
-
import * as zod from 'zod';
|
|
3
2
|
import { ApiMeta, ApiCollection } from '@medialane/sdk';
|
|
4
3
|
|
|
5
4
|
declare function usePopCollections(): {
|
|
6
5
|
collections: {
|
|
7
|
-
|
|
6
|
+
id: string;
|
|
8
7
|
chain: string;
|
|
9
|
-
|
|
8
|
+
contractAddress: string;
|
|
10
9
|
collectionId: string | null;
|
|
11
10
|
name: string | null;
|
|
11
|
+
symbol: string | null;
|
|
12
12
|
description: string | null;
|
|
13
13
|
image: string | null;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
attributes: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
trait_type: string;
|
|
17
|
+
value: string | number | boolean;
|
|
18
|
+
display_type?: string | undefined;
|
|
19
|
+
}[] | null;
|
|
20
|
+
owner: string | null;
|
|
21
|
+
startBlock: string;
|
|
19
22
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
20
23
|
standard: "ERC721" | "ERC1155";
|
|
21
|
-
attributes: zod.objectOutputType<{
|
|
22
|
-
trait_type: zod.ZodString;
|
|
23
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
24
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
25
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
26
|
-
holderCount: number;
|
|
27
|
-
startBlock: string;
|
|
28
24
|
isFeatured: boolean;
|
|
29
25
|
isHidden: boolean;
|
|
26
|
+
service: string | null;
|
|
30
27
|
claimedBy: string | null;
|
|
31
28
|
floorPrice: string | null;
|
|
32
29
|
totalVolume: string | null;
|
|
30
|
+
holderCount: number;
|
|
33
31
|
totalSupply: number;
|
|
32
|
+
createdAt: string;
|
|
33
|
+
updatedAt: string;
|
|
34
34
|
profile: {
|
|
35
|
-
description: string | null;
|
|
36
|
-
image: string | null;
|
|
37
|
-
displayName: string | null;
|
|
38
|
-
gatedContentTitle: string | null;
|
|
39
35
|
hasGatedContent: boolean;
|
|
36
|
+
gatedContentTitle: string | null;
|
|
40
37
|
slug: string | null;
|
|
38
|
+
image: string | null;
|
|
39
|
+
displayName: string | null;
|
|
40
|
+
description: string | null;
|
|
41
41
|
} | null;
|
|
42
42
|
}[];
|
|
43
43
|
meta: ApiMeta | undefined;
|
|
@@ -50,79 +50,81 @@ declare function usePopCollections(): {
|
|
|
50
50
|
};
|
|
51
51
|
declare function useMyPopEvents(owner: string | null): {
|
|
52
52
|
events: {
|
|
53
|
-
|
|
53
|
+
id: string;
|
|
54
54
|
chain: string;
|
|
55
|
-
|
|
55
|
+
contractAddress: string;
|
|
56
56
|
collectionId: string | null;
|
|
57
57
|
name: string | null;
|
|
58
|
+
symbol: string | null;
|
|
58
59
|
description: string | null;
|
|
59
60
|
image: string | null;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
attributes: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
trait_type: string;
|
|
64
|
+
value: string | number | boolean;
|
|
65
|
+
display_type?: string | undefined;
|
|
66
|
+
}[] | null;
|
|
67
|
+
owner: string | null;
|
|
68
|
+
startBlock: string;
|
|
65
69
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
66
70
|
standard: "ERC721" | "ERC1155";
|
|
67
|
-
attributes: zod.objectOutputType<{
|
|
68
|
-
trait_type: zod.ZodString;
|
|
69
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
70
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
71
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
72
|
-
holderCount: number;
|
|
73
|
-
startBlock: string;
|
|
74
71
|
isFeatured: boolean;
|
|
75
72
|
isHidden: boolean;
|
|
73
|
+
service: string | null;
|
|
76
74
|
claimedBy: string | null;
|
|
77
75
|
floorPrice: string | null;
|
|
78
76
|
totalVolume: string | null;
|
|
77
|
+
holderCount: number;
|
|
79
78
|
totalSupply: number;
|
|
79
|
+
createdAt: string;
|
|
80
|
+
updatedAt: string;
|
|
80
81
|
profile: {
|
|
81
|
-
description: string | null;
|
|
82
|
-
image: string | null;
|
|
83
|
-
displayName: string | null;
|
|
84
|
-
gatedContentTitle: string | null;
|
|
85
82
|
hasGatedContent: boolean;
|
|
83
|
+
gatedContentTitle: string | null;
|
|
86
84
|
slug: string | null;
|
|
85
|
+
image: string | null;
|
|
86
|
+
displayName: string | null;
|
|
87
|
+
description: string | null;
|
|
87
88
|
} | null;
|
|
88
89
|
}[];
|
|
89
90
|
isLoading: boolean;
|
|
90
91
|
error: any;
|
|
91
92
|
mutate: swr.KeyedMutator<{
|
|
92
|
-
|
|
93
|
+
id: string;
|
|
93
94
|
chain: string;
|
|
94
|
-
|
|
95
|
+
contractAddress: string;
|
|
95
96
|
collectionId: string | null;
|
|
96
97
|
name: string | null;
|
|
98
|
+
symbol: string | null;
|
|
97
99
|
description: string | null;
|
|
98
100
|
image: string | null;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
attributes: {
|
|
102
|
+
[x: string]: unknown;
|
|
103
|
+
trait_type: string;
|
|
104
|
+
value: string | number | boolean;
|
|
105
|
+
display_type?: string | undefined;
|
|
106
|
+
}[] | null;
|
|
107
|
+
owner: string | null;
|
|
108
|
+
startBlock: string;
|
|
104
109
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
105
110
|
standard: "ERC721" | "ERC1155";
|
|
106
|
-
attributes: zod.objectOutputType<{
|
|
107
|
-
trait_type: zod.ZodString;
|
|
108
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
109
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
110
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
111
|
-
holderCount: number;
|
|
112
|
-
startBlock: string;
|
|
113
111
|
isFeatured: boolean;
|
|
114
112
|
isHidden: boolean;
|
|
113
|
+
service: string | null;
|
|
115
114
|
claimedBy: string | null;
|
|
116
115
|
floorPrice: string | null;
|
|
117
116
|
totalVolume: string | null;
|
|
117
|
+
holderCount: number;
|
|
118
118
|
totalSupply: number;
|
|
119
|
+
createdAt: string;
|
|
120
|
+
updatedAt: string;
|
|
119
121
|
profile: {
|
|
120
|
-
description: string | null;
|
|
121
|
-
image: string | null;
|
|
122
|
-
displayName: string | null;
|
|
123
|
-
gatedContentTitle: string | null;
|
|
124
122
|
hasGatedContent: boolean;
|
|
123
|
+
gatedContentTitle: string | null;
|
|
125
124
|
slug: string | null;
|
|
125
|
+
image: string | null;
|
|
126
|
+
displayName: string | null;
|
|
127
|
+
description: string | null;
|
|
126
128
|
} | null;
|
|
127
129
|
}[]>;
|
|
128
130
|
};
|
package/dist/utils/use-pop.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
|
-
import * as zod from 'zod';
|
|
3
2
|
import { ApiMeta, ApiCollection } from '@medialane/sdk';
|
|
4
3
|
|
|
5
4
|
declare function usePopCollections(): {
|
|
6
5
|
collections: {
|
|
7
|
-
|
|
6
|
+
id: string;
|
|
8
7
|
chain: string;
|
|
9
|
-
|
|
8
|
+
contractAddress: string;
|
|
10
9
|
collectionId: string | null;
|
|
11
10
|
name: string | null;
|
|
11
|
+
symbol: string | null;
|
|
12
12
|
description: string | null;
|
|
13
13
|
image: string | null;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
attributes: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
trait_type: string;
|
|
17
|
+
value: string | number | boolean;
|
|
18
|
+
display_type?: string | undefined;
|
|
19
|
+
}[] | null;
|
|
20
|
+
owner: string | null;
|
|
21
|
+
startBlock: string;
|
|
19
22
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
20
23
|
standard: "ERC721" | "ERC1155";
|
|
21
|
-
attributes: zod.objectOutputType<{
|
|
22
|
-
trait_type: zod.ZodString;
|
|
23
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
24
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
25
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
26
|
-
holderCount: number;
|
|
27
|
-
startBlock: string;
|
|
28
24
|
isFeatured: boolean;
|
|
29
25
|
isHidden: boolean;
|
|
26
|
+
service: string | null;
|
|
30
27
|
claimedBy: string | null;
|
|
31
28
|
floorPrice: string | null;
|
|
32
29
|
totalVolume: string | null;
|
|
30
|
+
holderCount: number;
|
|
33
31
|
totalSupply: number;
|
|
32
|
+
createdAt: string;
|
|
33
|
+
updatedAt: string;
|
|
34
34
|
profile: {
|
|
35
|
-
description: string | null;
|
|
36
|
-
image: string | null;
|
|
37
|
-
displayName: string | null;
|
|
38
|
-
gatedContentTitle: string | null;
|
|
39
35
|
hasGatedContent: boolean;
|
|
36
|
+
gatedContentTitle: string | null;
|
|
40
37
|
slug: string | null;
|
|
38
|
+
image: string | null;
|
|
39
|
+
displayName: string | null;
|
|
40
|
+
description: string | null;
|
|
41
41
|
} | null;
|
|
42
42
|
}[];
|
|
43
43
|
meta: ApiMeta | undefined;
|
|
@@ -50,79 +50,81 @@ declare function usePopCollections(): {
|
|
|
50
50
|
};
|
|
51
51
|
declare function useMyPopEvents(owner: string | null): {
|
|
52
52
|
events: {
|
|
53
|
-
|
|
53
|
+
id: string;
|
|
54
54
|
chain: string;
|
|
55
|
-
|
|
55
|
+
contractAddress: string;
|
|
56
56
|
collectionId: string | null;
|
|
57
57
|
name: string | null;
|
|
58
|
+
symbol: string | null;
|
|
58
59
|
description: string | null;
|
|
59
60
|
image: string | null;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
61
|
+
attributes: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
trait_type: string;
|
|
64
|
+
value: string | number | boolean;
|
|
65
|
+
display_type?: string | undefined;
|
|
66
|
+
}[] | null;
|
|
67
|
+
owner: string | null;
|
|
68
|
+
startBlock: string;
|
|
65
69
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
66
70
|
standard: "ERC721" | "ERC1155";
|
|
67
|
-
attributes: zod.objectOutputType<{
|
|
68
|
-
trait_type: zod.ZodString;
|
|
69
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
70
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
71
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
72
|
-
holderCount: number;
|
|
73
|
-
startBlock: string;
|
|
74
71
|
isFeatured: boolean;
|
|
75
72
|
isHidden: boolean;
|
|
73
|
+
service: string | null;
|
|
76
74
|
claimedBy: string | null;
|
|
77
75
|
floorPrice: string | null;
|
|
78
76
|
totalVolume: string | null;
|
|
77
|
+
holderCount: number;
|
|
79
78
|
totalSupply: number;
|
|
79
|
+
createdAt: string;
|
|
80
|
+
updatedAt: string;
|
|
80
81
|
profile: {
|
|
81
|
-
description: string | null;
|
|
82
|
-
image: string | null;
|
|
83
|
-
displayName: string | null;
|
|
84
|
-
gatedContentTitle: string | null;
|
|
85
82
|
hasGatedContent: boolean;
|
|
83
|
+
gatedContentTitle: string | null;
|
|
86
84
|
slug: string | null;
|
|
85
|
+
image: string | null;
|
|
86
|
+
displayName: string | null;
|
|
87
|
+
description: string | null;
|
|
87
88
|
} | null;
|
|
88
89
|
}[];
|
|
89
90
|
isLoading: boolean;
|
|
90
91
|
error: any;
|
|
91
92
|
mutate: swr.KeyedMutator<{
|
|
92
|
-
|
|
93
|
+
id: string;
|
|
93
94
|
chain: string;
|
|
94
|
-
|
|
95
|
+
contractAddress: string;
|
|
95
96
|
collectionId: string | null;
|
|
96
97
|
name: string | null;
|
|
98
|
+
symbol: string | null;
|
|
97
99
|
description: string | null;
|
|
98
100
|
image: string | null;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
attributes: {
|
|
102
|
+
[x: string]: unknown;
|
|
103
|
+
trait_type: string;
|
|
104
|
+
value: string | number | boolean;
|
|
105
|
+
display_type?: string | undefined;
|
|
106
|
+
}[] | null;
|
|
107
|
+
owner: string | null;
|
|
108
|
+
startBlock: string;
|
|
104
109
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
105
110
|
standard: "ERC721" | "ERC1155";
|
|
106
|
-
attributes: zod.objectOutputType<{
|
|
107
|
-
trait_type: zod.ZodString;
|
|
108
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
109
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
110
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
111
|
-
holderCount: number;
|
|
112
|
-
startBlock: string;
|
|
113
111
|
isFeatured: boolean;
|
|
114
112
|
isHidden: boolean;
|
|
113
|
+
service: string | null;
|
|
115
114
|
claimedBy: string | null;
|
|
116
115
|
floorPrice: string | null;
|
|
117
116
|
totalVolume: string | null;
|
|
117
|
+
holderCount: number;
|
|
118
118
|
totalSupply: number;
|
|
119
|
+
createdAt: string;
|
|
120
|
+
updatedAt: string;
|
|
119
121
|
profile: {
|
|
120
|
-
description: string | null;
|
|
121
|
-
image: string | null;
|
|
122
|
-
displayName: string | null;
|
|
123
|
-
gatedContentTitle: string | null;
|
|
124
122
|
hasGatedContent: boolean;
|
|
123
|
+
gatedContentTitle: string | null;
|
|
125
124
|
slug: string | null;
|
|
125
|
+
image: string | null;
|
|
126
|
+
displayName: string | null;
|
|
127
|
+
description: string | null;
|
|
126
128
|
} | null;
|
|
127
129
|
}[]>;
|
|
128
130
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
|
-
import * as zod from 'zod';
|
|
3
2
|
import { ApiClient } from '@medialane/sdk';
|
|
4
3
|
|
|
5
4
|
/** An IP Ticket type or IP Club membership tier, with amounts as bigint. */
|
|
@@ -19,157 +18,161 @@ declare function predictNextMembershipId(api: ApiClient, contract: string): Prom
|
|
|
19
18
|
declare function predictNextTicketId(api: ApiClient, contract: string): Promise<number>;
|
|
20
19
|
declare function useMyClubCollections(owner: string | null): {
|
|
21
20
|
collections: {
|
|
22
|
-
|
|
21
|
+
id: string;
|
|
23
22
|
chain: string;
|
|
24
|
-
|
|
23
|
+
contractAddress: string;
|
|
25
24
|
collectionId: string | null;
|
|
26
25
|
name: string | null;
|
|
26
|
+
symbol: string | null;
|
|
27
27
|
description: string | null;
|
|
28
28
|
image: string | null;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
attributes: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
trait_type: string;
|
|
32
|
+
value: string | number | boolean;
|
|
33
|
+
display_type?: string | undefined;
|
|
34
|
+
}[] | null;
|
|
35
|
+
owner: string | null;
|
|
36
|
+
startBlock: string;
|
|
34
37
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
35
38
|
standard: "ERC721" | "ERC1155";
|
|
36
|
-
attributes: zod.objectOutputType<{
|
|
37
|
-
trait_type: zod.ZodString;
|
|
38
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
39
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
40
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
41
|
-
holderCount: number;
|
|
42
|
-
startBlock: string;
|
|
43
39
|
isFeatured: boolean;
|
|
44
40
|
isHidden: boolean;
|
|
41
|
+
service: string | null;
|
|
45
42
|
claimedBy: string | null;
|
|
46
43
|
floorPrice: string | null;
|
|
47
44
|
totalVolume: string | null;
|
|
45
|
+
holderCount: number;
|
|
48
46
|
totalSupply: number;
|
|
47
|
+
createdAt: string;
|
|
48
|
+
updatedAt: string;
|
|
49
49
|
profile: {
|
|
50
|
-
description: string | null;
|
|
51
|
-
image: string | null;
|
|
52
|
-
displayName: string | null;
|
|
53
|
-
gatedContentTitle: string | null;
|
|
54
50
|
hasGatedContent: boolean;
|
|
51
|
+
gatedContentTitle: string | null;
|
|
55
52
|
slug: string | null;
|
|
53
|
+
image: string | null;
|
|
54
|
+
displayName: string | null;
|
|
55
|
+
description: string | null;
|
|
56
56
|
} | null;
|
|
57
57
|
}[];
|
|
58
58
|
isLoading: boolean;
|
|
59
59
|
error: any;
|
|
60
60
|
mutate: swr.KeyedMutator<{
|
|
61
|
-
|
|
61
|
+
id: string;
|
|
62
62
|
chain: string;
|
|
63
|
-
|
|
63
|
+
contractAddress: string;
|
|
64
64
|
collectionId: string | null;
|
|
65
65
|
name: string | null;
|
|
66
|
+
symbol: string | null;
|
|
66
67
|
description: string | null;
|
|
67
68
|
image: string | null;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
attributes: {
|
|
70
|
+
[x: string]: unknown;
|
|
71
|
+
trait_type: string;
|
|
72
|
+
value: string | number | boolean;
|
|
73
|
+
display_type?: string | undefined;
|
|
74
|
+
}[] | null;
|
|
75
|
+
owner: string | null;
|
|
76
|
+
startBlock: string;
|
|
73
77
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
74
78
|
standard: "ERC721" | "ERC1155";
|
|
75
|
-
attributes: zod.objectOutputType<{
|
|
76
|
-
trait_type: zod.ZodString;
|
|
77
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
78
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
79
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
80
|
-
holderCount: number;
|
|
81
|
-
startBlock: string;
|
|
82
79
|
isFeatured: boolean;
|
|
83
80
|
isHidden: boolean;
|
|
81
|
+
service: string | null;
|
|
84
82
|
claimedBy: string | null;
|
|
85
83
|
floorPrice: string | null;
|
|
86
84
|
totalVolume: string | null;
|
|
85
|
+
holderCount: number;
|
|
87
86
|
totalSupply: number;
|
|
87
|
+
createdAt: string;
|
|
88
|
+
updatedAt: string;
|
|
88
89
|
profile: {
|
|
89
|
-
description: string | null;
|
|
90
|
-
image: string | null;
|
|
91
|
-
displayName: string | null;
|
|
92
|
-
gatedContentTitle: string | null;
|
|
93
90
|
hasGatedContent: boolean;
|
|
91
|
+
gatedContentTitle: string | null;
|
|
94
92
|
slug: string | null;
|
|
93
|
+
image: string | null;
|
|
94
|
+
displayName: string | null;
|
|
95
|
+
description: string | null;
|
|
95
96
|
} | null;
|
|
96
97
|
}[]>;
|
|
97
98
|
};
|
|
98
99
|
declare function useMyTicketCollections(owner: string | null): {
|
|
99
100
|
collections: {
|
|
100
|
-
|
|
101
|
+
id: string;
|
|
101
102
|
chain: string;
|
|
102
|
-
|
|
103
|
+
contractAddress: string;
|
|
103
104
|
collectionId: string | null;
|
|
104
105
|
name: string | null;
|
|
106
|
+
symbol: string | null;
|
|
105
107
|
description: string | null;
|
|
106
108
|
image: string | null;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
attributes: {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
trait_type: string;
|
|
112
|
+
value: string | number | boolean;
|
|
113
|
+
display_type?: string | undefined;
|
|
114
|
+
}[] | null;
|
|
115
|
+
owner: string | null;
|
|
116
|
+
startBlock: string;
|
|
112
117
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
113
118
|
standard: "ERC721" | "ERC1155";
|
|
114
|
-
attributes: zod.objectOutputType<{
|
|
115
|
-
trait_type: zod.ZodString;
|
|
116
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
117
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
118
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
119
|
-
holderCount: number;
|
|
120
|
-
startBlock: string;
|
|
121
119
|
isFeatured: boolean;
|
|
122
120
|
isHidden: boolean;
|
|
121
|
+
service: string | null;
|
|
123
122
|
claimedBy: string | null;
|
|
124
123
|
floorPrice: string | null;
|
|
125
124
|
totalVolume: string | null;
|
|
125
|
+
holderCount: number;
|
|
126
126
|
totalSupply: number;
|
|
127
|
+
createdAt: string;
|
|
128
|
+
updatedAt: string;
|
|
127
129
|
profile: {
|
|
128
|
-
description: string | null;
|
|
129
|
-
image: string | null;
|
|
130
|
-
displayName: string | null;
|
|
131
|
-
gatedContentTitle: string | null;
|
|
132
130
|
hasGatedContent: boolean;
|
|
131
|
+
gatedContentTitle: string | null;
|
|
133
132
|
slug: string | null;
|
|
133
|
+
image: string | null;
|
|
134
|
+
displayName: string | null;
|
|
135
|
+
description: string | null;
|
|
134
136
|
} | null;
|
|
135
137
|
}[];
|
|
136
138
|
isLoading: boolean;
|
|
137
139
|
error: any;
|
|
138
140
|
mutate: swr.KeyedMutator<{
|
|
139
|
-
|
|
141
|
+
id: string;
|
|
140
142
|
chain: string;
|
|
141
|
-
|
|
143
|
+
contractAddress: string;
|
|
142
144
|
collectionId: string | null;
|
|
143
145
|
name: string | null;
|
|
146
|
+
symbol: string | null;
|
|
144
147
|
description: string | null;
|
|
145
148
|
image: string | null;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
attributes: {
|
|
150
|
+
[x: string]: unknown;
|
|
151
|
+
trait_type: string;
|
|
152
|
+
value: string | number | boolean;
|
|
153
|
+
display_type?: string | undefined;
|
|
154
|
+
}[] | null;
|
|
155
|
+
owner: string | null;
|
|
156
|
+
startBlock: string;
|
|
151
157
|
metadataStatus: "PENDING" | "FETCHING" | "FETCHED" | "FAILED";
|
|
152
158
|
standard: "ERC721" | "ERC1155";
|
|
153
|
-
attributes: zod.objectOutputType<{
|
|
154
|
-
trait_type: zod.ZodString;
|
|
155
|
-
value: zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
156
|
-
display_type: zod.ZodOptional<zod.ZodString>;
|
|
157
|
-
}, zod.ZodTypeAny, "passthrough">[] | null;
|
|
158
|
-
holderCount: number;
|
|
159
|
-
startBlock: string;
|
|
160
159
|
isFeatured: boolean;
|
|
161
160
|
isHidden: boolean;
|
|
161
|
+
service: string | null;
|
|
162
162
|
claimedBy: string | null;
|
|
163
163
|
floorPrice: string | null;
|
|
164
164
|
totalVolume: string | null;
|
|
165
|
+
holderCount: number;
|
|
165
166
|
totalSupply: number;
|
|
167
|
+
createdAt: string;
|
|
168
|
+
updatedAt: string;
|
|
166
169
|
profile: {
|
|
167
|
-
description: string | null;
|
|
168
|
-
image: string | null;
|
|
169
|
-
displayName: string | null;
|
|
170
|
-
gatedContentTitle: string | null;
|
|
171
170
|
hasGatedContent: boolean;
|
|
171
|
+
gatedContentTitle: string | null;
|
|
172
172
|
slug: string | null;
|
|
173
|
+
image: string | null;
|
|
174
|
+
displayName: string | null;
|
|
175
|
+
description: string | null;
|
|
173
176
|
} | null;
|
|
174
177
|
}[]>;
|
|
175
178
|
};
|