Skip to content

Commit

Permalink
Add subtitle (#75)
Browse files Browse the repository at this point in the history
* Update README.md

* Update config.yaml
  • Loading branch information
HubertHalim authored Dec 11, 2024
1 parent c2b46b9 commit 4dc55e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The YAML file includes details for multiple objects (PT, YT, LP), each correspon
#### Asset fields
- chainId: chainId of the integrated assets
- address: Address of the integrated assets (PT token address for PT integrations, LP token address for LP integration, etc)
- subtitle: short additional info to distinguish multiple flavours of the same market supported by the same protocol, like 2 different looping strategy for the same PT (max 20 characters)
- integrationUrl: Link to the page that integrated the asset
- description: Description of the asset (max 120 characters).

Expand All @@ -31,6 +32,12 @@ metadata:
pt:
- chainId: 1
address: '0x332a8ee60edff0a11cf3994b1b846bbc27d3dcd6'
subtitle: USDC
integrationUrl: https://www.pendle.magpiexyz.io/stake
description: hello it's pt
- chainId: 1
address: '0x332a8ee60edff0a11cf3994b1b846bbc27d3dcd6'
subtitle: DAI
integrationUrl: https://www.pendle.magpiexyz.io/stake
description: hello it's pt
yt:
Expand Down Expand Up @@ -60,4 +67,4 @@ Please ensure that:
- All fields are correctly filled.
- The integration URL is valid and points to the appropriate page.
- The protocol folder name must be **kebab-case**.
- **Do not** change the global `config.json` file. This file will be automatically generated.
- **Do not** change the global `config.json` file. This file will be automatically generated.
8 changes: 2 additions & 6 deletions protocols/morpho/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,16 @@ metadata:
description: >-
The PT-ezETH-26DEC2024 is the asset used as collateral in a Morpho
market with USDA as the loan token.
- chainId: 1
address: "0xf7906F274c174A52d444175729E3fa98f9bde285"
integrationUrl: https://app.morpho.org/market?id=0x2daab4eb520e7eab0a6d432d2edfb11775c9544a6b5e441c2e0f74abcd48f975&network=mainnet&morphoPrice=1
description: >-
The PT-USD0++-31OCT2024 is the asset used as collateral in a Morpho
market with USDC as the loan token.
- chainId: 1
address: "0xE00bd3Df25fb187d6ABBB620b3dfd19839947b81"
subtitle: DAI
integrationUrl: https://app.morpho.org/market?id=0x5e3e6b1e01c5708055548d82d01db741e37d03b948a7ef9f3d4b962648bcbfa7&network=mainnet&morphoPrice=1
description: >-
The PT-sUSDE-27MAR2025 is the asset used as collateral in a Morpho
market with DAI as the loan token.
- chainId: 1
address: "0xE00bd3Df25fb187d6ABBB620b3dfd19839947b81"
subtitle: USDC
integrationUrl: https://app.morpho.org/market?id=0x346afa2b6d528222a2f9721ded6e7e2c40ac94877a598f5dae5013c651d2a462&network=mainnet&morphoPrice=1
description: >-
The PT-sUSDE-27MAR2025 is the asset used as collateral in a Morpho
Expand Down

0 comments on commit 4dc55e4

Please sign in to comment.