-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.graphql
More file actions
121 lines (113 loc) · 2.14 KB
/
schema.graphql
File metadata and controls
121 lines (113 loc) · 2.14 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
type Artist @entity {
id: ID!
name: String!
wallet: String!
fecha: BigInt!
collection: BigInt!
total_nft: BigInt!
total_collection: BigInt!
total_event: BigInt!
}
type Autoswap @entity {
id: ID!
artist_id: String!
amount_near: BigInt!
amount_usd: BigDecimal!
tax: BigInt!
status_id: Int
status_des: String
}
type Autoswaphistorico @entity {
id: ID!
artist_id: String!
fecha: BigInt!
price: BigDecimal
amount_artist: BigInt!
amount_musicfeast: BigInt
tax_artist: BigInt!
tax_musicfeast: BigInt
amount_ft: BigInt
ft_token: String
proccess: String!
arg: String
}
type Typetoken @entity {
id: ID!
description: String!
fecha: BigInt!
}
type Serie @entity {
id: ID!
desc_series: String!
artist_id: String!
collection: BigInt!
typetoken_id: String!
is_objects: Boolean!
title: String!
description: String
media: String!
extra: String
reference: String!
creator_id: String!
price: BigDecimal
price_near: BigDecimal
supply: BigInt!
copies: BigInt
fecha: BigInt!
tokens: [Nft!]! @derivedFrom(field: "metadata")
}
type Nft @entity {
id: ID!
serie_id: String!
owner_id: String!
fecha: BigInt!
artist_id: String!
collection: BigInt!
typetoken_id: String!
is_objects: Boolean!
is_visible: Boolean!
offer: [Offer!]! @derivedFrom(field: "data_nft")
metadata: Serie!
}
type Market @entity {
id: ID!
artist_id: String!
typetoken_id: String!
serie_id: String!
token_id: String!
nft_contract_id: String!
owner_id: String!
approval_id: Int!
started_at: String
end_price: String
ended_at: String
ft_token_id: String
is_auction: Boolean
price: BigInt!
price_near: BigDecimal!
transaction_fee: String!
}
type Offer @entity {
id: ID!
data_nft: Nft!
buyer_id: String!
nft_contract_id: String!
token_id: String!
serie_id: String!
artist_id: String!
typetoken_id: String!
ft_token_id: String!
price: BigInt!
price_near: BigDecimal!
}
type Controlobject @entity {
id: ID!
owner_id: String!
artist_id: String!
token_object_id: String!
serie_id: String!
user_burn: String!
fecha: BigInt!
extra: String
aproved: Boolean!
}