-
Notifications
You must be signed in to change notification settings - Fork 2
/
schema.graphql
78 lines (74 loc) · 1.54 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
type LimitFarming @entity {
id: ID!
createdAtTimestamp: BigInt!
rewardToken: Bytes!
bonusRewardToken: Bytes!
pool: Bytes!
startTime: BigInt!
endTime: BigInt!
reward: BigInt!
bonusReward: BigInt!
isDetached: Boolean
minRangeLength: BigInt!
tokenAmountForTier1: BigInt!
tokenAmountForTier2: BigInt!
tokenAmountForTier3: BigInt!
tier1Multiplier: BigInt!
tier2Multiplier: BigInt!
tier3Multiplier: BigInt!
multiplierToken: Bytes!
enterStartTime: BigInt!
}
type EternalFarming @entity {
id: ID!
rewardToken: Bytes!
bonusRewardToken: Bytes!
virtualPool: Bytes!
pool: Bytes!
startTime: BigInt!
endTime: BigInt!
reward: BigInt!
bonusReward: BigInt!
rewardRate: BigInt!
bonusRewardRate: BigInt!
isDetached: Boolean
minRangeLength: BigInt!
tokenAmountForTier1: BigInt!
tokenAmountForTier2: BigInt!
tokenAmountForTier3: BigInt!
tier1Multiplier: BigInt!
tier2Multiplier: BigInt!
tier3Multiplier: BigInt!
multiplierToken: Bytes!
}
type Deposit @entity {
id: ID!
L2tokenId: BigInt!
owner: Bytes!
onFarmingCenter: Boolean!
pool: Bytes!
limitFarming: Bytes
eternalFarming: Bytes
enteredInEternalFarming: BigInt
liquidity: BigInt!
rangeLength: BigInt!
tokensLockedLimit: BigInt!
tokensLockedEternal: BigInt!
tierLimit: BigInt!
tierEternal: BigInt!
}
type Reward @entity{
id: ID!
rewardAddress: Bytes!
amount: BigInt!
owner: Bytes!
}
type Token @entity{
id: ID!
# token symbol
symbol: String!
# token name
name: String!
# token decimals
decimals: BigInt!
}