https://github.com/morpho-org/morpho-blue-subgraph
📈 A Morpho Blue Subgraph implementing the Messari schema for Lending protocol
https://github.com/morpho-org/morpho-blue-subgraph
Last synced: 4 months ago
JSON representation
📈 A Morpho Blue Subgraph implementing the Messari schema for Lending protocol
- Host: GitHub
- URL: https://github.com/morpho-org/morpho-blue-subgraph
- Owner: morpho-org
- License: mit
- Created: 2023-08-15T12:03:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-11T16:24:14.000Z (over 1 year ago)
- Last Synced: 2025-04-11T02:56:03.394Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 604 KB
- Stars: 5
- Watchers: 6
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Morpho Blue Subgraph
## Specifications
Morpho Blue is a permissionless lending protocol, meaning that everyone can list any market with any oracle, that can give inconsistent price to compute the TVL.
So the measure of the TVL is not the same as other protocols, because we can't trust the price of all the markets.
To do so, we use a whitelist of markets trusted by the Morpho DAO, and we use these markets to calculate the TVL.
The list is updated each time the DAO is trusting a new market.
However, the subgraph is listing all created markets and computes the price by mapping a token symbol with a Chainlink price feed
to compute the USD or ETH price of an asset (if a price feed exists).