@defisaver/sdk 1.3.38-semi-continuous-dev → 1.3.38

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.
Files changed (94) hide show
  1. package/docs/DEV.md +37 -0
  2. package/esm/src/actions/flashloan/AaveV2FlashLoanAction.d.ts +2 -4
  3. package/esm/src/actions/flashloan/AaveV2FlashLoanAction.js +7 -4
  4. package/esm/src/actions/flashloan/AaveV3FlashLoanAction.d.ts +2 -4
  5. package/esm/src/actions/flashloan/AaveV3FlashLoanAction.js +7 -4
  6. package/esm/src/actions/flashloan/BalancerFlashLoanAction.d.ts +2 -4
  7. package/esm/src/actions/flashloan/BalancerFlashLoanAction.js +7 -4
  8. package/esm/src/actions/flashloan/BalancerV3FlashLoanAction.d.ts +2 -4
  9. package/esm/src/actions/flashloan/BalancerV3FlashLoanAction.js +7 -20
  10. package/esm/src/actions/flashloan/CurveUsdFlashLoanAction.d.ts +2 -4
  11. package/esm/src/actions/flashloan/CurveUsdFlashLoanAction.js +7 -4
  12. package/esm/src/actions/flashloan/FLAction.d.ts +7 -5
  13. package/esm/src/actions/flashloan/FLAction.js +12 -20
  14. package/esm/src/actions/flashloan/FLSource.d.ts +18 -0
  15. package/esm/src/actions/flashloan/FLSource.js +42 -0
  16. package/esm/src/actions/flashloan/FlashLoanId.d.ts +2 -1
  17. package/esm/src/actions/flashloan/GhoFlashLoanAction.d.ts +2 -4
  18. package/esm/src/actions/flashloan/GhoFlashLoanAction.js +7 -4
  19. package/esm/src/actions/flashloan/MakerFlashLoanAction.d.ts +2 -4
  20. package/esm/src/actions/flashloan/MakerFlashLoanAction.js +7 -4
  21. package/esm/src/actions/flashloan/MorphoBlueFlashLoanAction.d.ts +2 -4
  22. package/esm/src/actions/flashloan/MorphoBlueFlashLoanAction.js +7 -4
  23. package/esm/src/actions/flashloan/SparkFlashLoanAction.d.ts +2 -4
  24. package/esm/src/actions/flashloan/SparkFlashLoanAction.js +7 -4
  25. package/esm/src/actions/flashloan/UniV3FlashLoanAction.d.ts +2 -4
  26. package/esm/src/actions/flashloan/UniV3FlashLoanAction.js +7 -4
  27. package/esm/src/actions/flashloan/index.d.ts +1 -14
  28. package/esm/src/actions/flashloan/index.js +1 -14
  29. package/esm/src/addresses.d.ts +1 -67
  30. package/esm/src/addresses.js +105 -87
  31. package/esm/src/index.d.ts +4 -268
  32. package/package.json +1 -1
  33. package/src/actions/flashloan/AaveV2FlashLoanAction.ts +7 -11
  34. package/src/actions/flashloan/AaveV3FlashLoanAction.ts +7 -11
  35. package/src/actions/flashloan/BalancerFlashLoanAction.ts +7 -11
  36. package/src/actions/flashloan/BalancerV3FlashLoanAction.ts +7 -27
  37. package/src/actions/flashloan/CurveUsdFlashLoanAction.ts +7 -11
  38. package/src/actions/flashloan/FLAction.ts +18 -21
  39. package/src/actions/flashloan/FLSource.ts +44 -0
  40. package/src/actions/flashloan/FlashLoanId.ts +3 -1
  41. package/src/actions/flashloan/GhoFlashLoanAction.ts +7 -11
  42. package/src/actions/flashloan/MakerFlashLoanAction.ts +7 -11
  43. package/src/actions/flashloan/MorphoBlueFlashLoanAction.ts +7 -11
  44. package/src/actions/flashloan/SparkFlashLoanAction.ts +7 -11
  45. package/src/actions/flashloan/UniV3FlashLoanAction.ts +7 -11
  46. package/src/actions/flashloan/index.ts +1 -14
  47. package/src/addresses.ts +127 -90
  48. package/test/accessLists/Recipe.js +1 -1
  49. package/test/accessLists/access-lists.js +1 -1
  50. package/test/actions/flashloan/FLAction.js +77 -0
  51. package/umd/index.js +1090 -1435
  52. package/esm/src/actions/flashloan/AaveV2FlashLoanPaybackAction.d.ts +0 -14
  53. package/esm/src/actions/flashloan/AaveV2FlashLoanPaybackAction.js +0 -16
  54. package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.d.ts +0 -18
  55. package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.js +0 -20
  56. package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.d.ts +0 -14
  57. package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.js +0 -16
  58. package/esm/src/actions/flashloan/AaveV3FlashLoanPaybackAction.d.ts +0 -14
  59. package/esm/src/actions/flashloan/AaveV3FlashLoanPaybackAction.js +0 -16
  60. package/esm/src/actions/flashloan/BalancerFlashLoanPaybackAction.d.ts +0 -14
  61. package/esm/src/actions/flashloan/BalancerFlashLoanPaybackAction.js +0 -16
  62. package/esm/src/actions/flashloan/DyDxFlashLoanAction.d.ts +0 -16
  63. package/esm/src/actions/flashloan/DyDxFlashLoanAction.js +0 -18
  64. package/esm/src/actions/flashloan/DyDxFlashLoanPaybackAction.d.ts +0 -14
  65. package/esm/src/actions/flashloan/DyDxFlashLoanPaybackAction.js +0 -16
  66. package/esm/src/actions/flashloan/EulerFlashLoanAction.d.ts +0 -16
  67. package/esm/src/actions/flashloan/EulerFlashLoanAction.js +0 -18
  68. package/esm/src/actions/flashloan/EulerFlashLoanPaybackAction.d.ts +0 -14
  69. package/esm/src/actions/flashloan/EulerFlashLoanPaybackAction.js +0 -16
  70. package/esm/src/actions/flashloan/GhoFlashLoanPaybackAction.d.ts +0 -13
  71. package/esm/src/actions/flashloan/GhoFlashLoanPaybackAction.js +0 -15
  72. package/esm/src/actions/flashloan/MakerFlashLoanPaybackAction.d.ts +0 -13
  73. package/esm/src/actions/flashloan/MakerFlashLoanPaybackAction.js +0 -15
  74. package/esm/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.d.ts +0 -14
  75. package/esm/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.js +0 -16
  76. package/esm/src/actions/flashloan/SparkFlashLoanPaybackAction.d.ts +0 -14
  77. package/esm/src/actions/flashloan/SparkFlashLoanPaybackAction.js +0 -16
  78. package/esm/src/actions/flashloan/UniV3FlashLoanPaybackAction.d.ts +0 -16
  79. package/esm/src/actions/flashloan/UniV3FlashLoanPaybackAction.js +0 -18
  80. package/src/actions/flashloan/AaveV2FlashLoanPaybackAction.ts +0 -18
  81. package/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.ts +0 -27
  82. package/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.ts +0 -18
  83. package/src/actions/flashloan/AaveV3FlashLoanPaybackAction.ts +0 -18
  84. package/src/actions/flashloan/BalancerFlashLoanPaybackAction.ts +0 -18
  85. package/src/actions/flashloan/DyDxFlashLoanAction.ts +0 -24
  86. package/src/actions/flashloan/DyDxFlashLoanPaybackAction.ts +0 -18
  87. package/src/actions/flashloan/EulerFlashLoanAction.ts +0 -25
  88. package/src/actions/flashloan/EulerFlashLoanPaybackAction.ts +0 -18
  89. package/src/actions/flashloan/GhoFlashLoanPaybackAction.ts +0 -17
  90. package/src/actions/flashloan/MakerFlashLoanPaybackAction.ts +0 -17
  91. package/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.ts +0 -18
  92. package/src/actions/flashloan/SparkFlashLoanPaybackAction.ts +0 -18
  93. package/src/actions/flashloan/UniV3FlashLoanPaybackAction.ts +0 -20
  94. package/test/actions/flashloan/DyDxFlashLoanAction.js +0 -84
@@ -1,27 +1,14 @@
1
- export * from './DyDxFlashLoanAction';
2
- export * from './DyDxFlashLoanPaybackAction';
3
1
  export * from './AaveV2FlashLoanAction';
4
- export * from './AaveV2FlashLoanPaybackAction';
5
2
  export * from './AaveV3FlashLoanAction';
6
- export * from './AaveV3FlashLoanPaybackAction';
7
- export * from './AaveV3FlashLoanNoFeeAction';
8
- export * from './AaveV3FlashLoanNoFeePaybackAction';
9
3
  export * from './AaveV3FlashLoanCarryDebtAction';
10
4
  export * from './SparkFlashLoanAction';
11
- export * from './SparkFlashLoanPaybackAction';
12
5
  export * from './MakerFlashLoanAction';
13
- export * from './MakerFlashLoanPaybackAction';
14
6
  export * from './BalancerFlashLoanAction';
15
- export * from './BalancerFlashLoanPaybackAction';
16
- export * from './EulerFlashLoanAction';
17
- export * from './EulerFlashLoanPaybackAction';
18
7
  export * from './FLAction';
8
+ export * from './FLSource';
19
9
  export * from './UniV3FlashLoanAction';
20
- export * from './UniV3FlashLoanPaybackAction';
21
10
  export * from './GhoFlashLoanAction';
22
- export * from './GhoFlashLoanPaybackAction';
23
11
  export * from './MorphoBlueFlashLoanAction';
24
- export * from './MorphoBlueFlashLoanPaybackAction';
25
12
  export * from './FLPaybackAction';
26
13
  export * from './CurveUsdFlashLoanAction';
27
14
  export * from './BalancerV3FlashLoanAction';
@@ -1,27 +1,14 @@
1
- export * from './DyDxFlashLoanAction';
2
- export * from './DyDxFlashLoanPaybackAction';
3
1
  export * from './AaveV2FlashLoanAction';
4
- export * from './AaveV2FlashLoanPaybackAction';
5
2
  export * from './AaveV3FlashLoanAction';
6
- export * from './AaveV3FlashLoanPaybackAction';
7
- export * from './AaveV3FlashLoanNoFeeAction';
8
- export * from './AaveV3FlashLoanNoFeePaybackAction';
9
3
  export * from './AaveV3FlashLoanCarryDebtAction';
10
4
  export * from './SparkFlashLoanAction';
11
- export * from './SparkFlashLoanPaybackAction';
12
5
  export * from './MakerFlashLoanAction';
13
- export * from './MakerFlashLoanPaybackAction';
14
6
  export * from './BalancerFlashLoanAction';
15
- export * from './BalancerFlashLoanPaybackAction';
16
- export * from './EulerFlashLoanAction';
17
- export * from './EulerFlashLoanPaybackAction';
18
7
  export * from './FLAction';
8
+ export * from './FLSource';
19
9
  export * from './UniV3FlashLoanAction';
20
- export * from './UniV3FlashLoanPaybackAction';
21
10
  export * from './GhoFlashLoanAction';
22
- export * from './GhoFlashLoanPaybackAction';
23
11
  export * from './MorphoBlueFlashLoanAction';
24
- export * from './MorphoBlueFlashLoanPaybackAction';
25
12
  export * from './FLPaybackAction';
26
13
  export * from './CurveUsdFlashLoanAction';
27
14
  export * from './BalancerV3FlashLoanAction';
@@ -110,18 +110,8 @@ export declare const actionAddresses: {
110
110
  CompWithdraw: string;
111
111
  CompGetDebt: string;
112
112
  CompCollateralSwitch: string;
113
- FLAaveV2: string;
114
- FLAaveV3NoFee: string;
115
- FLAaveV3CarryDebt: string;
116
- FLAaveV3: string;
117
- FLDyDx: string;
118
- FLMaker: string;
119
- FLBalancer: string;
120
- FLSpark: string;
121
113
  FLAction: string;
122
- FLUniV3: string;
123
- FLGho: string;
124
- FLMorphoBlue: string;
114
+ FLAaveV3CarryDebt: string;
125
115
  UniSupply: string;
126
116
  UniWithdraw: string;
127
117
  UniswapClaim: string;
@@ -186,7 +176,6 @@ export declare const actionAddresses: {
186
176
  CurveWithdraw: string;
187
177
  McdBoostComposite: string;
188
178
  McdRepayComposite: string;
189
- FLEuler: string;
190
179
  TrailingStopTrigger: string;
191
180
  CBRebondTrigger: string;
192
181
  CBUpdateRebondSub: string;
@@ -336,9 +325,6 @@ export declare const actionAddresses: {
336
325
  AaveV3ClaimRewards: string;
337
326
  AaveV3DelegateWithSig: string;
338
327
  AaveV3DelegateCredit: string;
339
- FLAaveV3NoFee: string;
340
- FLAaveV3: string;
341
- FLBalancer: string;
342
328
  FLAction: string;
343
329
  FLAaveV3CarryDebt: string;
344
330
  AaveV3RatioTrigger: string;
@@ -438,13 +424,6 @@ export declare const actionAddresses: {
438
424
  CompWithdraw?: undefined;
439
425
  CompGetDebt?: undefined;
440
426
  CompCollateralSwitch?: undefined;
441
- FLAaveV2?: undefined;
442
- FLDyDx?: undefined;
443
- FLMaker?: undefined;
444
- FLSpark?: undefined;
445
- FLUniV3?: undefined;
446
- FLGho?: undefined;
447
- FLMorphoBlue?: undefined;
448
427
  UniSupply?: undefined;
449
428
  UniWithdraw?: undefined;
450
429
  UniswapClaim?: undefined;
@@ -504,7 +483,6 @@ export declare const actionAddresses: {
504
483
  CurveWithdraw?: undefined;
505
484
  McdBoostComposite?: undefined;
506
485
  McdRepayComposite?: undefined;
507
- FLEuler?: undefined;
508
486
  TrailingStopTrigger?: undefined;
509
487
  CBRebondTrigger?: undefined;
510
488
  CBUpdateRebondSub?: undefined;
@@ -648,12 +626,7 @@ export declare const actionAddresses: {
648
626
  CompV3Supply: string;
649
627
  CompV3Transfer: string;
650
628
  CompV3Withdraw: string;
651
- FLAaveV3NoFee: string;
652
- FLAaveV3: string;
653
- FLBalancer: string;
654
- FLUniV3: string;
655
629
  FLAction: string;
656
- FLMorphoBlue: string;
657
630
  FLAaveV3CarryDebt: string;
658
631
  GasFeeTakerL2: string;
659
632
  AaveV3RatioCheck: string;
@@ -777,11 +750,6 @@ export declare const actionAddresses: {
777
750
  CompWithdraw?: undefined;
778
751
  CompGetDebt?: undefined;
779
752
  CompCollateralSwitch?: undefined;
780
- FLAaveV2?: undefined;
781
- FLDyDx?: undefined;
782
- FLMaker?: undefined;
783
- FLSpark?: undefined;
784
- FLGho?: undefined;
785
753
  UniSupply?: undefined;
786
754
  UniWithdraw?: undefined;
787
755
  UniswapClaim?: undefined;
@@ -841,7 +809,6 @@ export declare const actionAddresses: {
841
809
  CurveWithdraw?: undefined;
842
810
  McdBoostComposite?: undefined;
843
811
  McdRepayComposite?: undefined;
844
- FLEuler?: undefined;
845
812
  TrailingStopTrigger?: undefined;
846
813
  CBRebondTrigger?: undefined;
847
814
  CBUpdateRebondSub?: undefined;
@@ -933,11 +900,7 @@ export declare const actionAddresses: {
933
900
  MerklClaim: string;
934
901
  TransferNFT: string;
935
902
  GasFeeTakerL2: string;
936
- FLAaveV3: string;
937
- FLBalancer: string;
938
- FLUniV3: string;
939
903
  FLAction: string;
940
- FLMorphoBlue: string;
941
904
  FLAaveV3CarryDebt: string;
942
905
  AaveV3Withdraw: string;
943
906
  AaveV3SwapBorrowRateMode: string;
@@ -1069,12 +1032,6 @@ export declare const actionAddresses: {
1069
1032
  CompWithdraw?: undefined;
1070
1033
  CompGetDebt?: undefined;
1071
1034
  CompCollateralSwitch?: undefined;
1072
- FLAaveV2?: undefined;
1073
- FLAaveV3NoFee?: undefined;
1074
- FLDyDx?: undefined;
1075
- FLMaker?: undefined;
1076
- FLSpark?: undefined;
1077
- FLGho?: undefined;
1078
1035
  UniSupply?: undefined;
1079
1036
  UniWithdraw?: undefined;
1080
1037
  UniswapClaim?: undefined;
@@ -1139,7 +1096,6 @@ export declare const actionAddresses: {
1139
1096
  CurveWithdraw?: undefined;
1140
1097
  McdBoostComposite?: undefined;
1141
1098
  McdRepayComposite?: undefined;
1142
- FLEuler?: undefined;
1143
1099
  TrailingStopTrigger?: undefined;
1144
1100
  CBRebondTrigger?: undefined;
1145
1101
  CBUpdateRebondSub?: undefined;
@@ -1234,7 +1190,6 @@ export declare const actionAddresses: {
1234
1190
  TransferNFT: string;
1235
1191
  TokenizedVaultAdapter: string;
1236
1192
  FLAction: string;
1237
- FLAaveV3: string;
1238
1193
  FLAaveV3CarryDebt: string;
1239
1194
  AaveV3Withdraw: string;
1240
1195
  AaveV3Supply: string;
@@ -1330,15 +1285,6 @@ export declare const actionAddresses: {
1330
1285
  CompWithdraw?: undefined;
1331
1286
  CompGetDebt?: undefined;
1332
1287
  CompCollateralSwitch?: undefined;
1333
- FLAaveV2?: undefined;
1334
- FLAaveV3NoFee?: undefined;
1335
- FLDyDx?: undefined;
1336
- FLMaker?: undefined;
1337
- FLBalancer?: undefined;
1338
- FLSpark?: undefined;
1339
- FLUniV3?: undefined;
1340
- FLGho?: undefined;
1341
- FLMorphoBlue?: undefined;
1342
1288
  UniSupply?: undefined;
1343
1289
  UniWithdraw?: undefined;
1344
1290
  UniswapClaim?: undefined;
@@ -1403,7 +1349,6 @@ export declare const actionAddresses: {
1403
1349
  CurveWithdraw?: undefined;
1404
1350
  McdBoostComposite?: undefined;
1405
1351
  McdRepayComposite?: undefined;
1406
- FLEuler?: undefined;
1407
1352
  TrailingStopTrigger?: undefined;
1408
1353
  CBRebondTrigger?: undefined;
1409
1354
  CBUpdateRebondSub?: undefined;
@@ -1538,7 +1483,6 @@ export declare const actionAddresses: {
1538
1483
  TransferNFT: string;
1539
1484
  TokenizedVaultAdapter: string;
1540
1485
  FLAction: string;
1541
- FLAaveV3: string;
1542
1486
  FLAaveV3CarryDebt: string;
1543
1487
  AaveV3Withdraw: string;
1544
1488
  AaveV3Supply: string;
@@ -1647,15 +1591,6 @@ export declare const actionAddresses: {
1647
1591
  CompWithdraw?: undefined;
1648
1592
  CompGetDebt?: undefined;
1649
1593
  CompCollateralSwitch?: undefined;
1650
- FLAaveV2?: undefined;
1651
- FLAaveV3NoFee?: undefined;
1652
- FLDyDx?: undefined;
1653
- FLMaker?: undefined;
1654
- FLBalancer?: undefined;
1655
- FLSpark?: undefined;
1656
- FLUniV3?: undefined;
1657
- FLGho?: undefined;
1658
- FLMorphoBlue?: undefined;
1659
1594
  UniSupply?: undefined;
1660
1595
  UniWithdraw?: undefined;
1661
1596
  UniswapClaim?: undefined;
@@ -1720,7 +1655,6 @@ export declare const actionAddresses: {
1720
1655
  CurveWithdraw?: undefined;
1721
1656
  McdBoostComposite?: undefined;
1722
1657
  McdRepayComposite?: undefined;
1723
- FLEuler?: undefined;
1724
1658
  TrailingStopTrigger?: undefined;
1725
1659
  CBRebondTrigger?: undefined;
1726
1660
  CBUpdateRebondSub?: undefined;