@defisaver/sdk 1.0.45 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -513,6 +513,177 @@ export declare const actionAddresses: {
513
513
  CurveUsdSelfLiquidate?: undefined;
514
514
  CurveUsdSelfLiquidateWithColl?: undefined;
515
515
  AaveV3RatioTrigger?: undefined;
516
+ } | {
517
+ DFSSell: string;
518
+ WrapEth?: undefined;
519
+ UnwrapEth?: undefined;
520
+ PullToken?: undefined;
521
+ SendToken?: undefined;
522
+ SumInputs?: undefined;
523
+ SubInputs?: undefined;
524
+ ChangeProxyOwner?: undefined;
525
+ TokenBalance?: undefined;
526
+ AutomationV2Unsub?: undefined;
527
+ SendTokenAndUnwrap?: undefined;
528
+ ToggleSub?: undefined;
529
+ UpdateSub?: undefined;
530
+ TransferNFT?: undefined;
531
+ CreateSub?: undefined;
532
+ SDaiWrap?: undefined;
533
+ SDaiUnwrap?: undefined;
534
+ TokenizedVaultAdapter?: undefined;
535
+ McdGenerate?: undefined;
536
+ McdGive?: undefined;
537
+ McdMerge?: undefined;
538
+ McdOpen?: undefined;
539
+ McdPayback?: undefined;
540
+ McdSupply?: undefined;
541
+ McdWithdraw?: undefined;
542
+ McdClaim?: undefined;
543
+ McdDsrDeposit?: undefined;
544
+ McdDsrWithdraw?: undefined;
545
+ ReflexerSupply?: undefined;
546
+ ReflexerWithdraw?: undefined;
547
+ ReflexerPayback?: undefined;
548
+ ReflexerGenerate?: undefined;
549
+ ReflexerOpen?: undefined;
550
+ ReflexerNativeUniV2SaviourDeposit?: undefined;
551
+ ReflexerNativeUniV2SaviourGetReserves?: undefined;
552
+ ReflexerNativeUniV2SaviourWithdraw?: undefined;
553
+ AaveBorrow?: undefined;
554
+ AavePayback?: undefined;
555
+ AaveSupply?: undefined;
556
+ AaveWithdraw?: undefined;
557
+ AaveCollateralSwitch?: undefined;
558
+ AaveUnstake?: undefined;
559
+ AaveClaimAAVE?: undefined;
560
+ AaveV3Withdraw?: undefined;
561
+ AaveV3SwapBorrowRateMode?: undefined;
562
+ AaveV3Supply?: undefined;
563
+ AaveV3SetEMode?: undefined;
564
+ AaveV3Payback?: undefined;
565
+ AaveV3CollateralSwitch?: undefined;
566
+ AaveV3ClaimRewards?: undefined;
567
+ AaveV3Borrow?: undefined;
568
+ AaveV3ATokenPayback?: undefined;
569
+ AaveV3View?: undefined;
570
+ MorphoAaveV2Borrow?: undefined;
571
+ MorphoAaveV2Payback?: undefined;
572
+ MorphoAaveV2Supply?: undefined;
573
+ MorphoAaveV2Withdraw?: undefined;
574
+ MorphoClaim?: undefined;
575
+ MorphoAaveV3Borrow?: undefined;
576
+ MorphoAaveV3Payback?: undefined;
577
+ MorphoAaveV3Supply?: undefined;
578
+ MorphoAaveV3Withdraw?: undefined;
579
+ SparkBorrow?: undefined;
580
+ SparkClaimRewards?: undefined;
581
+ SparkCollateralSwitch?: undefined;
582
+ SparkPayback?: undefined;
583
+ SparkSetEMode?: undefined;
584
+ SparkSpTokenPayback?: undefined;
585
+ SparkSupply?: undefined;
586
+ SparkSwapBorrowRateMode?: undefined;
587
+ SparkWithdraw?: undefined;
588
+ CompBorrow?: undefined;
589
+ CompClaim?: undefined;
590
+ CompPayback?: undefined;
591
+ CompSupply?: undefined;
592
+ CompWithdraw?: undefined;
593
+ CompGetDebt?: undefined;
594
+ CompCollateralSwitch?: undefined;
595
+ FLAaveV2?: undefined;
596
+ FLAaveV3NoFee?: undefined;
597
+ FLAaveV3?: undefined;
598
+ FLDyDx?: undefined;
599
+ FLMaker?: undefined;
600
+ FLBalancer?: undefined;
601
+ FLSpark?: undefined;
602
+ FLAction?: undefined;
603
+ FLUniV3?: undefined;
604
+ FLGho?: undefined;
605
+ UniSupply?: undefined;
606
+ UniWithdraw?: undefined;
607
+ UniCollectV3?: undefined;
608
+ UniMintV3?: undefined;
609
+ UniSupplyV3?: undefined;
610
+ UniWithdrawV3?: undefined;
611
+ UniCreatePoolV3?: undefined;
612
+ DyDxWithdraw?: undefined;
613
+ YearnSupply?: undefined;
614
+ YearnWithdraw?: undefined;
615
+ LiquityClose?: undefined;
616
+ LiquityBorrow?: undefined;
617
+ LiquityOpen?: undefined;
618
+ LiquityPayback?: undefined;
619
+ LiquityWithdraw?: undefined;
620
+ LiquitySupply?: undefined;
621
+ LiquitySPDeposit?: undefined;
622
+ LiquitySPWithdraw?: undefined;
623
+ LiquityStake?: undefined;
624
+ LiquityUnstake?: undefined;
625
+ LiquityEthGainToTrove?: undefined;
626
+ LiquityClaim?: undefined;
627
+ LiquityRedeem?: undefined;
628
+ LiquityAdjust?: undefined;
629
+ BprotocolLiquitySPDeposit?: undefined;
630
+ BprotocolLiquitySPWithdraw?: undefined;
631
+ LidoStake?: undefined;
632
+ LidoWrap?: undefined;
633
+ LidoUnwrap?: undefined;
634
+ InstPullTokens?: undefined;
635
+ BalancerV2Supply?: undefined;
636
+ BalancerV2Withdraw?: undefined;
637
+ BalancerV2Claim?: undefined;
638
+ GUniWithdraw?: undefined;
639
+ GUniDeposit?: undefined;
640
+ RariDeposit?: undefined;
641
+ RariWithdraw?: undefined;
642
+ MStableDeposit?: undefined;
643
+ MStableWithdraw?: undefined;
644
+ MStableClaim?: undefined;
645
+ McdRatioCheck?: undefined;
646
+ GasFeeTaker?: undefined;
647
+ CurveStethPoolDeposit?: undefined;
648
+ CurveStethPoolWithdraw?: undefined;
649
+ CurveDeposit?: undefined;
650
+ CurveWithdraw?: undefined;
651
+ McdBoostComposite?: undefined;
652
+ McdRepayComposite?: undefined;
653
+ FLEuler?: undefined;
654
+ TrailingStopTrigger?: undefined;
655
+ CBRebondTrigger?: undefined;
656
+ CBUpdateRebondSub?: undefined;
657
+ LiquityRatioCheck?: undefined;
658
+ ConvexDeposit?: undefined;
659
+ ConvexWithdraw?: undefined;
660
+ ConvexClaim?: undefined;
661
+ CBCreate?: undefined;
662
+ CBRedeem?: undefined;
663
+ CBChickenIn?: undefined;
664
+ CBChickenOut?: undefined;
665
+ CBCreateRebondSub?: undefined;
666
+ FetchBondId?: undefined;
667
+ CompV3Allow?: undefined;
668
+ CompV3Borrow?: undefined;
669
+ CompV3Claim?: undefined;
670
+ CompV3Payback?: undefined;
671
+ CompV3Supply?: undefined;
672
+ CompV3Transfer?: undefined;
673
+ CompV3Withdraw?: undefined;
674
+ CurveUsdBorrow?: undefined;
675
+ CurveUsdCreate?: undefined;
676
+ CurveUsdPayback?: undefined;
677
+ CurveUsdSupply?: undefined;
678
+ CurveUsdWithdraw?: undefined;
679
+ CurveUsdLevCreate?: undefined;
680
+ CurveUsdRepay?: undefined;
681
+ CurveUsdSwapper?: undefined;
682
+ CurveUsdSelfLiquidate?: undefined;
683
+ CurveUsdSelfLiquidateWithColl?: undefined;
684
+ AaveV3RatioTrigger?: undefined;
685
+ GasFeeTakerL2?: undefined;
686
+ AaveV3RatioCheck?: undefined;
516
687
  };
517
688
  };
518
689
  export declare const otherAddresses: {
@@ -558,6 +729,27 @@ export declare const otherAddresses: {
558
729
  GHO?: undefined;
559
730
  LUSD?: undefined;
560
731
  BLUSD?: undefined;
732
+ } | {
733
+ RecipeExecutor: string;
734
+ DFSRegistry: string;
735
+ ProxyRegistry: string;
736
+ DSGuardFactory: string;
737
+ AdminVault: string;
738
+ DefisaverLogger: string;
739
+ Empty: string;
740
+ DFSProxyRegistry?: undefined;
741
+ McdCdpManager?: undefined;
742
+ BCdpManager?: undefined;
743
+ AaveDefaultMarket?: undefined;
744
+ UniswapV3PositionManager?: undefined;
745
+ RaiWethUniV2LPToken?: undefined;
746
+ BalancerToken?: undefined;
747
+ CrvToken?: undefined;
748
+ CvxToken?: undefined;
749
+ DAI?: undefined;
750
+ GHO?: undefined;
751
+ LUSD?: undefined;
752
+ BLUSD?: undefined;
561
753
  };
562
754
  };
563
755
  /**
@@ -268,6 +268,9 @@ export const actionAddresses = {
268
268
  UniWithdrawV3: '0xa004c22eFd0CD87847DE83Ce9ab92af5382c2efe',
269
269
  UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5',
270
270
  },
271
+ [NETWORKS.base.chainId]: {
272
+ DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
273
+ },
271
274
  };
272
275
  export const otherAddresses = {
273
276
  [NETWORKS.ethereum.chainId]: {
@@ -309,6 +312,15 @@ export const otherAddresses = {
309
312
  Empty: '0x0000000000000000000000000000000000000000',
310
313
  UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
311
314
  },
315
+ [NETWORKS.base.chainId]: {
316
+ RecipeExecutor: '0xdDFFd19564F9703800Da8a2FB9c2b4a7242bf01F',
317
+ DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
318
+ ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
319
+ DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
320
+ AdminVault: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
321
+ DefisaverLogger: '0xc9D6EfA6e08B66a5Cdc516Bcd5807c2fa69E0f2A',
322
+ Empty: '0x0000000000000000000000000000000000000000',
323
+ },
312
324
  };
313
325
  /**
314
326
  *
package/esm/src/config.js CHANGED
@@ -35,6 +35,14 @@ export const NETWORKS = {
35
35
  rpcUrls: ['https://arb1.arbitrum.io/rpc'],
36
36
  nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
37
37
  },
38
+ base: {
39
+ chainId: 8453,
40
+ chainName: 'Base',
41
+ blockExplorerUrls: ['https://basescan.io/'],
42
+ iconUrls: ['https://bridge.base.org/icons/base.svg'],
43
+ rpcUrls: [],
44
+ nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
45
+ },
38
46
  };
39
47
  /**
40
48
  *
@@ -524,6 +524,177 @@ declare const actionAddressesAllChains: {
524
524
  CurveUsdSelfLiquidate?: undefined;
525
525
  CurveUsdSelfLiquidateWithColl?: undefined;
526
526
  AaveV3RatioTrigger?: undefined;
527
+ } | {
528
+ DFSSell: string;
529
+ WrapEth?: undefined;
530
+ UnwrapEth?: undefined;
531
+ PullToken?: undefined;
532
+ SendToken?: undefined;
533
+ SumInputs?: undefined;
534
+ SubInputs?: undefined;
535
+ ChangeProxyOwner?: undefined;
536
+ TokenBalance?: undefined;
537
+ AutomationV2Unsub?: undefined;
538
+ SendTokenAndUnwrap?: undefined;
539
+ ToggleSub?: undefined;
540
+ UpdateSub?: undefined;
541
+ TransferNFT?: undefined;
542
+ CreateSub?: undefined;
543
+ SDaiWrap?: undefined;
544
+ SDaiUnwrap?: undefined;
545
+ TokenizedVaultAdapter?: undefined;
546
+ McdGenerate?: undefined;
547
+ McdGive?: undefined;
548
+ McdMerge?: undefined;
549
+ McdOpen?: undefined;
550
+ McdPayback?: undefined;
551
+ McdSupply?: undefined;
552
+ McdWithdraw?: undefined;
553
+ McdClaim?: undefined;
554
+ McdDsrDeposit?: undefined;
555
+ McdDsrWithdraw?: undefined;
556
+ ReflexerSupply?: undefined;
557
+ ReflexerWithdraw?: undefined;
558
+ ReflexerPayback?: undefined;
559
+ ReflexerGenerate?: undefined;
560
+ ReflexerOpen?: undefined;
561
+ ReflexerNativeUniV2SaviourDeposit?: undefined;
562
+ ReflexerNativeUniV2SaviourGetReserves?: undefined;
563
+ ReflexerNativeUniV2SaviourWithdraw?: undefined;
564
+ AaveBorrow?: undefined;
565
+ AavePayback?: undefined;
566
+ AaveSupply?: undefined;
567
+ AaveWithdraw?: undefined;
568
+ AaveCollateralSwitch?: undefined;
569
+ AaveUnstake?: undefined;
570
+ AaveClaimAAVE?: undefined;
571
+ AaveV3Withdraw?: undefined;
572
+ AaveV3SwapBorrowRateMode?: undefined;
573
+ AaveV3Supply?: undefined;
574
+ AaveV3SetEMode?: undefined;
575
+ AaveV3Payback?: undefined;
576
+ AaveV3CollateralSwitch?: undefined;
577
+ AaveV3ClaimRewards?: undefined;
578
+ AaveV3Borrow?: undefined;
579
+ AaveV3ATokenPayback?: undefined;
580
+ AaveV3View?: undefined;
581
+ MorphoAaveV2Borrow?: undefined;
582
+ MorphoAaveV2Payback?: undefined;
583
+ MorphoAaveV2Supply?: undefined;
584
+ MorphoAaveV2Withdraw?: undefined;
585
+ MorphoClaim?: undefined;
586
+ MorphoAaveV3Borrow?: undefined;
587
+ MorphoAaveV3Payback?: undefined;
588
+ MorphoAaveV3Supply?: undefined;
589
+ MorphoAaveV3Withdraw?: undefined;
590
+ SparkBorrow?: undefined;
591
+ SparkClaimRewards?: undefined;
592
+ SparkCollateralSwitch?: undefined;
593
+ SparkPayback?: undefined;
594
+ SparkSetEMode?: undefined;
595
+ SparkSpTokenPayback?: undefined;
596
+ SparkSupply?: undefined;
597
+ SparkSwapBorrowRateMode?: undefined;
598
+ SparkWithdraw?: undefined;
599
+ CompBorrow?: undefined;
600
+ CompClaim?: undefined;
601
+ CompPayback?: undefined;
602
+ CompSupply?: undefined;
603
+ CompWithdraw?: undefined;
604
+ CompGetDebt?: undefined;
605
+ CompCollateralSwitch?: undefined;
606
+ FLAaveV2?: undefined;
607
+ FLAaveV3NoFee?: undefined;
608
+ FLAaveV3?: undefined;
609
+ FLDyDx?: undefined;
610
+ FLMaker?: undefined;
611
+ FLBalancer?: undefined;
612
+ FLSpark?: undefined;
613
+ FLAction?: undefined;
614
+ FLUniV3?: undefined;
615
+ FLGho?: undefined;
616
+ UniSupply?: undefined;
617
+ UniWithdraw?: undefined;
618
+ UniCollectV3?: undefined;
619
+ UniMintV3?: undefined;
620
+ UniSupplyV3?: undefined;
621
+ UniWithdrawV3?: undefined;
622
+ UniCreatePoolV3?: undefined;
623
+ DyDxWithdraw?: undefined;
624
+ YearnSupply?: undefined;
625
+ YearnWithdraw?: undefined;
626
+ LiquityClose?: undefined;
627
+ LiquityBorrow?: undefined;
628
+ LiquityOpen?: undefined;
629
+ LiquityPayback?: undefined;
630
+ LiquityWithdraw?: undefined;
631
+ LiquitySupply?: undefined;
632
+ LiquitySPDeposit?: undefined;
633
+ LiquitySPWithdraw?: undefined;
634
+ LiquityStake?: undefined;
635
+ LiquityUnstake?: undefined;
636
+ LiquityEthGainToTrove?: undefined;
637
+ LiquityClaim?: undefined;
638
+ LiquityRedeem?: undefined;
639
+ LiquityAdjust?: undefined;
640
+ BprotocolLiquitySPDeposit?: undefined;
641
+ BprotocolLiquitySPWithdraw?: undefined;
642
+ LidoStake?: undefined;
643
+ LidoWrap?: undefined;
644
+ LidoUnwrap?: undefined;
645
+ InstPullTokens?: undefined;
646
+ BalancerV2Supply?: undefined;
647
+ BalancerV2Withdraw?: undefined;
648
+ BalancerV2Claim?: undefined;
649
+ GUniWithdraw?: undefined;
650
+ GUniDeposit?: undefined;
651
+ RariDeposit?: undefined;
652
+ RariWithdraw?: undefined;
653
+ MStableDeposit?: undefined;
654
+ MStableWithdraw?: undefined;
655
+ MStableClaim?: undefined;
656
+ McdRatioCheck?: undefined;
657
+ GasFeeTaker?: undefined;
658
+ CurveStethPoolDeposit?: undefined;
659
+ CurveStethPoolWithdraw?: undefined;
660
+ CurveDeposit?: undefined;
661
+ CurveWithdraw?: undefined;
662
+ McdBoostComposite?: undefined;
663
+ McdRepayComposite?: undefined;
664
+ FLEuler?: undefined;
665
+ TrailingStopTrigger?: undefined;
666
+ CBRebondTrigger?: undefined;
667
+ CBUpdateRebondSub?: undefined;
668
+ LiquityRatioCheck?: undefined;
669
+ ConvexDeposit?: undefined;
670
+ ConvexWithdraw?: undefined;
671
+ ConvexClaim?: undefined;
672
+ CBCreate?: undefined;
673
+ CBRedeem?: undefined;
674
+ CBChickenIn?: undefined;
675
+ CBChickenOut?: undefined;
676
+ CBCreateRebondSub?: undefined;
677
+ FetchBondId?: undefined;
678
+ CompV3Allow?: undefined;
679
+ CompV3Borrow?: undefined;
680
+ CompV3Claim?: undefined;
681
+ CompV3Payback?: undefined;
682
+ CompV3Supply?: undefined;
683
+ CompV3Transfer?: undefined;
684
+ CompV3Withdraw?: undefined;
685
+ CurveUsdBorrow?: undefined;
686
+ CurveUsdCreate?: undefined;
687
+ CurveUsdPayback?: undefined;
688
+ CurveUsdSupply?: undefined;
689
+ CurveUsdWithdraw?: undefined;
690
+ CurveUsdLevCreate?: undefined;
691
+ CurveUsdRepay?: undefined;
692
+ CurveUsdSwapper?: undefined;
693
+ CurveUsdSelfLiquidate?: undefined;
694
+ CurveUsdSelfLiquidateWithColl?: undefined;
695
+ AaveV3RatioTrigger?: undefined;
696
+ GasFeeTakerL2?: undefined;
697
+ AaveV3RatioCheck?: undefined;
527
698
  };
528
699
  };
529
700
  declare const actionAddresses: (chainId?: null) => {
@@ -1039,6 +1210,177 @@ declare const actionAddresses: (chainId?: null) => {
1039
1210
  CurveUsdSelfLiquidate?: undefined;
1040
1211
  CurveUsdSelfLiquidateWithColl?: undefined;
1041
1212
  AaveV3RatioTrigger?: undefined;
1213
+ } | {
1214
+ DFSSell: string;
1215
+ WrapEth?: undefined;
1216
+ UnwrapEth?: undefined;
1217
+ PullToken?: undefined;
1218
+ SendToken?: undefined;
1219
+ SumInputs?: undefined;
1220
+ SubInputs?: undefined;
1221
+ ChangeProxyOwner?: undefined;
1222
+ TokenBalance?: undefined;
1223
+ AutomationV2Unsub?: undefined;
1224
+ SendTokenAndUnwrap?: undefined;
1225
+ ToggleSub?: undefined;
1226
+ UpdateSub?: undefined;
1227
+ TransferNFT?: undefined;
1228
+ CreateSub?: undefined;
1229
+ SDaiWrap?: undefined;
1230
+ SDaiUnwrap?: undefined;
1231
+ TokenizedVaultAdapter?: undefined;
1232
+ McdGenerate?: undefined;
1233
+ McdGive?: undefined;
1234
+ McdMerge?: undefined;
1235
+ McdOpen?: undefined;
1236
+ McdPayback?: undefined;
1237
+ McdSupply?: undefined;
1238
+ McdWithdraw?: undefined;
1239
+ McdClaim?: undefined;
1240
+ McdDsrDeposit?: undefined;
1241
+ McdDsrWithdraw?: undefined;
1242
+ ReflexerSupply?: undefined;
1243
+ ReflexerWithdraw?: undefined;
1244
+ ReflexerPayback?: undefined;
1245
+ ReflexerGenerate?: undefined;
1246
+ ReflexerOpen?: undefined;
1247
+ ReflexerNativeUniV2SaviourDeposit?: undefined;
1248
+ ReflexerNativeUniV2SaviourGetReserves?: undefined;
1249
+ ReflexerNativeUniV2SaviourWithdraw?: undefined;
1250
+ AaveBorrow?: undefined;
1251
+ AavePayback?: undefined;
1252
+ AaveSupply?: undefined;
1253
+ AaveWithdraw?: undefined;
1254
+ AaveCollateralSwitch?: undefined;
1255
+ AaveUnstake?: undefined;
1256
+ AaveClaimAAVE?: undefined;
1257
+ AaveV3Withdraw?: undefined;
1258
+ AaveV3SwapBorrowRateMode?: undefined;
1259
+ AaveV3Supply?: undefined;
1260
+ AaveV3SetEMode?: undefined;
1261
+ AaveV3Payback?: undefined;
1262
+ AaveV3CollateralSwitch?: undefined;
1263
+ AaveV3ClaimRewards?: undefined;
1264
+ AaveV3Borrow?: undefined;
1265
+ AaveV3ATokenPayback?: undefined;
1266
+ AaveV3View?: undefined;
1267
+ MorphoAaveV2Borrow?: undefined;
1268
+ MorphoAaveV2Payback?: undefined;
1269
+ MorphoAaveV2Supply?: undefined;
1270
+ MorphoAaveV2Withdraw?: undefined;
1271
+ MorphoClaim?: undefined;
1272
+ MorphoAaveV3Borrow?: undefined;
1273
+ MorphoAaveV3Payback?: undefined;
1274
+ MorphoAaveV3Supply?: undefined;
1275
+ MorphoAaveV3Withdraw?: undefined;
1276
+ SparkBorrow?: undefined;
1277
+ SparkClaimRewards?: undefined;
1278
+ SparkCollateralSwitch?: undefined;
1279
+ SparkPayback?: undefined;
1280
+ SparkSetEMode?: undefined;
1281
+ SparkSpTokenPayback?: undefined;
1282
+ SparkSupply?: undefined;
1283
+ SparkSwapBorrowRateMode?: undefined;
1284
+ SparkWithdraw?: undefined;
1285
+ CompBorrow?: undefined;
1286
+ CompClaim?: undefined;
1287
+ CompPayback?: undefined;
1288
+ CompSupply?: undefined;
1289
+ CompWithdraw?: undefined;
1290
+ CompGetDebt?: undefined;
1291
+ CompCollateralSwitch?: undefined;
1292
+ FLAaveV2?: undefined;
1293
+ FLAaveV3NoFee?: undefined;
1294
+ FLAaveV3?: undefined;
1295
+ FLDyDx?: undefined;
1296
+ FLMaker?: undefined;
1297
+ FLBalancer?: undefined;
1298
+ FLSpark?: undefined;
1299
+ FLAction?: undefined;
1300
+ FLUniV3?: undefined;
1301
+ FLGho?: undefined;
1302
+ UniSupply?: undefined;
1303
+ UniWithdraw?: undefined;
1304
+ UniCollectV3?: undefined;
1305
+ UniMintV3?: undefined;
1306
+ UniSupplyV3?: undefined;
1307
+ UniWithdrawV3?: undefined;
1308
+ UniCreatePoolV3?: undefined;
1309
+ DyDxWithdraw?: undefined;
1310
+ YearnSupply?: undefined;
1311
+ YearnWithdraw?: undefined;
1312
+ LiquityClose?: undefined;
1313
+ LiquityBorrow?: undefined;
1314
+ LiquityOpen?: undefined;
1315
+ LiquityPayback?: undefined;
1316
+ LiquityWithdraw?: undefined;
1317
+ LiquitySupply?: undefined;
1318
+ LiquitySPDeposit?: undefined;
1319
+ LiquitySPWithdraw?: undefined;
1320
+ LiquityStake?: undefined;
1321
+ LiquityUnstake?: undefined;
1322
+ LiquityEthGainToTrove?: undefined;
1323
+ LiquityClaim?: undefined;
1324
+ LiquityRedeem?: undefined;
1325
+ LiquityAdjust?: undefined;
1326
+ BprotocolLiquitySPDeposit?: undefined;
1327
+ BprotocolLiquitySPWithdraw?: undefined;
1328
+ LidoStake?: undefined;
1329
+ LidoWrap?: undefined;
1330
+ LidoUnwrap?: undefined;
1331
+ InstPullTokens?: undefined;
1332
+ BalancerV2Supply?: undefined;
1333
+ BalancerV2Withdraw?: undefined;
1334
+ BalancerV2Claim?: undefined;
1335
+ GUniWithdraw?: undefined;
1336
+ GUniDeposit?: undefined;
1337
+ RariDeposit?: undefined;
1338
+ RariWithdraw?: undefined;
1339
+ MStableDeposit?: undefined;
1340
+ MStableWithdraw?: undefined;
1341
+ MStableClaim?: undefined;
1342
+ McdRatioCheck?: undefined;
1343
+ GasFeeTaker?: undefined;
1344
+ CurveStethPoolDeposit?: undefined;
1345
+ CurveStethPoolWithdraw?: undefined;
1346
+ CurveDeposit?: undefined;
1347
+ CurveWithdraw?: undefined;
1348
+ McdBoostComposite?: undefined;
1349
+ McdRepayComposite?: undefined;
1350
+ FLEuler?: undefined;
1351
+ TrailingStopTrigger?: undefined;
1352
+ CBRebondTrigger?: undefined;
1353
+ CBUpdateRebondSub?: undefined;
1354
+ LiquityRatioCheck?: undefined;
1355
+ ConvexDeposit?: undefined;
1356
+ ConvexWithdraw?: undefined;
1357
+ ConvexClaim?: undefined;
1358
+ CBCreate?: undefined;
1359
+ CBRedeem?: undefined;
1360
+ CBChickenIn?: undefined;
1361
+ CBChickenOut?: undefined;
1362
+ CBCreateRebondSub?: undefined;
1363
+ FetchBondId?: undefined;
1364
+ CompV3Allow?: undefined;
1365
+ CompV3Borrow?: undefined;
1366
+ CompV3Claim?: undefined;
1367
+ CompV3Payback?: undefined;
1368
+ CompV3Supply?: undefined;
1369
+ CompV3Transfer?: undefined;
1370
+ CompV3Withdraw?: undefined;
1371
+ CurveUsdBorrow?: undefined;
1372
+ CurveUsdCreate?: undefined;
1373
+ CurveUsdPayback?: undefined;
1374
+ CurveUsdSupply?: undefined;
1375
+ CurveUsdWithdraw?: undefined;
1376
+ CurveUsdLevCreate?: undefined;
1377
+ CurveUsdRepay?: undefined;
1378
+ CurveUsdSwapper?: undefined;
1379
+ CurveUsdSelfLiquidate?: undefined;
1380
+ CurveUsdSelfLiquidateWithColl?: undefined;
1381
+ AaveV3RatioTrigger?: undefined;
1382
+ GasFeeTakerL2?: undefined;
1383
+ AaveV3RatioCheck?: undefined;
1042
1384
  };
1043
1385
  declare const otherAddressesAllChains: {
1044
1386
  [x: number]: {
@@ -1083,6 +1425,27 @@ declare const otherAddressesAllChains: {
1083
1425
  GHO?: undefined;
1084
1426
  LUSD?: undefined;
1085
1427
  BLUSD?: undefined;
1428
+ } | {
1429
+ RecipeExecutor: string;
1430
+ DFSRegistry: string;
1431
+ ProxyRegistry: string;
1432
+ DSGuardFactory: string;
1433
+ AdminVault: string;
1434
+ DefisaverLogger: string;
1435
+ Empty: string;
1436
+ DFSProxyRegistry?: undefined;
1437
+ McdCdpManager?: undefined;
1438
+ BCdpManager?: undefined;
1439
+ AaveDefaultMarket?: undefined;
1440
+ UniswapV3PositionManager?: undefined;
1441
+ RaiWethUniV2LPToken?: undefined;
1442
+ BalancerToken?: undefined;
1443
+ CrvToken?: undefined;
1444
+ CvxToken?: undefined;
1445
+ DAI?: undefined;
1446
+ GHO?: undefined;
1447
+ LUSD?: undefined;
1448
+ BLUSD?: undefined;
1086
1449
  };
1087
1450
  };
1088
1451
  declare const otherAddresses: (chainId?: null) => {
@@ -1127,6 +1490,27 @@ declare const otherAddresses: (chainId?: null) => {
1127
1490
  GHO?: undefined;
1128
1491
  LUSD?: undefined;
1129
1492
  BLUSD?: undefined;
1493
+ } | {
1494
+ RecipeExecutor: string;
1495
+ DFSRegistry: string;
1496
+ ProxyRegistry: string;
1497
+ DSGuardFactory: string;
1498
+ AdminVault: string;
1499
+ DefisaverLogger: string;
1500
+ Empty: string;
1501
+ DFSProxyRegistry?: undefined;
1502
+ McdCdpManager?: undefined;
1503
+ BCdpManager?: undefined;
1504
+ AaveDefaultMarket?: undefined;
1505
+ UniswapV3PositionManager?: undefined;
1506
+ RaiWethUniV2LPToken?: undefined;
1507
+ BalancerToken?: undefined;
1508
+ CrvToken?: undefined;
1509
+ CvxToken?: undefined;
1510
+ DAI?: undefined;
1511
+ GHO?: undefined;
1512
+ LUSD?: undefined;
1513
+ BLUSD?: undefined;
1130
1514
  };
1131
1515
  export { Action, ActionWithL2, Recipe, Strategy, DfsWeb3, actions, triggers, utils, configure, getNetworkData, CONFIG, networks, actionAddresses, actionAddressesAllChains, otherAddresses, otherAddressesAllChains, getAddr, };
1132
1516
  declare const _default: {
@@ -1331,12 +1715,181 @@ declare const _default: {
1331
1715
  AaveV3Supply: string;
1332
1716
  AaveV3SwapBorrowRateMode: string;
1333
1717
  AaveV3Withdraw: string;
1334
- AaveV3ClaimRewards: string;
1718
+ AaveV3ClaimRewards: string;
1719
+ FLAaveV3NoFee: string;
1720
+ FLAaveV3: string;
1721
+ FLBalancer: string;
1722
+ FLAction: string;
1723
+ AaveV3RatioTrigger: string;
1724
+ GasFeeTakerL2: string;
1725
+ AaveV3RatioCheck: string;
1726
+ UniCollectV3: string;
1727
+ UniMintV3: string;
1728
+ UniSupplyV3: string;
1729
+ UniWithdrawV3: string;
1730
+ UniCreatePoolV3: string;
1731
+ SumInputs?: undefined;
1732
+ SubInputs?: undefined;
1733
+ ChangeProxyOwner?: undefined;
1734
+ AutomationV2Unsub?: undefined;
1735
+ UpdateSub?: undefined;
1736
+ TransferNFT?: undefined;
1737
+ CreateSub?: undefined;
1738
+ SDaiWrap?: undefined;
1739
+ SDaiUnwrap?: undefined;
1740
+ McdGenerate?: undefined;
1741
+ McdGive?: undefined;
1742
+ McdMerge?: undefined;
1743
+ McdOpen?: undefined;
1744
+ McdPayback?: undefined;
1745
+ McdSupply?: undefined;
1746
+ McdWithdraw?: undefined;
1747
+ McdClaim?: undefined;
1748
+ McdDsrDeposit?: undefined;
1749
+ McdDsrWithdraw?: undefined;
1750
+ ReflexerSupply?: undefined;
1751
+ ReflexerWithdraw?: undefined;
1752
+ ReflexerPayback?: undefined;
1753
+ ReflexerGenerate?: undefined;
1754
+ ReflexerOpen?: undefined;
1755
+ ReflexerNativeUniV2SaviourDeposit?: undefined;
1756
+ ReflexerNativeUniV2SaviourGetReserves?: undefined;
1757
+ ReflexerNativeUniV2SaviourWithdraw?: undefined;
1758
+ AaveBorrow?: undefined;
1759
+ AavePayback?: undefined;
1760
+ AaveSupply?: undefined;
1761
+ AaveWithdraw?: undefined;
1762
+ AaveCollateralSwitch?: undefined;
1763
+ AaveUnstake?: undefined;
1764
+ AaveClaimAAVE?: undefined;
1765
+ AaveV3View?: undefined;
1766
+ MorphoAaveV2Borrow?: undefined;
1767
+ MorphoAaveV2Payback?: undefined;
1768
+ MorphoAaveV2Supply?: undefined;
1769
+ MorphoAaveV2Withdraw?: undefined;
1770
+ MorphoClaim?: undefined;
1771
+ MorphoAaveV3Borrow?: undefined;
1772
+ MorphoAaveV3Payback?: undefined;
1773
+ MorphoAaveV3Supply?: undefined;
1774
+ MorphoAaveV3Withdraw?: undefined;
1775
+ SparkBorrow?: undefined;
1776
+ SparkClaimRewards?: undefined;
1777
+ SparkCollateralSwitch?: undefined;
1778
+ SparkPayback?: undefined;
1779
+ SparkSetEMode?: undefined;
1780
+ SparkSpTokenPayback?: undefined;
1781
+ SparkSupply?: undefined;
1782
+ SparkSwapBorrowRateMode?: undefined;
1783
+ SparkWithdraw?: undefined;
1784
+ CompBorrow?: undefined;
1785
+ CompClaim?: undefined;
1786
+ CompPayback?: undefined;
1787
+ CompSupply?: undefined;
1788
+ CompWithdraw?: undefined;
1789
+ CompGetDebt?: undefined;
1790
+ CompCollateralSwitch?: undefined;
1791
+ FLAaveV2?: undefined;
1792
+ FLDyDx?: undefined;
1793
+ FLMaker?: undefined;
1794
+ FLSpark?: undefined;
1795
+ FLUniV3?: undefined;
1796
+ FLGho?: undefined;
1797
+ UniSupply?: undefined;
1798
+ UniWithdraw?: undefined;
1799
+ DyDxWithdraw?: undefined;
1800
+ YearnSupply?: undefined;
1801
+ YearnWithdraw?: undefined;
1802
+ LiquityClose?: undefined;
1803
+ LiquityBorrow?: undefined;
1804
+ LiquityOpen?: undefined;
1805
+ LiquityPayback?: undefined;
1806
+ LiquityWithdraw?: undefined;
1807
+ LiquitySupply?: undefined;
1808
+ LiquitySPDeposit?: undefined;
1809
+ LiquitySPWithdraw?: undefined;
1810
+ LiquityStake?: undefined;
1811
+ LiquityUnstake?: undefined;
1812
+ LiquityEthGainToTrove?: undefined;
1813
+ LiquityClaim?: undefined;
1814
+ LiquityRedeem?: undefined;
1815
+ LiquityAdjust?: undefined;
1816
+ BprotocolLiquitySPDeposit?: undefined;
1817
+ BprotocolLiquitySPWithdraw?: undefined;
1818
+ LidoStake?: undefined;
1819
+ LidoWrap?: undefined;
1820
+ LidoUnwrap?: undefined;
1821
+ InstPullTokens?: undefined;
1822
+ BalancerV2Supply?: undefined;
1823
+ BalancerV2Withdraw?: undefined;
1824
+ BalancerV2Claim?: undefined;
1825
+ GUniWithdraw?: undefined;
1826
+ GUniDeposit?: undefined;
1827
+ RariDeposit?: undefined;
1828
+ RariWithdraw?: undefined;
1829
+ MStableDeposit?: undefined;
1830
+ MStableWithdraw?: undefined;
1831
+ MStableClaim?: undefined;
1832
+ McdRatioCheck?: undefined;
1833
+ GasFeeTaker?: undefined;
1834
+ CurveStethPoolDeposit?: undefined;
1835
+ CurveStethPoolWithdraw?: undefined;
1836
+ CurveDeposit?: undefined;
1837
+ CurveWithdraw?: undefined;
1838
+ McdBoostComposite?: undefined;
1839
+ McdRepayComposite?: undefined;
1840
+ FLEuler?: undefined;
1841
+ TrailingStopTrigger?: undefined;
1842
+ CBRebondTrigger?: undefined;
1843
+ CBUpdateRebondSub?: undefined;
1844
+ LiquityRatioCheck?: undefined;
1845
+ ConvexDeposit?: undefined;
1846
+ ConvexWithdraw?: undefined;
1847
+ ConvexClaim?: undefined;
1848
+ CBCreate?: undefined;
1849
+ CBRedeem?: undefined;
1850
+ CBChickenIn?: undefined;
1851
+ CBChickenOut?: undefined;
1852
+ CBCreateRebondSub?: undefined;
1853
+ FetchBondId?: undefined;
1854
+ CompV3Allow?: undefined;
1855
+ CompV3Borrow?: undefined;
1856
+ CompV3Claim?: undefined;
1857
+ CompV3Payback?: undefined;
1858
+ CompV3Supply?: undefined;
1859
+ CompV3Transfer?: undefined;
1860
+ CompV3Withdraw?: undefined;
1861
+ CurveUsdBorrow?: undefined;
1862
+ CurveUsdCreate?: undefined;
1863
+ CurveUsdPayback?: undefined;
1864
+ CurveUsdSupply?: undefined;
1865
+ CurveUsdWithdraw?: undefined;
1866
+ CurveUsdLevCreate?: undefined;
1867
+ CurveUsdRepay?: undefined;
1868
+ CurveUsdSwapper?: undefined;
1869
+ CurveUsdSelfLiquidate?: undefined;
1870
+ CurveUsdSelfLiquidateWithColl?: undefined;
1871
+ } | {
1872
+ DFSSell: string;
1873
+ WrapEth: string;
1874
+ UnwrapEth: string;
1875
+ SendToken: string;
1876
+ PullToken: string;
1877
+ SendTokenAndUnwrap: string;
1878
+ ToggleSub: string;
1879
+ TokenBalance: string;
1880
+ TokenizedVaultAdapter: string;
1881
+ AaveV3ATokenPayback: string;
1882
+ AaveV3Borrow: string;
1883
+ AaveV3CollateralSwitch: string;
1884
+ AaveV3Payback: string;
1885
+ AaveV3SetEMode: string;
1886
+ AaveV3Supply: string;
1887
+ AaveV3SwapBorrowRateMode: string;
1888
+ AaveV3Withdraw: string;
1335
1889
  FLAaveV3NoFee: string;
1336
1890
  FLAaveV3: string;
1337
1891
  FLBalancer: string;
1338
1892
  FLAction: string;
1339
- AaveV3RatioTrigger: string;
1340
1893
  GasFeeTakerL2: string;
1341
1894
  AaveV3RatioCheck: string;
1342
1895
  UniCollectV3: string;
@@ -1378,6 +1931,7 @@ declare const _default: {
1378
1931
  AaveCollateralSwitch?: undefined;
1379
1932
  AaveUnstake?: undefined;
1380
1933
  AaveClaimAAVE?: undefined;
1934
+ AaveV3ClaimRewards?: undefined;
1381
1935
  AaveV3View?: undefined;
1382
1936
  MorphoAaveV2Borrow?: undefined;
1383
1937
  MorphoAaveV2Payback?: undefined;
@@ -1484,44 +2038,26 @@ declare const _default: {
1484
2038
  CurveUsdSwapper?: undefined;
1485
2039
  CurveUsdSelfLiquidate?: undefined;
1486
2040
  CurveUsdSelfLiquidateWithColl?: undefined;
2041
+ AaveV3RatioTrigger?: undefined;
1487
2042
  } | {
1488
2043
  DFSSell: string;
1489
- WrapEth: string;
1490
- UnwrapEth: string;
1491
- SendToken: string;
1492
- PullToken: string;
1493
- SendTokenAndUnwrap: string;
1494
- ToggleSub: string;
1495
- TokenBalance: string;
1496
- TokenizedVaultAdapter: string;
1497
- AaveV3ATokenPayback: string;
1498
- AaveV3Borrow: string;
1499
- AaveV3CollateralSwitch: string;
1500
- AaveV3Payback: string;
1501
- AaveV3SetEMode: string;
1502
- AaveV3Supply: string;
1503
- AaveV3SwapBorrowRateMode: string;
1504
- AaveV3Withdraw: string;
1505
- FLAaveV3NoFee: string;
1506
- FLAaveV3: string;
1507
- FLBalancer: string;
1508
- FLAction: string;
1509
- GasFeeTakerL2: string;
1510
- AaveV3RatioCheck: string;
1511
- UniCollectV3: string;
1512
- UniMintV3: string;
1513
- UniSupplyV3: string;
1514
- UniWithdrawV3: string;
1515
- UniCreatePoolV3: string;
2044
+ WrapEth?: undefined;
2045
+ UnwrapEth?: undefined;
2046
+ PullToken?: undefined;
2047
+ SendToken?: undefined;
1516
2048
  SumInputs?: undefined;
1517
2049
  SubInputs?: undefined;
1518
2050
  ChangeProxyOwner?: undefined;
2051
+ TokenBalance?: undefined;
1519
2052
  AutomationV2Unsub?: undefined;
2053
+ SendTokenAndUnwrap?: undefined;
2054
+ ToggleSub?: undefined;
1520
2055
  UpdateSub?: undefined;
1521
2056
  TransferNFT?: undefined;
1522
2057
  CreateSub?: undefined;
1523
2058
  SDaiWrap?: undefined;
1524
2059
  SDaiUnwrap?: undefined;
2060
+ TokenizedVaultAdapter?: undefined;
1525
2061
  McdGenerate?: undefined;
1526
2062
  McdGive?: undefined;
1527
2063
  McdMerge?: undefined;
@@ -1547,7 +2083,15 @@ declare const _default: {
1547
2083
  AaveCollateralSwitch?: undefined;
1548
2084
  AaveUnstake?: undefined;
1549
2085
  AaveClaimAAVE?: undefined;
2086
+ AaveV3Withdraw?: undefined;
2087
+ AaveV3SwapBorrowRateMode?: undefined;
2088
+ AaveV3Supply?: undefined;
2089
+ AaveV3SetEMode?: undefined;
2090
+ AaveV3Payback?: undefined;
2091
+ AaveV3CollateralSwitch?: undefined;
1550
2092
  AaveV3ClaimRewards?: undefined;
2093
+ AaveV3Borrow?: undefined;
2094
+ AaveV3ATokenPayback?: undefined;
1551
2095
  AaveV3View?: undefined;
1552
2096
  MorphoAaveV2Borrow?: undefined;
1553
2097
  MorphoAaveV2Payback?: undefined;
@@ -1575,13 +2119,22 @@ declare const _default: {
1575
2119
  CompGetDebt?: undefined;
1576
2120
  CompCollateralSwitch?: undefined;
1577
2121
  FLAaveV2?: undefined;
2122
+ FLAaveV3NoFee?: undefined;
2123
+ FLAaveV3?: undefined;
1578
2124
  FLDyDx?: undefined;
1579
2125
  FLMaker?: undefined;
2126
+ FLBalancer?: undefined;
1580
2127
  FLSpark?: undefined;
2128
+ FLAction?: undefined;
1581
2129
  FLUniV3?: undefined;
1582
2130
  FLGho?: undefined;
1583
2131
  UniSupply?: undefined;
1584
2132
  UniWithdraw?: undefined;
2133
+ UniCollectV3?: undefined;
2134
+ UniMintV3?: undefined;
2135
+ UniSupplyV3?: undefined;
2136
+ UniWithdrawV3?: undefined;
2137
+ UniCreatePoolV3?: undefined;
1585
2138
  DyDxWithdraw?: undefined;
1586
2139
  YearnSupply?: undefined;
1587
2140
  YearnWithdraw?: undefined;
@@ -1655,6 +2208,8 @@ declare const _default: {
1655
2208
  CurveUsdSelfLiquidate?: undefined;
1656
2209
  CurveUsdSelfLiquidateWithColl?: undefined;
1657
2210
  AaveV3RatioTrigger?: undefined;
2211
+ GasFeeTakerL2?: undefined;
2212
+ AaveV3RatioCheck?: undefined;
1658
2213
  };
1659
2214
  actionAddressesAllChains: {
1660
2215
  [x: number]: {
@@ -2170,6 +2725,177 @@ declare const _default: {
2170
2725
  CurveUsdSelfLiquidate?: undefined;
2171
2726
  CurveUsdSelfLiquidateWithColl?: undefined;
2172
2727
  AaveV3RatioTrigger?: undefined;
2728
+ } | {
2729
+ DFSSell: string;
2730
+ WrapEth?: undefined;
2731
+ UnwrapEth?: undefined;
2732
+ PullToken?: undefined;
2733
+ SendToken?: undefined;
2734
+ SumInputs?: undefined;
2735
+ SubInputs?: undefined;
2736
+ ChangeProxyOwner?: undefined;
2737
+ TokenBalance?: undefined;
2738
+ AutomationV2Unsub?: undefined;
2739
+ SendTokenAndUnwrap?: undefined;
2740
+ ToggleSub?: undefined;
2741
+ UpdateSub?: undefined;
2742
+ TransferNFT?: undefined;
2743
+ CreateSub?: undefined;
2744
+ SDaiWrap?: undefined;
2745
+ SDaiUnwrap?: undefined;
2746
+ TokenizedVaultAdapter?: undefined;
2747
+ McdGenerate?: undefined;
2748
+ McdGive?: undefined;
2749
+ McdMerge?: undefined;
2750
+ McdOpen?: undefined;
2751
+ McdPayback?: undefined;
2752
+ McdSupply?: undefined;
2753
+ McdWithdraw?: undefined;
2754
+ McdClaim?: undefined;
2755
+ McdDsrDeposit?: undefined;
2756
+ McdDsrWithdraw?: undefined;
2757
+ ReflexerSupply?: undefined;
2758
+ ReflexerWithdraw?: undefined;
2759
+ ReflexerPayback?: undefined;
2760
+ ReflexerGenerate?: undefined;
2761
+ ReflexerOpen?: undefined;
2762
+ ReflexerNativeUniV2SaviourDeposit?: undefined;
2763
+ ReflexerNativeUniV2SaviourGetReserves?: undefined;
2764
+ ReflexerNativeUniV2SaviourWithdraw?: undefined;
2765
+ AaveBorrow?: undefined;
2766
+ AavePayback?: undefined;
2767
+ AaveSupply?: undefined;
2768
+ AaveWithdraw?: undefined;
2769
+ AaveCollateralSwitch?: undefined;
2770
+ AaveUnstake?: undefined;
2771
+ AaveClaimAAVE?: undefined;
2772
+ AaveV3Withdraw?: undefined;
2773
+ AaveV3SwapBorrowRateMode?: undefined;
2774
+ AaveV3Supply?: undefined;
2775
+ AaveV3SetEMode?: undefined;
2776
+ AaveV3Payback?: undefined;
2777
+ AaveV3CollateralSwitch?: undefined;
2778
+ AaveV3ClaimRewards?: undefined;
2779
+ AaveV3Borrow?: undefined;
2780
+ AaveV3ATokenPayback?: undefined;
2781
+ AaveV3View?: undefined;
2782
+ MorphoAaveV2Borrow?: undefined;
2783
+ MorphoAaveV2Payback?: undefined;
2784
+ MorphoAaveV2Supply?: undefined;
2785
+ MorphoAaveV2Withdraw?: undefined;
2786
+ MorphoClaim?: undefined;
2787
+ MorphoAaveV3Borrow?: undefined;
2788
+ MorphoAaveV3Payback?: undefined;
2789
+ MorphoAaveV3Supply?: undefined;
2790
+ MorphoAaveV3Withdraw?: undefined;
2791
+ SparkBorrow?: undefined;
2792
+ SparkClaimRewards?: undefined;
2793
+ SparkCollateralSwitch?: undefined;
2794
+ SparkPayback?: undefined;
2795
+ SparkSetEMode?: undefined;
2796
+ SparkSpTokenPayback?: undefined;
2797
+ SparkSupply?: undefined;
2798
+ SparkSwapBorrowRateMode?: undefined;
2799
+ SparkWithdraw?: undefined;
2800
+ CompBorrow?: undefined;
2801
+ CompClaim?: undefined;
2802
+ CompPayback?: undefined;
2803
+ CompSupply?: undefined;
2804
+ CompWithdraw?: undefined;
2805
+ CompGetDebt?: undefined;
2806
+ CompCollateralSwitch?: undefined;
2807
+ FLAaveV2?: undefined;
2808
+ FLAaveV3NoFee?: undefined;
2809
+ FLAaveV3?: undefined;
2810
+ FLDyDx?: undefined;
2811
+ FLMaker?: undefined;
2812
+ FLBalancer?: undefined;
2813
+ FLSpark?: undefined;
2814
+ FLAction?: undefined;
2815
+ FLUniV3?: undefined;
2816
+ FLGho?: undefined;
2817
+ UniSupply?: undefined;
2818
+ UniWithdraw?: undefined;
2819
+ UniCollectV3?: undefined;
2820
+ UniMintV3?: undefined;
2821
+ UniSupplyV3?: undefined;
2822
+ UniWithdrawV3?: undefined;
2823
+ UniCreatePoolV3?: undefined;
2824
+ DyDxWithdraw?: undefined;
2825
+ YearnSupply?: undefined;
2826
+ YearnWithdraw?: undefined;
2827
+ LiquityClose?: undefined;
2828
+ LiquityBorrow?: undefined;
2829
+ LiquityOpen?: undefined;
2830
+ LiquityPayback?: undefined;
2831
+ LiquityWithdraw?: undefined;
2832
+ LiquitySupply?: undefined;
2833
+ LiquitySPDeposit?: undefined;
2834
+ LiquitySPWithdraw?: undefined;
2835
+ LiquityStake?: undefined;
2836
+ LiquityUnstake?: undefined;
2837
+ LiquityEthGainToTrove?: undefined;
2838
+ LiquityClaim?: undefined;
2839
+ LiquityRedeem?: undefined;
2840
+ LiquityAdjust?: undefined;
2841
+ BprotocolLiquitySPDeposit?: undefined;
2842
+ BprotocolLiquitySPWithdraw?: undefined;
2843
+ LidoStake?: undefined;
2844
+ LidoWrap?: undefined;
2845
+ LidoUnwrap?: undefined;
2846
+ InstPullTokens?: undefined;
2847
+ BalancerV2Supply?: undefined;
2848
+ BalancerV2Withdraw?: undefined;
2849
+ BalancerV2Claim?: undefined;
2850
+ GUniWithdraw?: undefined;
2851
+ GUniDeposit?: undefined;
2852
+ RariDeposit?: undefined;
2853
+ RariWithdraw?: undefined;
2854
+ MStableDeposit?: undefined;
2855
+ MStableWithdraw?: undefined;
2856
+ MStableClaim?: undefined;
2857
+ McdRatioCheck?: undefined;
2858
+ GasFeeTaker?: undefined;
2859
+ CurveStethPoolDeposit?: undefined;
2860
+ CurveStethPoolWithdraw?: undefined;
2861
+ CurveDeposit?: undefined;
2862
+ CurveWithdraw?: undefined;
2863
+ McdBoostComposite?: undefined;
2864
+ McdRepayComposite?: undefined;
2865
+ FLEuler?: undefined;
2866
+ TrailingStopTrigger?: undefined;
2867
+ CBRebondTrigger?: undefined;
2868
+ CBUpdateRebondSub?: undefined;
2869
+ LiquityRatioCheck?: undefined;
2870
+ ConvexDeposit?: undefined;
2871
+ ConvexWithdraw?: undefined;
2872
+ ConvexClaim?: undefined;
2873
+ CBCreate?: undefined;
2874
+ CBRedeem?: undefined;
2875
+ CBChickenIn?: undefined;
2876
+ CBChickenOut?: undefined;
2877
+ CBCreateRebondSub?: undefined;
2878
+ FetchBondId?: undefined;
2879
+ CompV3Allow?: undefined;
2880
+ CompV3Borrow?: undefined;
2881
+ CompV3Claim?: undefined;
2882
+ CompV3Payback?: undefined;
2883
+ CompV3Supply?: undefined;
2884
+ CompV3Transfer?: undefined;
2885
+ CompV3Withdraw?: undefined;
2886
+ CurveUsdBorrow?: undefined;
2887
+ CurveUsdCreate?: undefined;
2888
+ CurveUsdPayback?: undefined;
2889
+ CurveUsdSupply?: undefined;
2890
+ CurveUsdWithdraw?: undefined;
2891
+ CurveUsdLevCreate?: undefined;
2892
+ CurveUsdRepay?: undefined;
2893
+ CurveUsdSwapper?: undefined;
2894
+ CurveUsdSelfLiquidate?: undefined;
2895
+ CurveUsdSelfLiquidateWithColl?: undefined;
2896
+ AaveV3RatioTrigger?: undefined;
2897
+ GasFeeTakerL2?: undefined;
2898
+ AaveV3RatioCheck?: undefined;
2173
2899
  };
2174
2900
  };
2175
2901
  otherAddresses: (chainId?: null) => {
@@ -2214,6 +2940,27 @@ declare const _default: {
2214
2940
  GHO?: undefined;
2215
2941
  LUSD?: undefined;
2216
2942
  BLUSD?: undefined;
2943
+ } | {
2944
+ RecipeExecutor: string;
2945
+ DFSRegistry: string;
2946
+ ProxyRegistry: string;
2947
+ DSGuardFactory: string;
2948
+ AdminVault: string;
2949
+ DefisaverLogger: string;
2950
+ Empty: string;
2951
+ DFSProxyRegistry?: undefined;
2952
+ McdCdpManager?: undefined;
2953
+ BCdpManager?: undefined;
2954
+ AaveDefaultMarket?: undefined;
2955
+ UniswapV3PositionManager?: undefined;
2956
+ RaiWethUniV2LPToken?: undefined;
2957
+ BalancerToken?: undefined;
2958
+ CrvToken?: undefined;
2959
+ CvxToken?: undefined;
2960
+ DAI?: undefined;
2961
+ GHO?: undefined;
2962
+ LUSD?: undefined;
2963
+ BLUSD?: undefined;
2217
2964
  };
2218
2965
  otherAddressesAllChains: {
2219
2966
  [x: number]: {
@@ -2258,6 +3005,27 @@ declare const _default: {
2258
3005
  GHO?: undefined;
2259
3006
  LUSD?: undefined;
2260
3007
  BLUSD?: undefined;
3008
+ } | {
3009
+ RecipeExecutor: string;
3010
+ DFSRegistry: string;
3011
+ ProxyRegistry: string;
3012
+ DSGuardFactory: string;
3013
+ AdminVault: string;
3014
+ DefisaverLogger: string;
3015
+ Empty: string;
3016
+ DFSProxyRegistry?: undefined;
3017
+ McdCdpManager?: undefined;
3018
+ BCdpManager?: undefined;
3019
+ AaveDefaultMarket?: undefined;
3020
+ UniswapV3PositionManager?: undefined;
3021
+ RaiWethUniV2LPToken?: undefined;
3022
+ BalancerToken?: undefined;
3023
+ CrvToken?: undefined;
3024
+ CvxToken?: undefined;
3025
+ DAI?: undefined;
3026
+ GHO?: undefined;
3027
+ LUSD?: undefined;
3028
+ BLUSD?: undefined;
2261
3029
  };
2262
3030
  };
2263
3031
  getAddr: (name: string, chainId?: number) => string;
@@ -27,6 +27,7 @@ type Networks = {
27
27
  ethereum: Network;
28
28
  optimism: Network;
29
29
  arbitrum: Network;
30
+ base: Network;
30
31
  };
31
32
  type EthAddress = string;
32
33
  type bytes32 = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
package/src/addresses.ts CHANGED
@@ -313,6 +313,9 @@ export const actionAddresses = {
313
313
  UniWithdrawV3: '0xa004c22eFd0CD87847DE83Ce9ab92af5382c2efe',
314
314
  UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5',
315
315
  },
316
+ [NETWORKS.base.chainId]: {
317
+ DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
318
+ },
316
319
  };
317
320
 
318
321
  export const otherAddresses = {
@@ -360,6 +363,16 @@ export const otherAddresses = {
360
363
 
361
364
  UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
362
365
  },
366
+ [NETWORKS.base.chainId]: {
367
+ RecipeExecutor: '0xdDFFd19564F9703800Da8a2FB9c2b4a7242bf01F',
368
+ DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
369
+ ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
370
+
371
+ DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
372
+ AdminVault: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
373
+ DefisaverLogger: '0xc9D6EfA6e08B66a5Cdc516Bcd5807c2fa69E0f2A',
374
+ Empty: '0x0000000000000000000000000000000000000000',
375
+ },
363
376
  };
364
377
 
365
378
  /**
package/src/config.ts CHANGED
@@ -38,6 +38,14 @@ export const NETWORKS : Networks = {
38
38
  rpcUrls: ['https://arb1.arbitrum.io/rpc'],
39
39
  nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
40
40
  },
41
+ base: {
42
+ chainId: 8453,
43
+ chainName: 'Base',
44
+ blockExplorerUrls: ['https://basescan.io/'],
45
+ iconUrls: ['https://bridge.base.org/icons/base.svg'],
46
+ rpcUrls: [],
47
+ nativeCurrency: { name: 'Ethereum', decimals: 18, symbol: 'ETH' },
48
+ },
41
49
  };
42
50
 
43
51
  /**
@@ -73,4 +81,4 @@ export const configure = (config : Config) => {
73
81
  CONFIG[key as keyof Config] = config[key as keyof Config];
74
82
  if (key === 'chainId') dfsTokensSetConfig('network', config[key]);
75
83
  });
76
- };
84
+ };
package/src/types.ts CHANGED
@@ -29,6 +29,7 @@ type Networks = {
29
29
  ethereum:Network,
30
30
  optimism:Network,
31
31
  arbitrum:Network,
32
+ base:Network,
32
33
  };
33
34
 
34
35
  type EthAddress = string;
package/umd/index.js CHANGED
@@ -328,6 +328,18 @@ var NETWORKS = {
328
328
  decimals: 18,
329
329
  symbol: 'ETH'
330
330
  }
331
+ },
332
+ base: {
333
+ chainId: 8453,
334
+ chainName: 'Base',
335
+ blockExplorerUrls: ['https://basescan.io/'],
336
+ iconUrls: ['https://bridge.base.org/icons/base.svg'],
337
+ rpcUrls: [],
338
+ nativeCurrency: {
339
+ name: 'Ethereum',
340
+ decimals: 18,
341
+ symbol: 'ETH'
342
+ }
331
343
  }
332
344
  };
333
345
 
@@ -1511,6 +1523,9 @@ var actionAddresses = {
1511
1523
  UniSupplyV3: '0x55675C6041A33EE9BDd796Edaa0f098AC7F3534f',
1512
1524
  UniWithdrawV3: '0xa004c22eFd0CD87847DE83Ce9ab92af5382c2efe',
1513
1525
  UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5'
1526
+ },
1527
+ [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
1528
+ DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4'
1514
1529
  }
1515
1530
  };
1516
1531
  var otherAddresses = {
@@ -1552,6 +1567,15 @@ var otherAddresses = {
1552
1567
  DefisaverLogger: '0xE6f9A5C850dbcD12bc64f40d692F537250aDEC38',
1553
1568
  Empty: '0x0000000000000000000000000000000000000000',
1554
1569
  UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
1570
+ },
1571
+ [_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
1572
+ RecipeExecutor: '0xdDFFd19564F9703800Da8a2FB9c2b4a7242bf01F',
1573
+ DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
1574
+ ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
1575
+ DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
1576
+ AdminVault: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
1577
+ DefisaverLogger: '0xc9D6EfA6e08B66a5Cdc516Bcd5807c2fa69E0f2A',
1578
+ Empty: '0x0000000000000000000000000000000000000000'
1555
1579
  }
1556
1580
  };
1557
1581