This repository contains metadata for integrating external protocols, including addresses and relevant integration URLs for various markets.
The YAML file includes details for multiple objects (PT, YT, LP), each corresponding to different parts of the protocol with specific chain IDs, addresses, integration URLs, and descriptions.
- name: The name of the protocol.
- icon: The protocol’s logo (circular logo in PNG). The string on this field should be the same as the name of the logo file uploaded. Size limit for logo is 20KB.
- category: The protocol's category. It must belong to one of the following categories:
Money Market
,Yield Strategy
,Liquid Locker
orOthers
. - metadata: This section contains detailed information about the protocol's integration assets.
- 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).
name: Protocol Name 2
icon: logo.png
category: 'Yield Strategy'
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:
- chainId: 1
address: '0x1cae47aa3e10a77c55ee32f8623d6b5acc947344'
integrationUrl: https://www.pendle.magpiexyz.io/stake
description: hello it's yt
lp:
- chainId: 1
address: '0xcae62858db831272a03768f5844cbe1b40bb381f'
integrationUrl: https://www.pendle.magpiexyz.io/stake
description: hello it's lp
To add a new protocol or update existing data:
- Fork this repository.
- Add or update the YAML file with the new protocol information in the specified format.
- Add a logo.png file to your protocol folder if there isn't any yet
- Submit a pull request for review.
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.