-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add graph protocol configuration files
- Loading branch information
Showing
12 changed files
with
462 additions
and
1 deletion.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-borrows.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
35 changes: 35 additions & 0 deletions
35
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-collaterals.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
35 changes: 35 additions & 0 deletions
35
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-deposits.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
35 changes: 35 additions & 0 deletions
35
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-flash-loans.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
38 changes: 38 additions & 0 deletions
38
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-liquidations.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
31 changes: 31 additions & 0 deletions
31
...-Engine/DeFi Data Engine/src/main/resources/requests/graph-price-history-items.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
35 changes: 35 additions & 0 deletions
35
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-redeems.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
35 changes: 35 additions & 0 deletions
35
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-repays.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
37 changes: 37 additions & 0 deletions
37
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-reserves.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Oops, something went wrong.