@defisaver/sdk 1.2.13 → 1.2.15-dev-allocator

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 (31) hide show
  1. package/esm/src/actions/curveusd/CurveUsdLevCreateTransientAction.d.ts +9 -0
  2. package/esm/src/actions/curveusd/CurveUsdLevCreateTransientAction.js +33 -0
  3. package/esm/src/actions/curveusd/CurveUsdRepayTransientAction.d.ts +9 -0
  4. package/esm/src/actions/curveusd/CurveUsdRepayTransientAction.js +25 -0
  5. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.d.ts +9 -0
  6. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.js +35 -0
  7. package/esm/src/actions/curveusd/index.d.ts +3 -0
  8. package/esm/src/actions/curveusd/index.js +3 -0
  9. package/esm/src/actions/flashloan/CurveUsdFlashLoanAction.d.ts +17 -0
  10. package/esm/src/actions/flashloan/CurveUsdFlashLoanAction.js +18 -0
  11. package/esm/src/actions/flashloan/index.d.ts +1 -0
  12. package/esm/src/actions/flashloan/index.js +1 -0
  13. package/esm/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.d.ts +20 -0
  14. package/esm/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.js +50 -0
  15. package/esm/src/actions/morpho-blue/index.d.ts +1 -0
  16. package/esm/src/actions/morpho-blue/index.js +1 -0
  17. package/esm/src/addresses.d.ts +25 -1
  18. package/esm/src/addresses.js +7 -0
  19. package/esm/src/index.d.ts +100 -4
  20. package/package.json +1 -1
  21. package/src/actions/curveusd/CurveUsdLevCreateTransientAction.ts +52 -0
  22. package/src/actions/curveusd/CurveUsdRepayTransientAction.ts +36 -0
  23. package/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.ts +55 -0
  24. package/src/actions/curveusd/index.ts +4 -1
  25. package/src/actions/flashloan/CurveUsdFlashLoanAction.ts +27 -0
  26. package/src/actions/flashloan/index.ts +1 -0
  27. package/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.ts +56 -0
  28. package/src/actions/morpho-blue/index.ts +2 -1
  29. package/src/addresses.ts +7 -0
  30. package/test/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.js +50 -0
  31. package/umd/index.js +680 -502
@@ -33,6 +33,7 @@ declare const actionAddressesAllChains: {
33
33
  PermitToken: string;
34
34
  StarknetClaim: string;
35
35
  HandleAuth: string;
36
+ SendTokens: string;
36
37
  DFSSell: string;
37
38
  SkyStake: string;
38
39
  SkyUnstake: string;
@@ -201,11 +202,15 @@ declare const actionAddressesAllChains: {
201
202
  CurveUsdLevCreate: string;
202
203
  CurveUsdRepay: string;
203
204
  CurveUsdSwapper: string;
205
+ CurveUsdSwapperTransient: string;
204
206
  CurveUsdSelfLiquidate: string;
205
207
  CurveUsdSelfLiquidateWithColl: string;
206
208
  CurveUsdGetDebt: string;
207
209
  CurveUsdCollRatioTrigger: string;
208
210
  CurveUsdCollRatioCheck: string;
211
+ CurveUsdSelfLiquidateWithCollTransient: string;
212
+ CurveUsdLevCreateTransient: string;
213
+ CurveUsdRepayTransient: string;
209
214
  MorphoBlueSupply: string;
210
215
  MorphoBlueSupplyCollateral: string;
211
216
  MorphoBlueWithdraw: string;
@@ -215,6 +220,7 @@ declare const actionAddressesAllChains: {
215
220
  MorphoBlueSetAuth: string;
216
221
  MorphoBlueSetAuthWithSig: string;
217
222
  MorphoTokenWrap: string;
223
+ MorphoBlueReallocateLiquidity: string;
218
224
  LlamaLendCreate: string;
219
225
  LlamaLendSupply: string;
220
226
  LlamaLendBorrow: string;
@@ -295,6 +301,7 @@ declare const actionAddressesAllChains: {
295
301
  SDaiWrap?: undefined;
296
302
  SDaiUnwrap?: undefined;
297
303
  StarknetClaim?: undefined;
304
+ SendTokens?: undefined;
298
305
  SkyStake?: undefined;
299
306
  SkyUnstake?: undefined;
300
307
  SkyClaimRewards?: undefined;
@@ -436,11 +443,15 @@ declare const actionAddressesAllChains: {
436
443
  CurveUsdLevCreate?: undefined;
437
444
  CurveUsdRepay?: undefined;
438
445
  CurveUsdSwapper?: undefined;
446
+ CurveUsdSwapperTransient?: undefined;
439
447
  CurveUsdSelfLiquidate?: undefined;
440
448
  CurveUsdSelfLiquidateWithColl?: undefined;
441
449
  CurveUsdGetDebt?: undefined;
442
450
  CurveUsdCollRatioTrigger?: undefined;
443
451
  CurveUsdCollRatioCheck?: undefined;
452
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
453
+ CurveUsdLevCreateTransient?: undefined;
454
+ CurveUsdRepayTransient?: undefined;
444
455
  MorphoBlueSupply?: undefined;
445
456
  MorphoBlueSupplyCollateral?: undefined;
446
457
  MorphoBlueWithdraw?: undefined;
@@ -450,6 +461,7 @@ declare const actionAddressesAllChains: {
450
461
  MorphoBlueSetAuth?: undefined;
451
462
  MorphoBlueSetAuthWithSig?: undefined;
452
463
  MorphoTokenWrap?: undefined;
464
+ MorphoBlueReallocateLiquidity?: undefined;
453
465
  LlamaLendCreate?: undefined;
454
466
  LlamaLendSupply?: undefined;
455
467
  LlamaLendBorrow?: undefined;
@@ -536,6 +548,7 @@ declare const actionAddressesAllChains: {
536
548
  SDaiWrap?: undefined;
537
549
  SDaiUnwrap?: undefined;
538
550
  StarknetClaim?: undefined;
551
+ SendTokens?: undefined;
539
552
  SkyStake?: undefined;
540
553
  SkyUnstake?: undefined;
541
554
  SkyClaimRewards?: undefined;
@@ -676,11 +689,15 @@ declare const actionAddressesAllChains: {
676
689
  CurveUsdLevCreate?: undefined;
677
690
  CurveUsdRepay?: undefined;
678
691
  CurveUsdSwapper?: undefined;
692
+ CurveUsdSwapperTransient?: undefined;
679
693
  CurveUsdSelfLiquidate?: undefined;
680
694
  CurveUsdSelfLiquidateWithColl?: undefined;
681
695
  CurveUsdGetDebt?: undefined;
682
696
  CurveUsdCollRatioTrigger?: undefined;
683
697
  CurveUsdCollRatioCheck?: undefined;
698
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
699
+ CurveUsdLevCreateTransient?: undefined;
700
+ CurveUsdRepayTransient?: undefined;
684
701
  MorphoBlueSupply?: undefined;
685
702
  MorphoBlueSupplyCollateral?: undefined;
686
703
  MorphoBlueWithdraw?: undefined;
@@ -690,6 +707,7 @@ declare const actionAddressesAllChains: {
690
707
  MorphoBlueSetAuth?: undefined;
691
708
  MorphoBlueSetAuthWithSig?: undefined;
692
709
  MorphoTokenWrap?: undefined;
710
+ MorphoBlueReallocateLiquidity?: undefined;
693
711
  EulerV2Supply?: undefined;
694
712
  EulerV2Withdraw?: undefined;
695
713
  EulerV2Borrow?: undefined;
@@ -720,6 +738,7 @@ declare const actionAddressesAllChains: {
720
738
  ToggleSub: string;
721
739
  CreateSub: string;
722
740
  UpdateSub: string;
741
+ MerklClaim: string;
723
742
  FLAaveV3: string;
724
743
  FLBalancer: string;
725
744
  FLUniV3: string;
@@ -759,6 +778,7 @@ declare const actionAddressesAllChains: {
759
778
  SDaiUnwrap?: undefined;
760
779
  TokenizedVaultAdapter?: undefined;
761
780
  StarknetClaim?: undefined;
781
+ SendTokens?: undefined;
762
782
  SkyStake?: undefined;
763
783
  SkyUnstake?: undefined;
764
784
  SkyClaimRewards?: undefined;
@@ -903,12 +923,17 @@ declare const actionAddressesAllChains: {
903
923
  CurveUsdLevCreate?: undefined;
904
924
  CurveUsdRepay?: undefined;
905
925
  CurveUsdSwapper?: undefined;
926
+ CurveUsdSwapperTransient?: undefined;
906
927
  CurveUsdSelfLiquidate?: undefined;
907
928
  CurveUsdSelfLiquidateWithColl?: undefined;
908
929
  CurveUsdGetDebt?: undefined;
909
930
  CurveUsdCollRatioTrigger?: undefined;
910
931
  CurveUsdCollRatioCheck?: undefined;
932
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
933
+ CurveUsdLevCreateTransient?: undefined;
934
+ CurveUsdRepayTransient?: undefined;
911
935
  MorphoTokenWrap?: undefined;
936
+ MorphoBlueReallocateLiquidity?: undefined;
912
937
  LlamaLendCreate?: undefined;
913
938
  LlamaLendSupply?: undefined;
914
939
  LlamaLendBorrow?: undefined;
@@ -926,7 +951,6 @@ declare const actionAddressesAllChains: {
926
951
  EulerV2Payback?: undefined;
927
952
  EulerV2CollateralSwitch?: undefined;
928
953
  EulerV2View?: undefined;
929
- MerklClaim?: undefined;
930
954
  RenzoStake?: undefined;
931
955
  EtherFiStake?: undefined;
932
956
  EtherFiWrap?: undefined;
@@ -959,6 +983,7 @@ declare const actionAddresses: (chainId?: null) => {
959
983
  PermitToken: string;
960
984
  StarknetClaim: string;
961
985
  HandleAuth: string;
986
+ SendTokens: string;
962
987
  DFSSell: string;
963
988
  SkyStake: string;
964
989
  SkyUnstake: string;
@@ -1127,11 +1152,15 @@ declare const actionAddresses: (chainId?: null) => {
1127
1152
  CurveUsdLevCreate: string;
1128
1153
  CurveUsdRepay: string;
1129
1154
  CurveUsdSwapper: string;
1155
+ CurveUsdSwapperTransient: string;
1130
1156
  CurveUsdSelfLiquidate: string;
1131
1157
  CurveUsdSelfLiquidateWithColl: string;
1132
1158
  CurveUsdGetDebt: string;
1133
1159
  CurveUsdCollRatioTrigger: string;
1134
1160
  CurveUsdCollRatioCheck: string;
1161
+ CurveUsdSelfLiquidateWithCollTransient: string;
1162
+ CurveUsdLevCreateTransient: string;
1163
+ CurveUsdRepayTransient: string;
1135
1164
  MorphoBlueSupply: string;
1136
1165
  MorphoBlueSupplyCollateral: string;
1137
1166
  MorphoBlueWithdraw: string;
@@ -1141,6 +1170,7 @@ declare const actionAddresses: (chainId?: null) => {
1141
1170
  MorphoBlueSetAuth: string;
1142
1171
  MorphoBlueSetAuthWithSig: string;
1143
1172
  MorphoTokenWrap: string;
1173
+ MorphoBlueReallocateLiquidity: string;
1144
1174
  LlamaLendCreate: string;
1145
1175
  LlamaLendSupply: string;
1146
1176
  LlamaLendBorrow: string;
@@ -1221,6 +1251,7 @@ declare const actionAddresses: (chainId?: null) => {
1221
1251
  SDaiWrap?: undefined;
1222
1252
  SDaiUnwrap?: undefined;
1223
1253
  StarknetClaim?: undefined;
1254
+ SendTokens?: undefined;
1224
1255
  SkyStake?: undefined;
1225
1256
  SkyUnstake?: undefined;
1226
1257
  SkyClaimRewards?: undefined;
@@ -1362,11 +1393,15 @@ declare const actionAddresses: (chainId?: null) => {
1362
1393
  CurveUsdLevCreate?: undefined;
1363
1394
  CurveUsdRepay?: undefined;
1364
1395
  CurveUsdSwapper?: undefined;
1396
+ CurveUsdSwapperTransient?: undefined;
1365
1397
  CurveUsdSelfLiquidate?: undefined;
1366
1398
  CurveUsdSelfLiquidateWithColl?: undefined;
1367
1399
  CurveUsdGetDebt?: undefined;
1368
1400
  CurveUsdCollRatioTrigger?: undefined;
1369
1401
  CurveUsdCollRatioCheck?: undefined;
1402
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
1403
+ CurveUsdLevCreateTransient?: undefined;
1404
+ CurveUsdRepayTransient?: undefined;
1370
1405
  MorphoBlueSupply?: undefined;
1371
1406
  MorphoBlueSupplyCollateral?: undefined;
1372
1407
  MorphoBlueWithdraw?: undefined;
@@ -1376,6 +1411,7 @@ declare const actionAddresses: (chainId?: null) => {
1376
1411
  MorphoBlueSetAuth?: undefined;
1377
1412
  MorphoBlueSetAuthWithSig?: undefined;
1378
1413
  MorphoTokenWrap?: undefined;
1414
+ MorphoBlueReallocateLiquidity?: undefined;
1379
1415
  LlamaLendCreate?: undefined;
1380
1416
  LlamaLendSupply?: undefined;
1381
1417
  LlamaLendBorrow?: undefined;
@@ -1462,6 +1498,7 @@ declare const actionAddresses: (chainId?: null) => {
1462
1498
  SDaiWrap?: undefined;
1463
1499
  SDaiUnwrap?: undefined;
1464
1500
  StarknetClaim?: undefined;
1501
+ SendTokens?: undefined;
1465
1502
  SkyStake?: undefined;
1466
1503
  SkyUnstake?: undefined;
1467
1504
  SkyClaimRewards?: undefined;
@@ -1602,11 +1639,15 @@ declare const actionAddresses: (chainId?: null) => {
1602
1639
  CurveUsdLevCreate?: undefined;
1603
1640
  CurveUsdRepay?: undefined;
1604
1641
  CurveUsdSwapper?: undefined;
1642
+ CurveUsdSwapperTransient?: undefined;
1605
1643
  CurveUsdSelfLiquidate?: undefined;
1606
1644
  CurveUsdSelfLiquidateWithColl?: undefined;
1607
1645
  CurveUsdGetDebt?: undefined;
1608
1646
  CurveUsdCollRatioTrigger?: undefined;
1609
1647
  CurveUsdCollRatioCheck?: undefined;
1648
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
1649
+ CurveUsdLevCreateTransient?: undefined;
1650
+ CurveUsdRepayTransient?: undefined;
1610
1651
  MorphoBlueSupply?: undefined;
1611
1652
  MorphoBlueSupplyCollateral?: undefined;
1612
1653
  MorphoBlueWithdraw?: undefined;
@@ -1616,6 +1657,7 @@ declare const actionAddresses: (chainId?: null) => {
1616
1657
  MorphoBlueSetAuth?: undefined;
1617
1658
  MorphoBlueSetAuthWithSig?: undefined;
1618
1659
  MorphoTokenWrap?: undefined;
1660
+ MorphoBlueReallocateLiquidity?: undefined;
1619
1661
  EulerV2Supply?: undefined;
1620
1662
  EulerV2Withdraw?: undefined;
1621
1663
  EulerV2Borrow?: undefined;
@@ -1646,6 +1688,7 @@ declare const actionAddresses: (chainId?: null) => {
1646
1688
  ToggleSub: string;
1647
1689
  CreateSub: string;
1648
1690
  UpdateSub: string;
1691
+ MerklClaim: string;
1649
1692
  FLAaveV3: string;
1650
1693
  FLBalancer: string;
1651
1694
  FLUniV3: string;
@@ -1685,6 +1728,7 @@ declare const actionAddresses: (chainId?: null) => {
1685
1728
  SDaiUnwrap?: undefined;
1686
1729
  TokenizedVaultAdapter?: undefined;
1687
1730
  StarknetClaim?: undefined;
1731
+ SendTokens?: undefined;
1688
1732
  SkyStake?: undefined;
1689
1733
  SkyUnstake?: undefined;
1690
1734
  SkyClaimRewards?: undefined;
@@ -1829,12 +1873,17 @@ declare const actionAddresses: (chainId?: null) => {
1829
1873
  CurveUsdLevCreate?: undefined;
1830
1874
  CurveUsdRepay?: undefined;
1831
1875
  CurveUsdSwapper?: undefined;
1876
+ CurveUsdSwapperTransient?: undefined;
1832
1877
  CurveUsdSelfLiquidate?: undefined;
1833
1878
  CurveUsdSelfLiquidateWithColl?: undefined;
1834
1879
  CurveUsdGetDebt?: undefined;
1835
1880
  CurveUsdCollRatioTrigger?: undefined;
1836
1881
  CurveUsdCollRatioCheck?: undefined;
1882
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
1883
+ CurveUsdLevCreateTransient?: undefined;
1884
+ CurveUsdRepayTransient?: undefined;
1837
1885
  MorphoTokenWrap?: undefined;
1886
+ MorphoBlueReallocateLiquidity?: undefined;
1838
1887
  LlamaLendCreate?: undefined;
1839
1888
  LlamaLendSupply?: undefined;
1840
1889
  LlamaLendBorrow?: undefined;
@@ -1852,7 +1901,6 @@ declare const actionAddresses: (chainId?: null) => {
1852
1901
  EulerV2Payback?: undefined;
1853
1902
  EulerV2CollateralSwitch?: undefined;
1854
1903
  EulerV2View?: undefined;
1855
- MerklClaim?: undefined;
1856
1904
  RenzoStake?: undefined;
1857
1905
  EtherFiStake?: undefined;
1858
1906
  EtherFiWrap?: undefined;
@@ -2028,6 +2076,7 @@ declare const _default: {
2028
2076
  PermitToken: string;
2029
2077
  StarknetClaim: string;
2030
2078
  HandleAuth: string;
2079
+ SendTokens: string;
2031
2080
  DFSSell: string;
2032
2081
  SkyStake: string;
2033
2082
  SkyUnstake: string;
@@ -2196,11 +2245,15 @@ declare const _default: {
2196
2245
  CurveUsdLevCreate: string;
2197
2246
  CurveUsdRepay: string;
2198
2247
  CurveUsdSwapper: string;
2248
+ CurveUsdSwapperTransient: string;
2199
2249
  CurveUsdSelfLiquidate: string;
2200
2250
  CurveUsdSelfLiquidateWithColl: string;
2201
2251
  CurveUsdGetDebt: string;
2202
2252
  CurveUsdCollRatioTrigger: string;
2203
2253
  CurveUsdCollRatioCheck: string;
2254
+ CurveUsdSelfLiquidateWithCollTransient: string;
2255
+ CurveUsdLevCreateTransient: string;
2256
+ CurveUsdRepayTransient: string;
2204
2257
  MorphoBlueSupply: string;
2205
2258
  MorphoBlueSupplyCollateral: string;
2206
2259
  MorphoBlueWithdraw: string;
@@ -2210,6 +2263,7 @@ declare const _default: {
2210
2263
  MorphoBlueSetAuth: string;
2211
2264
  MorphoBlueSetAuthWithSig: string;
2212
2265
  MorphoTokenWrap: string;
2266
+ MorphoBlueReallocateLiquidity: string;
2213
2267
  LlamaLendCreate: string;
2214
2268
  LlamaLendSupply: string;
2215
2269
  LlamaLendBorrow: string;
@@ -2290,6 +2344,7 @@ declare const _default: {
2290
2344
  SDaiWrap?: undefined;
2291
2345
  SDaiUnwrap?: undefined;
2292
2346
  StarknetClaim?: undefined;
2347
+ SendTokens?: undefined;
2293
2348
  SkyStake?: undefined;
2294
2349
  SkyUnstake?: undefined;
2295
2350
  SkyClaimRewards?: undefined;
@@ -2431,11 +2486,15 @@ declare const _default: {
2431
2486
  CurveUsdLevCreate?: undefined;
2432
2487
  CurveUsdRepay?: undefined;
2433
2488
  CurveUsdSwapper?: undefined;
2489
+ CurveUsdSwapperTransient?: undefined;
2434
2490
  CurveUsdSelfLiquidate?: undefined;
2435
2491
  CurveUsdSelfLiquidateWithColl?: undefined;
2436
2492
  CurveUsdGetDebt?: undefined;
2437
2493
  CurveUsdCollRatioTrigger?: undefined;
2438
2494
  CurveUsdCollRatioCheck?: undefined;
2495
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
2496
+ CurveUsdLevCreateTransient?: undefined;
2497
+ CurveUsdRepayTransient?: undefined;
2439
2498
  MorphoBlueSupply?: undefined;
2440
2499
  MorphoBlueSupplyCollateral?: undefined;
2441
2500
  MorphoBlueWithdraw?: undefined;
@@ -2445,6 +2504,7 @@ declare const _default: {
2445
2504
  MorphoBlueSetAuth?: undefined;
2446
2505
  MorphoBlueSetAuthWithSig?: undefined;
2447
2506
  MorphoTokenWrap?: undefined;
2507
+ MorphoBlueReallocateLiquidity?: undefined;
2448
2508
  LlamaLendCreate?: undefined;
2449
2509
  LlamaLendSupply?: undefined;
2450
2510
  LlamaLendBorrow?: undefined;
@@ -2531,6 +2591,7 @@ declare const _default: {
2531
2591
  SDaiWrap?: undefined;
2532
2592
  SDaiUnwrap?: undefined;
2533
2593
  StarknetClaim?: undefined;
2594
+ SendTokens?: undefined;
2534
2595
  SkyStake?: undefined;
2535
2596
  SkyUnstake?: undefined;
2536
2597
  SkyClaimRewards?: undefined;
@@ -2671,11 +2732,15 @@ declare const _default: {
2671
2732
  CurveUsdLevCreate?: undefined;
2672
2733
  CurveUsdRepay?: undefined;
2673
2734
  CurveUsdSwapper?: undefined;
2735
+ CurveUsdSwapperTransient?: undefined;
2674
2736
  CurveUsdSelfLiquidate?: undefined;
2675
2737
  CurveUsdSelfLiquidateWithColl?: undefined;
2676
2738
  CurveUsdGetDebt?: undefined;
2677
2739
  CurveUsdCollRatioTrigger?: undefined;
2678
2740
  CurveUsdCollRatioCheck?: undefined;
2741
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
2742
+ CurveUsdLevCreateTransient?: undefined;
2743
+ CurveUsdRepayTransient?: undefined;
2679
2744
  MorphoBlueSupply?: undefined;
2680
2745
  MorphoBlueSupplyCollateral?: undefined;
2681
2746
  MorphoBlueWithdraw?: undefined;
@@ -2685,6 +2750,7 @@ declare const _default: {
2685
2750
  MorphoBlueSetAuth?: undefined;
2686
2751
  MorphoBlueSetAuthWithSig?: undefined;
2687
2752
  MorphoTokenWrap?: undefined;
2753
+ MorphoBlueReallocateLiquidity?: undefined;
2688
2754
  EulerV2Supply?: undefined;
2689
2755
  EulerV2Withdraw?: undefined;
2690
2756
  EulerV2Borrow?: undefined;
@@ -2715,6 +2781,7 @@ declare const _default: {
2715
2781
  ToggleSub: string;
2716
2782
  CreateSub: string;
2717
2783
  UpdateSub: string;
2784
+ MerklClaim: string;
2718
2785
  FLAaveV3: string;
2719
2786
  FLBalancer: string;
2720
2787
  FLUniV3: string;
@@ -2754,6 +2821,7 @@ declare const _default: {
2754
2821
  SDaiUnwrap?: undefined;
2755
2822
  TokenizedVaultAdapter?: undefined;
2756
2823
  StarknetClaim?: undefined;
2824
+ SendTokens?: undefined;
2757
2825
  SkyStake?: undefined;
2758
2826
  SkyUnstake?: undefined;
2759
2827
  SkyClaimRewards?: undefined;
@@ -2898,12 +2966,17 @@ declare const _default: {
2898
2966
  CurveUsdLevCreate?: undefined;
2899
2967
  CurveUsdRepay?: undefined;
2900
2968
  CurveUsdSwapper?: undefined;
2969
+ CurveUsdSwapperTransient?: undefined;
2901
2970
  CurveUsdSelfLiquidate?: undefined;
2902
2971
  CurveUsdSelfLiquidateWithColl?: undefined;
2903
2972
  CurveUsdGetDebt?: undefined;
2904
2973
  CurveUsdCollRatioTrigger?: undefined;
2905
2974
  CurveUsdCollRatioCheck?: undefined;
2975
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
2976
+ CurveUsdLevCreateTransient?: undefined;
2977
+ CurveUsdRepayTransient?: undefined;
2906
2978
  MorphoTokenWrap?: undefined;
2979
+ MorphoBlueReallocateLiquidity?: undefined;
2907
2980
  LlamaLendCreate?: undefined;
2908
2981
  LlamaLendSupply?: undefined;
2909
2982
  LlamaLendBorrow?: undefined;
@@ -2921,7 +2994,6 @@ declare const _default: {
2921
2994
  EulerV2Payback?: undefined;
2922
2995
  EulerV2CollateralSwitch?: undefined;
2923
2996
  EulerV2View?: undefined;
2924
- MerklClaim?: undefined;
2925
2997
  RenzoStake?: undefined;
2926
2998
  EtherFiStake?: undefined;
2927
2999
  EtherFiWrap?: undefined;
@@ -2954,6 +3026,7 @@ declare const _default: {
2954
3026
  PermitToken: string;
2955
3027
  StarknetClaim: string;
2956
3028
  HandleAuth: string;
3029
+ SendTokens: string;
2957
3030
  DFSSell: string;
2958
3031
  SkyStake: string;
2959
3032
  SkyUnstake: string;
@@ -3122,11 +3195,15 @@ declare const _default: {
3122
3195
  CurveUsdLevCreate: string;
3123
3196
  CurveUsdRepay: string;
3124
3197
  CurveUsdSwapper: string;
3198
+ CurveUsdSwapperTransient: string;
3125
3199
  CurveUsdSelfLiquidate: string;
3126
3200
  CurveUsdSelfLiquidateWithColl: string;
3127
3201
  CurveUsdGetDebt: string;
3128
3202
  CurveUsdCollRatioTrigger: string;
3129
3203
  CurveUsdCollRatioCheck: string;
3204
+ CurveUsdSelfLiquidateWithCollTransient: string;
3205
+ CurveUsdLevCreateTransient: string;
3206
+ CurveUsdRepayTransient: string;
3130
3207
  MorphoBlueSupply: string;
3131
3208
  MorphoBlueSupplyCollateral: string;
3132
3209
  MorphoBlueWithdraw: string;
@@ -3136,6 +3213,7 @@ declare const _default: {
3136
3213
  MorphoBlueSetAuth: string;
3137
3214
  MorphoBlueSetAuthWithSig: string;
3138
3215
  MorphoTokenWrap: string;
3216
+ MorphoBlueReallocateLiquidity: string;
3139
3217
  LlamaLendCreate: string;
3140
3218
  LlamaLendSupply: string;
3141
3219
  LlamaLendBorrow: string;
@@ -3216,6 +3294,7 @@ declare const _default: {
3216
3294
  SDaiWrap?: undefined;
3217
3295
  SDaiUnwrap?: undefined;
3218
3296
  StarknetClaim?: undefined;
3297
+ SendTokens?: undefined;
3219
3298
  SkyStake?: undefined;
3220
3299
  SkyUnstake?: undefined;
3221
3300
  SkyClaimRewards?: undefined;
@@ -3357,11 +3436,15 @@ declare const _default: {
3357
3436
  CurveUsdLevCreate?: undefined;
3358
3437
  CurveUsdRepay?: undefined;
3359
3438
  CurveUsdSwapper?: undefined;
3439
+ CurveUsdSwapperTransient?: undefined;
3360
3440
  CurveUsdSelfLiquidate?: undefined;
3361
3441
  CurveUsdSelfLiquidateWithColl?: undefined;
3362
3442
  CurveUsdGetDebt?: undefined;
3363
3443
  CurveUsdCollRatioTrigger?: undefined;
3364
3444
  CurveUsdCollRatioCheck?: undefined;
3445
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
3446
+ CurveUsdLevCreateTransient?: undefined;
3447
+ CurveUsdRepayTransient?: undefined;
3365
3448
  MorphoBlueSupply?: undefined;
3366
3449
  MorphoBlueSupplyCollateral?: undefined;
3367
3450
  MorphoBlueWithdraw?: undefined;
@@ -3371,6 +3454,7 @@ declare const _default: {
3371
3454
  MorphoBlueSetAuth?: undefined;
3372
3455
  MorphoBlueSetAuthWithSig?: undefined;
3373
3456
  MorphoTokenWrap?: undefined;
3457
+ MorphoBlueReallocateLiquidity?: undefined;
3374
3458
  LlamaLendCreate?: undefined;
3375
3459
  LlamaLendSupply?: undefined;
3376
3460
  LlamaLendBorrow?: undefined;
@@ -3457,6 +3541,7 @@ declare const _default: {
3457
3541
  SDaiWrap?: undefined;
3458
3542
  SDaiUnwrap?: undefined;
3459
3543
  StarknetClaim?: undefined;
3544
+ SendTokens?: undefined;
3460
3545
  SkyStake?: undefined;
3461
3546
  SkyUnstake?: undefined;
3462
3547
  SkyClaimRewards?: undefined;
@@ -3597,11 +3682,15 @@ declare const _default: {
3597
3682
  CurveUsdLevCreate?: undefined;
3598
3683
  CurveUsdRepay?: undefined;
3599
3684
  CurveUsdSwapper?: undefined;
3685
+ CurveUsdSwapperTransient?: undefined;
3600
3686
  CurveUsdSelfLiquidate?: undefined;
3601
3687
  CurveUsdSelfLiquidateWithColl?: undefined;
3602
3688
  CurveUsdGetDebt?: undefined;
3603
3689
  CurveUsdCollRatioTrigger?: undefined;
3604
3690
  CurveUsdCollRatioCheck?: undefined;
3691
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
3692
+ CurveUsdLevCreateTransient?: undefined;
3693
+ CurveUsdRepayTransient?: undefined;
3605
3694
  MorphoBlueSupply?: undefined;
3606
3695
  MorphoBlueSupplyCollateral?: undefined;
3607
3696
  MorphoBlueWithdraw?: undefined;
@@ -3611,6 +3700,7 @@ declare const _default: {
3611
3700
  MorphoBlueSetAuth?: undefined;
3612
3701
  MorphoBlueSetAuthWithSig?: undefined;
3613
3702
  MorphoTokenWrap?: undefined;
3703
+ MorphoBlueReallocateLiquidity?: undefined;
3614
3704
  EulerV2Supply?: undefined;
3615
3705
  EulerV2Withdraw?: undefined;
3616
3706
  EulerV2Borrow?: undefined;
@@ -3641,6 +3731,7 @@ declare const _default: {
3641
3731
  ToggleSub: string;
3642
3732
  CreateSub: string;
3643
3733
  UpdateSub: string;
3734
+ MerklClaim: string;
3644
3735
  FLAaveV3: string;
3645
3736
  FLBalancer: string;
3646
3737
  FLUniV3: string;
@@ -3680,6 +3771,7 @@ declare const _default: {
3680
3771
  SDaiUnwrap?: undefined;
3681
3772
  TokenizedVaultAdapter?: undefined;
3682
3773
  StarknetClaim?: undefined;
3774
+ SendTokens?: undefined;
3683
3775
  SkyStake?: undefined;
3684
3776
  SkyUnstake?: undefined;
3685
3777
  SkyClaimRewards?: undefined;
@@ -3824,12 +3916,17 @@ declare const _default: {
3824
3916
  CurveUsdLevCreate?: undefined;
3825
3917
  CurveUsdRepay?: undefined;
3826
3918
  CurveUsdSwapper?: undefined;
3919
+ CurveUsdSwapperTransient?: undefined;
3827
3920
  CurveUsdSelfLiquidate?: undefined;
3828
3921
  CurveUsdSelfLiquidateWithColl?: undefined;
3829
3922
  CurveUsdGetDebt?: undefined;
3830
3923
  CurveUsdCollRatioTrigger?: undefined;
3831
3924
  CurveUsdCollRatioCheck?: undefined;
3925
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
3926
+ CurveUsdLevCreateTransient?: undefined;
3927
+ CurveUsdRepayTransient?: undefined;
3832
3928
  MorphoTokenWrap?: undefined;
3929
+ MorphoBlueReallocateLiquidity?: undefined;
3833
3930
  LlamaLendCreate?: undefined;
3834
3931
  LlamaLendSupply?: undefined;
3835
3932
  LlamaLendBorrow?: undefined;
@@ -3847,7 +3944,6 @@ declare const _default: {
3847
3944
  EulerV2Payback?: undefined;
3848
3945
  EulerV2CollateralSwitch?: undefined;
3849
3946
  EulerV2View?: undefined;
3850
- MerklClaim?: undefined;
3851
3947
  RenzoStake?: undefined;
3852
3948
  EtherFiStake?: undefined;
3853
3949
  EtherFiWrap?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.2.13",
3
+ "version": "1.2.15-dev-allocator",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -0,0 +1,52 @@
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
+ import { getAddr } from '../../addresses';
4
+ import {
5
+ EthAddress,
6
+ uint256,
7
+ uint32,
8
+ } from '../../types';
9
+
10
+ /**
11
+ *
12
+ * @category CurveUsd
13
+ */
14
+ export class CurveUsdLevCreateTransientAction extends Action {
15
+ constructor(
16
+ controllerAddress: EthAddress,
17
+ from: EthAddress,
18
+ collateralAmount: uint256,
19
+ nBands: uint256,
20
+ exchangeOrder: Array<any>,
21
+ gasUsed: uint32,
22
+ ) {
23
+ requireAddress(from);
24
+ super(
25
+ 'CurveUsdLevCreateTransient',
26
+ getAddr('CurveUsdLevCreateTransient'),
27
+ [
28
+ 'address',
29
+ 'address',
30
+ 'uint256',
31
+ 'uint256',
32
+ ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
33
+ 'uint32',
34
+ ],
35
+ [
36
+ controllerAddress,
37
+ from,
38
+ collateralAmount,
39
+ nBands,
40
+ exchangeOrder,
41
+ gasUsed,
42
+ ],
43
+ );
44
+
45
+ this.mappableArgs = [
46
+ this.args[0],
47
+ this.args[1],
48
+ this.args[2],
49
+ this.args[3],
50
+ ];
51
+ }
52
+ }
@@ -0,0 +1,36 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import {
4
+ EthAddress,
5
+ uint32,
6
+ } from '../../types';
7
+
8
+ /**
9
+ *
10
+ * @category CurveUsd
11
+ */
12
+ export class CurveUsdRepayTransientAction extends Action {
13
+ constructor(controllerAddress: EthAddress, to: EthAddress, exchangeOrder: Array<any>, gasUsed: uint32) {
14
+ super(
15
+ 'CurveUsdRepayTransient',
16
+ getAddr('CurveUsdRepayTransient'),
17
+ [
18
+ 'address',
19
+ 'address',
20
+ ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
21
+ 'uint32',
22
+ ],
23
+ [
24
+ controllerAddress,
25
+ to,
26
+ exchangeOrder,
27
+ gasUsed,
28
+ ],
29
+ );
30
+
31
+ this.mappableArgs = [
32
+ this.args[0],
33
+ this.args[1],
34
+ ];
35
+ }
36
+ }
@@ -0,0 +1,55 @@
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
+ import { getAddr } from '../../addresses';
4
+ import {
5
+ EthAddress,
6
+ uint256,
7
+ uint32,
8
+ } from '../../types';
9
+
10
+ /**
11
+ *
12
+ * @category CurveUsd
13
+ */
14
+ export class CurveUsdSelfLiquidateWithCollTransientAction extends Action {
15
+ constructor(
16
+ controllerAddress: EthAddress,
17
+ percentage: uint256,
18
+ minCrvUsdExpected: uint256,
19
+ to: EthAddress,
20
+ exchangeOrder: Array<any>,
21
+ sellAllCollateral: boolean,
22
+ gasUsed: uint32,
23
+ ) {
24
+ requireAddress(to);
25
+ super(
26
+ 'CurveUsdSelfLiquidateWithCollTransient',
27
+ getAddr('CurveUsdSelfLiquidateWithCollTransient'),
28
+ [
29
+ 'address',
30
+ 'uint256',
31
+ 'uint256',
32
+ 'address',
33
+ ['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
34
+ 'bool',
35
+ 'uint32',
36
+ ],
37
+ [
38
+ controllerAddress,
39
+ percentage,
40
+ minCrvUsdExpected,
41
+ to,
42
+ exchangeOrder,
43
+ sellAllCollateral,
44
+ gasUsed,
45
+ ],
46
+ );
47
+
48
+ this.mappableArgs = [
49
+ this.args[0],
50
+ this.args[1],
51
+ this.args[2],
52
+ this.args[3],
53
+ ];
54
+ }
55
+ }
@@ -8,4 +8,7 @@ export * from './CurveUsdSelfLiquidateAction';
8
8
  export * from './CurveUsdLevCreateAction';
9
9
  export * from './CurveUsdSelfLiquidateWithCollAction';
10
10
  export * from './CurveUsdAdjustAction';
11
- export * from './CurveUsdGetDebtAction';
11
+ export * from './CurveUsdGetDebtAction';
12
+ export * from './CurveUsdLevCreateTransientAction';
13
+ export * from './CurveUsdRepayTransientAction';
14
+ export * from './CurveUsdSelfLiquidateWithCollTransientAction';