Overview
Follow our Pendle Developer Updates on telegram for important updates and announcements regarding the Pendle Backend API
Overview
Welcome to the Pendle Documentation. This overview provides key information and resources to help you understand and integrate with the Pendle protocol.
Understanding Pendle's Architecture
- Start with Pendle's High Level Architecture for an overview of the components in the Pendle protocol.
- Pendle's Standardized Yield (SY) have quite a number of nuances to it, refer to the StandardizedYield documentation to understand the different types of SY and how they work.
- Explore the developer documentation on vePENDLE to understand the components and cross-chain mechanisms of vePENDLE.
- Also check out Uncategorised Questions for answers to common questions.
- To see the latest Pendle's contracts, refer to Pendle Contract Repo
- To see examples of various contract interactions, refer to Pendle Examples Repo
On-chain Integration
Interact with Pendle Router
- To learn more about the Router and its functions, refer to PendleRouter.
- To generate calldata for on-chain operations such as buying PT, adding liquidity into a market, or redeeming yield, refer to Pendle's Hosted SDK.
Interact with Pendle Oracles
- To get the price of PT, YT, and LP, refer to How To Integrate Oracles.
- To learn more about using PT and LP as collateral, refer to PT as Collateral & LP as Collateral.
Off-chain Integration
- To query data on prices of PT, YT, LP, APY of pools, and other data, refer to Pendle's Backend. The Backend has a high rate limit and is also the source of data for Pendle DApp.
- To perform various on-chain calculations without using the Backend, refer to Pendle's RouterStatic. This is a low-level system built in Solidity, consisting of on-chain computational and data aggregation functions. Note that this is not to be used for on-chain integration since the contracts are not audited.
Limit Order System
- To learn more about Pendle's Limit Order System contract, refer to LimitOrderContract.
- To learn how to Create, Cancel, Fill Limit Orders, refer to the respective files.
Deployed Contract Addresses
All deployed contracts and markets can be found here: GitHub link
To find the relevant addresses and details of a specific market:
- Go to the market page.
- Select the desired chain and click on an asset.
- Click the button as shown in the image below.
Whitepaper
For a deeper dive into the mechanics and formulas involved in the Pendle protocol, refer to the four whitepapers at this link:
- SY: Explains EIP-5115 Standardized Yield, a token standard to generalize yield-generating mechanisms.
- SYS: Explains how Pendle splits any Standardized Yield token into Principal Tokens and Yield Tokens.
- V2_AMM: Explains how the AMM works in Pendle V2.
- vePENDLE: Explains how vePENDLE works.
Support
For additional assistance, reach out to us via our Developers channel in Discord. Pendle's developers are always available, and you can expect a response to your inquiries within 12 hours.