Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for RC4 contracts and other improvements #16

Merged
merged 22 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,9 @@ List pools showing their tokens and how many transactions have been performed on
Positions for a specific lender across all pools:
```
{
accounts(where: {id:"0x31bcbe14ad30b2f7e1e4a14cab2c16849b73dac3"}) {
accounts(where: {id:"0x4eb7f19d6efcace59eaed70220da5002709f9b71"}) {
id
lends {
bucket {
bucketIndex
deposit
collateral
}
pool {
id
quoteToken {
Expand All @@ -60,6 +55,11 @@ Positions for a specific lender across all pools:
symbol
}
}
bucket {
bucketIndex
deposit
collateral
}
}
}
}
Expand All @@ -68,25 +68,21 @@ Positions for a specific lender across all pools:
Details for a specific pool:
```
{
pool(id: "0xe1200aefd60559d494d4419e17419571ef8fc1eb") {
pool(id: "0xc2b64ca87090fe79786a8773009d7fb1288d3db1") {
id
quoteToken { symbol }
collateralToken { symbol }
poolSize
debt
actualUtilization
currentDebt
htp
hpb
lup
maxBorrower
poolSize
reserves
targetUtilization
borrowRate
lendRate
totalAjnaBurned
totalInterestEarned
quoteToken {
symbol
}
collateralToken {
symbol
}
}
}
```
Expand Down
Loading