-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from OlympusDAO/cooler-loans-update
cooler-loans subgraph update
- Loading branch information
Showing
56 changed files
with
47,208 additions
and
577 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
function/dist/ | ||
function/node_modules/ |
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,3 @@ | ||
node_modules/ | ||
function/dist/ | ||
function/node_modules/ |
69 changes: 69 additions & 0 deletions
69
...TfKxWDTUCzDnZp1zgqjVuZscd9fPGS/ClaimDefaultedLoanEvent/ClaimDefaultedLoanEvent.jsonschema
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,69 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"__typename": { | ||
"type": "string", | ||
"const": "ClaimDefaultedLoanEvent" | ||
}, | ||
"id": { | ||
"type": "string", | ||
"description": "Record ID.\n\nIn the format of `cooler-loanId`." | ||
}, | ||
"date": { | ||
"type": "string", | ||
"description": "Event date in YYYY-MM-DD format." | ||
}, | ||
"blockNumber": { | ||
"type": "string", | ||
"description": "Block number at the time of the event." | ||
}, | ||
"blockTimestamp": { | ||
"type": "string", | ||
"description": "Block timestamp at the time of the event." | ||
}, | ||
"transactionHash": { | ||
"type": "string", | ||
"description": "Transaction hash of the event." | ||
}, | ||
"collateralQuantityClaimed": { | ||
"type": "string", | ||
"description": "Collateral quantity claimed." | ||
}, | ||
"collateralPrice": { | ||
"type": "string", | ||
"description": "Price of the collateral token at the time of the event." | ||
}, | ||
"collateralValueClaimed": { | ||
"type": "string", | ||
"description": "Value of the collateral claimed." | ||
}, | ||
"loan": { | ||
"type": "object", | ||
"properties": { | ||
"__typename": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"secondsSinceExpiry": { | ||
"type": "string", | ||
"description": "Seconds since the loan expired." | ||
}, | ||
"clearinghouseSnapshot": { | ||
"type": "object", | ||
"properties": { | ||
"__typename": { | ||
"type": "string" | ||
}, | ||
"id": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
95 changes: 95 additions & 0 deletions
95
...fKxWDTUCzDnZp1zgqjVuZscd9fPGS/ClaimDefaultedLoanEvent/ClaimDefaultedLoanEvent_schema.json
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,95 @@ | ||
[ | ||
{ | ||
"name": "__typename", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "id", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Record ID.\n\nIn the format of `cooler-loanId`." | ||
}, | ||
{ | ||
"name": "date", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Event date in YYYY-MM-DD format." | ||
}, | ||
{ | ||
"name": "blockNumber", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Block number at the time of the event." | ||
}, | ||
{ | ||
"name": "blockTimestamp", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Block timestamp at the time of the event." | ||
}, | ||
{ | ||
"name": "transactionHash", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Transaction hash of the event." | ||
}, | ||
{ | ||
"name": "collateralQuantityClaimed", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Collateral quantity claimed." | ||
}, | ||
{ | ||
"name": "collateralPrice", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Price of the collateral token at the time of the event." | ||
}, | ||
{ | ||
"name": "collateralValueClaimed", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Value of the collateral claimed." | ||
}, | ||
{ | ||
"name": "loan", | ||
"type": "RECORD", | ||
"mode": "NULLABLE", | ||
"fields": [ | ||
{ | ||
"name": "__typename", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "id", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "secondsSinceExpiry", | ||
"type": "STRING", | ||
"mode": "NULLABLE", | ||
"description": "Seconds since the loan expired." | ||
}, | ||
{ | ||
"name": "clearinghouseSnapshot", | ||
"type": "RECORD", | ||
"mode": "NULLABLE", | ||
"fields": [ | ||
{ | ||
"name": "__typename", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
}, | ||
{ | ||
"name": "id", | ||
"type": "STRING", | ||
"mode": "NULLABLE" | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.