<aside> 💡
In the future if you would like to have your pool’s LP as collateral, you must use this script for your points tracking as it will help us to autoforward LP rewards to these users accurately
</aside>
<aside> 💡
TLDR: PT forgoes all points, YT and LP earns points. To learn more about the mechanism of Pendle, refer to this page. Pools will stop earning points upon maturity, so YT and LP users will not earn additional points after maturity of a pool.
</aside>
Head to the market page of the relevant pool
Click on Specs

Copy and paste the LP, YT, and SY addresses into the script accordingly

<aside> 💡
You can test out the script by using any of the pools available on Pendle.
</aside>
<aside> 💡
5% of the points earned from YT to our treasury wallet will be taken from existing users. So if a user was supposed to earn 100 points, 95 points will be allocated to them and 5 points will be allocated to treasury.
</aside>
Go to https://github.com/Pendle-Finance-Periphery/pendle-generic-balance-fetcher/tree/main and fork the code.
In the fork, configure the contract addresses in https://github.com/Pendle-Finance-Periphery/pendle-generic-balance-fetcher/blob/main/src/configuration.ts

You need to update the SY, YT and LP addresses. To find the relevant contract addresses, go to your pool’s market page → click on specs which is next to the pool’s name. You could then find the relevant addresses from the table.

Given the information from USDe 31Jul2025, Update the following information from Step 2 to:
import { CHAINS, PoolConfiguration } from './types';
export const CHAIN = CHAINS.ETHEREUM;
export const POOL_INFO: PoolConfiguration = {
SY: '0xb47cbf6697a6518222c7af4098a43aefe2739c8c',
YT: '0x733ee9ba88f16023146ebc965b7a1da18a322464',
LPs: [
{
address: '0x9df192d13d61609d1852461c4850595e1f56e714',
deployedBlock: 21920466
}