@defisaver/sdk 1.3.25 → 1.3.26-uniswap-dev-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/src/actions/aaveV3/AaveV3DelegateCredit.d.ts +1 -1
- package/esm/src/actions/aaveV3/AaveV3DelegateCredit.js +1 -1
- package/esm/src/actions/flashloan/AaveV3FlashLoanAction.d.ts +1 -1
- package/esm/src/actions/flashloan/AaveV3FlashLoanAction.js +1 -1
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.d.ts +4 -2
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.js +12 -6
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.d.ts +1 -1
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.js +1 -1
- package/esm/src/actions/uniswap/UniswapClaimAction.d.ts +16 -0
- package/esm/src/actions/uniswap/UniswapClaimAction.js +23 -0
- package/esm/src/actions/uniswap/index.d.ts +1 -0
- package/esm/src/actions/uniswap/index.js +1 -0
- package/esm/src/addresses.d.ts +14 -8
- package/esm/src/addresses.js +5 -12
- package/esm/src/index.d.ts +56 -32
- package/package.json +1 -1
- package/src/actions/aaveV3/AaveV3DelegateCredit.ts +1 -1
- package/src/actions/flashloan/AaveV3FlashLoanAction.ts +1 -1
- package/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.ts +13 -7
- package/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.ts +1 -1
- package/src/actions/uniswap/UniswapClaimAction.ts +31 -0
- package/src/actions/uniswap/index.ts +2 -1
- package/src/addresses.ts +5 -12
- package/test/actions/uniswap/UniswapClaimAction.js +31 -0
- package/umd/index.js +720 -688
package/esm/src/index.d.ts
CHANGED
|
@@ -83,7 +83,6 @@ declare const actionAddressesAllChains: {
|
|
|
83
83
|
AaveV3ATokenPayback: string;
|
|
84
84
|
AaveV3View: string;
|
|
85
85
|
AaveV3DelegateWithSig: string;
|
|
86
|
-
AaveV3DelegateCredit: string;
|
|
87
86
|
GhoClaimAAVE: string;
|
|
88
87
|
GhoUnstake: string;
|
|
89
88
|
GhoStake: string;
|
|
@@ -135,6 +134,7 @@ declare const actionAddressesAllChains: {
|
|
|
135
134
|
FLMorphoBlue: string;
|
|
136
135
|
UniSupply: string;
|
|
137
136
|
UniWithdraw: string;
|
|
137
|
+
UniswapClaim: string;
|
|
138
138
|
UniCollectV3: string;
|
|
139
139
|
UniMintV3: string;
|
|
140
140
|
UniSupplyV3: string;
|
|
@@ -299,6 +299,7 @@ declare const actionAddressesAllChains: {
|
|
|
299
299
|
AaveV4DelegateWithdrawWithSig: string;
|
|
300
300
|
AaveV4DelegateBorrowWithSig: string;
|
|
301
301
|
AaveV4DelegateSetUsingAsCollateralWithSig: string;
|
|
302
|
+
AaveV3DelegateCredit?: undefined;
|
|
302
303
|
AaveV3RatioTrigger?: undefined;
|
|
303
304
|
GasFeeTakerL2?: undefined;
|
|
304
305
|
AaveV3RatioCheck?: undefined;
|
|
@@ -339,7 +340,6 @@ declare const actionAddressesAllChains: {
|
|
|
339
340
|
FLAaveV3: string;
|
|
340
341
|
FLBalancer: string;
|
|
341
342
|
FLAction: string;
|
|
342
|
-
FLAaveV3CarryDebt: string;
|
|
343
343
|
AaveV3RatioTrigger: string;
|
|
344
344
|
GasFeeTakerL2: string;
|
|
345
345
|
AaveV3RatioCheck: string;
|
|
@@ -438,6 +438,7 @@ declare const actionAddressesAllChains: {
|
|
|
438
438
|
CompGetDebt?: undefined;
|
|
439
439
|
CompCollateralSwitch?: undefined;
|
|
440
440
|
FLAaveV2?: undefined;
|
|
441
|
+
FLAaveV3CarryDebt?: undefined;
|
|
441
442
|
FLDyDx?: undefined;
|
|
442
443
|
FLMaker?: undefined;
|
|
443
444
|
FLSpark?: undefined;
|
|
@@ -446,6 +447,7 @@ declare const actionAddressesAllChains: {
|
|
|
446
447
|
FLMorphoBlue?: undefined;
|
|
447
448
|
UniSupply?: undefined;
|
|
448
449
|
UniWithdraw?: undefined;
|
|
450
|
+
UniswapClaim?: undefined;
|
|
449
451
|
DyDxWithdraw?: undefined;
|
|
450
452
|
YearnSupply?: undefined;
|
|
451
453
|
YearnWithdraw?: undefined;
|
|
@@ -627,7 +629,6 @@ declare const actionAddressesAllChains: {
|
|
|
627
629
|
AaveV3Withdraw: string;
|
|
628
630
|
AaveV3ClaimRewards: string;
|
|
629
631
|
AaveV3DelegateWithSig: string;
|
|
630
|
-
AaveV3DelegateCredit: string;
|
|
631
632
|
CompV3Allow: string;
|
|
632
633
|
CompV3Borrow: string;
|
|
633
634
|
CompV3Claim: string;
|
|
@@ -641,7 +642,6 @@ declare const actionAddressesAllChains: {
|
|
|
641
642
|
FLUniV3: string;
|
|
642
643
|
FLAction: string;
|
|
643
644
|
FLMorphoBlue: string;
|
|
644
|
-
FLAaveV3CarryDebt: string;
|
|
645
645
|
GasFeeTakerL2: string;
|
|
646
646
|
AaveV3RatioCheck: string;
|
|
647
647
|
UniCollectV3: string;
|
|
@@ -765,12 +765,14 @@ declare const actionAddressesAllChains: {
|
|
|
765
765
|
CompGetDebt?: undefined;
|
|
766
766
|
CompCollateralSwitch?: undefined;
|
|
767
767
|
FLAaveV2?: undefined;
|
|
768
|
+
FLAaveV3CarryDebt?: undefined;
|
|
768
769
|
FLDyDx?: undefined;
|
|
769
770
|
FLMaker?: undefined;
|
|
770
771
|
FLSpark?: undefined;
|
|
771
772
|
FLGho?: undefined;
|
|
772
773
|
UniSupply?: undefined;
|
|
773
774
|
UniWithdraw?: undefined;
|
|
775
|
+
UniswapClaim?: undefined;
|
|
774
776
|
DyDxWithdraw?: undefined;
|
|
775
777
|
YearnSupply?: undefined;
|
|
776
778
|
YearnWithdraw?: undefined;
|
|
@@ -886,6 +888,7 @@ declare const actionAddressesAllChains: {
|
|
|
886
888
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
887
889
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
888
890
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
891
|
+
AaveV3DelegateCredit?: undefined;
|
|
889
892
|
AaveV3RatioTrigger?: undefined;
|
|
890
893
|
} | {
|
|
891
894
|
DFSSell: string;
|
|
@@ -913,7 +916,6 @@ declare const actionAddressesAllChains: {
|
|
|
913
916
|
FLUniV3: string;
|
|
914
917
|
FLAction: string;
|
|
915
918
|
FLMorphoBlue: string;
|
|
916
|
-
FLAaveV3CarryDebt: string;
|
|
917
919
|
AaveV3Withdraw: string;
|
|
918
920
|
AaveV3SwapBorrowRateMode: string;
|
|
919
921
|
AaveV3Supply: string;
|
|
@@ -925,7 +927,6 @@ declare const actionAddressesAllChains: {
|
|
|
925
927
|
AaveV3ATokenPayback: string;
|
|
926
928
|
AaveV3View: string;
|
|
927
929
|
AaveV3DelegateWithSig: string;
|
|
928
|
-
AaveV3DelegateCredit: string;
|
|
929
930
|
CompV3Allow: string;
|
|
930
931
|
CompV3Borrow: string;
|
|
931
932
|
CompV3Claim: string;
|
|
@@ -1040,12 +1041,14 @@ declare const actionAddressesAllChains: {
|
|
|
1040
1041
|
CompCollateralSwitch?: undefined;
|
|
1041
1042
|
FLAaveV2?: undefined;
|
|
1042
1043
|
FLAaveV3NoFee?: undefined;
|
|
1044
|
+
FLAaveV3CarryDebt?: undefined;
|
|
1043
1045
|
FLDyDx?: undefined;
|
|
1044
1046
|
FLMaker?: undefined;
|
|
1045
1047
|
FLSpark?: undefined;
|
|
1046
1048
|
FLGho?: undefined;
|
|
1047
1049
|
UniSupply?: undefined;
|
|
1048
1050
|
UniWithdraw?: undefined;
|
|
1051
|
+
UniswapClaim?: undefined;
|
|
1049
1052
|
UniCollectV3?: undefined;
|
|
1050
1053
|
UniMintV3?: undefined;
|
|
1051
1054
|
UniSupplyV3?: undefined;
|
|
@@ -1177,6 +1180,7 @@ declare const actionAddressesAllChains: {
|
|
|
1177
1180
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
1178
1181
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
1179
1182
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
1183
|
+
AaveV3DelegateCredit?: undefined;
|
|
1180
1184
|
AaveV3RatioTrigger?: undefined;
|
|
1181
1185
|
AaveV3RatioCheck?: undefined;
|
|
1182
1186
|
} | {
|
|
@@ -1198,7 +1202,6 @@ declare const actionAddressesAllChains: {
|
|
|
1198
1202
|
TokenizedVaultAdapter: string;
|
|
1199
1203
|
FLAction: string;
|
|
1200
1204
|
FLAaveV3: string;
|
|
1201
|
-
FLAaveV3CarryDebt: string;
|
|
1202
1205
|
AaveV3Withdraw: string;
|
|
1203
1206
|
AaveV3Supply: string;
|
|
1204
1207
|
AaveV3SetEMode: string;
|
|
@@ -1295,6 +1298,7 @@ declare const actionAddressesAllChains: {
|
|
|
1295
1298
|
CompCollateralSwitch?: undefined;
|
|
1296
1299
|
FLAaveV2?: undefined;
|
|
1297
1300
|
FLAaveV3NoFee?: undefined;
|
|
1301
|
+
FLAaveV3CarryDebt?: undefined;
|
|
1298
1302
|
FLDyDx?: undefined;
|
|
1299
1303
|
FLMaker?: undefined;
|
|
1300
1304
|
FLBalancer?: undefined;
|
|
@@ -1304,6 +1308,7 @@ declare const actionAddressesAllChains: {
|
|
|
1304
1308
|
FLMorphoBlue?: undefined;
|
|
1305
1309
|
UniSupply?: undefined;
|
|
1306
1310
|
UniWithdraw?: undefined;
|
|
1311
|
+
UniswapClaim?: undefined;
|
|
1307
1312
|
UniCollectV3?: undefined;
|
|
1308
1313
|
UniMintV3?: undefined;
|
|
1309
1314
|
UniSupplyV3?: undefined;
|
|
@@ -1490,7 +1495,6 @@ declare const actionAddressesAllChains: {
|
|
|
1490
1495
|
TokenizedVaultAdapter: string;
|
|
1491
1496
|
FLAction: string;
|
|
1492
1497
|
FLAaveV3: string;
|
|
1493
|
-
FLAaveV3CarryDebt: string;
|
|
1494
1498
|
AaveV3Withdraw: string;
|
|
1495
1499
|
AaveV3Supply: string;
|
|
1496
1500
|
AaveV3SetEMode: string;
|
|
@@ -1600,6 +1604,7 @@ declare const actionAddressesAllChains: {
|
|
|
1600
1604
|
CompCollateralSwitch?: undefined;
|
|
1601
1605
|
FLAaveV2?: undefined;
|
|
1602
1606
|
FLAaveV3NoFee?: undefined;
|
|
1607
|
+
FLAaveV3CarryDebt?: undefined;
|
|
1603
1608
|
FLDyDx?: undefined;
|
|
1604
1609
|
FLMaker?: undefined;
|
|
1605
1610
|
FLBalancer?: undefined;
|
|
@@ -1609,6 +1614,7 @@ declare const actionAddressesAllChains: {
|
|
|
1609
1614
|
FLMorphoBlue?: undefined;
|
|
1610
1615
|
UniSupply?: undefined;
|
|
1611
1616
|
UniWithdraw?: undefined;
|
|
1617
|
+
UniswapClaim?: undefined;
|
|
1612
1618
|
UniCollectV3?: undefined;
|
|
1613
1619
|
UniMintV3?: undefined;
|
|
1614
1620
|
UniSupplyV3?: undefined;
|
|
@@ -1837,7 +1843,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1837
1843
|
AaveV3ATokenPayback: string;
|
|
1838
1844
|
AaveV3View: string;
|
|
1839
1845
|
AaveV3DelegateWithSig: string;
|
|
1840
|
-
AaveV3DelegateCredit: string;
|
|
1841
1846
|
GhoClaimAAVE: string;
|
|
1842
1847
|
GhoUnstake: string;
|
|
1843
1848
|
GhoStake: string;
|
|
@@ -1889,6 +1894,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1889
1894
|
FLMorphoBlue: string;
|
|
1890
1895
|
UniSupply: string;
|
|
1891
1896
|
UniWithdraw: string;
|
|
1897
|
+
UniswapClaim: string;
|
|
1892
1898
|
UniCollectV3: string;
|
|
1893
1899
|
UniMintV3: string;
|
|
1894
1900
|
UniSupplyV3: string;
|
|
@@ -2053,6 +2059,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2053
2059
|
AaveV4DelegateWithdrawWithSig: string;
|
|
2054
2060
|
AaveV4DelegateBorrowWithSig: string;
|
|
2055
2061
|
AaveV4DelegateSetUsingAsCollateralWithSig: string;
|
|
2062
|
+
AaveV3DelegateCredit?: undefined;
|
|
2056
2063
|
AaveV3RatioTrigger?: undefined;
|
|
2057
2064
|
GasFeeTakerL2?: undefined;
|
|
2058
2065
|
AaveV3RatioCheck?: undefined;
|
|
@@ -2093,7 +2100,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2093
2100
|
FLAaveV3: string;
|
|
2094
2101
|
FLBalancer: string;
|
|
2095
2102
|
FLAction: string;
|
|
2096
|
-
FLAaveV3CarryDebt: string;
|
|
2097
2103
|
AaveV3RatioTrigger: string;
|
|
2098
2104
|
GasFeeTakerL2: string;
|
|
2099
2105
|
AaveV3RatioCheck: string;
|
|
@@ -2192,6 +2198,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2192
2198
|
CompGetDebt?: undefined;
|
|
2193
2199
|
CompCollateralSwitch?: undefined;
|
|
2194
2200
|
FLAaveV2?: undefined;
|
|
2201
|
+
FLAaveV3CarryDebt?: undefined;
|
|
2195
2202
|
FLDyDx?: undefined;
|
|
2196
2203
|
FLMaker?: undefined;
|
|
2197
2204
|
FLSpark?: undefined;
|
|
@@ -2200,6 +2207,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2200
2207
|
FLMorphoBlue?: undefined;
|
|
2201
2208
|
UniSupply?: undefined;
|
|
2202
2209
|
UniWithdraw?: undefined;
|
|
2210
|
+
UniswapClaim?: undefined;
|
|
2203
2211
|
DyDxWithdraw?: undefined;
|
|
2204
2212
|
YearnSupply?: undefined;
|
|
2205
2213
|
YearnWithdraw?: undefined;
|
|
@@ -2381,7 +2389,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2381
2389
|
AaveV3Withdraw: string;
|
|
2382
2390
|
AaveV3ClaimRewards: string;
|
|
2383
2391
|
AaveV3DelegateWithSig: string;
|
|
2384
|
-
AaveV3DelegateCredit: string;
|
|
2385
2392
|
CompV3Allow: string;
|
|
2386
2393
|
CompV3Borrow: string;
|
|
2387
2394
|
CompV3Claim: string;
|
|
@@ -2395,7 +2402,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2395
2402
|
FLUniV3: string;
|
|
2396
2403
|
FLAction: string;
|
|
2397
2404
|
FLMorphoBlue: string;
|
|
2398
|
-
FLAaveV3CarryDebt: string;
|
|
2399
2405
|
GasFeeTakerL2: string;
|
|
2400
2406
|
AaveV3RatioCheck: string;
|
|
2401
2407
|
UniCollectV3: string;
|
|
@@ -2519,12 +2525,14 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2519
2525
|
CompGetDebt?: undefined;
|
|
2520
2526
|
CompCollateralSwitch?: undefined;
|
|
2521
2527
|
FLAaveV2?: undefined;
|
|
2528
|
+
FLAaveV3CarryDebt?: undefined;
|
|
2522
2529
|
FLDyDx?: undefined;
|
|
2523
2530
|
FLMaker?: undefined;
|
|
2524
2531
|
FLSpark?: undefined;
|
|
2525
2532
|
FLGho?: undefined;
|
|
2526
2533
|
UniSupply?: undefined;
|
|
2527
2534
|
UniWithdraw?: undefined;
|
|
2535
|
+
UniswapClaim?: undefined;
|
|
2528
2536
|
DyDxWithdraw?: undefined;
|
|
2529
2537
|
YearnSupply?: undefined;
|
|
2530
2538
|
YearnWithdraw?: undefined;
|
|
@@ -2640,6 +2648,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2640
2648
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
2641
2649
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
2642
2650
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
2651
|
+
AaveV3DelegateCredit?: undefined;
|
|
2643
2652
|
AaveV3RatioTrigger?: undefined;
|
|
2644
2653
|
} | {
|
|
2645
2654
|
DFSSell: string;
|
|
@@ -2667,7 +2676,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2667
2676
|
FLUniV3: string;
|
|
2668
2677
|
FLAction: string;
|
|
2669
2678
|
FLMorphoBlue: string;
|
|
2670
|
-
FLAaveV3CarryDebt: string;
|
|
2671
2679
|
AaveV3Withdraw: string;
|
|
2672
2680
|
AaveV3SwapBorrowRateMode: string;
|
|
2673
2681
|
AaveV3Supply: string;
|
|
@@ -2679,7 +2687,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2679
2687
|
AaveV3ATokenPayback: string;
|
|
2680
2688
|
AaveV3View: string;
|
|
2681
2689
|
AaveV3DelegateWithSig: string;
|
|
2682
|
-
AaveV3DelegateCredit: string;
|
|
2683
2690
|
CompV3Allow: string;
|
|
2684
2691
|
CompV3Borrow: string;
|
|
2685
2692
|
CompV3Claim: string;
|
|
@@ -2794,12 +2801,14 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2794
2801
|
CompCollateralSwitch?: undefined;
|
|
2795
2802
|
FLAaveV2?: undefined;
|
|
2796
2803
|
FLAaveV3NoFee?: undefined;
|
|
2804
|
+
FLAaveV3CarryDebt?: undefined;
|
|
2797
2805
|
FLDyDx?: undefined;
|
|
2798
2806
|
FLMaker?: undefined;
|
|
2799
2807
|
FLSpark?: undefined;
|
|
2800
2808
|
FLGho?: undefined;
|
|
2801
2809
|
UniSupply?: undefined;
|
|
2802
2810
|
UniWithdraw?: undefined;
|
|
2811
|
+
UniswapClaim?: undefined;
|
|
2803
2812
|
UniCollectV3?: undefined;
|
|
2804
2813
|
UniMintV3?: undefined;
|
|
2805
2814
|
UniSupplyV3?: undefined;
|
|
@@ -2931,6 +2940,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2931
2940
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
2932
2941
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
2933
2942
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
2943
|
+
AaveV3DelegateCredit?: undefined;
|
|
2934
2944
|
AaveV3RatioTrigger?: undefined;
|
|
2935
2945
|
AaveV3RatioCheck?: undefined;
|
|
2936
2946
|
} | {
|
|
@@ -2952,7 +2962,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2952
2962
|
TokenizedVaultAdapter: string;
|
|
2953
2963
|
FLAction: string;
|
|
2954
2964
|
FLAaveV3: string;
|
|
2955
|
-
FLAaveV3CarryDebt: string;
|
|
2956
2965
|
AaveV3Withdraw: string;
|
|
2957
2966
|
AaveV3Supply: string;
|
|
2958
2967
|
AaveV3SetEMode: string;
|
|
@@ -3049,6 +3058,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3049
3058
|
CompCollateralSwitch?: undefined;
|
|
3050
3059
|
FLAaveV2?: undefined;
|
|
3051
3060
|
FLAaveV3NoFee?: undefined;
|
|
3061
|
+
FLAaveV3CarryDebt?: undefined;
|
|
3052
3062
|
FLDyDx?: undefined;
|
|
3053
3063
|
FLMaker?: undefined;
|
|
3054
3064
|
FLBalancer?: undefined;
|
|
@@ -3058,6 +3068,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3058
3068
|
FLMorphoBlue?: undefined;
|
|
3059
3069
|
UniSupply?: undefined;
|
|
3060
3070
|
UniWithdraw?: undefined;
|
|
3071
|
+
UniswapClaim?: undefined;
|
|
3061
3072
|
UniCollectV3?: undefined;
|
|
3062
3073
|
UniMintV3?: undefined;
|
|
3063
3074
|
UniSupplyV3?: undefined;
|
|
@@ -3244,7 +3255,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3244
3255
|
TokenizedVaultAdapter: string;
|
|
3245
3256
|
FLAction: string;
|
|
3246
3257
|
FLAaveV3: string;
|
|
3247
|
-
FLAaveV3CarryDebt: string;
|
|
3248
3258
|
AaveV3Withdraw: string;
|
|
3249
3259
|
AaveV3Supply: string;
|
|
3250
3260
|
AaveV3SetEMode: string;
|
|
@@ -3354,6 +3364,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3354
3364
|
CompCollateralSwitch?: undefined;
|
|
3355
3365
|
FLAaveV2?: undefined;
|
|
3356
3366
|
FLAaveV3NoFee?: undefined;
|
|
3367
|
+
FLAaveV3CarryDebt?: undefined;
|
|
3357
3368
|
FLDyDx?: undefined;
|
|
3358
3369
|
FLMaker?: undefined;
|
|
3359
3370
|
FLBalancer?: undefined;
|
|
@@ -3363,6 +3374,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3363
3374
|
FLMorphoBlue?: undefined;
|
|
3364
3375
|
UniSupply?: undefined;
|
|
3365
3376
|
UniWithdraw?: undefined;
|
|
3377
|
+
UniswapClaim?: undefined;
|
|
3366
3378
|
UniCollectV3?: undefined;
|
|
3367
3379
|
UniMintV3?: undefined;
|
|
3368
3380
|
UniSupplyV3?: undefined;
|
|
@@ -3828,7 +3840,6 @@ declare const _default: {
|
|
|
3828
3840
|
AaveV3ATokenPayback: string;
|
|
3829
3841
|
AaveV3View: string;
|
|
3830
3842
|
AaveV3DelegateWithSig: string;
|
|
3831
|
-
AaveV3DelegateCredit: string;
|
|
3832
3843
|
GhoClaimAAVE: string;
|
|
3833
3844
|
GhoUnstake: string;
|
|
3834
3845
|
GhoStake: string;
|
|
@@ -3880,6 +3891,7 @@ declare const _default: {
|
|
|
3880
3891
|
FLMorphoBlue: string;
|
|
3881
3892
|
UniSupply: string;
|
|
3882
3893
|
UniWithdraw: string;
|
|
3894
|
+
UniswapClaim: string;
|
|
3883
3895
|
UniCollectV3: string;
|
|
3884
3896
|
UniMintV3: string;
|
|
3885
3897
|
UniSupplyV3: string;
|
|
@@ -4044,6 +4056,7 @@ declare const _default: {
|
|
|
4044
4056
|
AaveV4DelegateWithdrawWithSig: string;
|
|
4045
4057
|
AaveV4DelegateBorrowWithSig: string;
|
|
4046
4058
|
AaveV4DelegateSetUsingAsCollateralWithSig: string;
|
|
4059
|
+
AaveV3DelegateCredit?: undefined;
|
|
4047
4060
|
AaveV3RatioTrigger?: undefined;
|
|
4048
4061
|
GasFeeTakerL2?: undefined;
|
|
4049
4062
|
AaveV3RatioCheck?: undefined;
|
|
@@ -4084,7 +4097,6 @@ declare const _default: {
|
|
|
4084
4097
|
FLAaveV3: string;
|
|
4085
4098
|
FLBalancer: string;
|
|
4086
4099
|
FLAction: string;
|
|
4087
|
-
FLAaveV3CarryDebt: string;
|
|
4088
4100
|
AaveV3RatioTrigger: string;
|
|
4089
4101
|
GasFeeTakerL2: string;
|
|
4090
4102
|
AaveV3RatioCheck: string;
|
|
@@ -4183,6 +4195,7 @@ declare const _default: {
|
|
|
4183
4195
|
CompGetDebt?: undefined;
|
|
4184
4196
|
CompCollateralSwitch?: undefined;
|
|
4185
4197
|
FLAaveV2?: undefined;
|
|
4198
|
+
FLAaveV3CarryDebt?: undefined;
|
|
4186
4199
|
FLDyDx?: undefined;
|
|
4187
4200
|
FLMaker?: undefined;
|
|
4188
4201
|
FLSpark?: undefined;
|
|
@@ -4191,6 +4204,7 @@ declare const _default: {
|
|
|
4191
4204
|
FLMorphoBlue?: undefined;
|
|
4192
4205
|
UniSupply?: undefined;
|
|
4193
4206
|
UniWithdraw?: undefined;
|
|
4207
|
+
UniswapClaim?: undefined;
|
|
4194
4208
|
DyDxWithdraw?: undefined;
|
|
4195
4209
|
YearnSupply?: undefined;
|
|
4196
4210
|
YearnWithdraw?: undefined;
|
|
@@ -4372,7 +4386,6 @@ declare const _default: {
|
|
|
4372
4386
|
AaveV3Withdraw: string;
|
|
4373
4387
|
AaveV3ClaimRewards: string;
|
|
4374
4388
|
AaveV3DelegateWithSig: string;
|
|
4375
|
-
AaveV3DelegateCredit: string;
|
|
4376
4389
|
CompV3Allow: string;
|
|
4377
4390
|
CompV3Borrow: string;
|
|
4378
4391
|
CompV3Claim: string;
|
|
@@ -4386,7 +4399,6 @@ declare const _default: {
|
|
|
4386
4399
|
FLUniV3: string;
|
|
4387
4400
|
FLAction: string;
|
|
4388
4401
|
FLMorphoBlue: string;
|
|
4389
|
-
FLAaveV3CarryDebt: string;
|
|
4390
4402
|
GasFeeTakerL2: string;
|
|
4391
4403
|
AaveV3RatioCheck: string;
|
|
4392
4404
|
UniCollectV3: string;
|
|
@@ -4510,12 +4522,14 @@ declare const _default: {
|
|
|
4510
4522
|
CompGetDebt?: undefined;
|
|
4511
4523
|
CompCollateralSwitch?: undefined;
|
|
4512
4524
|
FLAaveV2?: undefined;
|
|
4525
|
+
FLAaveV3CarryDebt?: undefined;
|
|
4513
4526
|
FLDyDx?: undefined;
|
|
4514
4527
|
FLMaker?: undefined;
|
|
4515
4528
|
FLSpark?: undefined;
|
|
4516
4529
|
FLGho?: undefined;
|
|
4517
4530
|
UniSupply?: undefined;
|
|
4518
4531
|
UniWithdraw?: undefined;
|
|
4532
|
+
UniswapClaim?: undefined;
|
|
4519
4533
|
DyDxWithdraw?: undefined;
|
|
4520
4534
|
YearnSupply?: undefined;
|
|
4521
4535
|
YearnWithdraw?: undefined;
|
|
@@ -4631,6 +4645,7 @@ declare const _default: {
|
|
|
4631
4645
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
4632
4646
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
4633
4647
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
4648
|
+
AaveV3DelegateCredit?: undefined;
|
|
4634
4649
|
AaveV3RatioTrigger?: undefined;
|
|
4635
4650
|
} | {
|
|
4636
4651
|
DFSSell: string;
|
|
@@ -4658,7 +4673,6 @@ declare const _default: {
|
|
|
4658
4673
|
FLUniV3: string;
|
|
4659
4674
|
FLAction: string;
|
|
4660
4675
|
FLMorphoBlue: string;
|
|
4661
|
-
FLAaveV3CarryDebt: string;
|
|
4662
4676
|
AaveV3Withdraw: string;
|
|
4663
4677
|
AaveV3SwapBorrowRateMode: string;
|
|
4664
4678
|
AaveV3Supply: string;
|
|
@@ -4670,7 +4684,6 @@ declare const _default: {
|
|
|
4670
4684
|
AaveV3ATokenPayback: string;
|
|
4671
4685
|
AaveV3View: string;
|
|
4672
4686
|
AaveV3DelegateWithSig: string;
|
|
4673
|
-
AaveV3DelegateCredit: string;
|
|
4674
4687
|
CompV3Allow: string;
|
|
4675
4688
|
CompV3Borrow: string;
|
|
4676
4689
|
CompV3Claim: string;
|
|
@@ -4785,12 +4798,14 @@ declare const _default: {
|
|
|
4785
4798
|
CompCollateralSwitch?: undefined;
|
|
4786
4799
|
FLAaveV2?: undefined;
|
|
4787
4800
|
FLAaveV3NoFee?: undefined;
|
|
4801
|
+
FLAaveV3CarryDebt?: undefined;
|
|
4788
4802
|
FLDyDx?: undefined;
|
|
4789
4803
|
FLMaker?: undefined;
|
|
4790
4804
|
FLSpark?: undefined;
|
|
4791
4805
|
FLGho?: undefined;
|
|
4792
4806
|
UniSupply?: undefined;
|
|
4793
4807
|
UniWithdraw?: undefined;
|
|
4808
|
+
UniswapClaim?: undefined;
|
|
4794
4809
|
UniCollectV3?: undefined;
|
|
4795
4810
|
UniMintV3?: undefined;
|
|
4796
4811
|
UniSupplyV3?: undefined;
|
|
@@ -4922,6 +4937,7 @@ declare const _default: {
|
|
|
4922
4937
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
4923
4938
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
4924
4939
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
4940
|
+
AaveV3DelegateCredit?: undefined;
|
|
4925
4941
|
AaveV3RatioTrigger?: undefined;
|
|
4926
4942
|
AaveV3RatioCheck?: undefined;
|
|
4927
4943
|
} | {
|
|
@@ -4943,7 +4959,6 @@ declare const _default: {
|
|
|
4943
4959
|
TokenizedVaultAdapter: string;
|
|
4944
4960
|
FLAction: string;
|
|
4945
4961
|
FLAaveV3: string;
|
|
4946
|
-
FLAaveV3CarryDebt: string;
|
|
4947
4962
|
AaveV3Withdraw: string;
|
|
4948
4963
|
AaveV3Supply: string;
|
|
4949
4964
|
AaveV3SetEMode: string;
|
|
@@ -5040,6 +5055,7 @@ declare const _default: {
|
|
|
5040
5055
|
CompCollateralSwitch?: undefined;
|
|
5041
5056
|
FLAaveV2?: undefined;
|
|
5042
5057
|
FLAaveV3NoFee?: undefined;
|
|
5058
|
+
FLAaveV3CarryDebt?: undefined;
|
|
5043
5059
|
FLDyDx?: undefined;
|
|
5044
5060
|
FLMaker?: undefined;
|
|
5045
5061
|
FLBalancer?: undefined;
|
|
@@ -5049,6 +5065,7 @@ declare const _default: {
|
|
|
5049
5065
|
FLMorphoBlue?: undefined;
|
|
5050
5066
|
UniSupply?: undefined;
|
|
5051
5067
|
UniWithdraw?: undefined;
|
|
5068
|
+
UniswapClaim?: undefined;
|
|
5052
5069
|
UniCollectV3?: undefined;
|
|
5053
5070
|
UniMintV3?: undefined;
|
|
5054
5071
|
UniSupplyV3?: undefined;
|
|
@@ -5235,7 +5252,6 @@ declare const _default: {
|
|
|
5235
5252
|
TokenizedVaultAdapter: string;
|
|
5236
5253
|
FLAction: string;
|
|
5237
5254
|
FLAaveV3: string;
|
|
5238
|
-
FLAaveV3CarryDebt: string;
|
|
5239
5255
|
AaveV3Withdraw: string;
|
|
5240
5256
|
AaveV3Supply: string;
|
|
5241
5257
|
AaveV3SetEMode: string;
|
|
@@ -5345,6 +5361,7 @@ declare const _default: {
|
|
|
5345
5361
|
CompCollateralSwitch?: undefined;
|
|
5346
5362
|
FLAaveV2?: undefined;
|
|
5347
5363
|
FLAaveV3NoFee?: undefined;
|
|
5364
|
+
FLAaveV3CarryDebt?: undefined;
|
|
5348
5365
|
FLDyDx?: undefined;
|
|
5349
5366
|
FLMaker?: undefined;
|
|
5350
5367
|
FLBalancer?: undefined;
|
|
@@ -5354,6 +5371,7 @@ declare const _default: {
|
|
|
5354
5371
|
FLMorphoBlue?: undefined;
|
|
5355
5372
|
UniSupply?: undefined;
|
|
5356
5373
|
UniWithdraw?: undefined;
|
|
5374
|
+
UniswapClaim?: undefined;
|
|
5357
5375
|
UniCollectV3?: undefined;
|
|
5358
5376
|
UniMintV3?: undefined;
|
|
5359
5377
|
UniSupplyV3?: undefined;
|
|
@@ -5582,7 +5600,6 @@ declare const _default: {
|
|
|
5582
5600
|
AaveV3ATokenPayback: string;
|
|
5583
5601
|
AaveV3View: string;
|
|
5584
5602
|
AaveV3DelegateWithSig: string;
|
|
5585
|
-
AaveV3DelegateCredit: string;
|
|
5586
5603
|
GhoClaimAAVE: string;
|
|
5587
5604
|
GhoUnstake: string;
|
|
5588
5605
|
GhoStake: string;
|
|
@@ -5634,6 +5651,7 @@ declare const _default: {
|
|
|
5634
5651
|
FLMorphoBlue: string;
|
|
5635
5652
|
UniSupply: string;
|
|
5636
5653
|
UniWithdraw: string;
|
|
5654
|
+
UniswapClaim: string;
|
|
5637
5655
|
UniCollectV3: string;
|
|
5638
5656
|
UniMintV3: string;
|
|
5639
5657
|
UniSupplyV3: string;
|
|
@@ -5798,6 +5816,7 @@ declare const _default: {
|
|
|
5798
5816
|
AaveV4DelegateWithdrawWithSig: string;
|
|
5799
5817
|
AaveV4DelegateBorrowWithSig: string;
|
|
5800
5818
|
AaveV4DelegateSetUsingAsCollateralWithSig: string;
|
|
5819
|
+
AaveV3DelegateCredit?: undefined;
|
|
5801
5820
|
AaveV3RatioTrigger?: undefined;
|
|
5802
5821
|
GasFeeTakerL2?: undefined;
|
|
5803
5822
|
AaveV3RatioCheck?: undefined;
|
|
@@ -5838,7 +5857,6 @@ declare const _default: {
|
|
|
5838
5857
|
FLAaveV3: string;
|
|
5839
5858
|
FLBalancer: string;
|
|
5840
5859
|
FLAction: string;
|
|
5841
|
-
FLAaveV3CarryDebt: string;
|
|
5842
5860
|
AaveV3RatioTrigger: string;
|
|
5843
5861
|
GasFeeTakerL2: string;
|
|
5844
5862
|
AaveV3RatioCheck: string;
|
|
@@ -5937,6 +5955,7 @@ declare const _default: {
|
|
|
5937
5955
|
CompGetDebt?: undefined;
|
|
5938
5956
|
CompCollateralSwitch?: undefined;
|
|
5939
5957
|
FLAaveV2?: undefined;
|
|
5958
|
+
FLAaveV3CarryDebt?: undefined;
|
|
5940
5959
|
FLDyDx?: undefined;
|
|
5941
5960
|
FLMaker?: undefined;
|
|
5942
5961
|
FLSpark?: undefined;
|
|
@@ -5945,6 +5964,7 @@ declare const _default: {
|
|
|
5945
5964
|
FLMorphoBlue?: undefined;
|
|
5946
5965
|
UniSupply?: undefined;
|
|
5947
5966
|
UniWithdraw?: undefined;
|
|
5967
|
+
UniswapClaim?: undefined;
|
|
5948
5968
|
DyDxWithdraw?: undefined;
|
|
5949
5969
|
YearnSupply?: undefined;
|
|
5950
5970
|
YearnWithdraw?: undefined;
|
|
@@ -6126,7 +6146,6 @@ declare const _default: {
|
|
|
6126
6146
|
AaveV3Withdraw: string;
|
|
6127
6147
|
AaveV3ClaimRewards: string;
|
|
6128
6148
|
AaveV3DelegateWithSig: string;
|
|
6129
|
-
AaveV3DelegateCredit: string;
|
|
6130
6149
|
CompV3Allow: string;
|
|
6131
6150
|
CompV3Borrow: string;
|
|
6132
6151
|
CompV3Claim: string;
|
|
@@ -6140,7 +6159,6 @@ declare const _default: {
|
|
|
6140
6159
|
FLUniV3: string;
|
|
6141
6160
|
FLAction: string;
|
|
6142
6161
|
FLMorphoBlue: string;
|
|
6143
|
-
FLAaveV3CarryDebt: string;
|
|
6144
6162
|
GasFeeTakerL2: string;
|
|
6145
6163
|
AaveV3RatioCheck: string;
|
|
6146
6164
|
UniCollectV3: string;
|
|
@@ -6264,12 +6282,14 @@ declare const _default: {
|
|
|
6264
6282
|
CompGetDebt?: undefined;
|
|
6265
6283
|
CompCollateralSwitch?: undefined;
|
|
6266
6284
|
FLAaveV2?: undefined;
|
|
6285
|
+
FLAaveV3CarryDebt?: undefined;
|
|
6267
6286
|
FLDyDx?: undefined;
|
|
6268
6287
|
FLMaker?: undefined;
|
|
6269
6288
|
FLSpark?: undefined;
|
|
6270
6289
|
FLGho?: undefined;
|
|
6271
6290
|
UniSupply?: undefined;
|
|
6272
6291
|
UniWithdraw?: undefined;
|
|
6292
|
+
UniswapClaim?: undefined;
|
|
6273
6293
|
DyDxWithdraw?: undefined;
|
|
6274
6294
|
YearnSupply?: undefined;
|
|
6275
6295
|
YearnWithdraw?: undefined;
|
|
@@ -6385,6 +6405,7 @@ declare const _default: {
|
|
|
6385
6405
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
6386
6406
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
6387
6407
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
6408
|
+
AaveV3DelegateCredit?: undefined;
|
|
6388
6409
|
AaveV3RatioTrigger?: undefined;
|
|
6389
6410
|
} | {
|
|
6390
6411
|
DFSSell: string;
|
|
@@ -6412,7 +6433,6 @@ declare const _default: {
|
|
|
6412
6433
|
FLUniV3: string;
|
|
6413
6434
|
FLAction: string;
|
|
6414
6435
|
FLMorphoBlue: string;
|
|
6415
|
-
FLAaveV3CarryDebt: string;
|
|
6416
6436
|
AaveV3Withdraw: string;
|
|
6417
6437
|
AaveV3SwapBorrowRateMode: string;
|
|
6418
6438
|
AaveV3Supply: string;
|
|
@@ -6424,7 +6444,6 @@ declare const _default: {
|
|
|
6424
6444
|
AaveV3ATokenPayback: string;
|
|
6425
6445
|
AaveV3View: string;
|
|
6426
6446
|
AaveV3DelegateWithSig: string;
|
|
6427
|
-
AaveV3DelegateCredit: string;
|
|
6428
6447
|
CompV3Allow: string;
|
|
6429
6448
|
CompV3Borrow: string;
|
|
6430
6449
|
CompV3Claim: string;
|
|
@@ -6539,12 +6558,14 @@ declare const _default: {
|
|
|
6539
6558
|
CompCollateralSwitch?: undefined;
|
|
6540
6559
|
FLAaveV2?: undefined;
|
|
6541
6560
|
FLAaveV3NoFee?: undefined;
|
|
6561
|
+
FLAaveV3CarryDebt?: undefined;
|
|
6542
6562
|
FLDyDx?: undefined;
|
|
6543
6563
|
FLMaker?: undefined;
|
|
6544
6564
|
FLSpark?: undefined;
|
|
6545
6565
|
FLGho?: undefined;
|
|
6546
6566
|
UniSupply?: undefined;
|
|
6547
6567
|
UniWithdraw?: undefined;
|
|
6568
|
+
UniswapClaim?: undefined;
|
|
6548
6569
|
UniCollectV3?: undefined;
|
|
6549
6570
|
UniMintV3?: undefined;
|
|
6550
6571
|
UniSupplyV3?: undefined;
|
|
@@ -6676,6 +6697,7 @@ declare const _default: {
|
|
|
6676
6697
|
AaveV4DelegateWithdrawWithSig?: undefined;
|
|
6677
6698
|
AaveV4DelegateBorrowWithSig?: undefined;
|
|
6678
6699
|
AaveV4DelegateSetUsingAsCollateralWithSig?: undefined;
|
|
6700
|
+
AaveV3DelegateCredit?: undefined;
|
|
6679
6701
|
AaveV3RatioTrigger?: undefined;
|
|
6680
6702
|
AaveV3RatioCheck?: undefined;
|
|
6681
6703
|
} | {
|
|
@@ -6697,7 +6719,6 @@ declare const _default: {
|
|
|
6697
6719
|
TokenizedVaultAdapter: string;
|
|
6698
6720
|
FLAction: string;
|
|
6699
6721
|
FLAaveV3: string;
|
|
6700
|
-
FLAaveV3CarryDebt: string;
|
|
6701
6722
|
AaveV3Withdraw: string;
|
|
6702
6723
|
AaveV3Supply: string;
|
|
6703
6724
|
AaveV3SetEMode: string;
|
|
@@ -6794,6 +6815,7 @@ declare const _default: {
|
|
|
6794
6815
|
CompCollateralSwitch?: undefined;
|
|
6795
6816
|
FLAaveV2?: undefined;
|
|
6796
6817
|
FLAaveV3NoFee?: undefined;
|
|
6818
|
+
FLAaveV3CarryDebt?: undefined;
|
|
6797
6819
|
FLDyDx?: undefined;
|
|
6798
6820
|
FLMaker?: undefined;
|
|
6799
6821
|
FLBalancer?: undefined;
|
|
@@ -6803,6 +6825,7 @@ declare const _default: {
|
|
|
6803
6825
|
FLMorphoBlue?: undefined;
|
|
6804
6826
|
UniSupply?: undefined;
|
|
6805
6827
|
UniWithdraw?: undefined;
|
|
6828
|
+
UniswapClaim?: undefined;
|
|
6806
6829
|
UniCollectV3?: undefined;
|
|
6807
6830
|
UniMintV3?: undefined;
|
|
6808
6831
|
UniSupplyV3?: undefined;
|
|
@@ -6989,7 +7012,6 @@ declare const _default: {
|
|
|
6989
7012
|
TokenizedVaultAdapter: string;
|
|
6990
7013
|
FLAction: string;
|
|
6991
7014
|
FLAaveV3: string;
|
|
6992
|
-
FLAaveV3CarryDebt: string;
|
|
6993
7015
|
AaveV3Withdraw: string;
|
|
6994
7016
|
AaveV3Supply: string;
|
|
6995
7017
|
AaveV3SetEMode: string;
|
|
@@ -7099,6 +7121,7 @@ declare const _default: {
|
|
|
7099
7121
|
CompCollateralSwitch?: undefined;
|
|
7100
7122
|
FLAaveV2?: undefined;
|
|
7101
7123
|
FLAaveV3NoFee?: undefined;
|
|
7124
|
+
FLAaveV3CarryDebt?: undefined;
|
|
7102
7125
|
FLDyDx?: undefined;
|
|
7103
7126
|
FLMaker?: undefined;
|
|
7104
7127
|
FLBalancer?: undefined;
|
|
@@ -7108,6 +7131,7 @@ declare const _default: {
|
|
|
7108
7131
|
FLMorphoBlue?: undefined;
|
|
7109
7132
|
UniSupply?: undefined;
|
|
7110
7133
|
UniWithdraw?: undefined;
|
|
7134
|
+
UniswapClaim?: undefined;
|
|
7111
7135
|
UniCollectV3?: undefined;
|
|
7112
7136
|
UniMintV3?: undefined;
|
|
7113
7137
|
UniSupplyV3?: undefined;
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ export class AaveV3DelegateCredit extends ActionWithL2 {
|
|
|
16
16
|
* @param amount Amount of tokens to be payed back
|
|
17
17
|
* @param rateMode Type of borrow debt [Stable: 1, Variable: 2]
|
|
18
18
|
* @param assetId The id of the token to be borrowed
|
|
19
|
-
* @param delegatee The
|
|
19
|
+
* @param delegatee The id of the underlying asset to be repaid
|
|
20
20
|
*/
|
|
21
21
|
constructor(useOnDefaultMarket: boolean, market:EthAddress, amount:uint256, rateMode:uint8, assetId:uint16, delegatee:EthAddress) {
|
|
22
22
|
super('AaveV3DelegateCredit', getAddr('Empty'),
|