-
Notifications
You must be signed in to change notification settings - Fork 20
/
metadata.go
69 lines (57 loc) · 1.27 KB
/
metadata.go
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package overflow
type MetadataViews_HTTPFile struct {
Url string
}
type MetadataViews_IPFSFile struct {
Path *string
Cid string
}
type MetadataViews_Display_IPFS struct {
Thumbnail MetadataViews_IPFSFile
Name string
Description string
}
type MetadataViews_Display_Http struct {
Name string
Description string
Thumbnail MetadataViews_HTTPFile
}
type MetadataViews_Edition struct {
Name *string
Max *uint64
Number uint64
}
type MetadataViews_Editions struct {
Editions []MetadataViews_Edition `cadence:"infoList"`
}
type MetadataViews_Serial struct {
Number uint64
}
type MetadataViews_Media_IPFS struct {
File MetadataViews_IPFSFile
MediaType string `cadence:"mediaType"`
}
type MetadataViews_Media_HTTP struct {
File MetadataViews_HTTPFile
MediaType string `cadence:"mediaType"`
}
type MetadtaViews_Licensce struct {
Spdx string `cadence:"spdxIdentifier"`
}
type MetadataViews_ExternalURL struct {
Url string
}
type MetadataViews_Rarity struct {
Score *string
Max *uint64
Description *string
}
type MetadataViews_Trait struct {
Value interface{}
Rarity *MetadataViews_Rarity
Name string
DisplayType string `cadence:"displayType"`
}
type MetadataViews_Traits struct {
Traits []MetadataViews_Trait
}