This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathschema.graphql
107 lines (107 loc) · 2.38 KB
/
schema.graphql
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
type pool_burn @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
amount: BigDecimal!
amount0: BigDecimal!
amount1: BigDecimal!
owner: String!
tick_lower: Int!
tick_upper: Int!
}
type pool_collect @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
amount0: BigDecimal!
amount1: BigDecimal!
owner: String!
recipient: String!
tick_lower: Int!
tick_upper: Int!
}
type pool_collect_protocol @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
amount0: BigDecimal!
amount1: BigDecimal!
recipient: String!
sender: String!
}
type pool_flash @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
amount0: BigDecimal!
amount1: BigDecimal!
paid0: BigDecimal!
paid1: BigDecimal!
recipient: String!
sender: String!
}
type pool_increase_observation_cardinality_next @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
observation_cardinality_next_new: Int!
observation_cardinality_next_old: Int!
}
type pool_initialize @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
sqrt_price_x96: BigDecimal!
tick: Int!
}
type pool_mint @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
amount: BigDecimal!
amount0: BigDecimal!
amount1: BigDecimal!
owner: String!
sender: String!
tick_lower: Int!
tick_upper: Int!
}
type pool_set_fee_protocol @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
fee_protocol0_new: Int!
fee_protocol0_old: Int!
fee_protocol1_new: Int!
fee_protocol1_old: Int!
}
type pool_swap @entity {
id: ID!
evt_tx_hash: String!
evt_index: BigInt!
evt_block_time: String!
evt_block_number: BigInt!
amount0: BigDecimal!
amount1: BigDecimal!
liquidity: BigDecimal!
recipient: String!
sender: String!
sqrt_price_x96: BigDecimal!
tick: Int!
}