@defisaver/sdk 1.2.10-dev → 1.2.10-stage1

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.
@@ -0,0 +1,17 @@
1
+ import { Action } from '../../Action';
2
+ import { EthAddress, uint256, bytes } from '../../types';
3
+ import { FlashLoanId } from './FlashLoanId';
4
+ /**
5
+ * Gets a crvUSD flashloan from CurveUsd Flash Minter
6
+ *
7
+ * @category Flashloans
8
+ */
9
+ export declare class CurveUsdFlashLoanAction extends Action implements FlashLoanId {
10
+ flashLoanId: number;
11
+ /**
12
+ * @param amount
13
+ * @param flParamGetterAddr
14
+ * @param flParamGetterData
15
+ */
16
+ constructor(amount: uint256, flParamGetterAddr?: EthAddress, flParamGetterData?: bytes);
17
+ }
@@ -0,0 +1,18 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ /**
4
+ * Gets a crvUSD flashloan from CurveUsd Flash Minter
5
+ *
6
+ * @category Flashloans
7
+ */
8
+ export class CurveUsdFlashLoanAction extends Action {
9
+ /**
10
+ * @param amount
11
+ * @param flParamGetterAddr
12
+ * @param flParamGetterData
13
+ */
14
+ constructor(amount, flParamGetterAddr = getAddr('Empty'), flParamGetterData = []) {
15
+ super('FLAction', getAddr('FLAction'), ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'], [[], [amount], [], getAddr('Empty'), flParamGetterAddr, flParamGetterData, []]);
16
+ this.flashLoanId = 9;
17
+ }
18
+ }
@@ -23,3 +23,4 @@ export * from './GhoFlashLoanPaybackAction';
23
23
  export * from './MorphoBlueFlashLoanAction';
24
24
  export * from './MorphoBlueFlashLoanPaybackAction';
25
25
  export * from './FLPaybackAction';
26
+ export * from './CurveUsdFlashLoanAction';
@@ -23,3 +23,4 @@ export * from './GhoFlashLoanPaybackAction';
23
23
  export * from './MorphoBlueFlashLoanAction';
24
24
  export * from './MorphoBlueFlashLoanPaybackAction';
25
25
  export * from './FLPaybackAction';
26
+ export * from './CurveUsdFlashLoanAction';
@@ -22,6 +22,7 @@ export declare const actionAddresses: {
22
22
  PermitToken: string;
23
23
  StarknetClaim: string;
24
24
  HandleAuth: string;
25
+ SendTokens: string;
25
26
  DFSSell: string;
26
27
  SkyStake: string;
27
28
  SkyUnstake: string;
@@ -195,6 +196,9 @@ export declare const actionAddresses: {
195
196
  CurveUsdGetDebt: string;
196
197
  CurveUsdCollRatioTrigger: string;
197
198
  CurveUsdCollRatioCheck: string;
199
+ CurveUsdSelfLiquidateWithCollTransient: string;
200
+ CurveUsdLevCreateTransient: string;
201
+ CurveUsdRepayTransient: string;
198
202
  MorphoBlueSupply: string;
199
203
  MorphoBlueSupplyCollateral: string;
200
204
  MorphoBlueWithdraw: string;
@@ -280,6 +284,7 @@ export declare const actionAddresses: {
280
284
  SDaiWrap?: undefined;
281
285
  SDaiUnwrap?: undefined;
282
286
  StarknetClaim?: undefined;
287
+ SendTokens?: undefined;
283
288
  SkyStake?: undefined;
284
289
  SkyUnstake?: undefined;
285
290
  SkyClaimRewards?: undefined;
@@ -426,6 +431,9 @@ export declare const actionAddresses: {
426
431
  CurveUsdGetDebt?: undefined;
427
432
  CurveUsdCollRatioTrigger?: undefined;
428
433
  CurveUsdCollRatioCheck?: undefined;
434
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
435
+ CurveUsdLevCreateTransient?: undefined;
436
+ CurveUsdRepayTransient?: undefined;
429
437
  MorphoBlueSupply?: undefined;
430
438
  MorphoBlueSupplyCollateral?: undefined;
431
439
  MorphoBlueWithdraw?: undefined;
@@ -517,6 +525,7 @@ export declare const actionAddresses: {
517
525
  SDaiWrap?: undefined;
518
526
  SDaiUnwrap?: undefined;
519
527
  StarknetClaim?: undefined;
528
+ SendTokens?: undefined;
520
529
  SkyStake?: undefined;
521
530
  SkyUnstake?: undefined;
522
531
  SkyClaimRewards?: undefined;
@@ -662,6 +671,9 @@ export declare const actionAddresses: {
662
671
  CurveUsdGetDebt?: undefined;
663
672
  CurveUsdCollRatioTrigger?: undefined;
664
673
  CurveUsdCollRatioCheck?: undefined;
674
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
675
+ CurveUsdLevCreateTransient?: undefined;
676
+ CurveUsdRepayTransient?: undefined;
665
677
  MorphoBlueSupply?: undefined;
666
678
  MorphoBlueSupplyCollateral?: undefined;
667
679
  MorphoBlueWithdraw?: undefined;
@@ -736,6 +748,7 @@ export declare const actionAddresses: {
736
748
  SDaiUnwrap?: undefined;
737
749
  TokenizedVaultAdapter?: undefined;
738
750
  StarknetClaim?: undefined;
751
+ SendTokens?: undefined;
739
752
  SkyStake?: undefined;
740
753
  SkyUnstake?: undefined;
741
754
  SkyClaimRewards?: undefined;
@@ -885,6 +898,9 @@ export declare const actionAddresses: {
885
898
  CurveUsdGetDebt?: undefined;
886
899
  CurveUsdCollRatioTrigger?: undefined;
887
900
  CurveUsdCollRatioCheck?: undefined;
901
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
902
+ CurveUsdLevCreateTransient?: undefined;
903
+ CurveUsdRepayTransient?: undefined;
888
904
  MorphoTokenWrap?: undefined;
889
905
  LlamaLendCreate?: undefined;
890
906
  LlamaLendSupply?: undefined;
@@ -23,6 +23,7 @@ export const actionAddresses = {
23
23
  PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
24
24
  StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
25
25
  HandleAuth: '0xfc2e2b37c73d5d43cf5fcbd80a4049b620d60eba',
26
+ SendTokens: '0x7d05c0ABeF6d91300a237026507c4a2631ddAdEa',
26
27
  // exchange
27
28
  DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
28
29
  // sky
@@ -122,7 +123,7 @@ export const actionAddresses = {
122
123
  FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
123
124
  FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
124
125
  FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
125
- FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
126
+ FLAction: '0x5f1dC84Ba060Ea3f7429c6A7bBEdd9243CF1209b',
126
127
  FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
127
128
  FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
128
129
  FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
@@ -226,6 +227,9 @@ export const actionAddresses = {
226
227
  CurveUsdGetDebt: '0x3Bb41d3f300dA758780fe7696bb4fB93cD7172fB',
227
228
  CurveUsdCollRatioTrigger: '0xFCc610809b735BB13E583c5E46595457083D2b0c',
228
229
  CurveUsdCollRatioCheck: '0x8c65f37ca216de1625886431249be13ead051388',
230
+ CurveUsdSelfLiquidateWithCollTransient: '0xC6C627c63389D8bB7913b55CD62fa451703AD1E1',
231
+ CurveUsdLevCreateTransient: '0x10B748Dc504C2515Bb6A9e23CB2F686090b6c584',
232
+ CurveUsdRepayTransient: '0x270A0C7eBd1C0a98FdA613782b51419300AB6322',
229
233
  MorphoBlueSupply: '0x1D0F6027Eeb118dEc06055735eE840E3Fe3E6f9a',
230
234
  MorphoBlueSupplyCollateral: '0x1cdAC5D4b207e8DBd308504BbedD5D1BD19D26ac',
231
235
  MorphoBlueWithdraw: '0xE97c7D2838D068C967B7c40080e09A08B9b11fca',
@@ -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;
@@ -206,6 +207,9 @@ declare const actionAddressesAllChains: {
206
207
  CurveUsdGetDebt: string;
207
208
  CurveUsdCollRatioTrigger: string;
208
209
  CurveUsdCollRatioCheck: string;
210
+ CurveUsdSelfLiquidateWithCollTransient: string;
211
+ CurveUsdLevCreateTransient: string;
212
+ CurveUsdRepayTransient: string;
209
213
  MorphoBlueSupply: string;
210
214
  MorphoBlueSupplyCollateral: string;
211
215
  MorphoBlueWithdraw: string;
@@ -291,6 +295,7 @@ declare const actionAddressesAllChains: {
291
295
  SDaiWrap?: undefined;
292
296
  SDaiUnwrap?: undefined;
293
297
  StarknetClaim?: undefined;
298
+ SendTokens?: undefined;
294
299
  SkyStake?: undefined;
295
300
  SkyUnstake?: undefined;
296
301
  SkyClaimRewards?: undefined;
@@ -437,6 +442,9 @@ declare const actionAddressesAllChains: {
437
442
  CurveUsdGetDebt?: undefined;
438
443
  CurveUsdCollRatioTrigger?: undefined;
439
444
  CurveUsdCollRatioCheck?: undefined;
445
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
446
+ CurveUsdLevCreateTransient?: undefined;
447
+ CurveUsdRepayTransient?: undefined;
440
448
  MorphoBlueSupply?: undefined;
441
449
  MorphoBlueSupplyCollateral?: undefined;
442
450
  MorphoBlueWithdraw?: undefined;
@@ -528,6 +536,7 @@ declare const actionAddressesAllChains: {
528
536
  SDaiWrap?: undefined;
529
537
  SDaiUnwrap?: undefined;
530
538
  StarknetClaim?: undefined;
539
+ SendTokens?: undefined;
531
540
  SkyStake?: undefined;
532
541
  SkyUnstake?: undefined;
533
542
  SkyClaimRewards?: undefined;
@@ -673,6 +682,9 @@ declare const actionAddressesAllChains: {
673
682
  CurveUsdGetDebt?: undefined;
674
683
  CurveUsdCollRatioTrigger?: undefined;
675
684
  CurveUsdCollRatioCheck?: undefined;
685
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
686
+ CurveUsdLevCreateTransient?: undefined;
687
+ CurveUsdRepayTransient?: undefined;
676
688
  MorphoBlueSupply?: undefined;
677
689
  MorphoBlueSupplyCollateral?: undefined;
678
690
  MorphoBlueWithdraw?: undefined;
@@ -747,6 +759,7 @@ declare const actionAddressesAllChains: {
747
759
  SDaiUnwrap?: undefined;
748
760
  TokenizedVaultAdapter?: undefined;
749
761
  StarknetClaim?: undefined;
762
+ SendTokens?: undefined;
750
763
  SkyStake?: undefined;
751
764
  SkyUnstake?: undefined;
752
765
  SkyClaimRewards?: undefined;
@@ -896,6 +909,9 @@ declare const actionAddressesAllChains: {
896
909
  CurveUsdGetDebt?: undefined;
897
910
  CurveUsdCollRatioTrigger?: undefined;
898
911
  CurveUsdCollRatioCheck?: undefined;
912
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
913
+ CurveUsdLevCreateTransient?: undefined;
914
+ CurveUsdRepayTransient?: undefined;
899
915
  MorphoTokenWrap?: undefined;
900
916
  LlamaLendCreate?: undefined;
901
917
  LlamaLendSupply?: undefined;
@@ -943,6 +959,7 @@ declare const actionAddresses: (chainId?: null) => {
943
959
  PermitToken: string;
944
960
  StarknetClaim: string;
945
961
  HandleAuth: string;
962
+ SendTokens: string;
946
963
  DFSSell: string;
947
964
  SkyStake: string;
948
965
  SkyUnstake: string;
@@ -1116,6 +1133,9 @@ declare const actionAddresses: (chainId?: null) => {
1116
1133
  CurveUsdGetDebt: string;
1117
1134
  CurveUsdCollRatioTrigger: string;
1118
1135
  CurveUsdCollRatioCheck: string;
1136
+ CurveUsdSelfLiquidateWithCollTransient: string;
1137
+ CurveUsdLevCreateTransient: string;
1138
+ CurveUsdRepayTransient: string;
1119
1139
  MorphoBlueSupply: string;
1120
1140
  MorphoBlueSupplyCollateral: string;
1121
1141
  MorphoBlueWithdraw: string;
@@ -1201,6 +1221,7 @@ declare const actionAddresses: (chainId?: null) => {
1201
1221
  SDaiWrap?: undefined;
1202
1222
  SDaiUnwrap?: undefined;
1203
1223
  StarknetClaim?: undefined;
1224
+ SendTokens?: undefined;
1204
1225
  SkyStake?: undefined;
1205
1226
  SkyUnstake?: undefined;
1206
1227
  SkyClaimRewards?: undefined;
@@ -1347,6 +1368,9 @@ declare const actionAddresses: (chainId?: null) => {
1347
1368
  CurveUsdGetDebt?: undefined;
1348
1369
  CurveUsdCollRatioTrigger?: undefined;
1349
1370
  CurveUsdCollRatioCheck?: undefined;
1371
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
1372
+ CurveUsdLevCreateTransient?: undefined;
1373
+ CurveUsdRepayTransient?: undefined;
1350
1374
  MorphoBlueSupply?: undefined;
1351
1375
  MorphoBlueSupplyCollateral?: undefined;
1352
1376
  MorphoBlueWithdraw?: undefined;
@@ -1438,6 +1462,7 @@ declare const actionAddresses: (chainId?: null) => {
1438
1462
  SDaiWrap?: undefined;
1439
1463
  SDaiUnwrap?: undefined;
1440
1464
  StarknetClaim?: undefined;
1465
+ SendTokens?: undefined;
1441
1466
  SkyStake?: undefined;
1442
1467
  SkyUnstake?: undefined;
1443
1468
  SkyClaimRewards?: undefined;
@@ -1583,6 +1608,9 @@ declare const actionAddresses: (chainId?: null) => {
1583
1608
  CurveUsdGetDebt?: undefined;
1584
1609
  CurveUsdCollRatioTrigger?: undefined;
1585
1610
  CurveUsdCollRatioCheck?: undefined;
1611
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
1612
+ CurveUsdLevCreateTransient?: undefined;
1613
+ CurveUsdRepayTransient?: undefined;
1586
1614
  MorphoBlueSupply?: undefined;
1587
1615
  MorphoBlueSupplyCollateral?: undefined;
1588
1616
  MorphoBlueWithdraw?: undefined;
@@ -1657,6 +1685,7 @@ declare const actionAddresses: (chainId?: null) => {
1657
1685
  SDaiUnwrap?: undefined;
1658
1686
  TokenizedVaultAdapter?: undefined;
1659
1687
  StarknetClaim?: undefined;
1688
+ SendTokens?: undefined;
1660
1689
  SkyStake?: undefined;
1661
1690
  SkyUnstake?: undefined;
1662
1691
  SkyClaimRewards?: undefined;
@@ -1806,6 +1835,9 @@ declare const actionAddresses: (chainId?: null) => {
1806
1835
  CurveUsdGetDebt?: undefined;
1807
1836
  CurveUsdCollRatioTrigger?: undefined;
1808
1837
  CurveUsdCollRatioCheck?: undefined;
1838
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
1839
+ CurveUsdLevCreateTransient?: undefined;
1840
+ CurveUsdRepayTransient?: undefined;
1809
1841
  MorphoTokenWrap?: undefined;
1810
1842
  LlamaLendCreate?: undefined;
1811
1843
  LlamaLendSupply?: undefined;
@@ -1996,6 +2028,7 @@ declare const _default: {
1996
2028
  PermitToken: string;
1997
2029
  StarknetClaim: string;
1998
2030
  HandleAuth: string;
2031
+ SendTokens: string;
1999
2032
  DFSSell: string;
2000
2033
  SkyStake: string;
2001
2034
  SkyUnstake: string;
@@ -2169,6 +2202,9 @@ declare const _default: {
2169
2202
  CurveUsdGetDebt: string;
2170
2203
  CurveUsdCollRatioTrigger: string;
2171
2204
  CurveUsdCollRatioCheck: string;
2205
+ CurveUsdSelfLiquidateWithCollTransient: string;
2206
+ CurveUsdLevCreateTransient: string;
2207
+ CurveUsdRepayTransient: string;
2172
2208
  MorphoBlueSupply: string;
2173
2209
  MorphoBlueSupplyCollateral: string;
2174
2210
  MorphoBlueWithdraw: string;
@@ -2254,6 +2290,7 @@ declare const _default: {
2254
2290
  SDaiWrap?: undefined;
2255
2291
  SDaiUnwrap?: undefined;
2256
2292
  StarknetClaim?: undefined;
2293
+ SendTokens?: undefined;
2257
2294
  SkyStake?: undefined;
2258
2295
  SkyUnstake?: undefined;
2259
2296
  SkyClaimRewards?: undefined;
@@ -2400,6 +2437,9 @@ declare const _default: {
2400
2437
  CurveUsdGetDebt?: undefined;
2401
2438
  CurveUsdCollRatioTrigger?: undefined;
2402
2439
  CurveUsdCollRatioCheck?: undefined;
2440
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
2441
+ CurveUsdLevCreateTransient?: undefined;
2442
+ CurveUsdRepayTransient?: undefined;
2403
2443
  MorphoBlueSupply?: undefined;
2404
2444
  MorphoBlueSupplyCollateral?: undefined;
2405
2445
  MorphoBlueWithdraw?: undefined;
@@ -2491,6 +2531,7 @@ declare const _default: {
2491
2531
  SDaiWrap?: undefined;
2492
2532
  SDaiUnwrap?: undefined;
2493
2533
  StarknetClaim?: undefined;
2534
+ SendTokens?: undefined;
2494
2535
  SkyStake?: undefined;
2495
2536
  SkyUnstake?: undefined;
2496
2537
  SkyClaimRewards?: undefined;
@@ -2636,6 +2677,9 @@ declare const _default: {
2636
2677
  CurveUsdGetDebt?: undefined;
2637
2678
  CurveUsdCollRatioTrigger?: undefined;
2638
2679
  CurveUsdCollRatioCheck?: undefined;
2680
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
2681
+ CurveUsdLevCreateTransient?: undefined;
2682
+ CurveUsdRepayTransient?: undefined;
2639
2683
  MorphoBlueSupply?: undefined;
2640
2684
  MorphoBlueSupplyCollateral?: undefined;
2641
2685
  MorphoBlueWithdraw?: undefined;
@@ -2710,6 +2754,7 @@ declare const _default: {
2710
2754
  SDaiUnwrap?: undefined;
2711
2755
  TokenizedVaultAdapter?: undefined;
2712
2756
  StarknetClaim?: undefined;
2757
+ SendTokens?: undefined;
2713
2758
  SkyStake?: undefined;
2714
2759
  SkyUnstake?: undefined;
2715
2760
  SkyClaimRewards?: undefined;
@@ -2859,6 +2904,9 @@ declare const _default: {
2859
2904
  CurveUsdGetDebt?: undefined;
2860
2905
  CurveUsdCollRatioTrigger?: undefined;
2861
2906
  CurveUsdCollRatioCheck?: undefined;
2907
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
2908
+ CurveUsdLevCreateTransient?: undefined;
2909
+ CurveUsdRepayTransient?: undefined;
2862
2910
  MorphoTokenWrap?: undefined;
2863
2911
  LlamaLendCreate?: undefined;
2864
2912
  LlamaLendSupply?: undefined;
@@ -2906,6 +2954,7 @@ declare const _default: {
2906
2954
  PermitToken: string;
2907
2955
  StarknetClaim: string;
2908
2956
  HandleAuth: string;
2957
+ SendTokens: string;
2909
2958
  DFSSell: string;
2910
2959
  SkyStake: string;
2911
2960
  SkyUnstake: string;
@@ -3079,6 +3128,9 @@ declare const _default: {
3079
3128
  CurveUsdGetDebt: string;
3080
3129
  CurveUsdCollRatioTrigger: string;
3081
3130
  CurveUsdCollRatioCheck: string;
3131
+ CurveUsdSelfLiquidateWithCollTransient: string;
3132
+ CurveUsdLevCreateTransient: string;
3133
+ CurveUsdRepayTransient: string;
3082
3134
  MorphoBlueSupply: string;
3083
3135
  MorphoBlueSupplyCollateral: string;
3084
3136
  MorphoBlueWithdraw: string;
@@ -3164,6 +3216,7 @@ declare const _default: {
3164
3216
  SDaiWrap?: undefined;
3165
3217
  SDaiUnwrap?: undefined;
3166
3218
  StarknetClaim?: undefined;
3219
+ SendTokens?: undefined;
3167
3220
  SkyStake?: undefined;
3168
3221
  SkyUnstake?: undefined;
3169
3222
  SkyClaimRewards?: undefined;
@@ -3310,6 +3363,9 @@ declare const _default: {
3310
3363
  CurveUsdGetDebt?: undefined;
3311
3364
  CurveUsdCollRatioTrigger?: undefined;
3312
3365
  CurveUsdCollRatioCheck?: undefined;
3366
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
3367
+ CurveUsdLevCreateTransient?: undefined;
3368
+ CurveUsdRepayTransient?: undefined;
3313
3369
  MorphoBlueSupply?: undefined;
3314
3370
  MorphoBlueSupplyCollateral?: undefined;
3315
3371
  MorphoBlueWithdraw?: undefined;
@@ -3401,6 +3457,7 @@ declare const _default: {
3401
3457
  SDaiWrap?: undefined;
3402
3458
  SDaiUnwrap?: undefined;
3403
3459
  StarknetClaim?: undefined;
3460
+ SendTokens?: undefined;
3404
3461
  SkyStake?: undefined;
3405
3462
  SkyUnstake?: undefined;
3406
3463
  SkyClaimRewards?: undefined;
@@ -3546,6 +3603,9 @@ declare const _default: {
3546
3603
  CurveUsdGetDebt?: undefined;
3547
3604
  CurveUsdCollRatioTrigger?: undefined;
3548
3605
  CurveUsdCollRatioCheck?: undefined;
3606
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
3607
+ CurveUsdLevCreateTransient?: undefined;
3608
+ CurveUsdRepayTransient?: undefined;
3549
3609
  MorphoBlueSupply?: undefined;
3550
3610
  MorphoBlueSupplyCollateral?: undefined;
3551
3611
  MorphoBlueWithdraw?: undefined;
@@ -3620,6 +3680,7 @@ declare const _default: {
3620
3680
  SDaiUnwrap?: undefined;
3621
3681
  TokenizedVaultAdapter?: undefined;
3622
3682
  StarknetClaim?: undefined;
3683
+ SendTokens?: undefined;
3623
3684
  SkyStake?: undefined;
3624
3685
  SkyUnstake?: undefined;
3625
3686
  SkyClaimRewards?: undefined;
@@ -3769,6 +3830,9 @@ declare const _default: {
3769
3830
  CurveUsdGetDebt?: undefined;
3770
3831
  CurveUsdCollRatioTrigger?: undefined;
3771
3832
  CurveUsdCollRatioCheck?: undefined;
3833
+ CurveUsdSelfLiquidateWithCollTransient?: undefined;
3834
+ CurveUsdLevCreateTransient?: undefined;
3835
+ CurveUsdRepayTransient?: undefined;
3772
3836
  MorphoTokenWrap?: undefined;
3773
3837
  LlamaLendCreate?: undefined;
3774
3838
  LlamaLendSupply?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.2.10-dev",
3
+ "version": "1.2.10-stage1",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
@@ -0,0 +1,27 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress, uint256, bytes } from '../../types';
4
+ import { FlashLoanId } from './FlashLoanId';
5
+
6
+ /**
7
+ * Gets a crvUSD flashloan from CurveUsd Flash Minter
8
+ *
9
+ * @category Flashloans
10
+ */
11
+ export class CurveUsdFlashLoanAction extends Action implements FlashLoanId {
12
+ public flashLoanId = 9;
13
+
14
+ /**
15
+ * @param amount
16
+ * @param flParamGetterAddr
17
+ * @param flParamGetterData
18
+ */
19
+ constructor(amount: uint256, flParamGetterAddr: EthAddress = getAddr('Empty'), flParamGetterData: bytes = []) {
20
+ super(
21
+ 'FLAction',
22
+ getAddr('FLAction'),
23
+ ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'],
24
+ [[], [amount], [], getAddr('Empty'), flParamGetterAddr, flParamGetterData, []],
25
+ );
26
+ }
27
+ }
@@ -23,3 +23,4 @@ export * from './GhoFlashLoanPaybackAction';
23
23
  export * from './MorphoBlueFlashLoanAction';
24
24
  export * from './MorphoBlueFlashLoanPaybackAction';
25
25
  export * from './FLPaybackAction';
26
+ export * from './CurveUsdFlashLoanAction';
package/src/addresses.ts CHANGED
@@ -25,6 +25,7 @@ export const actionAddresses = {
25
25
  PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
26
26
  StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
27
27
  HandleAuth: '0xfc2e2b37c73d5d43cf5fcbd80a4049b620d60eba',
28
+ SendTokens: '0x7d05c0ABeF6d91300a237026507c4a2631ddAdEa',
28
29
 
29
30
  // exchange
30
31
  DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
@@ -136,7 +137,7 @@ export const actionAddresses = {
136
137
  FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
137
138
  FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
138
139
  FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
139
- FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
140
+ FLAction: '0x5f1dC84Ba060Ea3f7429c6A7bBEdd9243CF1209b',
140
141
  FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
141
142
  FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
142
143
  FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
@@ -262,6 +263,9 @@ export const actionAddresses = {
262
263
  CurveUsdGetDebt: '0x3Bb41d3f300dA758780fe7696bb4fB93cD7172fB',
263
264
  CurveUsdCollRatioTrigger: '0xFCc610809b735BB13E583c5E46595457083D2b0c',
264
265
  CurveUsdCollRatioCheck: '0x8c65f37ca216de1625886431249be13ead051388',
266
+ CurveUsdSelfLiquidateWithCollTransient: '0xC6C627c63389D8bB7913b55CD62fa451703AD1E1',
267
+ CurveUsdLevCreateTransient: '0x10B748Dc504C2515Bb6A9e23CB2F686090b6c584',
268
+ CurveUsdRepayTransient: '0x270A0C7eBd1C0a98FdA613782b51419300AB6322',
265
269
 
266
270
  MorphoBlueSupply: '0x1D0F6027Eeb118dEc06055735eE840E3Fe3E6f9a',
267
271
  MorphoBlueSupplyCollateral: '0x1cdAC5D4b207e8DBd308504BbedD5D1BD19D26ac',