-
Notifications
You must be signed in to change notification settings - Fork 108
/
schema.graphql
92 lines (84 loc) · 2.34 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
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
subscription: Subscription
}
type PriceData {
priceInEth: String!
}
type ProtocolData {
emissionEndTimestamp: Float!
reserves: [ReserveData!]!
usdPriceEth: String!
}
type Query {
protocolData(poolAddress: String!): ProtocolData!
userData(poolAddress: String!, userAddress: String!): UserData!
}
type ReserveData {
aEmissionPerSecond: String!
aIncentivesLastUpdateTimestamp: Float!
aTokenAddress: String!
aTokenIncentivesIndex: String!
availableLiquidity: String!
averageStableRate: String!
baseLTVasCollateral: String!
baseVariableBorrowRate: String!
borrowingEnabled: Boolean!
decimals: Float!
id: String!
isActive: Boolean!
isFrozen: Boolean!
lastUpdateTimestamp: Float!
liquidityIndex: String!
liquidityRate: String!
name: String!
optimalUtilisationRate: String!
price: PriceData!
reserveFactor: String!
reserveLiquidationBonus: String!
reserveLiquidationThreshold: String!
sEmissionPerSecond: String!
sIncentivesLastUpdateTimestamp: Float!
sTokenIncentivesIndex: String!
stableBorrowRate: String!
stableBorrowRateEnabled: Boolean!
stableDebtLastUpdateTimestamp: Float!
stableDebtTokenAddress: String!
stableRateSlope1: String!
stableRateSlope2: String!
symbol: String!
totalPrincipalStableDebt: String!
totalScaledVariableDebt: String!
underlyingAsset: String!
usageAsCollateralEnabled: Boolean!
vEmissionPerSecond: String!
vIncentivesLastUpdateTimestamp: Float!
vTokenIncentivesIndex: String!
variableBorrowIndex: String!
variableBorrowRate: String!
variableDebtTokenAddress: String!
variableRateSlope1: String!
variableRateSlope2: String!
}
type Subscription {
protocolDataUpdate(poolAddress: String!): ProtocolData!
userDataUpdate(poolAddress: String!, userAddress: String!): UserData!
}
type UserData {
userReserves: [UserReserveData!]!
userUnclaimedRewards: String!
}
type UserReserveData {
aTokenincentivesUserIndex: String!
principalStableDebt: String!
sTokenincentivesUserIndex: String!
scaledATokenBalance: String!
scaledVariableDebt: String!
stableBorrowLastUpdateTimestamp: Float!
stableBorrowRate: String!
underlyingAsset: String!
usageAsCollateralEnabledOnUser: Boolean!
vTokenincentivesUserIndex: String!
variableBorrowIndex: String!
}