Skip to content

Commit

Permalink
add graph protocol configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
flynnc3 committed Apr 13, 2023
1 parent 7dbacef commit a107e9b
Show file tree
Hide file tree
Showing 12 changed files with 462 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
request.name= graph-borrows

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,borrows,\
values,\
id:\
user:\
caller:\
reserve:\
pool:\
userReserve:\
timestamp:\
amount:\
borrowRate:\
borrowRateMode:\
stableTokenDebt:\
variableTokenDebt

url.headers= Content-Type,application/json

data.path= data,\
borrows

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
request.name= graph-collaterals

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,usageAsCollaterals,\
values,\
id:\
user:\
reserve:\
pool:\
userReserve:\
timestamp:\
fromState:\
toState

url.headers= Content-Type,application/json

data.path= data,\
usageAsCollaterals

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
request.name= graph-deposits

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,deposits,\
values,\
id:\
user:\
caller:\
reserve:\
pool:\
userReserve:\
timestamp:\
amount

url.headers= Content-Type,application/json

data.path= data,\
deposits

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
request.name= graph-flash-loans

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,flashLoans,\
values,\
id:\
pool:\
reserve:\
target:\
amount:\
totalFee:\
initiator:\
timestamp

url.headers= Content-Type,application/json

data.path= data,\
flashLoans

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
request.name= graph-liquidations

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,liquidationCalls,\
values,\
id:\
user:\
pool:\
collateralReserve:\
collateralUserReserve:\
principalReserve:\
principalUserReserve:\
principalAmount:\
collateralAmount:\
timestamp:\
liquidator

url.headers= Content-Type,application/json

data.path= data,\
liquidationCalls

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
request.name= graph-price-history-items

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,priceHistoryItems,\
values,\
id:\
asset:\
price:\
timestamp

url.headers= Content-Type,application/json

data.path= data,\
priceHistoryItems

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
request.name= graph-redeems

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,redeemUnderlyings,\
values,\
id:\
user:\
to:\
reserve:\
pool:\
userReserve:\
timestamp:\
amount

url.headers= Content-Type,application/json

data.path= data,\
redeemUnderlyings

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
request.name= graph-repays

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,repays,\
values,\
id:\
user:\
repayer:\
reserve:\
pool:\
userReserve:\
timestamp:\
amount

url.headers= Content-Type,application/json

data.path= data,\
repays

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
request.name= graph-swaps

url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2

url.properties= method,swaps,\
values,\
id:\
user:\
reserve:\
pool:\
userReserve:\
timestamp:\
borrowRateModeTo:\
borrowRateModeFrom:\
stableBorrowRate:\
variableBorrowRate

url.headers= Content-Type,application/json

data.path= data,\
swaps

recursion.type= graphql

recursion.tags= -l,1000

recursion.location= timestamp

date.valid= true

date.location= properties

date.start= startDate

date.end= endDate

date.format= yyyy-MM-dd
Loading

0 comments on commit a107e9b

Please sign in to comment.