otomato-sdk 2.0.13 → 2.0.15
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 +1102 -36
- package/dist/src/constants/tokens.js +1 -1
- package/dist/src/constants/version.js +1 -1
- package/dist/src/models/Node.js +0 -2
- package/dist/types/examples/UseCases/lending-aggregator-v2.d.ts +4 -0
- package/dist/types/examples/UseCases/stop-lending-aggregator.d.ts +7 -0
- package/dist/types/src/constants/Blocks.d.ts +480 -8
- package/dist/types/src/constants/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/constants/ActionBlocks.js +0 -321
- package/dist/src/models/Automation.js +0 -44
- package/dist/src/utils/balances/addressBalance.js +0 -177
- package/dist/src/utils/balances/getBalanceInUnderlying.js +0 -95
- package/dist/types/examples/ex.d.ts +0 -1
- package/dist/types/examples/lending-aggregator.d.ts +0 -1
- package/dist/types/examples/load-workflows.d.ts +0 -1
- package/dist/types/examples/protocols/aave_trigger_borrow_action_borrow.d.ts +0 -1
- package/dist/types/examples/protocols/aave_trigger_borrow_action_withdraw.d.ts +0 -1
- package/dist/types/examples/protocols/aave_trigger_supply_action_supply.d.ts +0 -1
- package/dist/types/examples/protocols/ionic_base_supply.d.ts +0 -1
- package/dist/types/examples/protocols/ionic_base_withdraw.d.ts +0 -1
- package/dist/types/examples/sandbox.d.ts +0 -1
- package/dist/types/examples/update-edge.d.ts +0 -1
- package/dist/types/examples/yield-comparator.d.ts +0 -1
- package/dist/types/src/constants/ActionBlocks.d.ts +0 -91
- package/dist/types/src/models/Automation.d.ts +0 -23
- package/dist/types/src/models/Condition.d.ts +0 -6
- package/dist/types/src/services/AutomationService.d.ts +0 -6
- package/dist/types/src/utils/balances/addressBalance.d.ts +0 -20
- package/dist/types/src/utils/balances/getBalanceInUnderlying.d.ts +0 -44
- package/dist/types/test/automation.spec.d.ts +0 -1
- package/dist/types/test/sessionKeyPermission.spec.d.ts +0 -1
- /package/dist/types/examples/{authorizations.d.ts → Core/authorizations.d.ts} +0 -0
- /package/dist/types/examples/{create-action.d.ts → Core/create-action.d.ts} +0 -0
- /package/dist/types/examples/{create-condition.d.ts → Core/create-condition.d.ts} +0 -0
- /package/dist/types/examples/{create-trigger-list.d.ts → Core/create-trigger-list.d.ts} +0 -0
- /package/dist/types/examples/{create-trigger.d.ts → Core/create-trigger.d.ts} +0 -0
- /package/dist/types/examples/{delete-edge.d.ts → Core/delete-edge.d.ts} +0 -0
- /package/dist/types/examples/{login.d.ts → Core/login.d.ts} +0 -0
- /package/dist/types/examples/{rpcServices.d.ts → Core/rpcServices.d.ts} +0 -0
- /package/dist/types/examples/{sessionKeyPermissions.d.ts → Core/sessionKeyPermissions.d.ts} +0 -0
- /package/dist/types/examples/{update-action.d.ts → Core/update-action.d.ts} +0 -0
- /package/dist/types/examples/{version.d.ts → Core/version.d.ts} +0 -0
- /package/dist/types/examples/{aave-trigger-borrow-action-borrow.d.ts → DeFi/AAVE/aave-trigger-borrow-action-borrow.d.ts} +0 -0
- /package/dist/types/examples/{aave-trigger-supply-action-supply.d.ts → DeFi/AAVE/aave-trigger-supply-action-supply.d.ts} +0 -0
- /package/dist/types/examples/{compound-supply-trigger-and-supply-action.d.ts → DeFi/Compound/compound-supply-trigger-and-supply-action.d.ts} +0 -0
- /package/dist/types/examples/{compound-withdraw-trigger-and-withdraw-action.d.ts → DeFi/Compound/compound-withdraw-trigger-and-withdraw-action.d.ts} +0 -0
- /package/dist/types/examples/{ionic-base-supply.d.ts → DeFi/Ionic/ionic-base-supply.d.ts} +0 -0
- /package/dist/types/examples/{ionic-base-withdraw.d.ts → DeFi/Ionic/ionic-base-withdraw.d.ts} +0 -0
- /package/dist/types/examples/{ionic-trigger-lending.d.ts → DeFi/Ionic/ionic-trigger-lending.d.ts} +0 -0
- /package/dist/types/examples/{ionic-trigger-withdraw.d.ts → DeFi/Ionic/ionic-trigger-withdraw.d.ts} +0 -0
- /package/dist/{src/models/Condition.js → types/examples/DeFi/Ironclad/ironclad-trigger-borrow-action-withdraw.d.ts} +0 -0
- /package/dist/{src/services/AutomationService.js → types/examples/DeFi/Ironclad/ironclad-trigger-supply-action-supply.d.ts} +0 -0
- /package/dist/types/examples/{moonwell-borrow-trigger-deposit-action.d.ts → DeFi/Moonwell/moonwell-borrow-trigger-deposit-action.d.ts} +0 -0
- /package/dist/types/examples/{moonwell-borrow.d.ts → DeFi/Moonwell/moonwell-borrow.d.ts} +0 -0
- /package/dist/types/examples/{moonwell-repay.d.ts → DeFi/Moonwell/moonwell-repay.d.ts} +0 -0
- /package/dist/types/examples/{moonwell-supply-trigger-withdraw-action.d.ts → DeFi/Moonwell/moonwell-supply-trigger-withdraw-action.d.ts} +0 -0
- /package/dist/types/examples/{create-odos-swap.d.ts → DeFi/Odos/create-odos-swap.d.ts} +0 -0
- /package/dist/types/examples/{create-automation.d.ts → UseCases/lending-aggregator-base.d.ts} +0 -0
- /package/dist/types/examples/{create-workflow-with-condition-and-split.d.ts → UseCases/lending-aggregator-mode.d.ts} +0 -0
- /package/dist/types/examples/{create-workflow-with-condition.d.ts → Workflow/create-workflow-with-condition-and-split.d.ts} +0 -0
- /package/dist/types/examples/{create-workflow-with-external-variable-condition.d.ts → Workflow/create-workflow-with-condition.d.ts} +0 -0
- /package/dist/types/examples/{create-workflow-with-notes.d.ts → Workflow/create-workflow-with-external-variable-condition.d.ts} +0 -0
- /package/dist/types/examples/{create-workflow-with-split.d.ts → Workflow/create-workflow-with-notes.d.ts} +0 -0
- /package/dist/types/examples/{create-workflow-with-variables.d.ts → Workflow/create-workflow-with-split.d.ts} +0 -0
- /package/dist/types/examples/{create-workflow.d.ts → Workflow/create-workflow-with-variables.d.ts} +0 -0
- /package/dist/types/examples/{delete-workflow.d.ts → Workflow/create-workflow.d.ts} +0 -0
- /package/dist/types/examples/{everyhour-ifusdc-ionic.d.ts → Workflow/delete-workflow.d.ts} +0 -0
- /package/dist/types/examples/{get-all-workflows-from-user.d.ts → Workflow/get-all-workflows-from-user.d.ts} +0 -0
- /package/dist/types/examples/{load-workflow.d.ts → Workflow/load-workflow.d.ts} +0 -0
- /package/dist/types/examples/{workflow-templates.d.ts → Workflow/workflow-templates.d.ts} +0 -0
|
@@ -304,7 +304,7 @@ export const TOKENS = {
|
|
|
304
304
|
{
|
|
305
305
|
contractAddress: "0xDBFeFD2e8460a6Ee4955A68582F85708BAEA60A3",
|
|
306
306
|
name: "Super OETH",
|
|
307
|
-
symbol: "
|
|
307
|
+
symbol: "superOETHb",
|
|
308
308
|
decimals: 18,
|
|
309
309
|
image: "https://assets.coingecko.com/coins/images/39828/small/Super_OETH.png?1724208268"
|
|
310
310
|
},
|
package/dist/src/models/Node.js
CHANGED
|
@@ -71,7 +71,6 @@ export class Node {
|
|
|
71
71
|
return this.state;
|
|
72
72
|
}
|
|
73
73
|
setParameter(key, value) {
|
|
74
|
-
console.log(`${key} - ${value}`);
|
|
75
74
|
if (key in this.parameters) {
|
|
76
75
|
const param = this.parameters[key];
|
|
77
76
|
try {
|
|
@@ -186,7 +185,6 @@ export class Node {
|
|
|
186
185
|
throw new Error('Cannot delete a node without an ID.');
|
|
187
186
|
}
|
|
188
187
|
try {
|
|
189
|
-
console.log(this.id);
|
|
190
188
|
const response = yield apiServices.delete(`/nodes/${this.id}`);
|
|
191
189
|
if (response.status === 204) {
|
|
192
190
|
return { success: true };
|
|
@@ -0,0 +1,7 @@
|
|
|
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>;
|
|
@@ -9,6 +9,14 @@ export declare const TRIGGERS: {
|
|
|
9
9
|
type: number;
|
|
10
10
|
description: string;
|
|
11
11
|
parameters: Parameter[];
|
|
12
|
+
examples: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
parameters: {
|
|
16
|
+
period: number;
|
|
17
|
+
limit: number;
|
|
18
|
+
};
|
|
19
|
+
}[];
|
|
12
20
|
blockId: number;
|
|
13
21
|
image: string;
|
|
14
22
|
};
|
|
@@ -94,6 +102,46 @@ export declare const TRIGGERS: {
|
|
|
94
102
|
image: string;
|
|
95
103
|
};
|
|
96
104
|
};
|
|
105
|
+
APPROVAL: {
|
|
106
|
+
description: string;
|
|
107
|
+
chains: number[];
|
|
108
|
+
image: string;
|
|
109
|
+
APPROVAL: {
|
|
110
|
+
name: string;
|
|
111
|
+
description: string;
|
|
112
|
+
type: number;
|
|
113
|
+
output: {
|
|
114
|
+
owner: string;
|
|
115
|
+
spender: string;
|
|
116
|
+
value: string;
|
|
117
|
+
transactionHash: string;
|
|
118
|
+
};
|
|
119
|
+
parameters: Parameter[];
|
|
120
|
+
frontendHelpers: {
|
|
121
|
+
output: {
|
|
122
|
+
value: {
|
|
123
|
+
erc20Token: {
|
|
124
|
+
contractAddress: string;
|
|
125
|
+
chainId: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
examples: {
|
|
131
|
+
name: string;
|
|
132
|
+
description: string;
|
|
133
|
+
parameters: ({
|
|
134
|
+
key: string;
|
|
135
|
+
value: number;
|
|
136
|
+
} | {
|
|
137
|
+
key: string;
|
|
138
|
+
value: string;
|
|
139
|
+
})[];
|
|
140
|
+
}[];
|
|
141
|
+
blockId: number;
|
|
142
|
+
image: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
97
145
|
ON_CHAIN_PRICE_MOVEMENT: {
|
|
98
146
|
description: string;
|
|
99
147
|
chains: number[];
|
|
@@ -509,6 +557,59 @@ export declare const TRIGGERS: {
|
|
|
509
557
|
image: string;
|
|
510
558
|
};
|
|
511
559
|
};
|
|
560
|
+
IRONCLAD: {
|
|
561
|
+
description: string;
|
|
562
|
+
chains: number[];
|
|
563
|
+
image: string;
|
|
564
|
+
LENDING_RATE: {
|
|
565
|
+
name: string;
|
|
566
|
+
description: string;
|
|
567
|
+
prototype: string;
|
|
568
|
+
type: number;
|
|
569
|
+
method: string;
|
|
570
|
+
parameters: Parameter[];
|
|
571
|
+
output: {
|
|
572
|
+
lendingRate: string;
|
|
573
|
+
};
|
|
574
|
+
examples: {
|
|
575
|
+
name: string;
|
|
576
|
+
description: string;
|
|
577
|
+
parameters: ({
|
|
578
|
+
key: string;
|
|
579
|
+
value: number;
|
|
580
|
+
} | {
|
|
581
|
+
key: string;
|
|
582
|
+
value: string;
|
|
583
|
+
})[];
|
|
584
|
+
}[];
|
|
585
|
+
blockId: number;
|
|
586
|
+
image: string;
|
|
587
|
+
};
|
|
588
|
+
BORROWING_RATES: {
|
|
589
|
+
name: string;
|
|
590
|
+
description: string;
|
|
591
|
+
type: number;
|
|
592
|
+
prototype: string;
|
|
593
|
+
method: string;
|
|
594
|
+
parameters: Parameter[];
|
|
595
|
+
output: {
|
|
596
|
+
borrowingRate: string;
|
|
597
|
+
};
|
|
598
|
+
examples: {
|
|
599
|
+
name: string;
|
|
600
|
+
description: string;
|
|
601
|
+
parameters: ({
|
|
602
|
+
key: string;
|
|
603
|
+
value: number;
|
|
604
|
+
} | {
|
|
605
|
+
key: string;
|
|
606
|
+
value: string;
|
|
607
|
+
})[];
|
|
608
|
+
}[];
|
|
609
|
+
blockId: number;
|
|
610
|
+
image: string;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
512
613
|
};
|
|
513
614
|
DEXES: {
|
|
514
615
|
ODOS: {
|
|
@@ -560,6 +661,288 @@ export declare const TRIGGERS: {
|
|
|
560
661
|
image: string;
|
|
561
662
|
};
|
|
562
663
|
};
|
|
664
|
+
UNISWAP: {
|
|
665
|
+
description: string;
|
|
666
|
+
chains: number[];
|
|
667
|
+
image: string;
|
|
668
|
+
V3_SWAP: {
|
|
669
|
+
name: string;
|
|
670
|
+
description: string;
|
|
671
|
+
type: number;
|
|
672
|
+
output: {
|
|
673
|
+
sender: string;
|
|
674
|
+
recipient: string;
|
|
675
|
+
amount0: string;
|
|
676
|
+
amount1: string;
|
|
677
|
+
sqrtPriceX96: string;
|
|
678
|
+
liquidity: string;
|
|
679
|
+
tick: string;
|
|
680
|
+
transactionHash: string;
|
|
681
|
+
};
|
|
682
|
+
parameters: Parameter[];
|
|
683
|
+
frontendHelpers: {
|
|
684
|
+
output: {
|
|
685
|
+
amount0: {
|
|
686
|
+
erc20Token: {
|
|
687
|
+
contractAddress: string;
|
|
688
|
+
chainId: string;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
amount1: {
|
|
692
|
+
erc20Token: {
|
|
693
|
+
contractAddress: string;
|
|
694
|
+
chainId: string;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
examples: {
|
|
700
|
+
name: string;
|
|
701
|
+
description: string;
|
|
702
|
+
parameters: ({
|
|
703
|
+
key: string;
|
|
704
|
+
value: number;
|
|
705
|
+
} | {
|
|
706
|
+
key: string;
|
|
707
|
+
value: string;
|
|
708
|
+
})[];
|
|
709
|
+
}[];
|
|
710
|
+
blockId: number;
|
|
711
|
+
image: string;
|
|
712
|
+
};
|
|
713
|
+
V2_SWAP: {
|
|
714
|
+
name: string;
|
|
715
|
+
description: string;
|
|
716
|
+
type: number;
|
|
717
|
+
output: {
|
|
718
|
+
sender: string;
|
|
719
|
+
amount0In: string;
|
|
720
|
+
amount1In: string;
|
|
721
|
+
amount0Out: string;
|
|
722
|
+
amount1Out: string;
|
|
723
|
+
to: string;
|
|
724
|
+
transactionHash: string;
|
|
725
|
+
};
|
|
726
|
+
parameters: Parameter[];
|
|
727
|
+
frontendHelpers: {
|
|
728
|
+
output: {
|
|
729
|
+
amount0In: {
|
|
730
|
+
erc20Token: {
|
|
731
|
+
contractAddress: string;
|
|
732
|
+
chainId: string;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
amount1In: {
|
|
736
|
+
erc20Token: {
|
|
737
|
+
contractAddress: string;
|
|
738
|
+
chainId: string;
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
examples: {
|
|
744
|
+
name: string;
|
|
745
|
+
description: string;
|
|
746
|
+
parameters: ({
|
|
747
|
+
key: string;
|
|
748
|
+
value: number;
|
|
749
|
+
} | {
|
|
750
|
+
key: string;
|
|
751
|
+
value: string;
|
|
752
|
+
})[];
|
|
753
|
+
}[];
|
|
754
|
+
blockId: number;
|
|
755
|
+
image: string;
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
AERODROME: {
|
|
759
|
+
description: string;
|
|
760
|
+
chains: number[];
|
|
761
|
+
image: string;
|
|
762
|
+
SWAP_IN_CONCENTRATED_POOL: {
|
|
763
|
+
name: string;
|
|
764
|
+
description: string;
|
|
765
|
+
type: number;
|
|
766
|
+
output: {
|
|
767
|
+
sender: string;
|
|
768
|
+
recipient: string;
|
|
769
|
+
amount0: string;
|
|
770
|
+
amount1: string;
|
|
771
|
+
sqrtPriceX96: string;
|
|
772
|
+
liquidity: string;
|
|
773
|
+
tick: string;
|
|
774
|
+
transactionHash: string;
|
|
775
|
+
};
|
|
776
|
+
parameters: Parameter[];
|
|
777
|
+
frontendHelpers: {
|
|
778
|
+
output: {
|
|
779
|
+
amount0: {
|
|
780
|
+
erc20Token: {
|
|
781
|
+
contractAddress: string;
|
|
782
|
+
chainId: string;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
amount1: {
|
|
786
|
+
erc20Token: {
|
|
787
|
+
contractAddress: string;
|
|
788
|
+
chainId: string;
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
examples: {
|
|
794
|
+
name: string;
|
|
795
|
+
description: string;
|
|
796
|
+
parameters: ({
|
|
797
|
+
key: string;
|
|
798
|
+
value: number;
|
|
799
|
+
} | {
|
|
800
|
+
key: string;
|
|
801
|
+
value: string;
|
|
802
|
+
})[];
|
|
803
|
+
}[];
|
|
804
|
+
blockId: number;
|
|
805
|
+
image: string;
|
|
806
|
+
};
|
|
807
|
+
SWAP_IN_BASIC_POOL: {
|
|
808
|
+
name: string;
|
|
809
|
+
description: string;
|
|
810
|
+
type: number;
|
|
811
|
+
output: {
|
|
812
|
+
sender: string;
|
|
813
|
+
to: string;
|
|
814
|
+
amount0In: string;
|
|
815
|
+
amount1In: string;
|
|
816
|
+
amount0Out: string;
|
|
817
|
+
amount1Out: string;
|
|
818
|
+
transactionHash: string;
|
|
819
|
+
};
|
|
820
|
+
parameters: Parameter[];
|
|
821
|
+
frontendHelpers: {
|
|
822
|
+
output: {
|
|
823
|
+
amount0In: {
|
|
824
|
+
erc20Token: {
|
|
825
|
+
contractAddress: string;
|
|
826
|
+
chainId: string;
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
amount1In: {
|
|
830
|
+
erc20Token: {
|
|
831
|
+
contractAddress: string;
|
|
832
|
+
chainId: string;
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
examples: {
|
|
838
|
+
name: string;
|
|
839
|
+
description: string;
|
|
840
|
+
parameters: ({
|
|
841
|
+
key: string;
|
|
842
|
+
value: number;
|
|
843
|
+
} | {
|
|
844
|
+
key: string;
|
|
845
|
+
value: string;
|
|
846
|
+
})[];
|
|
847
|
+
}[];
|
|
848
|
+
blockId: number;
|
|
849
|
+
image: string;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
VELODROME: {
|
|
853
|
+
description: string;
|
|
854
|
+
chains: number[];
|
|
855
|
+
image: string;
|
|
856
|
+
SWAP_IN_CONCENTRATED_POOL: {
|
|
857
|
+
name: string;
|
|
858
|
+
description: string;
|
|
859
|
+
type: number;
|
|
860
|
+
output: {
|
|
861
|
+
sender: string;
|
|
862
|
+
recipient: string;
|
|
863
|
+
amount0: string;
|
|
864
|
+
amount1: string;
|
|
865
|
+
sqrtPriceX96: string;
|
|
866
|
+
liquidity: string;
|
|
867
|
+
tick: string;
|
|
868
|
+
transactionHash: string;
|
|
869
|
+
};
|
|
870
|
+
parameters: Parameter[];
|
|
871
|
+
frontendHelpers: {
|
|
872
|
+
output: {
|
|
873
|
+
amount0: {
|
|
874
|
+
erc20Token: {
|
|
875
|
+
contractAddress: string;
|
|
876
|
+
chainId: string;
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
amount1: {
|
|
880
|
+
erc20Token: {
|
|
881
|
+
contractAddress: string;
|
|
882
|
+
chainId: string;
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
examples: {
|
|
888
|
+
name: string;
|
|
889
|
+
description: string;
|
|
890
|
+
parameters: ({
|
|
891
|
+
key: string;
|
|
892
|
+
value: number;
|
|
893
|
+
} | {
|
|
894
|
+
key: string;
|
|
895
|
+
value: string;
|
|
896
|
+
})[];
|
|
897
|
+
}[];
|
|
898
|
+
blockId: number;
|
|
899
|
+
image: string;
|
|
900
|
+
};
|
|
901
|
+
SWAP_IN_BASIC_POOL: {
|
|
902
|
+
name: string;
|
|
903
|
+
description: string;
|
|
904
|
+
type: number;
|
|
905
|
+
output: {
|
|
906
|
+
sender: string;
|
|
907
|
+
to: string;
|
|
908
|
+
amount0In: string;
|
|
909
|
+
amount1In: string;
|
|
910
|
+
amount0Out: string;
|
|
911
|
+
amount1Out: string;
|
|
912
|
+
transactionHash: string;
|
|
913
|
+
};
|
|
914
|
+
parameters: Parameter[];
|
|
915
|
+
frontendHelpers: {
|
|
916
|
+
output: {
|
|
917
|
+
amount0In: {
|
|
918
|
+
erc20Token: {
|
|
919
|
+
contractAddress: string;
|
|
920
|
+
chainId: string;
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
amount1In: {
|
|
924
|
+
erc20Token: {
|
|
925
|
+
contractAddress: string;
|
|
926
|
+
chainId: string;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
examples: {
|
|
932
|
+
name: string;
|
|
933
|
+
description: string;
|
|
934
|
+
parameters: ({
|
|
935
|
+
key: string;
|
|
936
|
+
value: number;
|
|
937
|
+
} | {
|
|
938
|
+
key: string;
|
|
939
|
+
value: string;
|
|
940
|
+
})[];
|
|
941
|
+
}[];
|
|
942
|
+
blockId: number;
|
|
943
|
+
image: string;
|
|
944
|
+
};
|
|
945
|
+
};
|
|
563
946
|
};
|
|
564
947
|
SOCIALS: {
|
|
565
948
|
MODE_NAME_SERVICE: {
|
|
@@ -781,6 +1164,7 @@ export declare const ACTIONS: {
|
|
|
781
1164
|
})[];
|
|
782
1165
|
}[];
|
|
783
1166
|
permissions: {
|
|
1167
|
+
chainId: string;
|
|
784
1168
|
approvedTargets: string[];
|
|
785
1169
|
label: string[];
|
|
786
1170
|
labelNotAuthorized: string[];
|
|
@@ -921,6 +1305,7 @@ export declare const ACTIONS: {
|
|
|
921
1305
|
})[];
|
|
922
1306
|
}[];
|
|
923
1307
|
permissions: {
|
|
1308
|
+
chainId: string;
|
|
924
1309
|
approvedTargets: string[];
|
|
925
1310
|
label: string[];
|
|
926
1311
|
labelNotAuthorized: string[];
|
|
@@ -967,6 +1352,7 @@ export declare const ACTIONS: {
|
|
|
967
1352
|
transactionHash: string;
|
|
968
1353
|
};
|
|
969
1354
|
permissions: {
|
|
1355
|
+
chainId: string;
|
|
970
1356
|
approvedTargets: string[];
|
|
971
1357
|
label: string[];
|
|
972
1358
|
labelNotAuthorized: string[];
|
|
@@ -1009,6 +1395,7 @@ export declare const ACTIONS: {
|
|
|
1009
1395
|
transactionHash: string;
|
|
1010
1396
|
};
|
|
1011
1397
|
permissions: {
|
|
1398
|
+
chainId: string;
|
|
1012
1399
|
approvedTargets: string[];
|
|
1013
1400
|
label: string[];
|
|
1014
1401
|
labelNotAuthorized: string[];
|
|
@@ -1044,16 +1431,11 @@ export declare const ACTIONS: {
|
|
|
1044
1431
|
transactionHash: string;
|
|
1045
1432
|
};
|
|
1046
1433
|
permissions: {
|
|
1434
|
+
chainId: string;
|
|
1047
1435
|
approvedTargets: string[];
|
|
1048
1436
|
label: string[];
|
|
1049
1437
|
labelNotAuthorized: string[];
|
|
1050
1438
|
};
|
|
1051
|
-
checks: {
|
|
1052
|
-
type: number;
|
|
1053
|
-
chainId: string;
|
|
1054
|
-
contractAddress: string;
|
|
1055
|
-
amount: string;
|
|
1056
|
-
}[];
|
|
1057
1439
|
blockId: number;
|
|
1058
1440
|
image: string;
|
|
1059
1441
|
};
|
|
@@ -1089,6 +1471,7 @@ export declare const ACTIONS: {
|
|
|
1089
1471
|
transactionHash: string;
|
|
1090
1472
|
};
|
|
1091
1473
|
permissions: {
|
|
1474
|
+
chainId: string;
|
|
1092
1475
|
approvedTargets: string[];
|
|
1093
1476
|
label: string[];
|
|
1094
1477
|
labelNotAuthorized: string[];
|
|
@@ -1102,10 +1485,10 @@ export declare const ACTIONS: {
|
|
|
1102
1485
|
description: string;
|
|
1103
1486
|
type: number;
|
|
1104
1487
|
method: string;
|
|
1105
|
-
contractAddress: string;
|
|
1106
1488
|
parameters: Parameter[];
|
|
1107
1489
|
examples: never[];
|
|
1108
1490
|
permissions: {
|
|
1491
|
+
chainId: string;
|
|
1109
1492
|
approvedTargets: string[];
|
|
1110
1493
|
label: string[];
|
|
1111
1494
|
labelNotAuthorized: string[];
|
|
@@ -1160,6 +1543,7 @@ export declare const ACTIONS: {
|
|
|
1160
1543
|
transactionHash: string;
|
|
1161
1544
|
};
|
|
1162
1545
|
permissions: {
|
|
1546
|
+
chainId: string;
|
|
1163
1547
|
approvedTargets: string[];
|
|
1164
1548
|
label: string[];
|
|
1165
1549
|
labelNotAuthorized: string[];
|
|
@@ -1186,9 +1570,9 @@ export declare const ACTIONS: {
|
|
|
1186
1570
|
}[];
|
|
1187
1571
|
output: {
|
|
1188
1572
|
transactionHash: string;
|
|
1189
|
-
amountWithdrawn: string;
|
|
1190
1573
|
};
|
|
1191
1574
|
permissions: {
|
|
1575
|
+
chainId: string;
|
|
1192
1576
|
approvedTargets: string[];
|
|
1193
1577
|
label: string[];
|
|
1194
1578
|
labelNotAuthorized: string[];
|
|
@@ -1228,6 +1612,7 @@ export declare const ACTIONS: {
|
|
|
1228
1612
|
transactionHash: string;
|
|
1229
1613
|
};
|
|
1230
1614
|
permissions: {
|
|
1615
|
+
chainId: string;
|
|
1231
1616
|
approvedTargets: string[];
|
|
1232
1617
|
label: string[];
|
|
1233
1618
|
labelNotAuthorized: string[];
|
|
@@ -1281,6 +1666,7 @@ export declare const ACTIONS: {
|
|
|
1281
1666
|
transactionHash: string;
|
|
1282
1667
|
};
|
|
1283
1668
|
permissions: {
|
|
1669
|
+
chainId: string;
|
|
1284
1670
|
approvedTargets: string[];
|
|
1285
1671
|
label: string[];
|
|
1286
1672
|
labelNotAuthorized: string[];
|
|
@@ -1316,6 +1702,7 @@ export declare const ACTIONS: {
|
|
|
1316
1702
|
transactionHash: string;
|
|
1317
1703
|
};
|
|
1318
1704
|
permissions: {
|
|
1705
|
+
chainId: string;
|
|
1319
1706
|
approvedTargets: string[];
|
|
1320
1707
|
label: string[];
|
|
1321
1708
|
labelNotAuthorized: string[];
|
|
@@ -1355,6 +1742,7 @@ export declare const ACTIONS: {
|
|
|
1355
1742
|
transactionHash: string;
|
|
1356
1743
|
};
|
|
1357
1744
|
permissions: {
|
|
1745
|
+
chainId: string;
|
|
1358
1746
|
approvedTargets: string[];
|
|
1359
1747
|
label: string[];
|
|
1360
1748
|
labelNotAuthorized: string[];
|
|
@@ -1371,6 +1759,7 @@ export declare const ACTIONS: {
|
|
|
1371
1759
|
parameters: Parameter[];
|
|
1372
1760
|
examples: never[];
|
|
1373
1761
|
permissions: {
|
|
1762
|
+
chainId: string;
|
|
1374
1763
|
approvedTargets: string[];
|
|
1375
1764
|
label: string[];
|
|
1376
1765
|
labelNotAuthorized: string[];
|
|
@@ -1415,6 +1804,7 @@ export declare const ACTIONS: {
|
|
|
1415
1804
|
transactionHash: string;
|
|
1416
1805
|
};
|
|
1417
1806
|
permissions: {
|
|
1807
|
+
chainId: string;
|
|
1418
1808
|
approvedTargets: string[];
|
|
1419
1809
|
label: string[];
|
|
1420
1810
|
labelNotAuthorized: string[];
|
|
@@ -1450,6 +1840,7 @@ export declare const ACTIONS: {
|
|
|
1450
1840
|
transactionHash: string;
|
|
1451
1841
|
};
|
|
1452
1842
|
permissions: {
|
|
1843
|
+
chainId: string;
|
|
1453
1844
|
approvedTargets: string[];
|
|
1454
1845
|
label: string[];
|
|
1455
1846
|
labelNotAuthorized: string[];
|
|
@@ -1458,6 +1849,86 @@ export declare const ACTIONS: {
|
|
|
1458
1849
|
image: string;
|
|
1459
1850
|
};
|
|
1460
1851
|
};
|
|
1852
|
+
IRONCLAD: {
|
|
1853
|
+
description: string;
|
|
1854
|
+
chains: number[];
|
|
1855
|
+
image: string;
|
|
1856
|
+
SUPPLY: {
|
|
1857
|
+
name: string;
|
|
1858
|
+
description: string;
|
|
1859
|
+
type: number;
|
|
1860
|
+
method: string;
|
|
1861
|
+
parameters: Parameter[];
|
|
1862
|
+
requiredApprovals: {
|
|
1863
|
+
address: string;
|
|
1864
|
+
amount: string;
|
|
1865
|
+
to: string;
|
|
1866
|
+
}[];
|
|
1867
|
+
checks: {
|
|
1868
|
+
type: number;
|
|
1869
|
+
chainId: string;
|
|
1870
|
+
contractAddress: string;
|
|
1871
|
+
amount: string;
|
|
1872
|
+
}[];
|
|
1873
|
+
examples: {
|
|
1874
|
+
name: string;
|
|
1875
|
+
description: string;
|
|
1876
|
+
parameters: ({
|
|
1877
|
+
key: string;
|
|
1878
|
+
value: number;
|
|
1879
|
+
} | {
|
|
1880
|
+
key: string;
|
|
1881
|
+
value: string;
|
|
1882
|
+
})[];
|
|
1883
|
+
}[];
|
|
1884
|
+
output: {
|
|
1885
|
+
transactionHash: string;
|
|
1886
|
+
};
|
|
1887
|
+
permissions: {
|
|
1888
|
+
chainId: string;
|
|
1889
|
+
approvedTargets: string[];
|
|
1890
|
+
label: string[];
|
|
1891
|
+
labelNotAuthorized: string[];
|
|
1892
|
+
};
|
|
1893
|
+
blockId: number;
|
|
1894
|
+
image: string;
|
|
1895
|
+
};
|
|
1896
|
+
WITHDRAW: {
|
|
1897
|
+
name: string;
|
|
1898
|
+
description: string;
|
|
1899
|
+
type: number;
|
|
1900
|
+
method: string;
|
|
1901
|
+
parameters: Parameter[];
|
|
1902
|
+
examples: {
|
|
1903
|
+
name: string;
|
|
1904
|
+
description: string;
|
|
1905
|
+
parameters: ({
|
|
1906
|
+
key: string;
|
|
1907
|
+
value: number;
|
|
1908
|
+
} | {
|
|
1909
|
+
key: string;
|
|
1910
|
+
value: string;
|
|
1911
|
+
})[];
|
|
1912
|
+
}[];
|
|
1913
|
+
output: {
|
|
1914
|
+
transactionHash: string;
|
|
1915
|
+
};
|
|
1916
|
+
permissions: {
|
|
1917
|
+
chainId: string;
|
|
1918
|
+
approvedTargets: string[];
|
|
1919
|
+
label: string[];
|
|
1920
|
+
labelNotAuthorized: string[];
|
|
1921
|
+
};
|
|
1922
|
+
checks: {
|
|
1923
|
+
type: number;
|
|
1924
|
+
chainId: string;
|
|
1925
|
+
contractAddress: string;
|
|
1926
|
+
amount: string;
|
|
1927
|
+
}[];
|
|
1928
|
+
blockId: number;
|
|
1929
|
+
image: string;
|
|
1930
|
+
};
|
|
1931
|
+
};
|
|
1461
1932
|
};
|
|
1462
1933
|
SWAP: {
|
|
1463
1934
|
ODOS: {
|
|
@@ -1515,6 +1986,7 @@ export declare const ACTIONS: {
|
|
|
1515
1986
|
})[];
|
|
1516
1987
|
}[];
|
|
1517
1988
|
permissions: {
|
|
1989
|
+
chainId: string;
|
|
1518
1990
|
approvedTargets: string[];
|
|
1519
1991
|
label: string[];
|
|
1520
1992
|
labelNotAuthorized: string[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.15";
|
|
2
2
|
export declare function compareVersions(v1: string, v2: string): number;
|