otomato-sdk 1.5.44 → 1.5.46
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.
|
@@ -5,7 +5,7 @@ export const TRIGGERS = {
|
|
|
5
5
|
"chains": [
|
|
6
6
|
0
|
|
7
7
|
],
|
|
8
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/
|
|
8
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/Transfer.svg",
|
|
9
9
|
"TRANSFER": {
|
|
10
10
|
"name": "Transfer token",
|
|
11
11
|
"description": "This block gets triggered when someone transfers the ERC20 configured in the params",
|
|
@@ -71,7 +71,7 @@ export const TRIGGERS = {
|
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
73
|
"blockId": 1,
|
|
74
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/
|
|
74
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/Transfer.svg"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"BALANCE": {
|
|
@@ -79,7 +79,7 @@ export const TRIGGERS = {
|
|
|
79
79
|
"chains": [
|
|
80
80
|
0
|
|
81
81
|
],
|
|
82
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/
|
|
82
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/BalanceCheck.svg",
|
|
83
83
|
"BALANCE": {
|
|
84
84
|
"name": "ERC20 balance check",
|
|
85
85
|
"description": "Fetches the balance of an ERC20 and checks it against the specified condition.",
|
|
@@ -184,7 +184,7 @@ export const TRIGGERS = {
|
|
|
184
184
|
}
|
|
185
185
|
],
|
|
186
186
|
"blockId": 5,
|
|
187
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/
|
|
187
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/BalanceCheck.svg"
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
},
|
|
@@ -669,7 +669,7 @@ export const TRIGGERS = {
|
|
|
669
669
|
34443,
|
|
670
670
|
1
|
|
671
671
|
],
|
|
672
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/odos.
|
|
672
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/odos.png",
|
|
673
673
|
"SWAP": {
|
|
674
674
|
"name": "Odos Swap",
|
|
675
675
|
"description": "Swap on Odos",
|
|
@@ -750,7 +750,7 @@ export const TRIGGERS = {
|
|
|
750
750
|
}
|
|
751
751
|
],
|
|
752
752
|
"blockId": 4,
|
|
753
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/odos.
|
|
753
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/odos.png"
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
756
|
},
|
|
@@ -1157,6 +1157,7 @@ export const ACTIONS = {
|
|
|
1157
1157
|
],
|
|
1158
1158
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/swap.png",
|
|
1159
1159
|
"SWAP": {
|
|
1160
|
+
"id": 100005,
|
|
1160
1161
|
"name": "Swap",
|
|
1161
1162
|
"description": "Swap two assets using the best market rates accross multiple pools",
|
|
1162
1163
|
"type": 1,
|
|
@@ -1223,7 +1224,7 @@ export const ACTIONS = {
|
|
|
1223
1224
|
"value": 1,
|
|
1224
1225
|
"mandatory": true,
|
|
1225
1226
|
"category": 1
|
|
1226
|
-
}
|
|
1227
|
+
}
|
|
1227
1228
|
],
|
|
1228
1229
|
"examples": [
|
|
1229
1230
|
{
|
|
@@ -1885,7 +1886,7 @@ export const ACTIONS = {
|
|
|
1885
1886
|
"chains": [
|
|
1886
1887
|
34443
|
|
1887
1888
|
],
|
|
1888
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/odos.
|
|
1889
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/odos.png",
|
|
1889
1890
|
"SWAP": {
|
|
1890
1891
|
"name": "Odos swap",
|
|
1891
1892
|
"description": "Swap on Odos to get the best market rates accross multiple pools",
|
|
@@ -1996,7 +1997,7 @@ export const ACTIONS = {
|
|
|
1996
1997
|
]
|
|
1997
1998
|
},
|
|
1998
1999
|
"blockId": 100005,
|
|
1999
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/odos.
|
|
2000
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/odos.png"
|
|
2000
2001
|
}
|
|
2001
2002
|
}
|
|
2002
2003
|
},
|
|
@@ -460,6 +460,7 @@ export declare const ACTIONS: {
|
|
|
460
460
|
chains: number[];
|
|
461
461
|
image: string;
|
|
462
462
|
SWAP: {
|
|
463
|
+
id: number;
|
|
463
464
|
name: string;
|
|
464
465
|
description: string;
|
|
465
466
|
type: number;
|
|
@@ -482,7 +483,34 @@ export declare const ACTIONS: {
|
|
|
482
483
|
tokenOut: string;
|
|
483
484
|
transactionHash: string;
|
|
484
485
|
};
|
|
485
|
-
parameters:
|
|
486
|
+
parameters: ({
|
|
487
|
+
key: string;
|
|
488
|
+
type: string;
|
|
489
|
+
description: string;
|
|
490
|
+
mandatory: boolean;
|
|
491
|
+
category: number;
|
|
492
|
+
erc20FormattedAmount?: undefined;
|
|
493
|
+
value?: undefined;
|
|
494
|
+
} | {
|
|
495
|
+
key: string;
|
|
496
|
+
type: string;
|
|
497
|
+
description: string;
|
|
498
|
+
mandatory: boolean;
|
|
499
|
+
category: number;
|
|
500
|
+
erc20FormattedAmount: {
|
|
501
|
+
contractAddress: string;
|
|
502
|
+
chain: string;
|
|
503
|
+
};
|
|
504
|
+
value?: undefined;
|
|
505
|
+
} | {
|
|
506
|
+
key: string;
|
|
507
|
+
type: string;
|
|
508
|
+
description: string;
|
|
509
|
+
value: number;
|
|
510
|
+
mandatory: boolean;
|
|
511
|
+
category: number;
|
|
512
|
+
erc20FormattedAmount?: undefined;
|
|
513
|
+
})[];
|
|
486
514
|
examples: {
|
|
487
515
|
name: string;
|
|
488
516
|
description: string;
|