https://github.com/morpho-org/morpho-positions-indexer-subgraph
https://github.com/morpho-org/morpho-positions-indexer-subgraph
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/morpho-org/morpho-positions-indexer-subgraph
- Owner: morpho-org
- Created: 2024-07-25T09:29:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T12:01:38.000Z (almost 2 years ago)
- Last Synced: 2024-08-12T13:35:44.694Z (almost 2 years ago)
- Language: TypeScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Morpho Positions indexer
A POC of an indexer for Morpho borrow positions. That uses a subgraph
It computes the ltv each time a borrower interact with a market.
It also accrues interest on the fly before computing the ltv, with the latest rate fetched during the latest onchain interest accrual.
## Limitations
There is no way to compute the ltv for each users in order to know which user is liquidatable at one given time.