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.
- package/dist/src/constants/Blocks.js +3 -3
- package/dist/src/constants/tokens.js +14 -0
- package/dist/src/constants/version.js +1 -1
- package/dist/src/utils/WorkflowNodePositioner.js +1 -1
- package/dist/types/examples/UseCases/FearAndGreedDCA/fear-and-greed-dca.d.ts +4 -0
- package/dist/types/examples/UseCases/{stop-lending-aggregator-mode-weth.d.ts → LendingAggregator/stop-lending-aggregator-2-protocols.d.ts} +1 -1
- package/dist/types/src/constants/version.d.ts +1 -1
- package/dist/types/src/utils/WorkflowNodePositioner.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/examples/UseCases/lending-aggregator-v2.d.ts +0 -4
- package/dist/types/examples/UseCases/stop-lending-aggregator.d.ts +0 -7
- /package/dist/types/examples/UseCases/{lending-aggregator-base.d.ts → LendingAggregator/deprecated/lending-aggregator-base.d.ts} +0 -0
- /package/dist/types/examples/UseCases/{lending-aggregator-mode.d.ts → LendingAggregator/deprecated/lending-aggregator-mode.d.ts} +0 -0
- /package/dist/types/examples/UseCases/{lending-aggregator-v2-mode-usdc.d.ts → LendingAggregator/deprecated/lending-aggregator-v2-mode-usdc.d.ts} +0 -0
- /package/dist/types/examples/UseCases/{stop-lending-aggregator-mode-usdc.d.ts → LendingAggregator/deprecated/stop-lending-aggregator-mode-usdc.d.ts} +0 -0
- /package/dist/types/examples/UseCases/{lending-aggregator-v2-mode-weth.d.ts → LendingAggregator/lending-aggregator-2-protocols.d.ts} +0 -0
|
@@ -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/
|
|
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/
|
|
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",
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* File: stop-lending-aggregator.ts
|
|
3
3
|
*************************************/
|
|
4
4
|
/*************************************
|
|
5
|
-
*
|
|
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.
|
|
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 =
|
|
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,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>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|