@defisaver/sdk 1.3.18-aave-v4-dev → 1.3.18

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 (51) hide show
  1. package/esm/src/Strategy.d.ts +0 -1
  2. package/esm/src/Strategy.js +0 -3
  3. package/esm/src/actions/checkers/index.d.ts +0 -1
  4. package/esm/src/actions/checkers/index.js +0 -1
  5. package/esm/src/actions/index.d.ts +1 -2
  6. package/esm/src/actions/index.js +1 -2
  7. package/esm/src/addresses.d.ts +0 -30
  8. package/esm/src/addresses.js +0 -6
  9. package/esm/src/index.d.ts +0 -120
  10. package/esm/src/triggers/index.d.ts +0 -3
  11. package/esm/src/triggers/index.js +0 -3
  12. package/package.json +1 -1
  13. package/src/Strategy.ts +0 -4
  14. package/src/actions/checkers/index.ts +1 -2
  15. package/src/actions/index.ts +0 -2
  16. package/src/addresses.ts +0 -7
  17. package/src/triggers/index.ts +1 -4
  18. package/umd/index.js +560 -939
  19. package/esm/src/actions/aavev4/AaveV4BorrowAction.d.ts +0 -17
  20. package/esm/src/actions/aavev4/AaveV4BorrowAction.js +0 -26
  21. package/esm/src/actions/aavev4/AaveV4CollateralSwitchAction.d.ts +0 -16
  22. package/esm/src/actions/aavev4/AaveV4CollateralSwitchAction.js +0 -24
  23. package/esm/src/actions/aavev4/AaveV4PaybackAction.d.ts +0 -23
  24. package/esm/src/actions/aavev4/AaveV4PaybackAction.js +0 -46
  25. package/esm/src/actions/aavev4/AaveV4StoreRatioAction.d.ts +0 -14
  26. package/esm/src/actions/aavev4/AaveV4StoreRatioAction.js +0 -20
  27. package/esm/src/actions/aavev4/AaveV4SupplyAction.d.ts +0 -25
  28. package/esm/src/actions/aavev4/AaveV4SupplyAction.js +0 -49
  29. package/esm/src/actions/aavev4/AaveV4WithdrawAction.d.ts +0 -17
  30. package/esm/src/actions/aavev4/AaveV4WithdrawAction.js +0 -26
  31. package/esm/src/actions/aavev4/index.d.ts +0 -6
  32. package/esm/src/actions/aavev4/index.js +0 -6
  33. package/esm/src/actions/checkers/AaveV4RatioCheckAction.d.ts +0 -16
  34. package/esm/src/actions/checkers/AaveV4RatioCheckAction.js +0 -24
  35. package/esm/src/triggers/AaveV4QuotePriceRangeTrigger.d.ts +0 -10
  36. package/esm/src/triggers/AaveV4QuotePriceRangeTrigger.js +0 -12
  37. package/esm/src/triggers/AaveV4QuotePriceTrigger.d.ts +0 -10
  38. package/esm/src/triggers/AaveV4QuotePriceTrigger.js +0 -12
  39. package/esm/src/triggers/AaveV4RatioTrigger.d.ts +0 -10
  40. package/esm/src/triggers/AaveV4RatioTrigger.js +0 -12
  41. package/src/actions/aavev4/AaveV4BorrowAction.ts +0 -39
  42. package/src/actions/aavev4/AaveV4CollateralSwitchAction.ts +0 -36
  43. package/src/actions/aavev4/AaveV4PaybackAction.ts +0 -51
  44. package/src/actions/aavev4/AaveV4StoreRatioAction.ts +0 -30
  45. package/src/actions/aavev4/AaveV4SupplyAction.ts +0 -55
  46. package/src/actions/aavev4/AaveV4WithdrawAction.ts +0 -39
  47. package/src/actions/aavev4/index.ts +0 -6
  48. package/src/actions/checkers/AaveV4RatioCheckAction.ts +0 -36
  49. package/src/triggers/AaveV4QuotePriceRangeTrigger.ts +0 -25
  50. package/src/triggers/AaveV4QuotePriceTrigger.ts +0 -25
  51. package/src/triggers/AaveV4RatioTrigger.ts +0 -24
@@ -13,7 +13,6 @@ export declare class Strategy {
13
13
  addSubSlot(name: string, type: string): void;
14
14
  addTrigger(newTrigger: Action): void;
15
15
  addAction(newAction: Action): void;
16
- addActions(newActions: Array<Action>): void;
17
16
  print(): void;
18
17
  getSubSlots(): any;
19
18
  encodeForDsProxyCall(): (string | string[] | number[][])[];
@@ -20,9 +20,6 @@ export class Strategy {
20
20
  addAction(newAction) {
21
21
  this.actions.push(newAction);
22
22
  }
23
- addActions(newActions) {
24
- this.actions.push(...newActions);
25
- }
26
23
  print() {
27
24
  console.log(`Name: ${this.name}`);
28
25
  console.log(`Slots: ${this.subSlots}`);
@@ -15,4 +15,3 @@ export * from './LiquityV2RatioCheckAction';
15
15
  export * from './LiquityV2TargetRatioCheckAction';
16
16
  export * from './LiquityV2NewInterestRateCheckerAction';
17
17
  export * from './FluidRatioCheckAction';
18
- export * from './AaveV4RatioCheckAction';
@@ -15,4 +15,3 @@ export * from './LiquityV2RatioCheckAction';
15
15
  export * from './LiquityV2TargetRatioCheckAction';
16
16
  export * from './LiquityV2NewInterestRateCheckerAction';
17
17
  export * from './FluidRatioCheckAction';
18
- export * from './AaveV4RatioCheckAction';
@@ -39,5 +39,4 @@ import * as etherfi from './etherfi';
39
39
  import * as fluid from './fluid';
40
40
  import * as pendle from './pendle';
41
41
  import * as umbrella from './umbrella';
42
- import * as aaveV4 from './aavev4';
43
- export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, aaveV4, };
42
+ export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, };
@@ -39,5 +39,4 @@ import * as etherfi from './etherfi';
39
39
  import * as fluid from './fluid';
40
40
  import * as pendle from './pendle';
41
41
  import * as umbrella from './umbrella';
42
- import * as aaveV4 from './aavev4';
43
- export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, aaveV4, };
42
+ export { aave, maker, compound, basic, flashloan, uniswap, reflexer, dydx, uniswapV3, checkers, liquity, yearn, lido, insta, balancer, curve, guni, mstable, rari, aaveV3, convex, chickenBonds, compoundV3, morpho, bprotocol, lsv, spark, curveusd, morphoblue, summerfi, llamalend, merkl, eulerV2, sky, liquityV2, stkgho, renzo, etherfi, fluid, pendle, umbrella, };
@@ -277,11 +277,6 @@ export declare const actionAddresses: {
277
277
  SFApproveTokens: string;
278
278
  SummerfiUnsub: string;
279
279
  SummerfiUnsubV2: string;
280
- AaveV4Supply: string;
281
- AaveV4Withdraw: string;
282
- AaveV4Borrow: string;
283
- AaveV4Payback: string;
284
- AaveV4CollateralSwitch: string;
285
280
  AaveV3DelegateCredit?: undefined;
286
281
  AaveV3RatioTrigger?: undefined;
287
282
  GasFeeTakerL2?: undefined;
@@ -568,11 +563,6 @@ export declare const actionAddresses: {
568
563
  UmbrellaClaimRewards?: undefined;
569
564
  UmbrellaStake?: undefined;
570
565
  UmbrellaUnstake?: undefined;
571
- AaveV4Supply?: undefined;
572
- AaveV4Withdraw?: undefined;
573
- AaveV4Borrow?: undefined;
574
- AaveV4Payback?: undefined;
575
- AaveV4CollateralSwitch?: undefined;
576
566
  MorphoBlueView?: undefined;
577
567
  } | {
578
568
  DFSSell: string;
@@ -854,11 +844,6 @@ export declare const actionAddresses: {
854
844
  UmbrellaClaimRewards?: undefined;
855
845
  UmbrellaStake?: undefined;
856
846
  UmbrellaUnstake?: undefined;
857
- AaveV4Supply?: undefined;
858
- AaveV4Withdraw?: undefined;
859
- AaveV4Borrow?: undefined;
860
- AaveV4Payback?: undefined;
861
- AaveV4CollateralSwitch?: undefined;
862
847
  AaveV3DelegateCredit?: undefined;
863
848
  AaveV3RatioTrigger?: undefined;
864
849
  } | {
@@ -1140,11 +1125,6 @@ export declare const actionAddresses: {
1140
1125
  UmbrellaClaimRewards?: undefined;
1141
1126
  UmbrellaStake?: undefined;
1142
1127
  UmbrellaUnstake?: undefined;
1143
- AaveV4Supply?: undefined;
1144
- AaveV4Withdraw?: undefined;
1145
- AaveV4Borrow?: undefined;
1146
- AaveV4Payback?: undefined;
1147
- AaveV4CollateralSwitch?: undefined;
1148
1128
  AaveV3DelegateCredit?: undefined;
1149
1129
  AaveV3RatioTrigger?: undefined;
1150
1130
  AaveV3RatioCheck?: undefined;
@@ -1426,11 +1406,6 @@ export declare const actionAddresses: {
1426
1406
  SFApproveTokens?: undefined;
1427
1407
  SummerfiUnsub?: undefined;
1428
1408
  SummerfiUnsubV2?: undefined;
1429
- AaveV4Supply?: undefined;
1430
- AaveV4Withdraw?: undefined;
1431
- AaveV4Borrow?: undefined;
1432
- AaveV4Payback?: undefined;
1433
- AaveV4CollateralSwitch?: undefined;
1434
1409
  AaveV3RatioTrigger?: undefined;
1435
1410
  GasFeeTakerL2?: undefined;
1436
1411
  AaveV3RatioCheck?: undefined;
@@ -1713,11 +1688,6 @@ export declare const actionAddresses: {
1713
1688
  SFApproveTokens?: undefined;
1714
1689
  SummerfiUnsub?: undefined;
1715
1690
  SummerfiUnsubV2?: undefined;
1716
- AaveV4Supply?: undefined;
1717
- AaveV4Withdraw?: undefined;
1718
- AaveV4Borrow?: undefined;
1719
- AaveV4Payback?: undefined;
1720
- AaveV4CollateralSwitch?: undefined;
1721
1691
  AaveV3RatioTrigger?: undefined;
1722
1692
  GasFeeTakerL2?: undefined;
1723
1693
  AaveV3RatioCheck?: undefined;
@@ -318,12 +318,6 @@ export const actionAddresses = {
318
318
  SFApproveTokens: '0x0aC29D44eeC8e8f3b010c2e8FC960957db0c8298',
319
319
  SummerfiUnsub: '0x926405D69b77A514ED974901095AcFf9e5131366',
320
320
  SummerfiUnsubV2: '0x5E805eD9B7581a9f1398F75833f9663a459F5E30',
321
- // AaveV4
322
- AaveV4Supply: '0x30f333997eA08CA7Af95E32F4f90DACEf284D746',
323
- AaveV4Withdraw: '0x8fc7F5dCeb5da1B0293A246ed6aeDc44EB37dB38',
324
- AaveV4Borrow: '0x0a58710A67837E6d026B83c434519c5f0A0cD7a1',
325
- AaveV4Payback: '0xCbcbD3b3e0D704Ad26b7dCfe1BdA6e85CDd8DBf0',
326
- AaveV4CollateralSwitch: '0x19Ef19d6b8818103b8Cae086BB23e183EF7E433f',
327
321
  },
328
322
  [NETWORKS.optimism.chainId]: {
329
323
  DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
@@ -288,11 +288,6 @@ declare const actionAddressesAllChains: {
288
288
  SFApproveTokens: string;
289
289
  SummerfiUnsub: string;
290
290
  SummerfiUnsubV2: string;
291
- AaveV4Supply: string;
292
- AaveV4Withdraw: string;
293
- AaveV4Borrow: string;
294
- AaveV4Payback: string;
295
- AaveV4CollateralSwitch: string;
296
291
  AaveV3DelegateCredit?: undefined;
297
292
  AaveV3RatioTrigger?: undefined;
298
293
  GasFeeTakerL2?: undefined;
@@ -579,11 +574,6 @@ declare const actionAddressesAllChains: {
579
574
  UmbrellaClaimRewards?: undefined;
580
575
  UmbrellaStake?: undefined;
581
576
  UmbrellaUnstake?: undefined;
582
- AaveV4Supply?: undefined;
583
- AaveV4Withdraw?: undefined;
584
- AaveV4Borrow?: undefined;
585
- AaveV4Payback?: undefined;
586
- AaveV4CollateralSwitch?: undefined;
587
577
  MorphoBlueView?: undefined;
588
578
  } | {
589
579
  DFSSell: string;
@@ -865,11 +855,6 @@ declare const actionAddressesAllChains: {
865
855
  UmbrellaClaimRewards?: undefined;
866
856
  UmbrellaStake?: undefined;
867
857
  UmbrellaUnstake?: undefined;
868
- AaveV4Supply?: undefined;
869
- AaveV4Withdraw?: undefined;
870
- AaveV4Borrow?: undefined;
871
- AaveV4Payback?: undefined;
872
- AaveV4CollateralSwitch?: undefined;
873
858
  AaveV3DelegateCredit?: undefined;
874
859
  AaveV3RatioTrigger?: undefined;
875
860
  } | {
@@ -1151,11 +1136,6 @@ declare const actionAddressesAllChains: {
1151
1136
  UmbrellaClaimRewards?: undefined;
1152
1137
  UmbrellaStake?: undefined;
1153
1138
  UmbrellaUnstake?: undefined;
1154
- AaveV4Supply?: undefined;
1155
- AaveV4Withdraw?: undefined;
1156
- AaveV4Borrow?: undefined;
1157
- AaveV4Payback?: undefined;
1158
- AaveV4CollateralSwitch?: undefined;
1159
1139
  AaveV3DelegateCredit?: undefined;
1160
1140
  AaveV3RatioTrigger?: undefined;
1161
1141
  AaveV3RatioCheck?: undefined;
@@ -1437,11 +1417,6 @@ declare const actionAddressesAllChains: {
1437
1417
  SFApproveTokens?: undefined;
1438
1418
  SummerfiUnsub?: undefined;
1439
1419
  SummerfiUnsubV2?: undefined;
1440
- AaveV4Supply?: undefined;
1441
- AaveV4Withdraw?: undefined;
1442
- AaveV4Borrow?: undefined;
1443
- AaveV4Payback?: undefined;
1444
- AaveV4CollateralSwitch?: undefined;
1445
1420
  AaveV3RatioTrigger?: undefined;
1446
1421
  GasFeeTakerL2?: undefined;
1447
1422
  AaveV3RatioCheck?: undefined;
@@ -1724,11 +1699,6 @@ declare const actionAddressesAllChains: {
1724
1699
  SFApproveTokens?: undefined;
1725
1700
  SummerfiUnsub?: undefined;
1726
1701
  SummerfiUnsubV2?: undefined;
1727
- AaveV4Supply?: undefined;
1728
- AaveV4Withdraw?: undefined;
1729
- AaveV4Borrow?: undefined;
1730
- AaveV4Payback?: undefined;
1731
- AaveV4CollateralSwitch?: undefined;
1732
1702
  AaveV3RatioTrigger?: undefined;
1733
1703
  GasFeeTakerL2?: undefined;
1734
1704
  AaveV3RatioCheck?: undefined;
@@ -2012,11 +1982,6 @@ declare const actionAddresses: (chainId?: null) => {
2012
1982
  SFApproveTokens: string;
2013
1983
  SummerfiUnsub: string;
2014
1984
  SummerfiUnsubV2: string;
2015
- AaveV4Supply: string;
2016
- AaveV4Withdraw: string;
2017
- AaveV4Borrow: string;
2018
- AaveV4Payback: string;
2019
- AaveV4CollateralSwitch: string;
2020
1985
  AaveV3DelegateCredit?: undefined;
2021
1986
  AaveV3RatioTrigger?: undefined;
2022
1987
  GasFeeTakerL2?: undefined;
@@ -2303,11 +2268,6 @@ declare const actionAddresses: (chainId?: null) => {
2303
2268
  UmbrellaClaimRewards?: undefined;
2304
2269
  UmbrellaStake?: undefined;
2305
2270
  UmbrellaUnstake?: undefined;
2306
- AaveV4Supply?: undefined;
2307
- AaveV4Withdraw?: undefined;
2308
- AaveV4Borrow?: undefined;
2309
- AaveV4Payback?: undefined;
2310
- AaveV4CollateralSwitch?: undefined;
2311
2271
  MorphoBlueView?: undefined;
2312
2272
  } | {
2313
2273
  DFSSell: string;
@@ -2589,11 +2549,6 @@ declare const actionAddresses: (chainId?: null) => {
2589
2549
  UmbrellaClaimRewards?: undefined;
2590
2550
  UmbrellaStake?: undefined;
2591
2551
  UmbrellaUnstake?: undefined;
2592
- AaveV4Supply?: undefined;
2593
- AaveV4Withdraw?: undefined;
2594
- AaveV4Borrow?: undefined;
2595
- AaveV4Payback?: undefined;
2596
- AaveV4CollateralSwitch?: undefined;
2597
2552
  AaveV3DelegateCredit?: undefined;
2598
2553
  AaveV3RatioTrigger?: undefined;
2599
2554
  } | {
@@ -2875,11 +2830,6 @@ declare const actionAddresses: (chainId?: null) => {
2875
2830
  UmbrellaClaimRewards?: undefined;
2876
2831
  UmbrellaStake?: undefined;
2877
2832
  UmbrellaUnstake?: undefined;
2878
- AaveV4Supply?: undefined;
2879
- AaveV4Withdraw?: undefined;
2880
- AaveV4Borrow?: undefined;
2881
- AaveV4Payback?: undefined;
2882
- AaveV4CollateralSwitch?: undefined;
2883
2833
  AaveV3DelegateCredit?: undefined;
2884
2834
  AaveV3RatioTrigger?: undefined;
2885
2835
  AaveV3RatioCheck?: undefined;
@@ -3161,11 +3111,6 @@ declare const actionAddresses: (chainId?: null) => {
3161
3111
  SFApproveTokens?: undefined;
3162
3112
  SummerfiUnsub?: undefined;
3163
3113
  SummerfiUnsubV2?: undefined;
3164
- AaveV4Supply?: undefined;
3165
- AaveV4Withdraw?: undefined;
3166
- AaveV4Borrow?: undefined;
3167
- AaveV4Payback?: undefined;
3168
- AaveV4CollateralSwitch?: undefined;
3169
3114
  AaveV3RatioTrigger?: undefined;
3170
3115
  GasFeeTakerL2?: undefined;
3171
3116
  AaveV3RatioCheck?: undefined;
@@ -3448,11 +3393,6 @@ declare const actionAddresses: (chainId?: null) => {
3448
3393
  SFApproveTokens?: undefined;
3449
3394
  SummerfiUnsub?: undefined;
3450
3395
  SummerfiUnsubV2?: undefined;
3451
- AaveV4Supply?: undefined;
3452
- AaveV4Withdraw?: undefined;
3453
- AaveV4Borrow?: undefined;
3454
- AaveV4Payback?: undefined;
3455
- AaveV4CollateralSwitch?: undefined;
3456
3396
  AaveV3RatioTrigger?: undefined;
3457
3397
  GasFeeTakerL2?: undefined;
3458
3398
  AaveV3RatioCheck?: undefined;
@@ -3973,11 +3913,6 @@ declare const _default: {
3973
3913
  SFApproveTokens: string;
3974
3914
  SummerfiUnsub: string;
3975
3915
  SummerfiUnsubV2: string;
3976
- AaveV4Supply: string;
3977
- AaveV4Withdraw: string;
3978
- AaveV4Borrow: string;
3979
- AaveV4Payback: string;
3980
- AaveV4CollateralSwitch: string;
3981
3916
  AaveV3DelegateCredit?: undefined;
3982
3917
  AaveV3RatioTrigger?: undefined;
3983
3918
  GasFeeTakerL2?: undefined;
@@ -4264,11 +4199,6 @@ declare const _default: {
4264
4199
  UmbrellaClaimRewards?: undefined;
4265
4200
  UmbrellaStake?: undefined;
4266
4201
  UmbrellaUnstake?: undefined;
4267
- AaveV4Supply?: undefined;
4268
- AaveV4Withdraw?: undefined;
4269
- AaveV4Borrow?: undefined;
4270
- AaveV4Payback?: undefined;
4271
- AaveV4CollateralSwitch?: undefined;
4272
4202
  MorphoBlueView?: undefined;
4273
4203
  } | {
4274
4204
  DFSSell: string;
@@ -4550,11 +4480,6 @@ declare const _default: {
4550
4480
  UmbrellaClaimRewards?: undefined;
4551
4481
  UmbrellaStake?: undefined;
4552
4482
  UmbrellaUnstake?: undefined;
4553
- AaveV4Supply?: undefined;
4554
- AaveV4Withdraw?: undefined;
4555
- AaveV4Borrow?: undefined;
4556
- AaveV4Payback?: undefined;
4557
- AaveV4CollateralSwitch?: undefined;
4558
4483
  AaveV3DelegateCredit?: undefined;
4559
4484
  AaveV3RatioTrigger?: undefined;
4560
4485
  } | {
@@ -4836,11 +4761,6 @@ declare const _default: {
4836
4761
  UmbrellaClaimRewards?: undefined;
4837
4762
  UmbrellaStake?: undefined;
4838
4763
  UmbrellaUnstake?: undefined;
4839
- AaveV4Supply?: undefined;
4840
- AaveV4Withdraw?: undefined;
4841
- AaveV4Borrow?: undefined;
4842
- AaveV4Payback?: undefined;
4843
- AaveV4CollateralSwitch?: undefined;
4844
4764
  AaveV3DelegateCredit?: undefined;
4845
4765
  AaveV3RatioTrigger?: undefined;
4846
4766
  AaveV3RatioCheck?: undefined;
@@ -5122,11 +5042,6 @@ declare const _default: {
5122
5042
  SFApproveTokens?: undefined;
5123
5043
  SummerfiUnsub?: undefined;
5124
5044
  SummerfiUnsubV2?: undefined;
5125
- AaveV4Supply?: undefined;
5126
- AaveV4Withdraw?: undefined;
5127
- AaveV4Borrow?: undefined;
5128
- AaveV4Payback?: undefined;
5129
- AaveV4CollateralSwitch?: undefined;
5130
5045
  AaveV3RatioTrigger?: undefined;
5131
5046
  GasFeeTakerL2?: undefined;
5132
5047
  AaveV3RatioCheck?: undefined;
@@ -5409,11 +5324,6 @@ declare const _default: {
5409
5324
  SFApproveTokens?: undefined;
5410
5325
  SummerfiUnsub?: undefined;
5411
5326
  SummerfiUnsubV2?: undefined;
5412
- AaveV4Supply?: undefined;
5413
- AaveV4Withdraw?: undefined;
5414
- AaveV4Borrow?: undefined;
5415
- AaveV4Payback?: undefined;
5416
- AaveV4CollateralSwitch?: undefined;
5417
5327
  AaveV3RatioTrigger?: undefined;
5418
5328
  GasFeeTakerL2?: undefined;
5419
5329
  AaveV3RatioCheck?: undefined;
@@ -5697,11 +5607,6 @@ declare const _default: {
5697
5607
  SFApproveTokens: string;
5698
5608
  SummerfiUnsub: string;
5699
5609
  SummerfiUnsubV2: string;
5700
- AaveV4Supply: string;
5701
- AaveV4Withdraw: string;
5702
- AaveV4Borrow: string;
5703
- AaveV4Payback: string;
5704
- AaveV4CollateralSwitch: string;
5705
5610
  AaveV3DelegateCredit?: undefined;
5706
5611
  AaveV3RatioTrigger?: undefined;
5707
5612
  GasFeeTakerL2?: undefined;
@@ -5988,11 +5893,6 @@ declare const _default: {
5988
5893
  UmbrellaClaimRewards?: undefined;
5989
5894
  UmbrellaStake?: undefined;
5990
5895
  UmbrellaUnstake?: undefined;
5991
- AaveV4Supply?: undefined;
5992
- AaveV4Withdraw?: undefined;
5993
- AaveV4Borrow?: undefined;
5994
- AaveV4Payback?: undefined;
5995
- AaveV4CollateralSwitch?: undefined;
5996
5896
  MorphoBlueView?: undefined;
5997
5897
  } | {
5998
5898
  DFSSell: string;
@@ -6274,11 +6174,6 @@ declare const _default: {
6274
6174
  UmbrellaClaimRewards?: undefined;
6275
6175
  UmbrellaStake?: undefined;
6276
6176
  UmbrellaUnstake?: undefined;
6277
- AaveV4Supply?: undefined;
6278
- AaveV4Withdraw?: undefined;
6279
- AaveV4Borrow?: undefined;
6280
- AaveV4Payback?: undefined;
6281
- AaveV4CollateralSwitch?: undefined;
6282
6177
  AaveV3DelegateCredit?: undefined;
6283
6178
  AaveV3RatioTrigger?: undefined;
6284
6179
  } | {
@@ -6560,11 +6455,6 @@ declare const _default: {
6560
6455
  UmbrellaClaimRewards?: undefined;
6561
6456
  UmbrellaStake?: undefined;
6562
6457
  UmbrellaUnstake?: undefined;
6563
- AaveV4Supply?: undefined;
6564
- AaveV4Withdraw?: undefined;
6565
- AaveV4Borrow?: undefined;
6566
- AaveV4Payback?: undefined;
6567
- AaveV4CollateralSwitch?: undefined;
6568
6458
  AaveV3DelegateCredit?: undefined;
6569
6459
  AaveV3RatioTrigger?: undefined;
6570
6460
  AaveV3RatioCheck?: undefined;
@@ -6846,11 +6736,6 @@ declare const _default: {
6846
6736
  SFApproveTokens?: undefined;
6847
6737
  SummerfiUnsub?: undefined;
6848
6738
  SummerfiUnsubV2?: undefined;
6849
- AaveV4Supply?: undefined;
6850
- AaveV4Withdraw?: undefined;
6851
- AaveV4Borrow?: undefined;
6852
- AaveV4Payback?: undefined;
6853
- AaveV4CollateralSwitch?: undefined;
6854
6739
  AaveV3RatioTrigger?: undefined;
6855
6740
  GasFeeTakerL2?: undefined;
6856
6741
  AaveV3RatioCheck?: undefined;
@@ -7133,11 +7018,6 @@ declare const _default: {
7133
7018
  SFApproveTokens?: undefined;
7134
7019
  SummerfiUnsub?: undefined;
7135
7020
  SummerfiUnsubV2?: undefined;
7136
- AaveV4Supply?: undefined;
7137
- AaveV4Withdraw?: undefined;
7138
- AaveV4Borrow?: undefined;
7139
- AaveV4Payback?: undefined;
7140
- AaveV4CollateralSwitch?: undefined;
7141
7021
  AaveV3RatioTrigger?: undefined;
7142
7022
  GasFeeTakerL2?: undefined;
7143
7023
  AaveV3RatioCheck?: undefined;
@@ -31,6 +31,3 @@ export * from './LiquityV2AdjustRateDebtInFrontTrigger';
31
31
  export * from './AaveV3QuotePriceRangeTrigger';
32
32
  export * from './SparkQuotePriceRangeTrigger';
33
33
  export * from './MorphoBluePriceRangeTrigger';
34
- export * from './AaveV4QuotePriceTrigger';
35
- export * from './AaveV4QuotePriceRangeTrigger';
36
- export * from './AaveV4RatioTrigger';
@@ -31,6 +31,3 @@ export * from './LiquityV2AdjustRateDebtInFrontTrigger';
31
31
  export * from './AaveV3QuotePriceRangeTrigger';
32
32
  export * from './SparkQuotePriceRangeTrigger';
33
33
  export * from './MorphoBluePriceRangeTrigger';
34
- export * from './AaveV4QuotePriceTrigger';
35
- export * from './AaveV4QuotePriceRangeTrigger';
36
- export * from './AaveV4RatioTrigger';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.3.18-aave-v4-dev",
3
+ "version": "1.3.18",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
package/src/Strategy.ts CHANGED
@@ -36,10 +36,6 @@ export class Strategy {
36
36
  this.actions.push(newAction);
37
37
  }
38
38
 
39
- addActions(newActions: Array<Action>) {
40
- this.actions.push(...newActions);
41
- }
42
-
43
39
  print() {
44
40
  console.log(`Name: ${this.name}`);
45
41
  console.log(`Slots: ${this.subSlots}`);
@@ -14,5 +14,4 @@ export * from './MorphoBlueTargetRatioCheckAction';
14
14
  export * from './LiquityV2RatioCheckAction';
15
15
  export * from './LiquityV2TargetRatioCheckAction';
16
16
  export * from './LiquityV2NewInterestRateCheckerAction';
17
- export * from './FluidRatioCheckAction';
18
- export * from './AaveV4RatioCheckAction';
17
+ export * from './FluidRatioCheckAction';
@@ -39,7 +39,6 @@ import * as etherfi from './etherfi';
39
39
  import * as fluid from './fluid';
40
40
  import * as pendle from './pendle';
41
41
  import * as umbrella from './umbrella';
42
- import * as aaveV4 from './aavev4';
43
42
 
44
43
  export {
45
44
  aave,
@@ -83,5 +82,4 @@ export {
83
82
  fluid,
84
83
  pendle,
85
84
  umbrella,
86
- aaveV4,
87
85
  };
package/src/addresses.ts CHANGED
@@ -389,13 +389,6 @@ export const actionAddresses = {
389
389
  SFApproveTokens: '0x0aC29D44eeC8e8f3b010c2e8FC960957db0c8298',
390
390
  SummerfiUnsub: '0x926405D69b77A514ED974901095AcFf9e5131366',
391
391
  SummerfiUnsubV2: '0x5E805eD9B7581a9f1398F75833f9663a459F5E30',
392
-
393
- // AaveV4
394
- AaveV4Supply: '0x30f333997eA08CA7Af95E32F4f90DACEf284D746',
395
- AaveV4Withdraw: '0x8fc7F5dCeb5da1B0293A246ed6aeDc44EB37dB38',
396
- AaveV4Borrow: '0x0a58710A67837E6d026B83c434519c5f0A0cD7a1',
397
- AaveV4Payback: '0xCbcbD3b3e0D704Ad26b7dCfe1BdA6e85CDd8DBf0',
398
- AaveV4CollateralSwitch: '0x19Ef19d6b8818103b8Cae086BB23e183EF7E433f',
399
392
  },
400
393
  [NETWORKS.optimism.chainId]: {
401
394
  DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
@@ -30,7 +30,4 @@ export * from './CompV3PriceRangeTrigger';
30
30
  export * from './LiquityV2AdjustRateDebtInFrontTrigger';
31
31
  export * from './AaveV3QuotePriceRangeTrigger';
32
32
  export * from './SparkQuotePriceRangeTrigger';
33
- export * from './MorphoBluePriceRangeTrigger';
34
- export * from './AaveV4QuotePriceTrigger';
35
- export * from './AaveV4QuotePriceRangeTrigger';
36
- export * from './AaveV4RatioTrigger';
33
+ export * from './MorphoBluePriceRangeTrigger';