-
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.
Merge branch 'dev' into fix-automated-package-actions3
- Loading branch information
Showing
121 changed files
with
3,585 additions
and
581 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
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
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 |
---|---|---|
|
@@ -16,4 +16,5 @@ abis | |
artifacts | ||
**/core-contracts/src/ | ||
**/.sst/** | ||
**/.turbo/** | ||
**/.turbo/** | ||
/packages/**/src/generated |
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
49 changes: 49 additions & 0 deletions
49
packages/aave-spark-subgraph/queries/intrest-rates.graphql
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,49 @@ | ||
query GetInterestRates( | ||
$token: String!, | ||
$tokenBytes: ID!, | ||
$protocol: String!, | ||
$fromTimestamp: BigInt!, | ||
$toTimestamp: BigInt! | ||
$first: Int!, | ||
$skip: Int!) { | ||
|
||
token(id: $tokenBytes) { | ||
id | ||
symbol | ||
address | ||
decimals | ||
} | ||
|
||
interestRates( | ||
where: { token: $token, timestamp_gte: $fromTimestamp, timestamp_lte: $toTimestamp, protocol: $protocol }, | ||
orderBy: timestamp, | ||
orderDirection: asc, | ||
first: $first, | ||
skip: $skip) { | ||
id | ||
rate | ||
timestamp | ||
type | ||
} | ||
previousBorrowRate: interestRates( | ||
where: { token: $token, timestamp_lt: $fromTimestamp, type: "borrow-variable", protocol: $protocol }, | ||
orderBy: timestamp, | ||
orderDirection: desc, | ||
first: 1) { | ||
id | ||
rate | ||
timestamp | ||
type | ||
} | ||
|
||
previousLendRate: interestRates( | ||
where: { token: $token, timestamp_lt: $fromTimestamp, type: "lend", protocol: $protocol }, | ||
orderBy: timestamp, | ||
orderDirection: desc, | ||
first: 1) { | ||
id | ||
rate | ||
timestamp | ||
type | ||
} | ||
} |
Oops, something went wrong.