-
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.
- Loading branch information
Conor Flynn
committed
Apr 14, 2023
1 parent
ab8ea3c
commit f9101b7
Showing
6 changed files
with
114 additions
and
95 deletions.
There are no files selected for viewing
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
89 changes: 67 additions & 22 deletions
89
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 |
|---|---|---|
| @@ -1,37 +1,82 @@ | ||
| request.name= graph-swaps | ||
| request.name= graph-reserves | ||
|
|
||
| url.base= https://api.thegraph.com/subgraphs/name/aave/protocol-v2 | ||
|
|
||
| url.properties= method,swaps,\ | ||
| url.properties= method,reserves,\ | ||
| values,\ | ||
| id:\ | ||
| user:\ | ||
| reserve:\ | ||
| pool:\ | ||
| userReserve:\ | ||
| timestamp:\ | ||
| borrowRateModeTo:\ | ||
| borrowRateModeFrom:\ | ||
| stableBorrowRate:\ | ||
| variableBorrowRate | ||
| underlyingAsset:\ | ||
| pool{id}:\ | ||
| symbol:\ | ||
| name:\ | ||
| decimals:\ | ||
| usageAsCollateralEnabled:\ | ||
| borrowingEnabled:\ | ||
| stableBorrowRateEnabled:\ | ||
| isActive:\ | ||
| isFrozen:\ | ||
| price:\ | ||
| reserveInterestRateStrategy:\ | ||
| optimalUtilisationRate:\ | ||
| variableRateSlope1:\ | ||
| variableRateSlope2:\ | ||
| stableRateSlope1:\ | ||
| stableRateSlope2:\ | ||
| baseVariableBorrowRate:\ | ||
| baseLTVasCollateral:\ | ||
| reserveLiquidationThreshold:\ | ||
| reserveLiquidationBonus:\ | ||
| utilizationRate:\ | ||
| totalLiquidity:\ | ||
| totalATokenSupply:\ | ||
| totalLiquidityAsCollateral:\ | ||
| totalPrincipalStableDebt:\ | ||
| totalScaledVariableDebt:\ | ||
| totalCurrentVariableDebt:\ | ||
| totalDeposits:\ | ||
| liquidityRate:\ | ||
| averageStableRate:\ | ||
| variableBorrowRate:\ | ||
| stableBorrowRate:\ | ||
| liquidityIndex:\ | ||
| variableBorrowIndex:\ | ||
| aToken{id}:\ | ||
| vToken{id}:\ | ||
| sToken{id}:\ | ||
| reserveFactor:\ | ||
| lastUpdateTimestamp:\ | ||
| stableDebtLastUpdateTimestamp:\ | ||
| aEmissionPerSecond:\ | ||
| vEmissionPerSecond:\ | ||
| sEmissionPerSecond:\ | ||
| aTokenIncentivesIndex:\ | ||
| vTokenIncentivesIndex:\ | ||
| sTokenIncentivesIndex:\ | ||
| aIncentivesLastUpdateTimestamp:\ | ||
| vIncentivesLastUpdateTimestamp:\ | ||
| sIncentivesLastUpdateTimestamp:\ | ||
| lifetimeLiquidity:\ | ||
| lifetimePrincipalStableDebt:\ | ||
| lifetimeScaledVariableDebt:\ | ||
| lifetimeCurrentVariableDebt:\ | ||
| lifetimeRepayments:\ | ||
| lifetimeWithdrawals:\ | ||
| lifetimeBorrows:\ | ||
| lifetimeLiquidated:\ | ||
| lifetimeFlashLoans:\ | ||
| lifetimeFlashLoanPremium:\ | ||
| lifetimeDepositorsInterestEarned:\ | ||
| lifetimeReserveFactorAccrued | ||
|
|
||
| url.headers= Content-Type,application/json | ||
|
|
||
| data.path= data,\ | ||
| swaps | ||
| reserves | ||
|
|
||
| recursion.type= graphql | ||
|
|
||
| recursion.tags= -l,1000 | ||
|
|
||
| recursion.location= timestamp | ||
| recursion.location= id | ||
|
|
||
| date.valid= true | ||
|
|
||
| date.location= properties | ||
|
|
||
| date.start= startDate | ||
|
|
||
| date.end= endDate | ||
|
|
||
| date.format= yyyy-MM-dd | ||
| date.valid= false |
81 changes: 14 additions & 67 deletions
81
DeFi-Data-Engine/DeFi Data Engine/src/main/resources/requests/graph-swaps.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
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
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 @@ | ||
| /bin/ |
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,23 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <projectDescription> | ||
| <name>Rest Application</name> | ||
| <comment></comment> | ||
| <projects> | ||
| </projects> | ||
| <buildSpec> | ||
| <buildCommand> | ||
| <name>org.eclipse.jdt.core.javabuilder</name> | ||
| <arguments> | ||
| </arguments> | ||
| </buildCommand> | ||
| <buildCommand> | ||
| <name>org.eclipse.m2e.core.maven2Builder</name> | ||
| <arguments> | ||
| </arguments> | ||
| </buildCommand> | ||
| </buildSpec> | ||
| <natures> | ||
| <nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
| <nature>org.eclipse.jdt.core.javanature</nature> | ||
| </natures> | ||
| </projectDescription> |