otomato-sdk 2.0.78 → 2.0.80

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.
package/README.md CHANGED
@@ -66,7 +66,7 @@ A Workflow is a collection of Nodes (Triggers and Actions) connected by Edges.
66
66
  import { Workflow, Trigger, Action, Edge, TRIGGERS, ACTIONS, CHAINS } from 'otomato-sdk';
67
67
 
68
68
  // Initialize Trigger and Action nodes
69
- const priceTrigger = new Trigger(TRIGGERS.TOKENS.ON_CHAIN_PRICE_MOVEMENT.PRICE_MOVEMENT_AGAINST_CURRENCY);
69
+ const priceTrigger = new Trigger(TRIGGERS.TOKENS.PRICE.PRICE_MOVEMENT_AGAINST_CURRENCY);
70
70
  priceTrigger.setChainId(CHAINS.MODE);
71
71
  priceTrigger.setComparisonValue(3000);
72
72
  priceTrigger.setCondition('lte');
@@ -166,7 +166,7 @@ This example demonstrates how to create a workflow that swaps tokens and then de
166
166
  import { Workflow, Trigger, Action, Edge, TRIGGERS, ACTIONS, CHAINS, getTokenFromSymbol } from 'otomato-sdk';
167
167
 
168
168
  // Initialize Trigger
169
- const priceTrigger = new Trigger(TRIGGERS.TOKENS.ON_CHAIN_PRICE_MOVEMENT.PRICE_MOVEMENT_AGAINST_CURRENCY);
169
+ const priceTrigger = new Trigger(TRIGGERS.TOKENS.PRICE.PRICE_MOVEMENT_AGAINST_CURRENCY);
170
170
  priceTrigger.setChainId(CHAINS.MODE);
171
171
  priceTrigger.setComparisonValue(3000);
172
172
  priceTrigger.setCondition('lte');
@@ -204,7 +204,7 @@ An advanced workflow using conditional branching based on ETH price.
204
204
  import { Workflow, Trigger, Action, Edge, TRIGGERS, ACTIONS, CHAINS, LOGIC_OPERATORS, ConditionGroup } from 'otomato-sdk';
205
205
 
206
206
  // Initialize Trigger
207
- const ethPriceTrigger = new Trigger(TRIGGERS.TOKENS.ON_CHAIN_PRICE_MOVEMENT.PRICE_MOVEMENT_AGAINST_CURRENCY);
207
+ const ethPriceTrigger = new Trigger(TRIGGERS.TOKENS.PRICE.PRICE_MOVEMENT_AGAINST_CURRENCY);
208
208
  ethPriceTrigger.setChainId(CHAINS.MODE);
209
209
  ethPriceTrigger.setComparisonValue(3000);
210
210
  ethPriceTrigger.setCondition('lt');
@@ -360,8 +360,8 @@ export const TRIGGERS = {
360
360
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/approval.png"
361
361
  }
362
362
  },
363
- "ON_CHAIN_PRICE_MOVEMENT": {
364
- "description": "Triggers based on the movement of on-chain prices against specified currencies",
363
+ "PRICE": {
364
+ "description": "Triggers based on on-chain price changes",
365
365
  "chains": [
366
366
  0
367
367
  ],
@@ -418,11 +418,11 @@ export const TRIGGERS = {
418
418
  "examples": [
419
419
  {
420
420
  "name": "ETH > 2850$",
421
- "description": "Gets triggered when ETH rises above 2850$ on Mode",
421
+ "description": "Gets triggered when ETH rises above 2850$ on Base",
422
422
  "parameters": [
423
423
  {
424
424
  "key": "chainId",
425
- "value": 34443
425
+ "value": 8453
426
426
  },
427
427
  {
428
428
  "key": "comparisonValue",
@@ -438,13 +438,13 @@ export const TRIGGERS = {
438
438
  },
439
439
  {
440
440
  "key": "contractAddress",
441
- "value": "0x0000000000000000000000000000000000000000"
441
+ "value": "0x4200000000000000000000000000000000000006"
442
442
  }
443
443
  ]
444
444
  },
445
445
  {
446
446
  "name": "ETH < 2100$",
447
- "description": "Gets triggered when ETH falls below 2100$ on Mode",
447
+ "description": "Gets triggered when ETH falls below 2100$ on Base",
448
448
  "parameters": [
449
449
  {
450
450
  "key": "chainId",
@@ -464,7 +464,7 @@ export const TRIGGERS = {
464
464
  },
465
465
  {
466
466
  "key": "contractAddress",
467
- "value": "0x0000000000000000000000000000000000000000"
467
+ "value": "0x4200000000000000000000000000000000000006"
468
468
  }
469
469
  ]
470
470
  },
@@ -502,7 +502,7 @@ export const TRIGGERS = {
502
502
  },
503
503
  "YIELD": {
504
504
  "ETHENA": {
505
- "description": "Ethena is a synthetic dollar protocol built on Ethereum that provides a crypto-native solution for money not reliant on traditional banking system infrastructure",
505
+ "description": "Ethena is a synthetic dollar protocol on Ethereum",
506
506
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/ethena.svg",
507
507
  "SUSDE_YIELD": {
508
508
  "name": "sUSDE yield",
@@ -615,70 +615,70 @@ export const TRIGGERS = {
615
615
  8453
616
616
  ],
617
617
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp",
618
- "PT_IMPLIED_YIELD": {
619
- "name": "PT Implied Yield",
620
- "description": "Retrieves the PT implied yield for a specified Pendle market by reading its state and computing exp(lnImpliedRate) - 1.",
621
- "prototype": "pendlePtImpliedYield",
622
- "type": 1,
623
- "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)",
624
- "parameters": [
625
- {
626
- "key": "chainId",
627
- "type": "chainId",
628
- "description": "Chain ID of the network",
629
- "mandatory": true,
630
- "category": 0
631
- },
632
- {
633
- "key": "abiParams.marketAddress",
634
- "type": "address",
635
- "description": "The Pendle market address",
636
- "mandatory": true,
637
- "category": 0,
638
- "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 \"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 }"
639
- },
640
- {
641
- "key": "condition",
642
- "type": "logic_operator",
643
- "description": "Logic operator used for the comparison: <, >, <=, >=, ==, ...",
644
- "mandatory": true,
645
- "category": 0
646
- },
647
- {
648
- "key": "comparisonValue",
649
- "type": "float",
650
- "description": "The value to compare to",
651
- "mandatory": true,
652
- "category": 0
653
- },
654
- ],
655
- "output": {
656
- "ptImpliedYield": "float"
618
+ /*"PT_IMPLIED_YIELD": {
619
+ "name": "PT Implied Yield",
620
+ "description": "Retrieves the PT implied yield for a specified Pendle market by reading its state and computing exp(lnImpliedRate) - 1.",
621
+ "prototype": "pendlePtImpliedYield",
622
+ "type": 1,
623
+ "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)",
624
+ "parameters": [
625
+ {
626
+ "key": "chainId",
627
+ "type": "chainId",
628
+ "description": "Chain ID of the network",
629
+ "mandatory": true,
630
+ "category": 0
657
631
  },
658
- "examples": [
659
- {
660
- "name": "PT Implied Yield for USUALx Market",
661
- "description": "Retrieves the PT implied yield for the USUALx market on Ethereum.",
662
- "parameters": [
663
- {
664
- "key": "chainId",
665
- "value": 1
666
- },
667
- {
668
- "key": "marketAddress",
669
- "value": "0xb9b7840ec34094ce1269c38ba7a6ac7407f9c4e3"
670
- }
671
- ]
632
+ {
633
+ "key": "abiParams.marketAddress",
634
+ "type": "address",
635
+ "description": "The Pendle market address",
636
+ "mandatory": true,
637
+ "category": 0,
638
+ "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 \"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 }"
639
+ },
640
+ {
641
+ "key": "condition",
642
+ "type": "logic_operator",
643
+ "description": "Logic operator used for the comparison: <, >, <=, >=, ==, ...",
644
+ "mandatory": true,
645
+ "category": 0
646
+ },
647
+ {
648
+ "key": "comparisonValue",
649
+ "type": "float",
650
+ "description": "The value to compare to",
651
+ "mandatory": true,
652
+ "category": 0
653
+ },
654
+ ] as Parameter[],
655
+ "output": {
656
+ "ptImpliedYield": "float"
657
+ },
658
+ "examples": [
659
+ {
660
+ "name": "PT Implied Yield for USUALx Market",
661
+ "description": "Retrieves the PT implied yield for the USUALx market on Ethereum.",
662
+ "parameters": [
663
+ {
664
+ "key": "chainId",
665
+ "value": 1
666
+ },
667
+ {
668
+ "key": "marketAddress",
669
+ "value": "0xb9b7840ec34094ce1269c38ba7a6ac7407f9c4e3"
672
670
  }
673
- ],
674
- "blockId": 101,
675
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp"
676
- }
671
+ ]
672
+ }
673
+ ],
674
+ "blockId": 101,
675
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp"
676
+ }*/
677
677
  }
678
678
  },
679
679
  "LENDING": {
680
680
  "IONIC": {
681
- "description": "#1 money market for Yield Bearing Assets on the OP Superchain",
681
+ "description": "Yield-bearing money market on the OP Superchain",
682
682
  "chains": [
683
683
  34443,
684
684
  8453
@@ -820,7 +820,7 @@ export const TRIGGERS = {
820
820
  }
821
821
  },
822
822
  "ASTARIA": {
823
- "description": "Astaria is an oracle-less, intent-based, fixed-rate lending protocol supporting unlimited loan durations for any asset",
823
+ "description": "Intent-based lending protocol",
824
824
  "chains": [
825
825
  34443
826
826
  ],
@@ -908,7 +908,7 @@ export const TRIGGERS = {
908
908
  }
909
909
  },
910
910
  "AAVE": {
911
- "description": "A leading DeFi protocol enabling secure borrowing, lending, and yield generation across multiple assets.",
911
+ "description": "The most used protocol for borrowing and lending",
912
912
  "chains": [
913
913
  8453
914
914
  ],
@@ -1049,7 +1049,7 @@ export const TRIGGERS = {
1049
1049
  }
1050
1050
  },
1051
1051
  "MOONWELL": {
1052
- "description": "An advanced lending and borrowing platform focused on scalable, fast blockchain networks for optimal performance.",
1052
+ "description": "Yield-bearing money market",
1053
1053
  "chains": [
1054
1054
  8453
1055
1055
  ],
@@ -1200,7 +1200,7 @@ export const TRIGGERS = {
1200
1200
  }
1201
1201
  },
1202
1202
  "COMPOUND": {
1203
- "description": "Compound is an algorithmic, autonomous interest rate protocol built for developers, to unlock a universe of open financial applications.",
1203
+ "description": "One of the biggest yield-bearing money market",
1204
1204
  "chains": [
1205
1205
  8453
1206
1206
  ],
@@ -1357,7 +1357,7 @@ export const TRIGGERS = {
1357
1357
  }
1358
1358
  },
1359
1359
  "IRONCLAD": {
1360
- "description": "DeFi needs safe, liquid lending markets and steady stablecoins that drives value to users. We’ve built that foundation and made it Ironclad.",
1360
+ "description": "Yield-bearing money market available on multiple chains.",
1361
1361
  "chains": [
1362
1362
  8453,
1363
1363
  34443
@@ -1501,7 +1501,7 @@ export const TRIGGERS = {
1501
1501
  },
1502
1502
  "DEXES": {
1503
1503
  "ODOS": {
1504
- "description": "Smart Order Routing across multiple blockchain protocols, 700+ Liquidity Sources and thousands of token pairs, delivering ultimate savings to users",
1504
+ "description": "Monitors events on Odos router",
1505
1505
  "chains": [
1506
1506
  34443,
1507
1507
  1,
@@ -2197,48 +2197,6 @@ export const TRIGGERS = {
2197
2197
  }
2198
2198
  },
2199
2199
  "SOCIALS": {
2200
- "MODE_NAME_SERVICE": {
2201
- "description": "Next generation of Mode Mainnet Domains",
2202
- "chains": [
2203
- 34443
2204
- ],
2205
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/modens.png",
2206
- "NAME_REGISTERED": {
2207
- "name": "Name Registered",
2208
- "description": "Name registered in Mode Name Service",
2209
- "type": 0,
2210
- "contractAddress": "0x2aD86eeEC513AC16804bb05310214C3Fd496835B",
2211
- "output": {
2212
- "id": "uint256",
2213
- "owner": "address",
2214
- "expires": "uint256",
2215
- "transactionHash": "string"
2216
- },
2217
- "parameters": [
2218
- {
2219
- "key": "abiParams.id",
2220
- "type": "uint256",
2221
- "description": "ID of the name registered",
2222
- "category": 1
2223
- },
2224
- {
2225
- "key": "abiParams.owner",
2226
- "type": "address",
2227
- "description": "Owner address",
2228
- "category": 1
2229
- },
2230
- {
2231
- "key": "abiParams.expires",
2232
- "type": "uint256",
2233
- "description": "Expiration time",
2234
- "category": 1
2235
- },
2236
- ],
2237
- "examples": [],
2238
- "blockId": 3,
2239
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/modens.png"
2240
- }
2241
- },
2242
2200
  "FEAR_AND_GREED": {
2243
2201
  "description": "Fetches the Fear and Greed Index",
2244
2202
  "tags": {},
@@ -2302,55 +2260,55 @@ export const TRIGGERS = {
2302
2260
  }
2303
2261
  },
2304
2262
  "X": {
2305
- "description": "X, formerly known as Twitter, is a social media platform that allows users to share short messages, photos, videos, and more.",
2263
+ "description": "Tracks new tweets in real time",
2306
2264
  "tags": {},
2307
2265
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/X.webp",
2308
- "X_POST_TRIGGER": {
2309
- "name": "X Post Trigger",
2310
- "description": "Track an account activity via their posts",
2311
- "type": 5,
2312
- "output": {
2313
- "tweetContent": "string",
2314
- "tweetURL": "string",
2315
- "timestamp": "string",
2316
- "account": "string"
2266
+ /*"X_POST_TRIGGER": {
2267
+ "name": "X Post Trigger",
2268
+ "description": "Track an account activity via their posts",
2269
+ "type": 5,
2270
+ "output": {
2271
+ "tweetContent": "string",
2272
+ "tweetURL": "string",
2273
+ "timestamp": "string",
2274
+ "account": "string"
2275
+ },
2276
+ "parameters": [
2277
+ {
2278
+ "key": "username",
2279
+ "type": "string",
2280
+ "description": "Username of the twitter account you want to track",
2281
+ "mandatory": true,
2282
+ "category": 0
2317
2283
  },
2318
- "parameters": [
2319
- {
2320
- "key": "username",
2321
- "type": "string",
2322
- "description": "Username of the twitter account you want to track",
2323
- "mandatory": true,
2324
- "category": 0
2325
- },
2284
+ {
2285
+ "key": "includeRetweets",
2286
+ "type": "string",
2287
+ "description": "Toggle trigger if it is retweet",
2288
+ "category": 0,
2289
+ "default": "false",
2290
+ "value": "false"
2291
+ },
2292
+ ] as Parameter[],
2293
+ "examples": [
2294
+ {
2295
+ "name": "GCR tweets",
2296
+ "description": "Gets triggered when GCR tweets something",
2297
+ "parameters": [
2326
2298
  {
2327
- "key": "includeRetweets",
2328
- "type": "string",
2329
- "description": "Toggle trigger if it is retweet",
2330
- "category": 0,
2331
- "default": "false",
2332
- "value": "false"
2299
+ "key": "username",
2300
+ "value": "GiganticRebirth"
2333
2301
  },
2334
- ],
2335
- "examples": [
2336
2302
  {
2337
- "name": "GCR tweets",
2338
- "description": "Gets triggered when GCR tweets something",
2339
- "parameters": [
2340
- {
2341
- "key": "username",
2342
- "value": "GiganticRebirth"
2343
- },
2344
- {
2345
- "key": "includeRetweets",
2346
- "value": false
2347
- }
2348
- ]
2303
+ "key": "includeRetweets",
2304
+ "value": false
2349
2305
  }
2350
- ],
2351
- "blockId": 34,
2352
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/X.webp"
2353
- }
2306
+ ]
2307
+ }
2308
+ ],
2309
+ "blockId": 34,
2310
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/X.webp"
2311
+ }*/
2354
2312
  }
2355
2313
  },
2356
2314
  "ETFS": {
@@ -2423,63 +2381,63 @@ export const TRIGGERS = {
2423
2381
  1
2424
2382
  ],
2425
2383
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/blur.jpg",
2426
- "LISTING": {
2427
- "name": "NFT Listing",
2428
- "description": "Subscribe to live NFT listing events based on filters.",
2429
- "type": 5,
2430
- "parameters": [
2431
- {
2432
- "key": "contract",
2433
- "type": "address",
2434
- "description": "The NFT collection to monitor.",
2435
- "mandatory": true,
2436
- "category": 0
2437
- },
2438
- {
2439
- "key": "price",
2440
- "type": "float",
2441
- "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.",
2442
- "mandatory": false,
2443
- "category": 1
2444
- },
2445
- {
2446
- "key": "traits",
2447
- "description": "Trait-based filters. For example, you can only monitor punks with specific traits you are interested in.",
2448
- "mandatory": false,
2449
- "category": 1
2450
- },
2451
- ],
2452
- "output": {
2453
- "listingId": "string",
2454
- "tokenId": "string",
2455
- "price": "float",
2456
- "source": "string",
2457
- "imageUrl": "string",
2458
- "attributes": "array"
2384
+ /*"LISTING": {
2385
+ "name": "NFT Listing",
2386
+ "description": "Subscribe to live NFT listing events based on filters.",
2387
+ "type": 5,
2388
+ "parameters": [
2389
+ {
2390
+ "key": "contract",
2391
+ "type": "address",
2392
+ "description": "The NFT collection to monitor.",
2393
+ "mandatory": true,
2394
+ "category": 0
2459
2395
  },
2460
- "examples": [
2461
- {
2462
- "name": "Monitor Pudgy listings",
2463
- "description": "Subscribe to Pudgy Penguins listings with a pineapple suit and blue background filtered for prices below 30 ETH.",
2464
- "parameters": [
2465
- {
2466
- "key": "contract",
2467
- "value": "0xbd3531da5cf5857e7cfaa92426877b022e612cf8"
2468
- },
2469
- {
2470
- "key": "price",
2471
- "value": 30
2472
- },
2473
- {
2474
- "key": "traits",
2475
- "value": "{\"Background\":[\"Blue\"],\"Body\":[\"Pineapple Suit\"]}"
2476
- }
2477
- ]
2396
+ {
2397
+ "key": "price",
2398
+ "type": "float",
2399
+ "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.",
2400
+ "mandatory": false,
2401
+ "category": 1
2402
+ },
2403
+ {
2404
+ "key": "traits",
2405
+ "description": "Trait-based filters. For example, you can only monitor punks with specific traits you are interested in.",
2406
+ "mandatory": false,
2407
+ "category": 1
2408
+ },
2409
+ ] as Parameter[],
2410
+ "output": {
2411
+ "listingId": "string",
2412
+ "tokenId": "string",
2413
+ "price": "float",
2414
+ "source": "string",
2415
+ "imageUrl": "string",
2416
+ "attributes": "array"
2417
+ },
2418
+ "examples": [
2419
+ {
2420
+ "name": "Monitor Pudgy listings",
2421
+ "description": "Subscribe to Pudgy Penguins listings with a pineapple suit and blue background filtered for prices below 30 ETH.",
2422
+ "parameters": [
2423
+ {
2424
+ "key": "contract",
2425
+ "value": "0xbd3531da5cf5857e7cfaa92426877b022e612cf8"
2426
+ },
2427
+ {
2428
+ "key": "price",
2429
+ "value": 30
2430
+ },
2431
+ {
2432
+ "key": "traits",
2433
+ "value": "{\"Background\":[\"Blue\"],\"Body\":[\"Pineapple Suit\"]}"
2478
2434
  }
2479
- ],
2480
- "blockId": 35,
2481
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/blur.jpg"
2482
- }
2435
+ ]
2436
+ }
2437
+ ],
2438
+ "blockId": 35,
2439
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/blur.jpg"
2440
+ }*/
2483
2441
  }
2484
2442
  },
2485
2443
  "PRE_MARKET": {
@@ -2992,7 +2950,7 @@ export const ACTIONS = {
2992
2950
  },
2993
2951
  "LENDING": {
2994
2952
  "IONIC": {
2995
- "description": "#1 money market for Yield Bearing Assets on the OP Superchain",
2953
+ "description": "Yield-bearing money market on the OP Superchain",
2996
2954
  "chains": [
2997
2955
  34443,
2998
2956
  8453
@@ -3399,7 +3357,7 @@ export const ACTIONS = {
3399
3357
  }
3400
3358
  },
3401
3359
  "AAVE": {
3402
- "description": "A leading DeFi protocol enabling secure borrowing, lending, and yield generation across multiple assets.",
3360
+ "description": "The most used protocol for borrowing and lending",
3403
3361
  "chains": [
3404
3362
  8453,
3405
3363
  534352
@@ -3629,7 +3587,7 @@ export const ACTIONS = {
3629
3587
  }
3630
3588
  },
3631
3589
  "MOONWELL": {
3632
- "description": "An advanced lending and borrowing platform focused on scalable, fast blockchain networks for optimal performance.",
3590
+ "description": "Yield-bearing money market",
3633
3591
  "chains": [
3634
3592
  8453
3635
3593
  ],
@@ -4035,7 +3993,7 @@ export const ACTIONS = {
4035
3993
  }
4036
3994
  },
4037
3995
  "COMPOUND": {
4038
- "description": "Compound is an algorithmic, autonomous interest rate protocol built for developers, to unlock a universe of open financial applications.",
3996
+ "description": "One of the biggest yield-bearing money market",
4039
3997
  "chains": [
4040
3998
  8453
4041
3999
  ],
@@ -4226,7 +4184,7 @@ export const ACTIONS = {
4226
4184
  }
4227
4185
  },
4228
4186
  "IRONCLAD": {
4229
- "description": "DeFi needs safe, liquid lending markets and steady stablecoins that drives value to users. We've built that foundation and made it Ironclad.",
4187
+ "description": "Yield-bearing money market available on multiple chains.",
4230
4188
  "chains": [
4231
4189
  8453,
4232
4190
  34443
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.78';
1
+ export const SDK_VERSION = '2.0.80';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -145,7 +145,7 @@ export declare const TRIGGERS: {
145
145
  image: string;
146
146
  };
147
147
  };
148
- ON_CHAIN_PRICE_MOVEMENT: {
148
+ PRICE: {
149
149
  description: string;
150
150
  chains: number[];
151
151
  image: string;
@@ -232,30 +232,6 @@ export declare const TRIGGERS: {
232
232
  description: string;
233
233
  chains: number[];
234
234
  image: string;
235
- PT_IMPLIED_YIELD: {
236
- name: string;
237
- description: string;
238
- prototype: string;
239
- type: number;
240
- method: string;
241
- parameters: Parameter[];
242
- output: {
243
- ptImpliedYield: string;
244
- };
245
- examples: {
246
- name: string;
247
- description: string;
248
- parameters: ({
249
- key: string;
250
- value: number;
251
- } | {
252
- key: string;
253
- value: string;
254
- })[];
255
- }[];
256
- blockId: number;
257
- image: string;
258
- };
259
235
  };
260
236
  };
261
237
  LENDING: {
@@ -926,27 +902,6 @@ export declare const TRIGGERS: {
926
902
  };
927
903
  };
928
904
  SOCIALS: {
929
- MODE_NAME_SERVICE: {
930
- description: string;
931
- chains: number[];
932
- image: string;
933
- NAME_REGISTERED: {
934
- name: string;
935
- description: string;
936
- type: number;
937
- contractAddress: string;
938
- output: {
939
- id: string;
940
- owner: string;
941
- expires: string;
942
- transactionHash: string;
943
- };
944
- parameters: Parameter[];
945
- examples: never[];
946
- blockId: number;
947
- image: string;
948
- };
949
- };
950
905
  FEAR_AND_GREED: {
951
906
  description: string;
952
907
  tags: {};
@@ -979,31 +934,6 @@ export declare const TRIGGERS: {
979
934
  description: string;
980
935
  tags: {};
981
936
  image: string;
982
- X_POST_TRIGGER: {
983
- name: string;
984
- description: string;
985
- type: number;
986
- output: {
987
- tweetContent: string;
988
- tweetURL: string;
989
- timestamp: string;
990
- account: string;
991
- };
992
- parameters: Parameter[];
993
- examples: {
994
- name: string;
995
- description: string;
996
- parameters: ({
997
- key: string;
998
- value: string;
999
- } | {
1000
- key: string;
1001
- value: boolean;
1002
- })[];
1003
- }[];
1004
- blockId: number;
1005
- image: string;
1006
- };
1007
937
  };
1008
938
  };
1009
939
  ETFS: {
@@ -1040,33 +970,6 @@ export declare const TRIGGERS: {
1040
970
  description: string;
1041
971
  chains: number[];
1042
972
  image: string;
1043
- LISTING: {
1044
- name: string;
1045
- description: string;
1046
- type: number;
1047
- parameters: Parameter[];
1048
- output: {
1049
- listingId: string;
1050
- tokenId: string;
1051
- price: string;
1052
- source: string;
1053
- imageUrl: string;
1054
- attributes: string;
1055
- };
1056
- examples: {
1057
- name: string;
1058
- description: string;
1059
- parameters: ({
1060
- key: string;
1061
- value: string;
1062
- } | {
1063
- key: string;
1064
- value: number;
1065
- })[];
1066
- }[];
1067
- blockId: number;
1068
- image: string;
1069
- };
1070
973
  };
1071
974
  };
1072
975
  PRE_MARKET: {
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.78";
1
+ export declare const SDK_VERSION = "2.0.80";
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.78",
3
+ "version": "2.0.80",
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",