From 4dc55e4790003a3b97c6b82d572735938988150b Mon Sep 17 00:00:00 2001 From: Hubert Halim <31795170+HubertHalim@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:29:19 +0800 Subject: [PATCH] Add subtitle (#75) * Update README.md * Update config.yaml --- README.md | 9 ++++++++- protocols/morpho/config.yaml | 8 ++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bcab440..56449be 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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: @@ -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. \ No newline at end of file + - **Do not** change the global `config.json` file. This file will be automatically generated. diff --git a/protocols/morpho/config.yaml b/protocols/morpho/config.yaml index ff22b0a..170f6e1 100644 --- a/protocols/morpho/config.yaml +++ b/protocols/morpho/config.yaml @@ -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