Skip to content

Commit b415c05

Browse files
0xKMGg1nt0ki
andauthored
add strategies for pendle pools (DefiLlama#9824)
* add strategies for pendle pools * fix: change api call endpoint to defiLlama * code refactor --------- Co-authored-by: g1nt0ki <[email protected]>
1 parent 79ad9fa commit b415c05

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

projects/airpuff/index.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
//import utils
21
const ADDRESSES = require("../helper/coreAssets.json");
32
const contractAbis = {
43
readOraclePrice: "function read() view returns (int224 value, uint32 timestamp)",
@@ -227,6 +226,25 @@ module.exports = {
227226

228227
api.add(ADDRESSES.ethereum.WETH, mswETHBalInETH);
229228
}
229+
230+
//new strats on pendle v2
231+
const pTweETH = {
232+
vault: "0xE9E2087CD1179378C847C1f3B73CCA929e3deb95",
233+
pendleAddress: "0xc69Ad9baB1dEE23F4605a82b3354F8E40d1E5966",
234+
};
235+
236+
const pTezETH = {
237+
vault: "0x679EB9b7C57d9B98684034CDAfC2F4a72ABfEBD6",
238+
pendleAddress: "0xeee8aed1957ca1545a0508afb51b53cca7e3c0d1",
239+
};
240+
241+
const pTsETH = {
242+
vault: "0x72Da018b1C7FAACEAa141DEc753F1fFe88c493AD",
243+
pendleAddress: "0xb05cabcd99cf9a73b19805edefc5f67ca5d1895e",
244+
};
245+
246+
const tokensAndOwners = [pTweETH, pTezETH, pTsETH].map(i => [i.pendleAddress, i.vault]);
247+
await api.sumTokens({ tokensAndOwners })
230248
},
231249
},
232250
//-----------------------------------------------------------------------//

0 commit comments

Comments
 (0)