Skip to content

Commit

Permalink
App: fetch loans from the subgraph (#420)
Browse files Browse the repository at this point in the history
Various changes to make the app fetch the loans from the subgraph.
  • Loading branch information
bpierre committed Sep 24, 2024
1 parent 4fcc30f commit 530e28b
Show file tree
Hide file tree
Showing 29 changed files with 15,120 additions and 688 deletions.
1,370 changes: 1,370 additions & 0 deletions frontend/app/.graphclient/index.ts

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions frontend/app/.graphclient/persisted_operations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"45745732d955f1e9e56be85453b7766bb2b5d776bad265e1e6734958fbc111c8": "query TrovesByAccount($account: Bytes!) {\n troves(where: {borrower: $account}) {\n id\n borrower\n debt\n deposit\n stake\n interestRate\n createdAt\n closedAt\n collateral {\n id\n token {\n symbol\n name\n }\n minCollRatio\n }\n }\n}\n\nquery TroveById($id: ID!) {\n trove(id: $id) {\n id\n borrower\n debt\n deposit\n stake\n interestRate\n createdAt\n closedAt\n collateral {\n id\n token {\n symbol\n name\n }\n minCollRatio\n }\n }\n}"
}
Loading

0 comments on commit 530e28b

Please sign in to comment.