otomato-sdk 2.0.85 → 2.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -621,66 +621,66 @@ export const TRIGGERS = {
621
621
  8453
622
622
  ],
623
623
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp",
624
- "PT_IMPLIED_YIELD": {
625
- "name": "PT Implied Yield",
626
- "description": "Retrieves the PT implied yield for a specified Pendle market by reading its state and computing exp(lnImpliedRate) - 1.",
627
- "prototype": "pendlePtImpliedYield",
628
- "type": 1,
629
- "method": "function readState(address marketAddress) external view returns (int256 totalPt, int256 totalSy, int256 totalLp, address treasury, int256 scalarRoot, uint256 expiry, uint256 lnFeeRateRoot, uint256 reserveFeePercent, uint256 lastLnImpliedRate)",
630
- "parameters": [
631
- {
632
- "key": "chainId",
633
- "type": "chainId",
634
- "description": "Chain ID of the network",
635
- "mandatory": true,
636
- "category": 0
637
- },
638
- {
639
- "key": "abiParams.marketAddress",
640
- "type": "address",
641
- "description": "The Pendle market address",
642
- "mandatory": true,
643
- "category": 0,
644
- "enum": "\n (env) => {\n if (!env.parameters.chainId)\n throw new Error('You need to provide the chainId first');\n\n const availableLendingTokens = {\n \"1\": [\n {\n \"value\": \"0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2\",\n \"label\": \"stETH\",\n \"expiry\": \"DEC 25, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ac9b8802-61d9-4c3f-a2de-2da35c87e24b.svg\"\n },\n {\n \"value\": \"0x34280882267ffa6383b363e278b027be083bbe3b\",\n \"label\": \"stETH\",\n \"expiry\": \"DEC 30, 2027\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/f7d6a626-a00e-4150-aadc-e937e34818ca.svg\"\n },\n {\n \"value\": \"0xe6d4986cd935529fc4505d48e926bcd36a58a0f0\",\n \"label\": \"apxETH\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/151c9217-2512-4d26-b9d0-755c49299b12.svg\"\n },\n {\n \"value\": \"0xcdd26eb5eb2ce0f203a84553853667ae69ca29ce\",\n \"label\": \"sUSDe\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/56eb1ed3-d1f7-4685-a7b2-5a6e05cb234f.svg\"\n },\n {\n \"value\": \"0xb451a36c8b6b2eac77ad0737ba732818143a0e25\",\n \"label\": \"USDe\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/7299bcd0-6ba1-411e-8d54-f7e5b68aa154.svg\"\n },\n {\n \"value\": \"0x7e0209ab6fa3c7730603b68799bbe9327dab7e88\",\n \"label\": \"rsENA\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/37110810-606f-4d92-8ea8-5ede71d6abdc.svg\"\n },\n {\n \"value\": \"0x890b6afc834c2a2cc6cb9b6627272ab4ecfd8271\",\n \"label\": \"rsUSDe\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/1d444261-bdf7-483b-8e35-bdb725a702ce.svg\"\n },\n {\n \"value\": \"0x70b70ac0445c3ef04e314dfda6caafd825428221\",\n \"label\": \"LBTC\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/773047f5-3963-4577-93f9-4333f225442c.svg\"\n },\n {\n \"value\": \"0x977ebf77581f94de969349549ab2108a681e8f4c\",\n \"label\": \"USDS Rewards\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/bdf98058-9191-44bf-b9a7-4a460457f756.svg\"\n },\n {\n \"value\": \"0xc64056237c8107ecb9860cbd4519644e9ba2aed4\",\n \"label\": \"sENA\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/34ccfdb6-4acf-4d13-8dc9-080b47dfb8fa.svg\"\n },\n {\n \"value\": \"0x21d85ff3bedff031ef466c7d5295240c8ab2a2b8\",\n \"label\": \"sUSDS\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/3226daff-03a2-4078-af4e-28a72ef5b252.svg\"\n },\n {\n \"value\": \"0x8098b48a1c4e4080b30a43a7ebc0c87b52f17222\",\n \"label\": \"pumpBTC\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/df3270cd-7ee9-4119-8ad8-c81336fad690.svg\"\n },\n {\n \"value\": \"0x2c71ead7ac9ae53d05f8664e77031d4f9eba064b\",\n \"label\": \"eBTC (Corn)\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/35a6e08f-82da-49cf-8dc0-c120a4386b0f.svg\"\n },\n {\n \"value\": \"0xafdc922d0059147486cc1f0f32e3a2354b0d35cc\",\n \"label\": \"USD0++\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a66178ef-2097-4b72-9d19-75fe6a4b8821.svg\"\n },\n {\n \"value\": \"0x07c5b1f5265591a8e0e541466654b07dd2d1a6fd\",\n \"label\": \"eEIGEN\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/33c90ae2-9675-4f9f-80e8-0554dc0dc5b5.svg\"\n },\n {\n \"value\": \"0xff81180a7f949ba1f940eae6aa3b3ceb890b1912\",\n \"label\": \"stkGHO\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/05cdb874-4679-4b6a-bedc-9de81e817e79.svg\"\n },\n {\n \"value\": \"0xfd482179ddee989c45eab19991852f80ff31457a\",\n \"label\": \"rsETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/be3e997d-8f3c-46ed-b978-2518668aaa2b.svg\"\n },\n {\n \"value\": \"0xf4cf59259d007a96c641b41621ab52c93b9691b1\",\n \"label\": \"eETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/58971e16-6cf3-4ac4-9f3a-df82267fc5c8.svg\"\n },\n {\n \"value\": \"0x98ffefd1a51d322c8def6d0ba183e71547216f7f\",\n \"label\": \"eBTC (Zerolend)\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/39b1b707-b537-4c87-811d-110047aa7b9f.svg\"\n },\n {\n \"value\": \"0xbe8549a20257917a0a9ef8911daf18190a8842a4\",\n \"label\": \"agETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/d4f45c90-7317-4d07-ae67-1e8ec9caa9a7.svg\"\n },\n {\n \"value\": \"0xbba9baaa6b3107182147a12177e0f1ec46b8b072\",\n \"label\": \"uniETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/025623d4-1fc4-44db-b981-03d60d93d90a.svg\"\n },\n {\n \"value\": \"0x58612beb0e8a126735b19bb222cbc7fc2c162d2a\",\n \"label\": \"pufETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ad53c3bf-7a0c-481e-80cd-0eea4e0e9554.svg\"\n },\n {\n \"value\": \"0xb162b764044697cf03617c2efbcb1f42e31e4766\",\n \"label\": \"sUSDe\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/8fdd3402-5238-4e90-b4db-12e32ea28e67.svg\"\n },\n {\n \"value\": \"0xfd5cf95e8b886ace955057ca4dc69466e793fbbe\",\n \"label\": \"rswETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/221673b1-5839-4140-ad82-3f865dc05c4d.png\"\n },\n {\n \"value\": \"0x048680f64d6dff1748ba6d9a01f578433787e24b\",\n \"label\": \"USD0++\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a66178ef-2097-4b72-9d19-75fe6a4b8821.svg\"\n },\n {\n \"value\": \"0x461cd9222e130d1dc0bd79dab4643952430937c1\",\n \"label\": \"pWBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/f59d005c-a34f-40e3-bdf7-bd84c2094765.svg\"\n },\n {\n \"value\": \"0x2bf616c236d1abd31ff105247a774e6e738b5f4e\",\n \"label\": \"scrvUSD\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/50bc1fdb-ca50-4c38-9a0c-1669e35896f1.svg\"\n },\n {\n \"value\": \"0x15e434c42ab4c9a62ed7db53baaf9d255ea51e0e\",\n \"label\": \"OETH\",\n \"expiry\": \"DEC 25, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/af71269f-d089-47f1-8106-532af44b49e0.svg\"\n },\n {\n \"value\": \"0x3fd13bad9fc47e001bf9088afd1a1b2fc24673d5\",\n \"label\": \"SolvBTC.BBN\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/abdb21c4-7fc2-44f7-bbbb-27416583ac66.svg\"\n },\n {\n \"value\": \"0x380c751bd0412f47ca560b6afeb566d88dc18630\",\n \"label\": \"uniBTC\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/04bdd8ee-4a79-48c5-88a0-b2593ebf939d.svg\"\n },\n {\n \"value\": \"0xd3c29550d12a5234e6aeb5aea7c841134cd6ddd5\",\n \"label\": \"sUSDe\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ecaa79c6-7223-48e9-a3f0-30e10dbbfbfe.svg\"\n },\n {\n \"value\": \"0x22a72b0c504cbb7f8245208f84d8f035c311adec\",\n \"label\": \"USD0++\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a66178ef-2097-4b72-9d19-75fe6a4b8821.svg\"\n },\n {\n \"value\": \"0x81f3a11db1de16f4f9ba8bf46b71d2b168c64899\",\n \"label\": \"USD0++\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a66178ef-2097-4b72-9d19-75fe6a4b8821.svg\"\n },\n {\n \"value\": \"0x8539b41ca14148d1f7400d399723827a80579414\",\n \"label\": \"aUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/1d127217-c2d1-4e5c-9bf4-70ae1a208d28.svg\"\n },\n {\n \"value\": \"0x12f6139a5dc6d80990d30a4d45bb86449ff804d8\",\n \"label\": \"aUSDT\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a875dcab-6a6d-449a-b519-dce222d873c9.svg\"\n },\n {\n \"value\": \"0x925cd38a68993819eef0138a463308c840080f17\",\n \"label\": \"fUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/9049a93c-6645-4c84-b19f-9ebfa0cce6dd.svg\"\n },\n {\n \"value\": \"0x8e1c2be682b0d3d8f8ee32024455a34cc724cf08\",\n \"label\": \"fUSDT\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/6c349c1b-9671-489c-be2c-8750738da3aa.svg\"\n },\n {\n \"value\": \"0xab182e2a98234db8298565f0eb9327206b558c57\",\n \"label\": \"weETHk\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/9f9ec77b-efe0-4119-a4fc-a733ff5fd04a.svg\"\n },\n {\n \"value\": \"0x7509b6bdb9e6dbf6c4b054434dcb46c40000303b\",\n \"label\": \"weETHs\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/2244883b-428a-4f86-ad63-dcaa143b70d6.svg\"\n },\n {\n \"value\": \"0xa25f5ed89e6e7b3d23ebaf067a30ac3d550a19c1\",\n \"label\": \"eBTC\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/685e07f1-e50d-4ff9-bac2-158611f718a6.svg\"\n },\n {\n \"value\": \"0x523f9441853467477b4dde653c554942f8e17162\",\n \"label\": \"eBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/685e07f1-e50d-4ff9-bac2-158611f718a6.svg\"\n },\n {\n \"value\": \"0xb9b7840ec34094ce1269c38ba7a6ac7407f9c4e3\",\n \"label\": \"USUALx\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ff146e2f-3e2d-4e71-9a9d-e1a866b75da2.svg\"\n },\n {\n \"value\": \"0x353d0b2efb5b3a7987fb06d30ad6160522d08426\",\n \"label\": \"wstUSR\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/7a8188bd-cae6-492d-b30d-cbd128493f00.svg\"\n },\n {\n \"value\": \"0x99b633a6a2e0d6414e7c7ecea1134c0a330a73fe\",\n \"label\": \"uniBTC (Corn)\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/7ce722a1-c74e-4226-a80d-1028861e4b62.svg\"\n },\n {\n \"value\": \"0xc118635bcde024c5b01c6be2b0569a2608a8032c\",\n \"label\": \"LBTC (Corn)\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/0b1f24c8-2a29-46bd-b400-5f7043e3c573.svg\"\n },\n {\n \"value\": \"0xe6b03f3182692db1ed7d3a91f6fadf3e4dff2b95\",\n \"label\": \"SolvBTC.BBN (Corn)\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/4b1032d7-94ba-4075-8233-85808d186ebd.svg\"\n },\n {\n \"value\": \"0x3dc05f96160bdf70cf23989a632c087ebc022f92\",\n \"label\": \"pumpBTC\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/df3270cd-7ee9-4119-8ad8-c81336fad690.svg\"\n },\n {\n \"value\": \"0xebf5c58b74a836f1e51d08e9c909c4a4530afd41\",\n \"label\": \"liquidBeraBTC\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/5506f24b-06b7-4f28-af95-11f5c8b0e085.svg\"\n },\n {\n \"value\": \"0x46e6b4a950eb1abba159517dea956afd01ea9497\",\n \"label\": \"liquidBeraETH\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/5ab37246-4c5b-4a95-a534-e60ec618010b.svg\"\n },\n {\n \"value\": \"0xad016c9565a4aeec6d4cfc8a01c648ecbea1a602\",\n \"label\": \"sUSDe (Bera Concrete)\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/aa218d17-62e2-42a4-986b-4f6fcebf9aa4.svg\"\n },\n {\n \"value\": \"0xe6df8d8879595100e4b6b359e6d0712e107c7472\",\n \"label\": \"USDe (Bera Concrete)\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/85be79d7-942c-4cc9-b364-5e1c891a242b.svg\"\n },\n {\n \"value\": \"0x7561c5ccfe41a26b33944b58c70d6a3cb63e881c\",\n \"label\": \"beraSTONE\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/378a54dc-779f-40f0-b859-03dbb3b425e8.svg\"\n },\n {\n \"value\": \"0x83916356556f51dcbcb226202c3efeefc88d5eaa\",\n \"label\": \"LBTC (Bera Concrete)\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/39e54d77-2c8f-49f2-ba92-b40386a55673.svg\"\n },\n {\n \"value\": \"0x9471d9c5b57b59d42b739b00389a6d520c33a7a9\",\n \"label\": \"WBTC (Bera Concrete)\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/0a043dbb-827c-4692-9c52-272745db30c3.svg\"\n },\n {\n \"value\": \"0x580e40c15261f7baf18ea50f562118ae99361096\",\n \"label\": \"syrupUSDC\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/3bebc608-b228-4b1a-81de-363ee24b999b.svg\"\n },\n {\n \"value\": \"0xc387ad871d94990e073f1bd0b759ffdb5e0313aa\",\n \"label\": \"SolvBTC.BERA\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/b9407b43-e7fe-4b27-a78d-0e1db14b8a4b.svg\"\n },\n {\n \"value\": \"0xd75fc2b1ca52e72163787d1c370650f952e75dd7\",\n \"label\": \"sUSDa\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ddcbbbc3-af3c-4b35-a2a6-ebd4e0189256.svg\"\n },\n {\n \"value\": \"0xbdb8f9729d3194f75fd1a3d9bc4ffe0dde3a404c\",\n \"label\": \"tETH\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/d8db35e6-a493-4879-b0de-a9b3fb40924c.svg\"\n },\n {\n \"value\": \"0x4d7356369273c6373e6c5074fe540cb070acfe6b\",\n \"label\": \"asdCRV\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/2ad15ff1-e832-4786-9da3-fac560d1a34c.svg\"\n },\n {\n \"value\": \"0x82d810ededb09614144900f914e75dd76700f19d\",\n \"label\": \"GHO-USR\",\n \"expiry\": \"JUL 31, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/dd2ad4a1-0279-4b85-a53a-22a79b8f4268.svg\"\n },\n {\n \"value\": \"0x1bd1ae9d7a377e63cd0c584a2c42b8c614937e81\",\n \"label\": \"SuperUSDC\",\n \"expiry\": \"APR 17, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/cd6bc969-f075-4fc3-8aa8-463e9b6c9eec.svg\"\n }\n ],\n \"56\": [\n {\n \"value\": \"0xeda1d0e1681d59dea451702963d6287b844cb94c\",\n \"label\": \"ankrBNB\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/c172da67-2428-48cb-8602-58bfc0276af0.svg\"\n },\n {\n \"value\": \"0x9daa2878a8739e66e08e7ad35316c5143c0ea7c7\",\n \"label\": \"SolvBTC.BBN\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/eab31d5d-401e-4720-a5b4-6b90b73611e0.svg\"\n },\n {\n \"value\": \"0x0921ccc98956b1599003fd9739d5e66bf319a161\",\n \"label\": \"vBNB\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/821bd337-240a-4c03-b4cb-07c7f0d59544.svg\"\n },\n {\n \"value\": \"0x1d9d27f0b89181cf1593ac2b36a37b444eb66bee\",\n \"label\": \"clisBNB\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/609a2f5a-d97e-4015-b1c9-f93893e94620.svg\"\n }\n ],\n \"5000\": [\n {\n \"value\": \"0x0b923f8039ae827e963fcc1b48ab5b903d01925b\",\n \"label\": \"cmETH\",\n \"expiry\": \"FEB 13, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/16ebbece-2e29-4e7b-acba-d3d23fa8dec0.svg\"\n },\n {\n \"value\": \"0xec3fb79d229ef53c8b5cd64c171097ffc8a00dc5\",\n \"label\": \"cmETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/16ebbece-2e29-4e7b-acba-d3d23fa8dec0.svg\"\n }\n ],\n \"8453\": [\n {\n \"value\": null,\n \"label\": \"LBTC-29MAY2025\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/pendle-assets-staging/images/assets/unknown.svg\"\n },\n {\n \"value\": \"0x483f2e223c58a5ef19c4b32fbc6de57709749cb3\",\n \"label\": \"cbETH\",\n \"expiry\": \"DEC 25, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/cec7c095-6d6c-400b-9509-c2b68a1f54f3.svg\"\n },\n {\n \"value\": \"0x727cebacfb10ffd353fc221d06a862b437ec1735\",\n \"label\": \"LBTC\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/95280b7c-e3a4-43ce-8a73-e544e2600624.svg\"\n },\n {\n \"value\": \"0x3124d41708edbdc7995a55183e802e3d9d0d5ef1\",\n \"label\": \"mUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/dd3dd5af-a072-409a-af35-3ac803ede34a.svg\"\n },\n {\n \"value\": \"0xd94fd7bceb29159405ae1e06ce80e51ef1a484b0\",\n \"label\": \"mcbBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/c877240e-a45b-4e8c-b42e-a2b6d96ed332.svg\"\n },\n {\n \"value\": null,\n \"label\": \"wsupperOETHb-26JUN2025\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/pendle-assets-staging/images/assets/unknown.svg\"\n },\n {\n \"value\": \"0xecc2c994aa0c599a7f69a7cfb9106fe4dffb4341\",\n \"label\": \"wsuperOETHb\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ac4127a6-cda2-41ba-8db7-9cda2d2c2e94.svg\"\n },\n {\n \"value\": \"0x14936c9b8eb798ca6291c2d6ce5de2c6cb5f1f9c\",\n \"label\": \"sUSDz\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/296a6c38-c626-42f0-9cf1-456837aa29d4.svg\"\n },\n {\n \"value\": \"0x621d4d92e9bed484e6d2cb8a37d342c804a0908c\",\n \"label\": \"VIRTUAL/cbBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/706e880e-c1ee-4258-827e-5be4e935b0a8.svg\"\n },\n {\n \"value\": \"0xe15578523937ed7f08e8f7a1fa8a021e07025a08\",\n \"label\": \"USR\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ceb019d3-32ce-4dc5-875f-c930a0f2bde8.svg\"\n }\n ],\n \"42161\": [\n {\n \"value\": null,\n \"label\": \"wstETH-26JUN2025\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/pendle-assets-staging/images/assets/unknown.svg\"\n },\n {\n \"value\": null,\n \"label\": \"rETH-26JUN2025\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/pendle-assets-staging/images/assets/unknown.svg\"\n },\n {\n \"value\": \"0x08a152834de126d2ef83d612ff36e4523fd0017f\",\n \"label\": \"wstETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ae07850a-421b-4fe1-87ec-5ba8fa65da68.svg\"\n },\n {\n \"value\": \"0x14fbc760efaf36781cb0eb3cb255ad976117b9bd\",\n \"label\": \"rETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/dca97a36-3121-46db-a22f-154d68e4b466.svg\"\n },\n {\n \"value\": \"0xe9e114d1b119bbdeb7a35e1ce3c82db01622ada2\",\n \"label\": \"PENDLE-ETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/c1e597df-fb6b-4475-9d3f-7f8bcd08bbeb.svg\"\n },\n {\n \"value\": \"0x526c73e0ba9cedb44546da4506eaee0b39be8d76\",\n \"label\": \"gDAI\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/d21b47c3-f316-430e-ba22-1bd07e63f0bb.svg\"\n },\n {\n \"value\": \"0x0bd6890b3bb15f16430546147734b254d0b03059\",\n \"label\": \"dUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/590ebc0d-ad8a-4574-92c7-364c557a2a13.svg\"\n },\n {\n \"value\": \"0x8cab5fd029ae2fbf28c53e965e4194c7260adf0c\",\n \"label\": \"dWBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/b0d49b1b-01ed-4c17-b07c-bd66159b94a2.svg\"\n },\n {\n \"value\": \"0x816f59ffa2239fd7106f94eabdc0a9547a892f2f\",\n \"label\": \"rsETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/aa206b8c-0a44-4ee3-aeb4-95e9087424d0.svg\"\n },\n {\n \"value\": \"0x3be83cc235455ae1b624cf6e326505769ad8f9ea\",\n \"label\": \"spSILO\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/79b08c9a-ac55-41b9-b767-96c95afb8269.svg\"\n },\n {\n \"value\": \"0xbf5e60ddf654085f80dae9dd33ec0e345773e1f8\",\n \"label\": \"eETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/d5b1f12c-7cb3-4572-9bb7-68865c138cd6.svg\"\n },\n {\n \"value\": \"0x3e4e3291ed667fb4dee680d19e5702ef8275493d\",\n \"label\": \"uniETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/507bfb70-4c6b-4480-8ef8-b7cc250b82e2.svg\"\n },\n {\n \"value\": \"0xf1de71573ee482f13ae4dcf980e83bfaba8b233d\",\n \"label\": \"MUXLP\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/5a74829d-0611-46cc-9fa5-98fcc13870a8.svg\"\n },\n {\n \"value\": \"0x22e0f26320ace985e3cb2434095f18bfe114e28e\",\n \"label\": \"gUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/fc507e18-ddcd-48ce-8518-8f3610719a2b.svg\"\n },\n {\n \"value\": \"0x4505ec38982bb796b34d050ca8d765acff1abdee\",\n \"label\": \"aUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/db96e8da-a779-43df-b012-ceeb3d298c8d.svg\"\n },\n {\n \"value\": \"0x9ff912568eb011d719b5f4e940f8135633f4bcdc\",\n \"label\": \"mPENDLE\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/8592b56d-0004-4b30-9604-9f82bb32abac.png\"\n },\n {\n \"value\": \"0xd0fdb5ee558b3bcd9e5bc1344b28b2249de6559c\",\n \"label\": \"ePENDLE\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/e7a078b9-3bb4-4fdf-9319-124e0389b463.svg\"\n }\n ]\n};\n return availableLendingTokens[env.parameters.chainId] || [];\n }"
645
- },
646
- {
647
- "key": "condition",
648
- "type": "logic_operator",
649
- "description": "Logic operator used for the comparison: <, >, <=, >=, ==, ...",
650
- "mandatory": true,
651
- "category": 0
652
- },
653
- {
654
- "key": "comparisonValue",
655
- "type": "float",
656
- "description": "The value to compare to",
657
- "mandatory": true,
658
- "category": 0
659
- },
660
- ],
661
- "output": {
662
- "ptImpliedYield": "float"
624
+ /*"PT_IMPLIED_YIELD": {
625
+ "name": "PT Implied Yield",
626
+ "description": "Retrieves the PT implied yield for a specified Pendle market by reading its state and computing exp(lnImpliedRate) - 1.",
627
+ "prototype": "pendlePtImpliedYield",
628
+ "type": 1,
629
+ "method": "function readState(address marketAddress) external view returns (int256 totalPt, int256 totalSy, int256 totalLp, address treasury, int256 scalarRoot, uint256 expiry, uint256 lnFeeRateRoot, uint256 reserveFeePercent, uint256 lastLnImpliedRate)",
630
+ "parameters": [
631
+ {
632
+ "key": "chainId",
633
+ "type": "chainId",
634
+ "description": "Chain ID of the network",
635
+ "mandatory": true,
636
+ "category": 0
663
637
  },
664
- "examples": [
665
- {
666
- "name": "PT Implied Yield for USUALx Market",
667
- "description": "Retrieves the PT implied yield for the USUALx market on Ethereum.",
668
- "externalVariableDescription": "Fetches the current PT implied yield for USUALx market on Ethereum",
669
- "parameters": [
670
- {
671
- "key": "chainId",
672
- "value": 1
673
- },
674
- {
675
- "key": "marketAddress",
676
- "value": "0xb9b7840ec34094ce1269c38ba7a6ac7407f9c4e3"
677
- }
678
- ]
638
+ {
639
+ "key": "abiParams.marketAddress",
640
+ "type": "address",
641
+ "description": "The Pendle market address",
642
+ "mandatory": true,
643
+ "category": 0,
644
+ "enum": "\n (env) => {\n if (!env.parameters.chainId)\n throw new Error('You need to provide the chainId first');\n\n const availableLendingTokens = {\n \"1\": [\n {\n \"value\": \"0xc374f7ec85f8c7de3207a10bb1978ba104bda3b2\",\n \"label\": \"stETH\",\n \"expiry\": \"DEC 25, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ac9b8802-61d9-4c3f-a2de-2da35c87e24b.svg\"\n },\n {\n \"value\": \"0x34280882267ffa6383b363e278b027be083bbe3b\",\n \"label\": \"stETH\",\n \"expiry\": \"DEC 30, 2027\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/f7d6a626-a00e-4150-aadc-e937e34818ca.svg\"\n },\n {\n \"value\": \"0xe6d4986cd935529fc4505d48e926bcd36a58a0f0\",\n \"label\": \"apxETH\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/151c9217-2512-4d26-b9d0-755c49299b12.svg\"\n },\n {\n \"value\": \"0xcdd26eb5eb2ce0f203a84553853667ae69ca29ce\",\n \"label\": \"sUSDe\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/56eb1ed3-d1f7-4685-a7b2-5a6e05cb234f.svg\"\n },\n {\n \"value\": \"0xb451a36c8b6b2eac77ad0737ba732818143a0e25\",\n \"label\": \"USDe\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/7299bcd0-6ba1-411e-8d54-f7e5b68aa154.svg\"\n },\n {\n \"value\": \"0x7e0209ab6fa3c7730603b68799bbe9327dab7e88\",\n \"label\": \"rsENA\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/37110810-606f-4d92-8ea8-5ede71d6abdc.svg\"\n },\n {\n \"value\": \"0x890b6afc834c2a2cc6cb9b6627272ab4ecfd8271\",\n \"label\": \"rsUSDe\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/1d444261-bdf7-483b-8e35-bdb725a702ce.svg\"\n },\n {\n \"value\": \"0x70b70ac0445c3ef04e314dfda6caafd825428221\",\n \"label\": \"LBTC\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/773047f5-3963-4577-93f9-4333f225442c.svg\"\n },\n {\n \"value\": \"0x977ebf77581f94de969349549ab2108a681e8f4c\",\n \"label\": \"USDS Rewards\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/bdf98058-9191-44bf-b9a7-4a460457f756.svg\"\n },\n {\n \"value\": \"0xc64056237c8107ecb9860cbd4519644e9ba2aed4\",\n \"label\": \"sENA\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/34ccfdb6-4acf-4d13-8dc9-080b47dfb8fa.svg\"\n },\n {\n \"value\": \"0x21d85ff3bedff031ef466c7d5295240c8ab2a2b8\",\n \"label\": \"sUSDS\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/3226daff-03a2-4078-af4e-28a72ef5b252.svg\"\n },\n {\n \"value\": \"0x8098b48a1c4e4080b30a43a7ebc0c87b52f17222\",\n \"label\": \"pumpBTC\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/df3270cd-7ee9-4119-8ad8-c81336fad690.svg\"\n },\n {\n \"value\": \"0x2c71ead7ac9ae53d05f8664e77031d4f9eba064b\",\n \"label\": \"eBTC (Corn)\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/35a6e08f-82da-49cf-8dc0-c120a4386b0f.svg\"\n },\n {\n \"value\": \"0xafdc922d0059147486cc1f0f32e3a2354b0d35cc\",\n \"label\": \"USD0++\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a66178ef-2097-4b72-9d19-75fe6a4b8821.svg\"\n },\n {\n \"value\": \"0x07c5b1f5265591a8e0e541466654b07dd2d1a6fd\",\n \"label\": \"eEIGEN\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/33c90ae2-9675-4f9f-80e8-0554dc0dc5b5.svg\"\n },\n {\n \"value\": \"0xff81180a7f949ba1f940eae6aa3b3ceb890b1912\",\n \"label\": \"stkGHO\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/05cdb874-4679-4b6a-bedc-9de81e817e79.svg\"\n },\n {\n \"value\": \"0xfd482179ddee989c45eab19991852f80ff31457a\",\n \"label\": \"rsETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/be3e997d-8f3c-46ed-b978-2518668aaa2b.svg\"\n },\n {\n \"value\": \"0xf4cf59259d007a96c641b41621ab52c93b9691b1\",\n \"label\": \"eETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/58971e16-6cf3-4ac4-9f3a-df82267fc5c8.svg\"\n },\n {\n \"value\": \"0x98ffefd1a51d322c8def6d0ba183e71547216f7f\",\n \"label\": \"eBTC (Zerolend)\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/39b1b707-b537-4c87-811d-110047aa7b9f.svg\"\n },\n {\n \"value\": \"0xbe8549a20257917a0a9ef8911daf18190a8842a4\",\n \"label\": \"agETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/d4f45c90-7317-4d07-ae67-1e8ec9caa9a7.svg\"\n },\n {\n \"value\": \"0xbba9baaa6b3107182147a12177e0f1ec46b8b072\",\n \"label\": \"uniETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/025623d4-1fc4-44db-b981-03d60d93d90a.svg\"\n },\n {\n \"value\": \"0x58612beb0e8a126735b19bb222cbc7fc2c162d2a\",\n \"label\": \"pufETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ad53c3bf-7a0c-481e-80cd-0eea4e0e9554.svg\"\n },\n {\n \"value\": \"0xb162b764044697cf03617c2efbcb1f42e31e4766\",\n \"label\": \"sUSDe\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/8fdd3402-5238-4e90-b4db-12e32ea28e67.svg\"\n },\n {\n \"value\": \"0xfd5cf95e8b886ace955057ca4dc69466e793fbbe\",\n \"label\": \"rswETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/221673b1-5839-4140-ad82-3f865dc05c4d.png\"\n },\n {\n \"value\": \"0x048680f64d6dff1748ba6d9a01f578433787e24b\",\n \"label\": \"USD0++\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a66178ef-2097-4b72-9d19-75fe6a4b8821.svg\"\n },\n {\n \"value\": \"0x461cd9222e130d1dc0bd79dab4643952430937c1\",\n \"label\": \"pWBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/f59d005c-a34f-40e3-bdf7-bd84c2094765.svg\"\n },\n {\n \"value\": \"0x2bf616c236d1abd31ff105247a774e6e738b5f4e\",\n \"label\": \"scrvUSD\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/50bc1fdb-ca50-4c38-9a0c-1669e35896f1.svg\"\n },\n {\n \"value\": \"0x15e434c42ab4c9a62ed7db53baaf9d255ea51e0e\",\n \"label\": \"OETH\",\n \"expiry\": \"DEC 25, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/af71269f-d089-47f1-8106-532af44b49e0.svg\"\n },\n {\n \"value\": \"0x3fd13bad9fc47e001bf9088afd1a1b2fc24673d5\",\n \"label\": \"SolvBTC.BBN\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/abdb21c4-7fc2-44f7-bbbb-27416583ac66.svg\"\n },\n {\n \"value\": \"0x380c751bd0412f47ca560b6afeb566d88dc18630\",\n \"label\": \"uniBTC\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/04bdd8ee-4a79-48c5-88a0-b2593ebf939d.svg\"\n },\n {\n \"value\": \"0xd3c29550d12a5234e6aeb5aea7c841134cd6ddd5\",\n \"label\": \"sUSDe\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ecaa79c6-7223-48e9-a3f0-30e10dbbfbfe.svg\"\n },\n {\n \"value\": \"0x22a72b0c504cbb7f8245208f84d8f035c311adec\",\n \"label\": \"USD0++\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a66178ef-2097-4b72-9d19-75fe6a4b8821.svg\"\n },\n {\n \"value\": \"0x81f3a11db1de16f4f9ba8bf46b71d2b168c64899\",\n \"label\": \"USD0++\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a66178ef-2097-4b72-9d19-75fe6a4b8821.svg\"\n },\n {\n \"value\": \"0x8539b41ca14148d1f7400d399723827a80579414\",\n \"label\": \"aUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/1d127217-c2d1-4e5c-9bf4-70ae1a208d28.svg\"\n },\n {\n \"value\": \"0x12f6139a5dc6d80990d30a4d45bb86449ff804d8\",\n \"label\": \"aUSDT\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/a875dcab-6a6d-449a-b519-dce222d873c9.svg\"\n },\n {\n \"value\": \"0x925cd38a68993819eef0138a463308c840080f17\",\n \"label\": \"fUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/9049a93c-6645-4c84-b19f-9ebfa0cce6dd.svg\"\n },\n {\n \"value\": \"0x8e1c2be682b0d3d8f8ee32024455a34cc724cf08\",\n \"label\": \"fUSDT\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/6c349c1b-9671-489c-be2c-8750738da3aa.svg\"\n },\n {\n \"value\": \"0xab182e2a98234db8298565f0eb9327206b558c57\",\n \"label\": \"weETHk\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/9f9ec77b-efe0-4119-a4fc-a733ff5fd04a.svg\"\n },\n {\n \"value\": \"0x7509b6bdb9e6dbf6c4b054434dcb46c40000303b\",\n \"label\": \"weETHs\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/2244883b-428a-4f86-ad63-dcaa143b70d6.svg\"\n },\n {\n \"value\": \"0xa25f5ed89e6e7b3d23ebaf067a30ac3d550a19c1\",\n \"label\": \"eBTC\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/685e07f1-e50d-4ff9-bac2-158611f718a6.svg\"\n },\n {\n \"value\": \"0x523f9441853467477b4dde653c554942f8e17162\",\n \"label\": \"eBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/685e07f1-e50d-4ff9-bac2-158611f718a6.svg\"\n },\n {\n \"value\": \"0xb9b7840ec34094ce1269c38ba7a6ac7407f9c4e3\",\n \"label\": \"USUALx\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ff146e2f-3e2d-4e71-9a9d-e1a866b75da2.svg\"\n },\n {\n \"value\": \"0x353d0b2efb5b3a7987fb06d30ad6160522d08426\",\n \"label\": \"wstUSR\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/7a8188bd-cae6-492d-b30d-cbd128493f00.svg\"\n },\n {\n \"value\": \"0x99b633a6a2e0d6414e7c7ecea1134c0a330a73fe\",\n \"label\": \"uniBTC (Corn)\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/7ce722a1-c74e-4226-a80d-1028861e4b62.svg\"\n },\n {\n \"value\": \"0xc118635bcde024c5b01c6be2b0569a2608a8032c\",\n \"label\": \"LBTC (Corn)\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/0b1f24c8-2a29-46bd-b400-5f7043e3c573.svg\"\n },\n {\n \"value\": \"0xe6b03f3182692db1ed7d3a91f6fadf3e4dff2b95\",\n \"label\": \"SolvBTC.BBN (Corn)\",\n \"expiry\": \"FEB 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/4b1032d7-94ba-4075-8233-85808d186ebd.svg\"\n },\n {\n \"value\": \"0x3dc05f96160bdf70cf23989a632c087ebc022f92\",\n \"label\": \"pumpBTC\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/df3270cd-7ee9-4119-8ad8-c81336fad690.svg\"\n },\n {\n \"value\": \"0xebf5c58b74a836f1e51d08e9c909c4a4530afd41\",\n \"label\": \"liquidBeraBTC\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/5506f24b-06b7-4f28-af95-11f5c8b0e085.svg\"\n },\n {\n \"value\": \"0x46e6b4a950eb1abba159517dea956afd01ea9497\",\n \"label\": \"liquidBeraETH\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/5ab37246-4c5b-4a95-a534-e60ec618010b.svg\"\n },\n {\n \"value\": \"0xad016c9565a4aeec6d4cfc8a01c648ecbea1a602\",\n \"label\": \"sUSDe (Bera Concrete)\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/aa218d17-62e2-42a4-986b-4f6fcebf9aa4.svg\"\n },\n {\n \"value\": \"0xe6df8d8879595100e4b6b359e6d0712e107c7472\",\n \"label\": \"USDe (Bera Concrete)\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/85be79d7-942c-4cc9-b364-5e1c891a242b.svg\"\n },\n {\n \"value\": \"0x7561c5ccfe41a26b33944b58c70d6a3cb63e881c\",\n \"label\": \"beraSTONE\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/378a54dc-779f-40f0-b859-03dbb3b425e8.svg\"\n },\n {\n \"value\": \"0x83916356556f51dcbcb226202c3efeefc88d5eaa\",\n \"label\": \"LBTC (Bera Concrete)\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/39e54d77-2c8f-49f2-ba92-b40386a55673.svg\"\n },\n {\n \"value\": \"0x9471d9c5b57b59d42b739b00389a6d520c33a7a9\",\n \"label\": \"WBTC (Bera Concrete)\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/0a043dbb-827c-4692-9c52-272745db30c3.svg\"\n },\n {\n \"value\": \"0x580e40c15261f7baf18ea50f562118ae99361096\",\n \"label\": \"syrupUSDC\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/3bebc608-b228-4b1a-81de-363ee24b999b.svg\"\n },\n {\n \"value\": \"0xc387ad871d94990e073f1bd0b759ffdb5e0313aa\",\n \"label\": \"SolvBTC.BERA\",\n \"expiry\": \"APR 10, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/b9407b43-e7fe-4b27-a78d-0e1db14b8a4b.svg\"\n },\n {\n \"value\": \"0xd75fc2b1ca52e72163787d1c370650f952e75dd7\",\n \"label\": \"sUSDa\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ddcbbbc3-af3c-4b35-a2a6-ebd4e0189256.svg\"\n },\n {\n \"value\": \"0xbdb8f9729d3194f75fd1a3d9bc4ffe0dde3a404c\",\n \"label\": \"tETH\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/d8db35e6-a493-4879-b0de-a9b3fb40924c.svg\"\n },\n {\n \"value\": \"0x4d7356369273c6373e6c5074fe540cb070acfe6b\",\n \"label\": \"asdCRV\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/2ad15ff1-e832-4786-9da3-fac560d1a34c.svg\"\n },\n {\n \"value\": \"0x82d810ededb09614144900f914e75dd76700f19d\",\n \"label\": \"GHO-USR\",\n \"expiry\": \"JUL 31, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/dd2ad4a1-0279-4b85-a53a-22a79b8f4268.svg\"\n },\n {\n \"value\": \"0x1bd1ae9d7a377e63cd0c584a2c42b8c614937e81\",\n \"label\": \"SuperUSDC\",\n \"expiry\": \"APR 17, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/cd6bc969-f075-4fc3-8aa8-463e9b6c9eec.svg\"\n },\n {\n \"value\": \"0x931f7ea0c31c14914a452d341bc5cb5d996be71d\",\n \"label\": \"LBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/773047f5-3963-4577-93f9-4333f225442c.svg\"\n },\n {\n \"value\": \"0xb6b2cf977c512bcd195b58e2ccfb3fb15535cb19\",\n \"label\": \"SolvBTC.BBN\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/abdb21c4-7fc2-44f7-bbbb-27416583ac66.svg\"\n },\n {\n \"value\": \"0x928e2e42f3b21c9af0e0454d7bb3884e5d36e1be\",\n \"label\": \"uniBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/04bdd8ee-4a79-48c5-88a0-b2593ebf939d.svg\"\n },\n {\n \"value\": \"0xf6906f99e2ce8cf2d7098216da87e261b13554c8\",\n \"label\": \"USDe\",\n \"expiry\": \"JUL 31, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/7d81c8c9-f99a-4682-bbfc-b1814b8bd799.svg\"\n },\n {\n \"value\": \"0x887f62e4189c6b04cc6db1478fb71976fd1e84bf\",\n \"label\": \"eUSDe\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/4528cf44-94f3-4c34-a88a-21ef0afa8e5a.svg\"\n },\n {\n \"value\": \"0x887f62e4189c6b04cc6db1478fb71976fd1e84bf\",\n \"label\": \"eUSDe\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/1870cf48-db97-4339-b63d-57779cd883b8.svg\"\n }\n ],\n \"56\": [\n {\n \"value\": \"0xeda1d0e1681d59dea451702963d6287b844cb94c\",\n \"label\": \"ankrBNB\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/c172da67-2428-48cb-8602-58bfc0276af0.svg\"\n },\n {\n \"value\": \"0x9daa2878a8739e66e08e7ad35316c5143c0ea7c7\",\n \"label\": \"SolvBTC.BBN\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/eab31d5d-401e-4720-a5b4-6b90b73611e0.svg\"\n },\n {\n \"value\": \"0x0921ccc98956b1599003fd9739d5e66bf319a161\",\n \"label\": \"vBNB\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/821bd337-240a-4c03-b4cb-07c7f0d59544.svg\"\n },\n {\n \"value\": \"0x1d9d27f0b89181cf1593ac2b36a37b444eb66bee\",\n \"label\": \"clisBNB\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/609a2f5a-d97e-4015-b1c9-f93893e94620.svg\"\n },\n {\n \"value\": \"0x9e515a7115c86d7314159dbdab41e555d5330dfe\",\n \"label\": \"asUSDF\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/c57a4c26-5a86-4171-b824-786243b15551.svg\"\n }\n ],\n \"5000\": [\n {\n \"value\": \"0x0b923f8039ae827e963fcc1b48ab5b903d01925b\",\n \"label\": \"cmETH\",\n \"expiry\": \"FEB 13, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/16ebbece-2e29-4e7b-acba-d3d23fa8dec0.svg\"\n },\n {\n \"value\": \"0xec3fb79d229ef53c8b5cd64c171097ffc8a00dc5\",\n \"label\": \"cmETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/16ebbece-2e29-4e7b-acba-d3d23fa8dec0.svg\"\n }\n ],\n \"8453\": [\n {\n \"value\": null,\n \"label\": \"LBTC-29MAY2025\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/pendle-assets-staging/images/assets/unknown.svg\"\n },\n {\n \"value\": \"0x483f2e223c58a5ef19c4b32fbc6de57709749cb3\",\n \"label\": \"cbETH\",\n \"expiry\": \"DEC 25, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/cec7c095-6d6c-400b-9509-c2b68a1f54f3.svg\"\n },\n {\n \"value\": \"0x727cebacfb10ffd353fc221d06a862b437ec1735\",\n \"label\": \"LBTC\",\n \"expiry\": \"MAY 29, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/95280b7c-e3a4-43ce-8a73-e544e2600624.svg\"\n },\n {\n \"value\": \"0x3124d41708edbdc7995a55183e802e3d9d0d5ef1\",\n \"label\": \"mUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/dd3dd5af-a072-409a-af35-3ac803ede34a.svg\"\n },\n {\n \"value\": \"0xd94fd7bceb29159405ae1e06ce80e51ef1a484b0\",\n \"label\": \"mcbBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/c877240e-a45b-4e8c-b42e-a2b6d96ed332.svg\"\n },\n {\n \"value\": null,\n \"label\": \"wsupperOETHb-26JUN2025\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/pendle-assets-staging/images/assets/unknown.svg\"\n },\n {\n \"value\": \"0xecc2c994aa0c599a7f69a7cfb9106fe4dffb4341\",\n \"label\": \"wsuperOETHb\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ac4127a6-cda2-41ba-8db7-9cda2d2c2e94.svg\"\n },\n {\n \"value\": \"0x14936c9b8eb798ca6291c2d6ce5de2c6cb5f1f9c\",\n \"label\": \"sUSDz\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/296a6c38-c626-42f0-9cf1-456837aa29d4.svg\"\n },\n {\n \"value\": \"0x621d4d92e9bed484e6d2cb8a37d342c804a0908c\",\n \"label\": \"VIRTUAL/cbBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/706e880e-c1ee-4258-827e-5be4e935b0a8.svg\"\n },\n {\n \"value\": \"0xe15578523937ed7f08e8f7a1fa8a021e07025a08\",\n \"label\": \"USR\",\n \"expiry\": \"APR 24, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ceb019d3-32ce-4dc5-875f-c930a0f2bde8.svg\"\n }\n ],\n \"42161\": [\n {\n \"value\": null,\n \"label\": \"wstETH-26JUN2025\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/pendle-assets-staging/images/assets/unknown.svg\"\n },\n {\n \"value\": null,\n \"label\": \"rETH-26JUN2025\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/pendle-assets-staging/images/assets/unknown.svg\"\n },\n {\n \"value\": \"0x08a152834de126d2ef83d612ff36e4523fd0017f\",\n \"label\": \"wstETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/ae07850a-421b-4fe1-87ec-5ba8fa65da68.svg\"\n },\n {\n \"value\": \"0x14fbc760efaf36781cb0eb3cb255ad976117b9bd\",\n \"label\": \"rETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/dca97a36-3121-46db-a22f-154d68e4b466.svg\"\n },\n {\n \"value\": \"0xe9e114d1b119bbdeb7a35e1ce3c82db01622ada2\",\n \"label\": \"PENDLE-ETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/c1e597df-fb6b-4475-9d3f-7f8bcd08bbeb.svg\"\n },\n {\n \"value\": \"0x526c73e0ba9cedb44546da4506eaee0b39be8d76\",\n \"label\": \"gDAI\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/d21b47c3-f316-430e-ba22-1bd07e63f0bb.svg\"\n },\n {\n \"value\": \"0x0bd6890b3bb15f16430546147734b254d0b03059\",\n \"label\": \"dUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/590ebc0d-ad8a-4574-92c7-364c557a2a13.svg\"\n },\n {\n \"value\": \"0x8cab5fd029ae2fbf28c53e965e4194c7260adf0c\",\n \"label\": \"dWBTC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/b0d49b1b-01ed-4c17-b07c-bd66159b94a2.svg\"\n },\n {\n \"value\": \"0x816f59ffa2239fd7106f94eabdc0a9547a892f2f\",\n \"label\": \"rsETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/aa206b8c-0a44-4ee3-aeb4-95e9087424d0.svg\"\n },\n {\n \"value\": \"0x3be83cc235455ae1b624cf6e326505769ad8f9ea\",\n \"label\": \"spSILO\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/79b08c9a-ac55-41b9-b767-96c95afb8269.svg\"\n },\n {\n \"value\": \"0xbf5e60ddf654085f80dae9dd33ec0e345773e1f8\",\n \"label\": \"eETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/d5b1f12c-7cb3-4572-9bb7-68865c138cd6.svg\"\n },\n {\n \"value\": \"0x3e4e3291ed667fb4dee680d19e5702ef8275493d\",\n \"label\": \"uniETH\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/507bfb70-4c6b-4480-8ef8-b7cc250b82e2.svg\"\n },\n {\n \"value\": \"0xf1de71573ee482f13ae4dcf980e83bfaba8b233d\",\n \"label\": \"MUXLP\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/5a74829d-0611-46cc-9fa5-98fcc13870a8.svg\"\n },\n {\n \"value\": \"0x22e0f26320ace985e3cb2434095f18bfe114e28e\",\n \"label\": \"gUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/fc507e18-ddcd-48ce-8518-8f3610719a2b.svg\"\n },\n {\n \"value\": \"0x4505ec38982bb796b34d050ca8d765acff1abdee\",\n \"label\": \"aUSDC\",\n \"expiry\": \"JUN 26, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/db96e8da-a779-43df-b012-ceeb3d298c8d.svg\"\n },\n {\n \"value\": \"0x9ff912568eb011d719b5f4e940f8135633f4bcdc\",\n \"label\": \"mPENDLE\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/8592b56d-0004-4b30-9604-9f82bb32abac.png\"\n },\n {\n \"value\": \"0xd0fdb5ee558b3bcd9e5bc1344b28b2249de6559c\",\n \"label\": \"ePENDLE\",\n \"expiry\": \"MAR 27, 2025\",\n \"image\": \"https://storage.googleapis.com/prod-pendle-bucket-a/images/uploads/e7a078b9-3bb4-4fdf-9319-124e0389b463.svg\"\n }\n ]\n};\n return availableLendingTokens[env.parameters.chainId] || [];\n }"
645
+ },
646
+ {
647
+ "key": "condition",
648
+ "type": "logic_operator",
649
+ "description": "Logic operator used for the comparison: <, >, <=, >=, ==, ...",
650
+ "mandatory": true,
651
+ "category": 0
652
+ },
653
+ {
654
+ "key": "comparisonValue",
655
+ "type": "float",
656
+ "description": "The value to compare to",
657
+ "mandatory": true,
658
+ "category": 0
659
+ },
660
+ ] as Parameter[],
661
+ "output": {
662
+ "ptImpliedYield": "float"
663
+ },
664
+ "examples": [
665
+ {
666
+ "name": "PT Implied Yield for USUALx Market",
667
+ "description": "Retrieves the PT implied yield for the USUALx market on Ethereum.",
668
+ "externalVariableDescription": "Fetches the current PT implied yield for USUALx market on Ethereum",
669
+ "parameters": [
670
+ {
671
+ "key": "chainId",
672
+ "value": 1
673
+ },
674
+ {
675
+ "key": "marketAddress",
676
+ "value": "0xb9b7840ec34094ce1269c38ba7a6ac7407f9c4e3"
679
677
  }
680
- ],
681
- "blockId": 101,
682
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp"
683
- }
678
+ ]
679
+ }
680
+ ],
681
+ "blockId": 101,
682
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp"
683
+ }*/
684
684
  }
685
685
  },
686
686
  "LENDING": {
@@ -2493,6 +2493,7 @@ export const TRIGGERS = {
2493
2493
  "NOT",
2494
2494
  "NTRN",
2495
2495
  "OGN",
2496
+ "OM",
2496
2497
  "OMNI",
2497
2498
  "ONDO",
2498
2499
  "OP",
@@ -2682,52 +2683,52 @@ export const TRIGGERS = {
2682
2683
  "description": "Tracks new tweets in real time",
2683
2684
  "tags": {},
2684
2685
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/X.webp",
2685
- "X_POST_TRIGGER": {
2686
- "name": "X Post Trigger",
2687
- "description": "Track an account activity via their posts",
2688
- "type": 5,
2689
- "output": {
2690
- "tweetContent": "string",
2691
- "tweetURL": "string",
2692
- "timestamp": "string",
2693
- "account": "string"
2686
+ /*"X_POST_TRIGGER": {
2687
+ "name": "X Post Trigger",
2688
+ "description": "Track an account activity via their posts",
2689
+ "type": 5,
2690
+ "output": {
2691
+ "tweetContent": "string",
2692
+ "tweetURL": "string",
2693
+ "timestamp": "string",
2694
+ "account": "string"
2695
+ },
2696
+ "parameters": [
2697
+ {
2698
+ "key": "username",
2699
+ "type": "string",
2700
+ "description": "Username of the twitter account you want to track",
2701
+ "mandatory": true,
2702
+ "category": 0
2694
2703
  },
2695
- "parameters": [
2696
- {
2697
- "key": "username",
2698
- "type": "string",
2699
- "description": "Username of the twitter account you want to track",
2700
- "mandatory": true,
2701
- "category": 0
2702
- },
2704
+ {
2705
+ "key": "includeRetweets",
2706
+ "type": "string",
2707
+ "description": "Toggle trigger if it is retweet",
2708
+ "category": 0,
2709
+ "default": "false",
2710
+ "value": "false"
2711
+ },
2712
+ ] as Parameter[],
2713
+ "examples": [
2714
+ {
2715
+ "name": "GCR tweets",
2716
+ "description": "Gets triggered when GCR tweets something",
2717
+ "parameters": [
2703
2718
  {
2704
- "key": "includeRetweets",
2705
- "type": "string",
2706
- "description": "Toggle trigger if it is retweet",
2707
- "category": 0,
2708
- "default": "false",
2709
- "value": "false"
2719
+ "key": "username",
2720
+ "value": "GiganticRebirth"
2710
2721
  },
2711
- ],
2712
- "examples": [
2713
2722
  {
2714
- "name": "GCR tweets",
2715
- "description": "Gets triggered when GCR tweets something",
2716
- "parameters": [
2717
- {
2718
- "key": "username",
2719
- "value": "GiganticRebirth"
2720
- },
2721
- {
2722
- "key": "includeRetweets",
2723
- "value": false
2724
- }
2725
- ]
2723
+ "key": "includeRetweets",
2724
+ "value": false
2726
2725
  }
2727
- ],
2728
- "blockId": 34,
2729
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/X.webp"
2730
- }
2726
+ ]
2727
+ }
2728
+ ],
2729
+ "blockId": 34,
2730
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/X.webp"
2731
+ }*/
2731
2732
  }
2732
2733
  },
2733
2734
  "ETFS": {
@@ -2801,63 +2802,63 @@ export const TRIGGERS = {
2801
2802
  1
2802
2803
  ],
2803
2804
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/blur.jpg",
2804
- "LISTING": {
2805
- "name": "NFT Listing",
2806
- "description": "Subscribe to live NFT listing events based on filters.",
2807
- "type": 5,
2808
- "parameters": [
2809
- {
2810
- "key": "contract",
2811
- "type": "address",
2812
- "description": "The NFT collection to monitor.",
2813
- "mandatory": true,
2814
- "category": 0
2815
- },
2816
- {
2817
- "key": "price",
2818
- "type": "float",
2819
- "description": "Maximum price filter for the listings (in ETH). The workflow won't be triggered if a NFT that matches the other criterias is listed above this defined price limit.",
2820
- "mandatory": false,
2821
- "category": 1
2822
- },
2823
- {
2824
- "key": "traits",
2825
- "description": "Trait-based filters. For example, you can only monitor punks with specific traits you are interested in.",
2826
- "mandatory": false,
2827
- "category": 1
2828
- },
2829
- ],
2830
- "output": {
2831
- "listingId": "string",
2832
- "tokenId": "string",
2833
- "price": "float",
2834
- "source": "string",
2835
- "imageUrl": "string",
2836
- "attributes": "array"
2805
+ /*"LISTING": {
2806
+ "name": "NFT Listing",
2807
+ "description": "Subscribe to live NFT listing events based on filters.",
2808
+ "type": 5,
2809
+ "parameters": [
2810
+ {
2811
+ "key": "contract",
2812
+ "type": "address",
2813
+ "description": "The NFT collection to monitor.",
2814
+ "mandatory": true,
2815
+ "category": 0
2837
2816
  },
2838
- "examples": [
2839
- {
2840
- "name": "Monitor Pudgy listings",
2841
- "description": "Subscribe to Pudgy Penguins listings with a pineapple suit and blue background filtered for prices below 30 ETH.",
2842
- "parameters": [
2843
- {
2844
- "key": "contract",
2845
- "value": "0xbd3531da5cf5857e7cfaa92426877b022e612cf8"
2846
- },
2847
- {
2848
- "key": "price",
2849
- "value": 30
2850
- },
2851
- {
2852
- "key": "traits",
2853
- "value": "{\"Background\":[\"Blue\"],\"Body\":[\"Pineapple Suit\"]}"
2854
- }
2855
- ]
2817
+ {
2818
+ "key": "price",
2819
+ "type": "float",
2820
+ "description": "Maximum price filter for the listings (in ETH). The workflow won't be triggered if a NFT that matches the other criterias is listed above this defined price limit.",
2821
+ "mandatory": false,
2822
+ "category": 1
2823
+ },
2824
+ {
2825
+ "key": "traits",
2826
+ "description": "Trait-based filters. For example, you can only monitor punks with specific traits you are interested in.",
2827
+ "mandatory": false,
2828
+ "category": 1
2829
+ },
2830
+ ] as Parameter[],
2831
+ "output": {
2832
+ "listingId": "string",
2833
+ "tokenId": "string",
2834
+ "price": "float",
2835
+ "source": "string",
2836
+ "imageUrl": "string",
2837
+ "attributes": "array"
2838
+ },
2839
+ "examples": [
2840
+ {
2841
+ "name": "Monitor Pudgy listings",
2842
+ "description": "Subscribe to Pudgy Penguins listings with a pineapple suit and blue background filtered for prices below 30 ETH.",
2843
+ "parameters": [
2844
+ {
2845
+ "key": "contract",
2846
+ "value": "0xbd3531da5cf5857e7cfaa92426877b022e612cf8"
2847
+ },
2848
+ {
2849
+ "key": "price",
2850
+ "value": 30
2851
+ },
2852
+ {
2853
+ "key": "traits",
2854
+ "value": "{\"Background\":[\"Blue\"],\"Body\":[\"Pineapple Suit\"]}"
2856
2855
  }
2857
- ],
2858
- "blockId": 35,
2859
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/blur.jpg"
2860
- }
2856
+ ]
2857
+ }
2858
+ ],
2859
+ "blockId": 35,
2860
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/blur.jpg"
2861
+ }*/
2861
2862
  }
2862
2863
  },
2863
2864
  "PRE_MARKET": {
@@ -3236,66 +3237,66 @@ export const ACTIONS = {
3236
3237
  "MATHEMATICS": {
3237
3238
  "description": "Perform basic mathematical operations between two numbers",
3238
3239
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/mathematics.png",
3239
- "MATHEMATICS": {
3240
- "name": "Mathematics",
3241
- "type": 6,
3242
- "description": "Perform mathematical operations between two numbers",
3243
- "output": {
3244
- "resultAsFloat": "float",
3245
- "resultAsInteger": "integer"
3240
+ /*"SPLIT": {
3241
+ "name": "Mathematics",
3242
+ "type": 6,
3243
+ "description": "Perform mathematical operations between two numbers",
3244
+ "output": {
3245
+ "resultAsFloat": "float",
3246
+ "resultAsInteger": "integer"
3247
+ },
3248
+ "parameters": [
3249
+ {
3250
+ "key": "number1",
3251
+ "type": "float",
3252
+ "description": "First number for the operation",
3253
+ "mandatory": true,
3254
+ "category": 0
3246
3255
  },
3247
- "parameters": [
3248
- {
3249
- "key": "number1",
3250
- "type": "float",
3251
- "description": "First number for the operation",
3252
- "mandatory": true,
3253
- "category": 0
3254
- },
3256
+ {
3257
+ "key": "operator",
3258
+ "type": "string",
3259
+ "description": "Mathematical operator to use",
3260
+ "mandatory": true,
3261
+ "enum": [
3262
+ "+",
3263
+ "-",
3264
+ "*",
3265
+ "/"
3266
+ ],
3267
+ "category": 0
3268
+ },
3269
+ {
3270
+ "key": "number2",
3271
+ "type": "float",
3272
+ "description": "Second number for the operation",
3273
+ "mandatory": true,
3274
+ "category": 0
3275
+ },
3276
+ ] as Parameter[],
3277
+ "examples": [
3278
+ {
3279
+ "name": "Multiply two numbers",
3280
+ "description": "Multiply by 1.1 the AAVE USDC lending rate on Base",
3281
+ "parameters": [
3255
3282
  {
3256
- "key": "operator",
3257
- "type": "string",
3258
- "description": "Mathematical operator to use",
3259
- "mandatory": true,
3260
- "enum": [
3261
- "+",
3262
- "-",
3263
- "*",
3264
- "/"
3265
- ],
3266
- "category": 0
3283
+ "key": "number1",
3284
+ "value": "{{external.functions.aaveLendingRate(8453,0x833589fcd6edb6e08f4c7c32d4f71b54bda02913,,)}}"
3267
3285
  },
3268
3286
  {
3269
- "key": "number2",
3270
- "type": "float",
3271
- "description": "Second number for the operation",
3272
- "mandatory": true,
3273
- "category": 0
3287
+ "key": "operator",
3288
+ "value": "*"
3274
3289
  },
3275
- ],
3276
- "examples": [
3277
3290
  {
3278
- "name": "Multiply two numbers",
3279
- "description": "Multiply by 1.1 the AAVE USDC lending rate on Base",
3280
- "parameters": [
3281
- {
3282
- "key": "number1",
3283
- "value": "{{external.functions.aaveLendingRate(8453,0x833589fcd6edb6e08f4c7c32d4f71b54bda02913,,)}}"
3284
- },
3285
- {
3286
- "key": "operator",
3287
- "value": "*"
3288
- },
3289
- {
3290
- "key": "number2",
3291
- "value": 1.1
3292
- }
3293
- ]
3291
+ "key": "number2",
3292
+ "value": 1.1
3294
3293
  }
3295
- ],
3296
- "blockId": 100019,
3297
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/mathematics.png"
3298
- }
3294
+ ]
3295
+ }
3296
+ ],
3297
+ "blockId": 100019,
3298
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/mathematics.png"
3299
+ }*/
3299
3300
  }
3300
3301
  },
3301
3302
  "NOTIFICATIONS": {
@@ -3447,45 +3448,44 @@ export const ACTIONS = {
3447
3448
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/discord.png"
3448
3449
  }
3449
3450
  },
3450
- "TELEGRAM": {
3451
- "description": "Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.",
3452
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/telegram.jpeg",
3453
- "SEND_MESSAGE": {
3454
- "name": "Send message",
3455
- "type": 0,
3456
- "description": "Notifies you by sending a Telegram message to the chat of your choice",
3457
- "output": {
3458
- "message": "string"
3459
- },
3460
- "parameters": [
3461
- {
3462
- "key": "message",
3463
- "type": "paragraph",
3464
- "description": "The text content to send",
3465
- "mandatory": true,
3466
- "category": 0
3467
- },
3468
- {
3469
- "key": "chat_id",
3470
- "type": "string",
3471
- "description": "Channel id",
3472
- "mandatory": true,
3473
- "private": true,
3474
- "category": 0
3475
- },
3476
- ],
3477
- "template": {
3478
- "url": "{{webhook}}",
3479
- "body": {
3480
- "chat_id": "{{chat_id}}",
3481
- "text": "{{message}}"
3482
- }
3483
- },
3484
- "examples": [],
3485
- "blockId": 100001,
3486
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/telegram.jpeg"
3487
- }
3488
- }
3451
+ /*"TELEGRAM": {
3452
+ "description": "Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.",
3453
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/telegram.jpeg",
3454
+ "SEND_MESSAGE": {
3455
+ "name": "Send message",
3456
+ "type": 0,
3457
+ "description": "Notifies you by sending a Telegram message to the chat of your choice",
3458
+ "output": {
3459
+ "message": "string"
3460
+ },
3461
+ "parameters": [
3462
+ {
3463
+ "key": "message",
3464
+ "type": "paragraph",
3465
+ "description": "The text content to send",
3466
+ "mandatory": true,
3467
+ "category": 0
3468
+ },
3469
+ {
3470
+ "key": "chat_id",
3471
+ "type": "string",
3472
+ "description": "Channel id",
3473
+ "private": true,
3474
+ "category": 1
3475
+ },
3476
+ ] as Parameter[],
3477
+ "template": {
3478
+ "url": "{{webhook}}",
3479
+ "body": {
3480
+ "chat_id": "{{chat_id}}",
3481
+ "text": "{{message}}"
3482
+ }
3483
+ },
3484
+ "examples": [],
3485
+ "blockId": 100001,
3486
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/telegram.jpeg"
3487
+ }
3488
+ }*/
3489
3489
  },
3490
3490
  "LENDING": {
3491
3491
  "IONIC": {
@@ -37,7 +37,7 @@ const createETHFearAndGreedBuy = async () => {
37
37
  };
38
38
  const createDCAFearAndGreed = async () => {
39
39
  // created with examples/UseCases/FearAndGreedDCA
40
- return Workflow.fromJSON({ "id": null, "name": "Fear and Greed Workflow", "state": "inactive", "dateCreated": null, "dateModified": null, "executionId": null, "nodes": [{ "id": null, "ref": "1", "blockId": 18, "type": "trigger", "state": "inactive", "parameters": { "period": 86400000, "timeout": null, "limit": 30 }, "frontendHelpers": {}, "position": { "x": 400, "y": 120 } }, { "id": null, "ref": "2", "blockId": 100015, "type": "action", "state": "inactive", "parameters": {}, "frontendHelpers": {}, "position": { "x": 400, "y": 240 } }, { "id": null, "ref": "3", "blockId": 100016, "type": "action", "state": "inactive", "parameters": { "logic": "or", "groups": [{ "logic": "and", "checks": [{ "value1": "{{external.functions.btcFearAndGreed()}}", "condition": "gt", "value2": "80" }] }] }, "frontendHelpers": {}, "position": { "x": 150, "y": 360 } }, { "id": null, "ref": "4", "blockId": 100013, "type": "action", "state": "inactive", "parameters": { "chainId": 8453, "tokenIn": "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf", "tokenOut": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "amount": 0.0001, "slippage": 0.1 }, "frontendHelpers": { "output": { "amountIn": { "formatAmount": false, "erc20Token": { "contractAddress": "{{output.tokenIn}}", "chainId": "{{parameters.chainId}}" } }, "amountOut": { "formatAmount": false, "erc20Token": { "contractAddress": "{{output.tokenOut}}", "chainId": "{{parameters.chainId}}" } } } }, "position": { "x": 150, "y": 480 } }, { "id": null, "ref": "5", "blockId": 100016, "type": "action", "state": "inactive", "parameters": { "logic": "or", "groups": [{ "logic": "and", "checks": [{ "value1": "{{external.functions.btcFearAndGreed()}}", "condition": "lt", "value2": "20" }] }] }, "frontendHelpers": {}, "position": { "x": 650, "y": 360 } }, { "id": null, "ref": "6", "blockId": 100013, "type": "action", "state": "inactive", "parameters": { "chainId": 8453, "tokenIn": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "tokenOut": "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf", "amount": 10, "slippage": 0.3 }, "frontendHelpers": { "output": { "amountIn": { "formatAmount": false, "erc20Token": { "contractAddress": "{{output.tokenIn}}", "chainId": "{{parameters.chainId}}" } }, "amountOut": { "formatAmount": false, "erc20Token": { "contractAddress": "{{output.tokenOut}}", "chainId": "{{parameters.chainId}}" } } } }, "position": { "x": 650, "y": 480 } }], "edges": [{ "id": null, "source": "1", "target": "2" }, { "id": null, "source": "2", "target": "3" }, { "id": null, "source": "3", "target": "4", "label": "true", "value": "true" }, { "id": null, "source": "2", "target": "5" }, { "id": null, "source": "5", "target": "6", "label": "true", "value": "true" }], "notes": [] });
40
+ return Workflow.fromJSON({ "id": null, "name": "Fear and Greed Workflow", "state": "inactive", "dateCreated": null, "dateModified": null, "executionId": null, "agentId": null, "nodes": [{ "id": null, "ref": "1", "blockId": 18, "type": "trigger", "state": "inactive", "parameters": { "period": 86400000, "timeout": null, "limit": 30 }, "frontendHelpers": {}, "position": { "x": 400, "y": 120 } }, { "id": null, "ref": "2", "blockId": 100015, "type": "action", "state": "inactive", "parameters": { "branchesAmount": 2 }, "frontendHelpers": {}, "position": { "x": 400, "y": 240 } }, { "id": null, "ref": "3", "blockId": 100016, "type": "action", "state": "inactive", "parameters": { "logic": "or", "groups": [{ "logic": "and", "checks": [{ "value1": "{{external.functions.btcFearAndGreed()}}", "condition": "gt", "value2": "80" }] }] }, "frontendHelpers": {}, "position": { "x": 150, "y": 360 } }, { "id": null, "ref": "4", "blockId": 100013, "type": "action", "state": "inactive", "parameters": { "chainId": 8453, "tokenIn": "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf", "tokenOut": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "amount": 0.0001, "slippage": 0.1 }, "frontendHelpers": { "output": { "amountIn": { "formatAmount": false, "erc20Token": { "contractAddress": "{{output.tokenIn}}", "chainId": "{{parameters.chainId}}" } }, "amountOut": { "formatAmount": false, "erc20Token": { "contractAddress": "{{output.tokenOut}}", "chainId": "{{parameters.chainId}}" } } } }, "position": { "x": 150, "y": 480 } }, { "id": null, "ref": "5", "blockId": 100016, "type": "action", "state": "inactive", "parameters": { "logic": "or", "groups": [{ "logic": "and", "checks": [{ "value1": "{{external.functions.btcFearAndGreed()}}", "condition": "lt", "value2": "20" }] }] }, "frontendHelpers": {}, "position": { "x": 650, "y": 360 } }, { "id": null, "ref": "6", "blockId": 100013, "type": "action", "state": "inactive", "parameters": { "chainId": 8453, "tokenIn": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913", "tokenOut": "0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf", "amount": 10, "slippage": 0.3 }, "frontendHelpers": { "output": { "amountIn": { "formatAmount": false, "erc20Token": { "contractAddress": "{{output.tokenIn}}", "chainId": "{{parameters.chainId}}" } }, "amountOut": { "formatAmount": false, "erc20Token": { "contractAddress": "{{output.tokenOut}}", "chainId": "{{parameters.chainId}}" } } } }, "position": { "x": 650, "y": 480 } }], "edges": [{ "id": null, "source": "1", "target": "2" }, { "id": null, "source": "2", "target": "3" }, { "id": null, "source": "3", "target": "4", "label": "true", "value": "true" }, { "id": null, "source": "2", "target": "5" }, { "id": null, "source": "5", "target": "6", "label": "true", "value": "true" }], "notes": [] });
41
41
  };
42
42
  const createETHFearAndGreedCapitalEfficientBuy = async () => {
43
43
  const trigger = new Trigger(TRIGGERS.SOCIALS.FEAR_AND_GREED.GET_FEAR_AND_GREED_INDEX);
@@ -204,7 +204,7 @@ export const WORKFLOW_TEMPLATES = [
204
204
  ],
205
205
  createWorkflow: dailyYieldEmail
206
206
  },
207
- /*{
207
+ {
208
208
  'name': 'Daily Fear & Greed-Based cbBTC Trading',
209
209
  'description': 'Automatically trade cbBTC daily based on the Fear & Greed Index—buy when low, sell when high.',
210
210
  'tags': [WORKFLOW_TEMPLATES_TAGS.TRADING, WORKFLOW_TEMPLATES_TAGS.SOCIALS],
@@ -214,10 +214,10 @@ export const WORKFLOW_TEMPLATES = [
214
214
  ACTIONS.CORE.SWAP.SWAP.image
215
215
  ],
216
216
  createWorkflow: createDCAFearAndGreed
217
- },*/
217
+ },
218
218
  {
219
219
  'name': 'Buy ETH when the market sentiment is extremely fearful - capital efficient',
220
- 'description': 'Buy ETH when the Bitcoin Fear and Greed Index is below 45. The idle funds are generating yield on Ionic.',
220
+ 'description': 'Buy ETH when the Bitcoin Fear and Greed Index is below 45. The idle funds are generating yield on AAVE.',
221
221
  'tags': [WORKFLOW_TEMPLATES_TAGS.TRADING, WORKFLOW_TEMPLATES_TAGS.SOCIALS, WORKFLOW_TEMPLATES_TAGS.YIELD],
222
222
  'thumbnail': 'https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/templates/fearAndGreed2.png',
223
223
  'image': [
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.85';
1
+ export const SDK_VERSION = '2.0.87';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -347,19 +347,18 @@ export class Workflow {
347
347
  async load(workflowId) {
348
348
  try {
349
349
  const response = await apiServices.get(`/workflows/${workflowId}`);
350
- const data = response.data;
351
- const workflow = new Workflow(data.name);
352
- workflow.id = data.id;
353
- workflow.state = data.state;
354
- workflow.dateCreated = data.dateCreated;
355
- workflow.dateModified = data.dateModified;
356
- workflow.executionId = data.executionId;
357
- workflow.agentId = data.agentId;
358
- this.nodes = await Promise.all(data.nodes.map(async (nodeData) => await Node.fromJSON(nodeData)));
359
- this.edges = data.edges.map((edgeData) => Edge.fromJSON(edgeData, this.nodes));
360
- this.notes = data.notes.map((noteData) => Note.fromJSON(noteData));
361
- positionWorkflowNodes(workflow);
362
- return workflow;
350
+ this.id = response.id;
351
+ this.name = response.name;
352
+ this.state = response.state;
353
+ this.dateCreated = response.dateCreated;
354
+ this.executionId = response.executionId;
355
+ this.agentId = response.agentId;
356
+ this.dateModified = response.dateModified;
357
+ this.nodes = await Promise.all(response.nodes.map(async (nodeData) => await Node.fromJSON(nodeData)));
358
+ this.edges = response.edges.map((edgeData) => Edge.fromJSON(edgeData, this.nodes));
359
+ this.notes = response.notes.map((noteData) => Note.fromJSON(noteData));
360
+ positionWorkflowNodes(this);
361
+ return this;
363
362
  }
364
363
  catch (error) {
365
364
  throw new Error(`Failed to load workflow: ${error.message}`);
@@ -1,4 +0,0 @@
1
- /*************************************
2
- * 5. Main Workflow Builder (No manual edges or pushes)
3
- *************************************/
4
- export declare function lendingAggregatorWorkflow(): Promise<void>;
@@ -258,31 +258,6 @@ export declare const TRIGGERS: {
258
258
  description: string;
259
259
  chains: number[];
260
260
  image: string;
261
- PT_IMPLIED_YIELD: {
262
- name: string;
263
- description: string;
264
- prototype: string;
265
- type: number;
266
- method: string;
267
- parameters: Parameter[];
268
- output: {
269
- ptImpliedYield: string;
270
- };
271
- examples: {
272
- name: string;
273
- description: string;
274
- externalVariableDescription: string;
275
- parameters: ({
276
- key: string;
277
- value: number;
278
- } | {
279
- key: string;
280
- value: string;
281
- })[];
282
- }[];
283
- blockId: number;
284
- image: string;
285
- };
286
261
  };
287
262
  };
288
263
  LENDING: {
@@ -1098,31 +1073,6 @@ export declare const TRIGGERS: {
1098
1073
  description: string;
1099
1074
  tags: {};
1100
1075
  image: string;
1101
- X_POST_TRIGGER: {
1102
- name: string;
1103
- description: string;
1104
- type: number;
1105
- output: {
1106
- tweetContent: string;
1107
- tweetURL: string;
1108
- timestamp: string;
1109
- account: string;
1110
- };
1111
- parameters: Parameter[];
1112
- examples: {
1113
- name: string;
1114
- description: string;
1115
- parameters: ({
1116
- key: string;
1117
- value: string;
1118
- } | {
1119
- key: string;
1120
- value: boolean;
1121
- })[];
1122
- }[];
1123
- blockId: number;
1124
- image: string;
1125
- };
1126
1076
  };
1127
1077
  };
1128
1078
  ETFS: {
@@ -1171,33 +1121,6 @@ export declare const TRIGGERS: {
1171
1121
  description: string;
1172
1122
  chains: number[];
1173
1123
  image: string;
1174
- LISTING: {
1175
- name: string;
1176
- description: string;
1177
- type: number;
1178
- parameters: Parameter[];
1179
- output: {
1180
- listingId: string;
1181
- tokenId: string;
1182
- price: string;
1183
- source: string;
1184
- imageUrl: string;
1185
- attributes: string;
1186
- };
1187
- examples: {
1188
- name: string;
1189
- description: string;
1190
- parameters: ({
1191
- key: string;
1192
- value: string;
1193
- } | {
1194
- key: string;
1195
- value: number;
1196
- })[];
1197
- }[];
1198
- blockId: number;
1199
- image: string;
1200
- };
1201
1124
  };
1202
1125
  };
1203
1126
  PRE_MARKET: {
@@ -1407,29 +1330,6 @@ export declare const ACTIONS: {
1407
1330
  MATHEMATICS: {
1408
1331
  description: string;
1409
1332
  image: string;
1410
- MATHEMATICS: {
1411
- name: string;
1412
- type: number;
1413
- description: string;
1414
- output: {
1415
- resultAsFloat: string;
1416
- resultAsInteger: string;
1417
- };
1418
- parameters: Parameter[];
1419
- examples: {
1420
- name: string;
1421
- description: string;
1422
- parameters: ({
1423
- key: string;
1424
- value: string;
1425
- } | {
1426
- key: string;
1427
- value: number;
1428
- })[];
1429
- }[];
1430
- blockId: number;
1431
- image: string;
1432
- };
1433
1333
  };
1434
1334
  };
1435
1335
  NOTIFICATIONS: {
@@ -1507,29 +1407,6 @@ export declare const ACTIONS: {
1507
1407
  image: string;
1508
1408
  };
1509
1409
  };
1510
- TELEGRAM: {
1511
- description: string;
1512
- image: string;
1513
- SEND_MESSAGE: {
1514
- name: string;
1515
- type: number;
1516
- description: string;
1517
- output: {
1518
- message: string;
1519
- };
1520
- parameters: Parameter[];
1521
- template: {
1522
- url: string;
1523
- body: {
1524
- chat_id: string;
1525
- text: string;
1526
- };
1527
- };
1528
- examples: never[];
1529
- blockId: number;
1530
- image: string;
1531
- };
1532
- };
1533
1410
  };
1534
1411
  LENDING: {
1535
1412
  IONIC: {
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.85";
1
+ export declare const SDK_VERSION = "2.0.87";
2
2
  export declare function compareVersions(v1: string, v2: string): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otomato-sdk",
3
- "version": "2.0.85",
3
+ "version": "2.0.87",
4
4
  "description": "An SDK for building and managing automations on Otomato",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/types/src/index.d.ts",