Skip to content

Commit

Permalink
Updated liquidate event (messari#331)
Browse files Browse the repository at this point in the history
* Updated liquidate event

* Updated doc

* add back from/to

* Updated term

* Rename to liquidatee
  • Loading branch information
this-username-is-taken authored and 0xbe1 committed Jun 27, 2022
1 parent b361de1 commit 62bc851
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Schema Update 1.3.0

Main PR: [#310](https://github.com/messari/subgraphs/pull/310)
Fixes: [#320](https://github.com/messari/subgraphs/pull/320), [#325](https://github.com/messari/subgraphs/pull/325), [#330](https://github.com/messari/subgraphs/pull/330)
Fixes: [#320](https://github.com/messari/subgraphs/pull/320), [#325](https://github.com/messari/subgraphs/pull/325), [#330](https://github.com/messari/subgraphs/pull/330), [#331](https://github.com/messari/subgraphs/pull/331)

### Common

Expand All @@ -21,6 +21,7 @@ Fixes: [#320](https://github.com/messari/subgraphs/pull/320), [#325](https://git
- Changed `fixed_term` to `fixed` in `InterestRateType` entity to be more precise.
- Added daily/hourly withdraw/repay aggregates into snapshots.
- Fixed a couple `AmountUSD` fields (they were accidentally left as nullable before).
- Updated `Liquidate` entity to include `liquidatee` (the address that got liquidated).

## Schema Update 1.2.1

Expand Down
3 changes: 3 additions & 0 deletions schema-lending.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,9 @@ type Liquidate implements Event @entity {
" Address that carried out the liquidation "
from: String!

" Address that got liquidated "
liquidatee: String!

" Block number of this event "
blockNumber: BigInt!

Expand Down

0 comments on commit 62bc851

Please sign in to comment.