@defisaver/sdk 1.0.42-dev → 1.0.43

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 (42) hide show
  1. package/esm/src/Action.d.ts +2 -2
  2. package/esm/src/actions/basic/index.d.ts +0 -2
  3. package/esm/src/actions/basic/index.js +0 -2
  4. package/esm/src/actions/index.d.ts +1 -2
  5. package/esm/src/actions/index.js +1 -2
  6. package/esm/src/actions/morpho/index.d.ts +0 -1
  7. package/esm/src/actions/morpho/index.js +0 -1
  8. package/esm/src/addresses.d.ts +0 -21
  9. package/esm/src/addresses.js +0 -8
  10. package/esm/src/index.d.ts +0 -84
  11. package/esm/src/types.d.ts +20 -20
  12. package/package.json +1 -1
  13. package/src/actions/basic/index.ts +0 -2
  14. package/src/actions/index.ts +0 -2
  15. package/src/actions/morpho/index.ts +0 -1
  16. package/src/addresses.ts +0 -9
  17. package/umd/index.js +497 -740
  18. package/yarn-error.log +3976 -0
  19. package/esm/src/actions/basic/ApproveTokenAction.d.ts +0 -14
  20. package/esm/src/actions/basic/ApproveTokenAction.js +0 -27
  21. package/esm/src/actions/basic/LSVSellAction.d.ts +0 -23
  22. package/esm/src/actions/basic/LSVSellAction.js +0 -61
  23. package/esm/src/actions/lsv/LSVBorrowAction.d.ts +0 -14
  24. package/esm/src/actions/lsv/LSVBorrowAction.js +0 -19
  25. package/esm/src/actions/lsv/LSVPaybackAction.d.ts +0 -13
  26. package/esm/src/actions/lsv/LSVPaybackAction.js +0 -18
  27. package/esm/src/actions/lsv/LSVSupplyAction.d.ts +0 -15
  28. package/esm/src/actions/lsv/LSVSupplyAction.js +0 -21
  29. package/esm/src/actions/lsv/LSVWithdrawAction.d.ts +0 -15
  30. package/esm/src/actions/lsv/LSVWithdrawAction.js +0 -21
  31. package/esm/src/actions/lsv/index.d.ts +0 -4
  32. package/esm/src/actions/lsv/index.js +0 -4
  33. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.d.ts +0 -14
  34. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.js +0 -24
  35. package/src/actions/basic/ApproveTokenAction.ts +0 -34
  36. package/src/actions/basic/LSVSellAction.ts +0 -61
  37. package/src/actions/lsv/LSVBorrowAction.ts +0 -21
  38. package/src/actions/lsv/LSVPaybackAction.ts +0 -20
  39. package/src/actions/lsv/LSVSupplyAction.ts +0 -23
  40. package/src/actions/lsv/LSVWithdrawAction.ts +0 -23
  41. package/src/actions/lsv/index.ts +0 -4
  42. package/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.ts +0 -32
@@ -1,6 +1,6 @@
1
1
  import { AccessListItem, EthAddress } from './types';
2
- declare type ParamTypes = Array<string | Array<any>>;
3
- declare type Args = Array<any>;
2
+ type ParamTypes = Array<string | Array<any>>;
3
+ type Args = Array<any>;
4
4
  /**
5
5
  * Single action that can be executed directly, or combined into a set (ie. supply a vault)
6
6
  *
@@ -16,8 +16,6 @@ export * from './GasFeeActionL2';
16
16
  export * from './TransferNFTAction';
17
17
  export * from './SendTokensAction';
18
18
  export * from './CreateSubAction';
19
- export * from './LSVSellAction';
20
- export * from './ApproveTokenAction';
21
19
  export * from './SDaiWrapAction';
22
20
  export * from './SDaiUnwrapAction';
23
21
  export * from './TokenizedVaultAdapterDepositAction';
@@ -16,8 +16,6 @@ export * from './GasFeeActionL2';
16
16
  export * from './TransferNFTAction';
17
17
  export * from './SendTokensAction';
18
18
  export * from './CreateSubAction';
19
- export * from './LSVSellAction';
20
- export * from './ApproveTokenAction';
21
19
  export * from './SDaiWrapAction';
22
20
  export * from './SDaiUnwrapAction';
23
21
  export * from './TokenizedVaultAdapterDepositAction';
@@ -23,7 +23,6 @@ import * as chickenBonds from './chickenBonds';
23
23
  import * as compoundV3 from './compoundV3';
24
24
  import * as morpho from './morpho';
25
25
  import * as bprotocol from './bprotocol';
26
- import * as lsv from './lsv';
27
26
  import * as curveusd from './curveusd';
28
27
  import * as spark from './spark';
29
- 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, };
28
+ 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, spark, curveusd, };
@@ -23,7 +23,6 @@ import * as chickenBonds from './chickenBonds';
23
23
  import * as compoundV3 from './compoundV3';
24
24
  import * as morpho from './morpho';
25
25
  import * as bprotocol from './bprotocol';
26
- import * as lsv from './lsv';
27
26
  import * as curveusd from './curveusd';
28
27
  import * as spark from './spark';
29
- 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, };
28
+ 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, spark, curveusd, };
@@ -7,4 +7,3 @@ export * from './aaveV3/MorphoAaveV3SupplyAction';
7
7
  export * from './aaveV3/MorphoAaveV3WithdrawAction';
8
8
  export * from './aaveV3/MorphoAaveV3BorrowAction';
9
9
  export * from './aaveV3/MorphoAaveV3PaybackAction';
10
- export * from './aaveV3/MorphoAaveV3SetManagerAction';
@@ -7,4 +7,3 @@ export * from './aaveV3/MorphoAaveV3SupplyAction';
7
7
  export * from './aaveV3/MorphoAaveV3WithdrawAction';
8
8
  export * from './aaveV3/MorphoAaveV3BorrowAction';
9
9
  export * from './aaveV3/MorphoAaveV3PaybackAction';
10
- export * from './aaveV3/MorphoAaveV3SetManagerAction';
@@ -15,7 +15,6 @@ export declare const actionAddresses: {
15
15
  UpdateSub: string;
16
16
  TransferNFT: string;
17
17
  CreateSub: string;
18
- ApproveToken: string;
19
18
  SDaiWrap: string;
20
19
  SDaiUnwrap: string;
21
20
  TokenizedVaultAdapter: string;
@@ -55,11 +54,6 @@ export declare const actionAddresses: {
55
54
  AaveV3Borrow: string;
56
55
  AaveV3ATokenPayback: string;
57
56
  AaveV3View: string;
58
- LSVWithdraw: string;
59
- LSVBorrow: string;
60
- LSVSupply: string;
61
- LSVPayback: string;
62
- LSVSell: string;
63
57
  MorphoAaveV2Borrow: string;
64
58
  MorphoAaveV2Payback: string;
65
59
  MorphoAaveV2Supply: string;
@@ -69,7 +63,6 @@ export declare const actionAddresses: {
69
63
  MorphoAaveV3Payback: string;
70
64
  MorphoAaveV3Supply: string;
71
65
  MorphoAaveV3Withdraw: string;
72
- MorphoAaveV3SetManager: string;
73
66
  SparkBorrow: string;
74
67
  SparkClaimRewards: string;
75
68
  SparkCollateralSwitch: string;
@@ -216,7 +209,6 @@ export declare const actionAddresses: {
216
209
  UpdateSub?: undefined;
217
210
  TransferNFT?: undefined;
218
211
  CreateSub?: undefined;
219
- ApproveToken?: undefined;
220
212
  SDaiWrap?: undefined;
221
213
  SDaiUnwrap?: undefined;
222
214
  McdGenerate?: undefined;
@@ -245,11 +237,6 @@ export declare const actionAddresses: {
245
237
  AaveUnstake?: undefined;
246
238
  AaveClaimAAVE?: undefined;
247
239
  AaveV3View?: undefined;
248
- LSVWithdraw?: undefined;
249
- LSVBorrow?: undefined;
250
- LSVSupply?: undefined;
251
- LSVPayback?: undefined;
252
- LSVSell?: undefined;
253
240
  MorphoAaveV2Borrow?: undefined;
254
241
  MorphoAaveV2Payback?: undefined;
255
242
  MorphoAaveV2Supply?: undefined;
@@ -259,7 +246,6 @@ export declare const actionAddresses: {
259
246
  MorphoAaveV3Payback?: undefined;
260
247
  MorphoAaveV3Supply?: undefined;
261
248
  MorphoAaveV3Withdraw?: undefined;
262
- MorphoAaveV3SetManager?: undefined;
263
249
  SparkBorrow?: undefined;
264
250
  SparkClaimRewards?: undefined;
265
251
  SparkCollateralSwitch?: undefined;
@@ -392,7 +378,6 @@ export declare const actionAddresses: {
392
378
  UpdateSub?: undefined;
393
379
  TransferNFT?: undefined;
394
380
  CreateSub?: undefined;
395
- ApproveToken?: undefined;
396
381
  SDaiWrap?: undefined;
397
382
  SDaiUnwrap?: undefined;
398
383
  McdGenerate?: undefined;
@@ -422,11 +407,6 @@ export declare const actionAddresses: {
422
407
  AaveClaimAAVE?: undefined;
423
408
  AaveV3ClaimRewards?: undefined;
424
409
  AaveV3View?: undefined;
425
- LSVWithdraw?: undefined;
426
- LSVBorrow?: undefined;
427
- LSVSupply?: undefined;
428
- LSVPayback?: undefined;
429
- LSVSell?: undefined;
430
410
  MorphoAaveV2Borrow?: undefined;
431
411
  MorphoAaveV2Payback?: undefined;
432
412
  MorphoAaveV2Supply?: undefined;
@@ -436,7 +416,6 @@ export declare const actionAddresses: {
436
416
  MorphoAaveV3Payback?: undefined;
437
417
  MorphoAaveV3Supply?: undefined;
438
418
  MorphoAaveV3Withdraw?: undefined;
439
- MorphoAaveV3SetManager?: undefined;
440
419
  SparkBorrow?: undefined;
441
420
  SparkClaimRewards?: undefined;
442
421
  SparkCollateralSwitch?: undefined;
@@ -16,7 +16,6 @@ export const actionAddresses = {
16
16
  UpdateSub: '0xF6Cb8f7e61a64075ec8FAC3f298745605E543233',
17
17
  TransferNFT: '0x861e893E1796F81248e75F06C0b09Abdc8fe2f6F',
18
18
  CreateSub: '0x7308e88BB21B934478E75bB6A2143b8cfDFf2961',
19
- ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
20
19
  SDaiWrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
21
20
  SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
22
21
  TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
@@ -62,12 +61,6 @@ export const actionAddresses = {
62
61
  AaveV3Borrow: '0x7079ba1Bd00EeFCD2a260BbD6D088230505e3858',
63
62
  AaveV3ATokenPayback: '0xDe5c012cd1878D86E91309593764895a3adb380E',
64
63
  AaveV3View: '0x9ECB0645b357fDD7B92789B91595160862Bd45d0',
65
- // LSV action
66
- LSVWithdraw: '0x0A4Ef5ADf759064b546441a50109eCbC2528A455',
67
- LSVBorrow: '0x7dFB434527Fdb39854156cDBa9bF4799E36E7e82',
68
- LSVSupply: '0x984c00DC098c98bed1CDfe2Ed786Fe1443da6671',
69
- LSVPayback: '0x10749CE97583dBcEb54a083386CC8438C4e0FE65',
70
- LSVSell: '0x0c1bb9A39d4A0EF4215Ade19Ce4F954E8419Dfd7',
71
64
  // morpho aave v2
72
65
  MorphoAaveV2Borrow: '0xa85C3E41Bf9F75a381927e1Aa9b00f77C4631109',
73
66
  MorphoAaveV2Payback: '0x5dd0E0835acbb08aa4A4599d70fB2d93969fa7b7',
@@ -79,7 +72,6 @@ export const actionAddresses = {
79
72
  MorphoAaveV3Payback: '0x36b8b968c81D97cBfAa642e206b634A6f378d287',
80
73
  MorphoAaveV3Supply: '0x51fA8FBc6F0aDEfe2FBA06104FCA39f5beD69291',
81
74
  MorphoAaveV3Withdraw: '0xdc3e74C4cD577275296ceFE36A3D082223AfF206',
82
- MorphoAaveV3SetManager: '0x1082AE0565504E3617BD5b6E80f91B59b81a82D9',
83
75
  // spark
84
76
  SparkBorrow: '0x3E2C366065bA0f6f9936C2C6A802D72F250b27AA',
85
77
  SparkClaimRewards: '0x9C3E31f42a46676785C72401cD4F2287b355b003',
@@ -26,7 +26,6 @@ declare const actionAddressesAllChains: {
26
26
  UpdateSub: string;
27
27
  TransferNFT: string;
28
28
  CreateSub: string;
29
- ApproveToken: string;
30
29
  SDaiWrap: string;
31
30
  SDaiUnwrap: string;
32
31
  TokenizedVaultAdapter: string;
@@ -66,11 +65,6 @@ declare const actionAddressesAllChains: {
66
65
  AaveV3Borrow: string;
67
66
  AaveV3ATokenPayback: string;
68
67
  AaveV3View: string;
69
- LSVWithdraw: string;
70
- LSVBorrow: string;
71
- LSVSupply: string;
72
- LSVPayback: string;
73
- LSVSell: string;
74
68
  MorphoAaveV2Borrow: string;
75
69
  MorphoAaveV2Payback: string;
76
70
  MorphoAaveV2Supply: string;
@@ -80,7 +74,6 @@ declare const actionAddressesAllChains: {
80
74
  MorphoAaveV3Payback: string;
81
75
  MorphoAaveV3Supply: string;
82
76
  MorphoAaveV3Withdraw: string;
83
- MorphoAaveV3SetManager: string;
84
77
  SparkBorrow: string;
85
78
  SparkClaimRewards: string;
86
79
  SparkCollateralSwitch: string;
@@ -227,7 +220,6 @@ declare const actionAddressesAllChains: {
227
220
  UpdateSub?: undefined;
228
221
  TransferNFT?: undefined;
229
222
  CreateSub?: undefined;
230
- ApproveToken?: undefined;
231
223
  SDaiWrap?: undefined;
232
224
  SDaiUnwrap?: undefined;
233
225
  McdGenerate?: undefined;
@@ -256,11 +248,6 @@ declare const actionAddressesAllChains: {
256
248
  AaveUnstake?: undefined;
257
249
  AaveClaimAAVE?: undefined;
258
250
  AaveV3View?: undefined;
259
- LSVWithdraw?: undefined;
260
- LSVBorrow?: undefined;
261
- LSVSupply?: undefined;
262
- LSVPayback?: undefined;
263
- LSVSell?: undefined;
264
251
  MorphoAaveV2Borrow?: undefined;
265
252
  MorphoAaveV2Payback?: undefined;
266
253
  MorphoAaveV2Supply?: undefined;
@@ -270,7 +257,6 @@ declare const actionAddressesAllChains: {
270
257
  MorphoAaveV3Payback?: undefined;
271
258
  MorphoAaveV3Supply?: undefined;
272
259
  MorphoAaveV3Withdraw?: undefined;
273
- MorphoAaveV3SetManager?: undefined;
274
260
  SparkBorrow?: undefined;
275
261
  SparkClaimRewards?: undefined;
276
262
  SparkCollateralSwitch?: undefined;
@@ -403,7 +389,6 @@ declare const actionAddressesAllChains: {
403
389
  UpdateSub?: undefined;
404
390
  TransferNFT?: undefined;
405
391
  CreateSub?: undefined;
406
- ApproveToken?: undefined;
407
392
  SDaiWrap?: undefined;
408
393
  SDaiUnwrap?: undefined;
409
394
  McdGenerate?: undefined;
@@ -433,11 +418,6 @@ declare const actionAddressesAllChains: {
433
418
  AaveClaimAAVE?: undefined;
434
419
  AaveV3ClaimRewards?: undefined;
435
420
  AaveV3View?: undefined;
436
- LSVWithdraw?: undefined;
437
- LSVBorrow?: undefined;
438
- LSVSupply?: undefined;
439
- LSVPayback?: undefined;
440
- LSVSell?: undefined;
441
421
  MorphoAaveV2Borrow?: undefined;
442
422
  MorphoAaveV2Payback?: undefined;
443
423
  MorphoAaveV2Supply?: undefined;
@@ -447,7 +427,6 @@ declare const actionAddressesAllChains: {
447
427
  MorphoAaveV3Payback?: undefined;
448
428
  MorphoAaveV3Supply?: undefined;
449
429
  MorphoAaveV3Withdraw?: undefined;
450
- MorphoAaveV3SetManager?: undefined;
451
430
  SparkBorrow?: undefined;
452
431
  SparkClaimRewards?: undefined;
453
432
  SparkCollateralSwitch?: undefined;
@@ -562,7 +541,6 @@ declare const actionAddresses: (chainId?: null) => {
562
541
  UpdateSub: string;
563
542
  TransferNFT: string;
564
543
  CreateSub: string;
565
- ApproveToken: string;
566
544
  SDaiWrap: string;
567
545
  SDaiUnwrap: string;
568
546
  TokenizedVaultAdapter: string;
@@ -602,11 +580,6 @@ declare const actionAddresses: (chainId?: null) => {
602
580
  AaveV3Borrow: string;
603
581
  AaveV3ATokenPayback: string;
604
582
  AaveV3View: string;
605
- LSVWithdraw: string;
606
- LSVBorrow: string;
607
- LSVSupply: string;
608
- LSVPayback: string;
609
- LSVSell: string;
610
583
  MorphoAaveV2Borrow: string;
611
584
  MorphoAaveV2Payback: string;
612
585
  MorphoAaveV2Supply: string;
@@ -616,7 +589,6 @@ declare const actionAddresses: (chainId?: null) => {
616
589
  MorphoAaveV3Payback: string;
617
590
  MorphoAaveV3Supply: string;
618
591
  MorphoAaveV3Withdraw: string;
619
- MorphoAaveV3SetManager: string;
620
592
  SparkBorrow: string;
621
593
  SparkClaimRewards: string;
622
594
  SparkCollateralSwitch: string;
@@ -763,7 +735,6 @@ declare const actionAddresses: (chainId?: null) => {
763
735
  UpdateSub?: undefined;
764
736
  TransferNFT?: undefined;
765
737
  CreateSub?: undefined;
766
- ApproveToken?: undefined;
767
738
  SDaiWrap?: undefined;
768
739
  SDaiUnwrap?: undefined;
769
740
  McdGenerate?: undefined;
@@ -792,11 +763,6 @@ declare const actionAddresses: (chainId?: null) => {
792
763
  AaveUnstake?: undefined;
793
764
  AaveClaimAAVE?: undefined;
794
765
  AaveV3View?: undefined;
795
- LSVWithdraw?: undefined;
796
- LSVBorrow?: undefined;
797
- LSVSupply?: undefined;
798
- LSVPayback?: undefined;
799
- LSVSell?: undefined;
800
766
  MorphoAaveV2Borrow?: undefined;
801
767
  MorphoAaveV2Payback?: undefined;
802
768
  MorphoAaveV2Supply?: undefined;
@@ -806,7 +772,6 @@ declare const actionAddresses: (chainId?: null) => {
806
772
  MorphoAaveV3Payback?: undefined;
807
773
  MorphoAaveV3Supply?: undefined;
808
774
  MorphoAaveV3Withdraw?: undefined;
809
- MorphoAaveV3SetManager?: undefined;
810
775
  SparkBorrow?: undefined;
811
776
  SparkClaimRewards?: undefined;
812
777
  SparkCollateralSwitch?: undefined;
@@ -939,7 +904,6 @@ declare const actionAddresses: (chainId?: null) => {
939
904
  UpdateSub?: undefined;
940
905
  TransferNFT?: undefined;
941
906
  CreateSub?: undefined;
942
- ApproveToken?: undefined;
943
907
  SDaiWrap?: undefined;
944
908
  SDaiUnwrap?: undefined;
945
909
  McdGenerate?: undefined;
@@ -969,11 +933,6 @@ declare const actionAddresses: (chainId?: null) => {
969
933
  AaveClaimAAVE?: undefined;
970
934
  AaveV3ClaimRewards?: undefined;
971
935
  AaveV3View?: undefined;
972
- LSVWithdraw?: undefined;
973
- LSVBorrow?: undefined;
974
- LSVSupply?: undefined;
975
- LSVPayback?: undefined;
976
- LSVSell?: undefined;
977
936
  MorphoAaveV2Borrow?: undefined;
978
937
  MorphoAaveV2Payback?: undefined;
979
938
  MorphoAaveV2Supply?: undefined;
@@ -983,7 +942,6 @@ declare const actionAddresses: (chainId?: null) => {
983
942
  MorphoAaveV3Payback?: undefined;
984
943
  MorphoAaveV3Supply?: undefined;
985
944
  MorphoAaveV3Withdraw?: undefined;
986
- MorphoAaveV3SetManager?: undefined;
987
945
  SparkBorrow?: undefined;
988
946
  SparkClaimRewards?: undefined;
989
947
  SparkCollateralSwitch?: undefined;
@@ -1199,7 +1157,6 @@ declare const _default: {
1199
1157
  UpdateSub: string;
1200
1158
  TransferNFT: string;
1201
1159
  CreateSub: string;
1202
- ApproveToken: string;
1203
1160
  SDaiWrap: string;
1204
1161
  SDaiUnwrap: string;
1205
1162
  TokenizedVaultAdapter: string;
@@ -1239,11 +1196,6 @@ declare const _default: {
1239
1196
  AaveV3Borrow: string;
1240
1197
  AaveV3ATokenPayback: string;
1241
1198
  AaveV3View: string;
1242
- LSVWithdraw: string;
1243
- LSVBorrow: string;
1244
- LSVSupply: string;
1245
- LSVPayback: string;
1246
- LSVSell: string;
1247
1199
  MorphoAaveV2Borrow: string;
1248
1200
  MorphoAaveV2Payback: string;
1249
1201
  MorphoAaveV2Supply: string;
@@ -1253,7 +1205,6 @@ declare const _default: {
1253
1205
  MorphoAaveV3Payback: string;
1254
1206
  MorphoAaveV3Supply: string;
1255
1207
  MorphoAaveV3Withdraw: string;
1256
- MorphoAaveV3SetManager: string;
1257
1208
  SparkBorrow: string;
1258
1209
  SparkClaimRewards: string;
1259
1210
  SparkCollateralSwitch: string;
@@ -1400,7 +1351,6 @@ declare const _default: {
1400
1351
  UpdateSub?: undefined;
1401
1352
  TransferNFT?: undefined;
1402
1353
  CreateSub?: undefined;
1403
- ApproveToken?: undefined;
1404
1354
  SDaiWrap?: undefined;
1405
1355
  SDaiUnwrap?: undefined;
1406
1356
  McdGenerate?: undefined;
@@ -1429,11 +1379,6 @@ declare const _default: {
1429
1379
  AaveUnstake?: undefined;
1430
1380
  AaveClaimAAVE?: undefined;
1431
1381
  AaveV3View?: undefined;
1432
- LSVWithdraw?: undefined;
1433
- LSVBorrow?: undefined;
1434
- LSVSupply?: undefined;
1435
- LSVPayback?: undefined;
1436
- LSVSell?: undefined;
1437
1382
  MorphoAaveV2Borrow?: undefined;
1438
1383
  MorphoAaveV2Payback?: undefined;
1439
1384
  MorphoAaveV2Supply?: undefined;
@@ -1443,7 +1388,6 @@ declare const _default: {
1443
1388
  MorphoAaveV3Payback?: undefined;
1444
1389
  MorphoAaveV3Supply?: undefined;
1445
1390
  MorphoAaveV3Withdraw?: undefined;
1446
- MorphoAaveV3SetManager?: undefined;
1447
1391
  SparkBorrow?: undefined;
1448
1392
  SparkClaimRewards?: undefined;
1449
1393
  SparkCollateralSwitch?: undefined;
@@ -1576,7 +1520,6 @@ declare const _default: {
1576
1520
  UpdateSub?: undefined;
1577
1521
  TransferNFT?: undefined;
1578
1522
  CreateSub?: undefined;
1579
- ApproveToken?: undefined;
1580
1523
  SDaiWrap?: undefined;
1581
1524
  SDaiUnwrap?: undefined;
1582
1525
  McdGenerate?: undefined;
@@ -1606,11 +1549,6 @@ declare const _default: {
1606
1549
  AaveClaimAAVE?: undefined;
1607
1550
  AaveV3ClaimRewards?: undefined;
1608
1551
  AaveV3View?: undefined;
1609
- LSVWithdraw?: undefined;
1610
- LSVBorrow?: undefined;
1611
- LSVSupply?: undefined;
1612
- LSVPayback?: undefined;
1613
- LSVSell?: undefined;
1614
1552
  MorphoAaveV2Borrow?: undefined;
1615
1553
  MorphoAaveV2Payback?: undefined;
1616
1554
  MorphoAaveV2Supply?: undefined;
@@ -1620,7 +1558,6 @@ declare const _default: {
1620
1558
  MorphoAaveV3Payback?: undefined;
1621
1559
  MorphoAaveV3Supply?: undefined;
1622
1560
  MorphoAaveV3Withdraw?: undefined;
1623
- MorphoAaveV3SetManager?: undefined;
1624
1561
  SparkBorrow?: undefined;
1625
1562
  SparkClaimRewards?: undefined;
1626
1563
  SparkCollateralSwitch?: undefined;
@@ -1735,7 +1672,6 @@ declare const _default: {
1735
1672
  UpdateSub: string;
1736
1673
  TransferNFT: string;
1737
1674
  CreateSub: string;
1738
- ApproveToken: string;
1739
1675
  SDaiWrap: string;
1740
1676
  SDaiUnwrap: string;
1741
1677
  TokenizedVaultAdapter: string;
@@ -1775,11 +1711,6 @@ declare const _default: {
1775
1711
  AaveV3Borrow: string;
1776
1712
  AaveV3ATokenPayback: string;
1777
1713
  AaveV3View: string;
1778
- LSVWithdraw: string;
1779
- LSVBorrow: string;
1780
- LSVSupply: string;
1781
- LSVPayback: string;
1782
- LSVSell: string;
1783
1714
  MorphoAaveV2Borrow: string;
1784
1715
  MorphoAaveV2Payback: string;
1785
1716
  MorphoAaveV2Supply: string;
@@ -1789,7 +1720,6 @@ declare const _default: {
1789
1720
  MorphoAaveV3Payback: string;
1790
1721
  MorphoAaveV3Supply: string;
1791
1722
  MorphoAaveV3Withdraw: string;
1792
- MorphoAaveV3SetManager: string;
1793
1723
  SparkBorrow: string;
1794
1724
  SparkClaimRewards: string;
1795
1725
  SparkCollateralSwitch: string;
@@ -1936,7 +1866,6 @@ declare const _default: {
1936
1866
  UpdateSub?: undefined;
1937
1867
  TransferNFT?: undefined;
1938
1868
  CreateSub?: undefined;
1939
- ApproveToken?: undefined;
1940
1869
  SDaiWrap?: undefined;
1941
1870
  SDaiUnwrap?: undefined;
1942
1871
  McdGenerate?: undefined;
@@ -1965,11 +1894,6 @@ declare const _default: {
1965
1894
  AaveUnstake?: undefined;
1966
1895
  AaveClaimAAVE?: undefined;
1967
1896
  AaveV3View?: undefined;
1968
- LSVWithdraw?: undefined;
1969
- LSVBorrow?: undefined;
1970
- LSVSupply?: undefined;
1971
- LSVPayback?: undefined;
1972
- LSVSell?: undefined;
1973
1897
  MorphoAaveV2Borrow?: undefined;
1974
1898
  MorphoAaveV2Payback?: undefined;
1975
1899
  MorphoAaveV2Supply?: undefined;
@@ -1979,7 +1903,6 @@ declare const _default: {
1979
1903
  MorphoAaveV3Payback?: undefined;
1980
1904
  MorphoAaveV3Supply?: undefined;
1981
1905
  MorphoAaveV3Withdraw?: undefined;
1982
- MorphoAaveV3SetManager?: undefined;
1983
1906
  SparkBorrow?: undefined;
1984
1907
  SparkClaimRewards?: undefined;
1985
1908
  SparkCollateralSwitch?: undefined;
@@ -2112,7 +2035,6 @@ declare const _default: {
2112
2035
  UpdateSub?: undefined;
2113
2036
  TransferNFT?: undefined;
2114
2037
  CreateSub?: undefined;
2115
- ApproveToken?: undefined;
2116
2038
  SDaiWrap?: undefined;
2117
2039
  SDaiUnwrap?: undefined;
2118
2040
  McdGenerate?: undefined;
@@ -2142,11 +2064,6 @@ declare const _default: {
2142
2064
  AaveClaimAAVE?: undefined;
2143
2065
  AaveV3ClaimRewards?: undefined;
2144
2066
  AaveV3View?: undefined;
2145
- LSVWithdraw?: undefined;
2146
- LSVBorrow?: undefined;
2147
- LSVSupply?: undefined;
2148
- LSVPayback?: undefined;
2149
- LSVSell?: undefined;
2150
2067
  MorphoAaveV2Borrow?: undefined;
2151
2068
  MorphoAaveV2Payback?: undefined;
2152
2069
  MorphoAaveV2Supply?: undefined;
@@ -2156,7 +2073,6 @@ declare const _default: {
2156
2073
  MorphoAaveV3Payback?: undefined;
2157
2074
  MorphoAaveV3Supply?: undefined;
2158
2075
  MorphoAaveV3Withdraw?: undefined;
2159
- MorphoAaveV3SetManager?: undefined;
2160
2076
  SparkBorrow?: undefined;
2161
2077
  SparkClaimRewards?: undefined;
2162
2078
  SparkCollateralSwitch?: undefined;
@@ -1,17 +1,17 @@
1
- declare type AccessListItem = {
1
+ type AccessListItem = {
2
2
  address: EthAddress;
3
3
  storageKeys: Array<any>;
4
4
  };
5
- declare type AccessList = Array<Array<any>>;
6
- declare type AccessLists = {
5
+ type AccessList = Array<Array<any>>;
6
+ type AccessLists = {
7
7
  [key: string]: AccessList;
8
8
  };
9
- declare type Config = {
9
+ type Config = {
10
10
  chainId: number;
11
11
  testingMode: boolean;
12
12
  [key: string]: any;
13
13
  };
14
- declare type Network = {
14
+ type Network = {
15
15
  chainId: number;
16
16
  chainName: string;
17
17
  blockExplorerUrls: Array<string>;
@@ -23,23 +23,23 @@ declare type Network = {
23
23
  symbol: string;
24
24
  };
25
25
  };
26
- declare type Networks = {
26
+ type Networks = {
27
27
  ethereum: Network;
28
28
  optimism: Network;
29
29
  arbitrum: Network;
30
30
  };
31
- declare type EthAddress = string;
32
- declare type bytes32 = string;
33
- declare type bytes = string | Array<any>;
34
- declare type uint256 = string;
35
- declare type uint32 = string;
36
- declare type uint160 = string;
37
- declare type uint128 = string;
38
- declare type uint80 = string;
39
- declare type uint64 = string;
40
- declare type uint24 = string;
41
- declare type uint16 = string;
42
- declare type uint8 = string;
43
- declare type int256 = string;
44
- declare type int24 = string;
31
+ type EthAddress = string;
32
+ type bytes32 = string;
33
+ type bytes = string | Array<any>;
34
+ type uint256 = string;
35
+ type uint32 = string;
36
+ type uint160 = string;
37
+ type uint128 = string;
38
+ type uint80 = string;
39
+ type uint64 = string;
40
+ type uint24 = string;
41
+ type uint16 = string;
42
+ type uint8 = string;
43
+ type int256 = string;
44
+ type int24 = string;
45
45
  export { AccessList, AccessListItem, AccessLists, Config, Network, Networks, EthAddress, bytes32, bytes, uint256, uint160, uint32, uint128, uint80, uint64, uint24, uint16, uint8, int256, int24, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.0.42-dev",
3
+ "version": "1.0.43",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -16,8 +16,6 @@ export * from './GasFeeActionL2';
16
16
  export * from './TransferNFTAction';
17
17
  export * from './SendTokensAction';
18
18
  export * from './CreateSubAction';
19
- export * from './LSVSellAction';
20
- export * from './ApproveTokenAction';
21
19
  export * from './SDaiWrapAction';
22
20
  export * from './SDaiUnwrapAction';
23
21
  export * from './TokenizedVaultAdapterDepositAction';
@@ -23,7 +23,6 @@ import * as chickenBonds from './chickenBonds';
23
23
  import * as compoundV3 from './compoundV3';
24
24
  import * as morpho from './morpho';
25
25
  import * as bprotocol from './bprotocol';
26
- import * as lsv from './lsv';
27
26
  import * as curveusd from './curveusd';
28
27
  import * as spark from './spark';
29
28
 
@@ -53,7 +52,6 @@ export {
53
52
  compoundV3,
54
53
  morpho,
55
54
  bprotocol,
56
- lsv,
57
55
  spark,
58
56
  curveusd,
59
57
  };
@@ -7,4 +7,3 @@ export * from './aaveV3/MorphoAaveV3SupplyAction';
7
7
  export * from './aaveV3/MorphoAaveV3WithdrawAction';
8
8
  export * from './aaveV3/MorphoAaveV3BorrowAction';
9
9
  export * from './aaveV3/MorphoAaveV3PaybackAction';
10
- export * from './aaveV3/MorphoAaveV3SetManagerAction';
package/src/addresses.ts CHANGED
@@ -18,7 +18,6 @@ export const actionAddresses = {
18
18
  UpdateSub: '0xF6Cb8f7e61a64075ec8FAC3f298745605E543233',
19
19
  TransferNFT: '0x861e893E1796F81248e75F06C0b09Abdc8fe2f6F',
20
20
  CreateSub: '0x7308e88BB21B934478E75bB6A2143b8cfDFf2961',
21
- ApproveToken: '0xA4161cED7A29F0a3424e464a4a2dBf75888c5BF9',
22
21
  SDaiWrap: '0xac7Ac294F29d818D26Bd9DF86d36904B1Ed346Ae',
23
22
  SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
24
23
  TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
@@ -70,13 +69,6 @@ export const actionAddresses = {
70
69
  AaveV3ATokenPayback: '0xDe5c012cd1878D86E91309593764895a3adb380E',
71
70
  AaveV3View: '0x9ECB0645b357fDD7B92789B91595160862Bd45d0',
72
71
 
73
- // LSV action
74
- LSVWithdraw: '0x0A4Ef5ADf759064b546441a50109eCbC2528A455',
75
- LSVBorrow: '0x7dFB434527Fdb39854156cDBa9bF4799E36E7e82',
76
- LSVSupply: '0x984c00DC098c98bed1CDfe2Ed786Fe1443da6671',
77
- LSVPayback: '0x10749CE97583dBcEb54a083386CC8438C4e0FE65',
78
- LSVSell: '0x0c1bb9A39d4A0EF4215Ade19Ce4F954E8419Dfd7',
79
-
80
72
  // morpho aave v2
81
73
  MorphoAaveV2Borrow: '0xa85C3E41Bf9F75a381927e1Aa9b00f77C4631109',
82
74
  MorphoAaveV2Payback: '0x5dd0E0835acbb08aa4A4599d70fB2d93969fa7b7',
@@ -89,7 +81,6 @@ export const actionAddresses = {
89
81
  MorphoAaveV3Payback: '0x36b8b968c81D97cBfAa642e206b634A6f378d287',
90
82
  MorphoAaveV3Supply: '0x51fA8FBc6F0aDEfe2FBA06104FCA39f5beD69291',
91
83
  MorphoAaveV3Withdraw: '0xdc3e74C4cD577275296ceFE36A3D082223AfF206',
92
- MorphoAaveV3SetManager: '0x1082AE0565504E3617BD5b6E80f91B59b81a82D9',
93
84
 
94
85
  // spark
95
86
  SparkBorrow: '0x3E2C366065bA0f6f9936C2C6A802D72F250b27AA',