-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathl2.graphql
152 lines (151 loc) · 3.67 KB
/
l2.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
#-----------------------SPERAX-TOKEN-L2-TRANSACTIONS---------------------------------------------------------
type spaL2TransferEvent @entity {
id: ID!
from: Bytes!
to: Bytes!
value: BigDecimal!
totalSupply: BigDecimal!
count: BigInt!
vestingReward: BigDecimal!
gasPrice: BigInt!
gasUsed: BigInt!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
}
type spaL2DayTransferEvent @entity {
id: ID!
from: Bytes!
to: Bytes!
value: BigDecimal!
count: BigInt!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
}
type streetBeatUSDsBalance @entity {
id: ID!
streetBeatUSDsBalance:BigDecimal!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
}
type spaL2Balance @entity {
id: ID!
bootstrapLiquidityDeployer: BigDecimal!
usdsUsdcFarmRewarder: BigDecimal!
usdsUsdcFarmVesting: BigDecimal!
spaUsdsFarmRewarder1: BigDecimal!
spaUsdsFarmVesting1: BigDecimal!
spaUsdsFarmRewarder2: BigDecimal!
spaUsdsFarmVesting2: BigDecimal!
spaReserveL2MultiSig: BigDecimal!
spaFarm: BigDecimal!
spaFarmRewarder: BigDecimal!
rewardDistributor: BigDecimal!
spaBuyback: BigDecimal!
veSPAL2: BigDecimal!
SPABootstrapedLDArb: BigDecimal!
SPAStakingArbitrum: BigDecimal!
teamTokenManager:BigDecimal!
newTeamWallet:BigDecimal!
newL1L2Treasury:BigDecimal!
totalBalances: BigDecimal!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
}
type spaL2FromWallet @entity {
id: ID!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
}
type spaL2ToWallet @entity {
id: ID!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
}
#--------------------------DAILY-EVENTS-(GENERATED-ONCE-A-DAY)-----------------------------
type spaL2DayBalance @entity {
id: ID!
bootstrapLiquidityDeployer: BigDecimal!
usdsUsdcFarmRewarder: BigDecimal!
usdsUsdcFarmVesting: BigDecimal!
spaUsdsFarmRewarder1: BigDecimal!
spaUsdsFarmVesting1: BigDecimal!
spaUsdsFarmRewarder2: BigDecimal!
spaUsdsFarmVesting2: BigDecimal!
spaReserveL2MultiSig: BigDecimal!
spaFarm: BigDecimal!
spaFarmRewarder: BigDecimal!
rewardDistributor: BigDecimal!
spaBuyback: BigDecimal!
veSPAL2: BigDecimal!
SPABootstrapedLDArb: BigDecimal!
SPAStakingArbitrum: BigDecimal!
teamTokenManager:BigDecimal!
newTeamWallet:BigDecimal!
newL1L2Treasury:BigDecimal!
totalBalances: BigDecimal!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
}
type spaL2TotalSupplyDayEvent @entity {
id: ID!
totalSupply: BigDecimal!
gasPrice: BigInt!
gasUsed: BigInt!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
} #--------------------------SPA-L2-Farm-----------------------------
type spaL2FarmStakeEvent @entity {
id: ID!
account: Bytes!
amount: BigDecimal!
totalStakedSPA: BigDecimal!
count: BigInt!
expiryDate: BigInt!
lockupPeriod: BigInt!
gasPrice: BigInt!
gasUsed: BigInt!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
}
type spaL2FarmWithdrawEvent @entity {
id: ID!
account: Bytes!
amount: BigDecimal!
totalStakedSPA: BigDecimal!
count: BigInt!
gasPrice: BigInt!
gasUsed: BigInt!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
}
type spaL2FarmWithdrawPenalityEvent @entity {
id: ID!
account: Bytes!
amount: BigDecimal!
totalStakedSPA: BigDecimal!
count: BigInt!
gasPrice: BigInt!
gasUsed: BigInt!
timeStamp: String!
timeStampUnix: BigInt!
blockNumber: BigInt!
transactionHash: Bytes!
}