otomato-sdk 2.0.23 → 2.0.24

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.
@@ -13,6 +13,7 @@ export const TRIGGERS = {
13
13
  "type": "integer",
14
14
  "description": "The period to wait between each run (in ms)",
15
15
  "mandatory": true,
16
+ "minValue": 600000,
16
17
  "category": 0
17
18
  },
18
19
  {
@@ -267,7 +268,7 @@ export const TRIGGERS = {
267
268
  "chains": [
268
269
  0
269
270
  ],
270
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/Approval.svg",
271
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/approval.png",
271
272
  "APPROVAL": {
272
273
  "name": "Token Approval",
273
274
  "description": "Triggers when someone approves this token.",
@@ -357,7 +358,7 @@ export const TRIGGERS = {
357
358
  }
358
359
  ],
359
360
  "blockId": 27,
360
- "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/Approval.svg"
361
+ "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/approval.png"
361
362
  }
362
363
  },
363
364
  "ON_CHAIN_PRICE_MOVEMENT": {
@@ -1186,7 +1187,6 @@ export const TRIGGERS = {
1186
1187
  "MOONWELL": {
1187
1188
  "description": "An advanced lending and borrowing platform focused on scalable, fast blockchain networks for optimal performance.",
1188
1189
  "chains": [
1189
- 34443,
1190
1190
  8453
1191
1191
  ],
1192
1192
  "image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/moonwell.png",
@@ -144,6 +144,20 @@ export const TOKENS = {
144
144
  decimals: 18,
145
145
  image: null
146
146
  },
147
+ {
148
+ contractAddress: '0xe7334Ad0e325139329E747cF2Fc24538dD564987',
149
+ symbol: 'ironUSDC',
150
+ name: 'Ironclad USDC',
151
+ decimals: 18,
152
+ image: null
153
+ },
154
+ {
155
+ contractAddress: '0x02CD18c03b5b3f250d2B29C87949CDAB4Ee11488',
156
+ symbol: 'ironUSDT',
157
+ name: 'Ironclad USDT',
158
+ decimals: 18,
159
+ image: null
160
+ },
147
161
  // ionic
148
162
  {
149
163
  contractAddress: "0x94812F2eEa03A49869f95e1b5868C6f3206ee3D3",
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.22';
1
+ export const SDK_VERSION = '2.0.24';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -91,7 +91,7 @@
91
91
  });
92
92
  }
93
93
  }*/
94
- export const xSpacing = 400;
94
+ export const xSpacing = 600;
95
95
  export const ySpacing = 120;
96
96
  export const ROOT_X = 400;
97
97
  export const ROOT_Y = 120;
@@ -0,0 +1,4 @@
1
+ /*************************************
2
+ * 3. Main Workflow Builder
3
+ *************************************/
4
+ export declare function fearAndGreedWorkflow(): Promise<void>;
@@ -2,6 +2,6 @@
2
2
  * File: stop-lending-aggregator.ts
3
3
  *************************************/
4
4
  /*************************************
5
- * 4. Build the 'Stop Lending Aggregator' Workflow
5
+ * 3. Build the 'Stop Lending Aggregator' Workflow
6
6
  *************************************/
7
7
  export declare function stopLendingAggregator(): Promise<void>;
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.22";
1
+ export declare const SDK_VERSION = "2.0.24";
2
2
  export declare function compareVersions(v1: string, v2: string): number;
@@ -9,7 +9,7 @@ import { Edge } from '../models/Edge.js';
9
9
  * - If a parent has multiple children, they are horizontally spread around the parent's X.
10
10
  * - Existing positions are not overwritten.
11
11
  */
12
- export declare const xSpacing = 400;
12
+ export declare const xSpacing = 600;
13
13
  export declare const ySpacing = 120;
14
14
  export declare const ROOT_X = 400;
15
15
  export declare const ROOT_Y = 120;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otomato-sdk",
3
- "version": "2.0.23",
3
+ "version": "2.0.24",
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",
@@ -1,4 +0,0 @@
1
- /*************************************
2
- * 4. Main Workflow Builder
3
- *************************************/
4
- export declare function aggregatorWorkflow(): Promise<void>;
@@ -1,7 +0,0 @@
1
- /*************************************
2
- * File: stop-lending-aggregator.ts
3
- *************************************/
4
- /*************************************
5
- * 4. Build the 'Stop Lending Aggregator' Workflow
6
- *************************************/
7
- export declare function stopLendingAggregator(): Promise<void>;