@defisaver/sdk 1.2.17-dev-fluid-1 → 1.2.17-dev-fluid-3
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/addresses.d.ts +17 -13
- package/esm/src/addresses.js +25 -6
- package/esm/src/index.d.ts +68 -52
- package/package.json +2 -2
- package/src/addresses.ts +27 -6
- package/umd/index.js +27 -8
package/esm/src/addresses.d.ts
CHANGED
|
@@ -251,6 +251,7 @@ export declare const actionAddresses: {
|
|
|
251
251
|
FluidVaultT1Payback: string;
|
|
252
252
|
FluidVaultT1Withdraw: string;
|
|
253
253
|
FluidVaultT1Supply: string;
|
|
254
|
+
FluidView: string;
|
|
254
255
|
AaveV3DelegateCredit?: undefined;
|
|
255
256
|
AaveV3RatioTrigger?: undefined;
|
|
256
257
|
GasFeeTakerL2?: undefined;
|
|
@@ -511,6 +512,7 @@ export declare const actionAddresses: {
|
|
|
511
512
|
FluidVaultT1Payback?: undefined;
|
|
512
513
|
FluidVaultT1Withdraw?: undefined;
|
|
513
514
|
FluidVaultT1Supply?: undefined;
|
|
515
|
+
FluidView?: undefined;
|
|
514
516
|
MorphoBlueView?: undefined;
|
|
515
517
|
} | {
|
|
516
518
|
DFSSell: string;
|
|
@@ -524,6 +526,7 @@ export declare const actionAddresses: {
|
|
|
524
526
|
SendTokenAndUnwrap: string;
|
|
525
527
|
ApproveToken: string;
|
|
526
528
|
ToggleSub: string;
|
|
529
|
+
CreateSub: string;
|
|
527
530
|
TokenBalance: string;
|
|
528
531
|
TokenizedVaultAdapter: string;
|
|
529
532
|
ChangeProxyOwner: string;
|
|
@@ -569,10 +572,16 @@ export declare const actionAddresses: {
|
|
|
569
572
|
LlamaLendRepay: string;
|
|
570
573
|
LlamaLendLevCreate: string;
|
|
571
574
|
LlamaLendSelfLiquidateWithColl: string;
|
|
575
|
+
FluidVaultT1Open: string;
|
|
576
|
+
FluidVaultT1Adjust: string;
|
|
577
|
+
FluidVaultT1Borrow: string;
|
|
578
|
+
FluidVaultT1Payback: string;
|
|
579
|
+
FluidVaultT1Withdraw: string;
|
|
580
|
+
FluidVaultT1Supply: string;
|
|
581
|
+
FluidView: string;
|
|
572
582
|
AutomationV2Unsub?: undefined;
|
|
573
583
|
UpdateSub?: undefined;
|
|
574
584
|
TransferNFT?: undefined;
|
|
575
|
-
CreateSub?: undefined;
|
|
576
585
|
SDaiWrap?: undefined;
|
|
577
586
|
SDaiUnwrap?: undefined;
|
|
578
587
|
StarknetClaim?: undefined;
|
|
@@ -759,12 +768,6 @@ export declare const actionAddresses: {
|
|
|
759
768
|
EtherFiStake?: undefined;
|
|
760
769
|
EtherFiWrap?: undefined;
|
|
761
770
|
EtherFiUnwrap?: undefined;
|
|
762
|
-
FluidVaultT1Open?: undefined;
|
|
763
|
-
FluidVaultT1Adjust?: undefined;
|
|
764
|
-
FluidVaultT1Borrow?: undefined;
|
|
765
|
-
FluidVaultT1Payback?: undefined;
|
|
766
|
-
FluidVaultT1Withdraw?: undefined;
|
|
767
|
-
FluidVaultT1Supply?: undefined;
|
|
768
771
|
AaveV3DelegateCredit?: undefined;
|
|
769
772
|
AaveV3RatioTrigger?: undefined;
|
|
770
773
|
MorphoBlueView?: undefined;
|
|
@@ -820,6 +823,13 @@ export declare const actionAddresses: {
|
|
|
820
823
|
MorphoBlueSetAuthWithSig: string;
|
|
821
824
|
MorphoBlueView: string;
|
|
822
825
|
MorphoBlueReallocateLiquidity: string;
|
|
826
|
+
FluidVaultT1Open: string;
|
|
827
|
+
FluidVaultT1Adjust: string;
|
|
828
|
+
FluidVaultT1Borrow: string;
|
|
829
|
+
FluidVaultT1Payback: string;
|
|
830
|
+
FluidVaultT1Withdraw: string;
|
|
831
|
+
FluidVaultT1Supply: string;
|
|
832
|
+
FluidView: string;
|
|
823
833
|
AutomationV2Unsub?: undefined;
|
|
824
834
|
SendTokenAndUnwrap?: undefined;
|
|
825
835
|
TransferNFT?: undefined;
|
|
@@ -1015,12 +1025,6 @@ export declare const actionAddresses: {
|
|
|
1015
1025
|
EtherFiStake?: undefined;
|
|
1016
1026
|
EtherFiWrap?: undefined;
|
|
1017
1027
|
EtherFiUnwrap?: undefined;
|
|
1018
|
-
FluidVaultT1Open?: undefined;
|
|
1019
|
-
FluidVaultT1Adjust?: undefined;
|
|
1020
|
-
FluidVaultT1Borrow?: undefined;
|
|
1021
|
-
FluidVaultT1Payback?: undefined;
|
|
1022
|
-
FluidVaultT1Withdraw?: undefined;
|
|
1023
|
-
FluidVaultT1Supply?: undefined;
|
|
1024
1028
|
AaveV3DelegateCredit?: undefined;
|
|
1025
1029
|
AaveV3RatioTrigger?: undefined;
|
|
1026
1030
|
AaveV3RatioCheck?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -280,12 +280,14 @@ export const actionAddresses = {
|
|
|
280
280
|
EtherFiStake: '0xcadB650B6a60C89f7847Cba555A7eeCC220EA2e8',
|
|
281
281
|
EtherFiWrap: '0x086464be5c73f66cfbe6b64ec23aa5a86749ef58',
|
|
282
282
|
EtherFiUnwrap: '0x6Eb09948DDf9332d628d156950b9B1C0c091e8D8',
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
283
|
+
// fluid
|
|
284
|
+
FluidVaultT1Open: '0x372404335C05C2493Ff156Ef60cC0B286f6f2971',
|
|
285
|
+
FluidVaultT1Adjust: '0x792D40CAE821905A2B57522BF8a77347e7BB0c0a',
|
|
286
|
+
FluidVaultT1Borrow: '0x36AF0cE762a016e8b4a80c70Af406DFcBc1FCbD4',
|
|
287
|
+
FluidVaultT1Payback: '0x13b021b52989e257537b4C0ee6Ef12E77AFD4652',
|
|
288
|
+
FluidVaultT1Withdraw: '0x5673b9ab4A035C5C7474C344664Be91DaFafa17E',
|
|
289
|
+
FluidVaultT1Supply: '0x0c6100209D8A0bb14CC7d18e45dA1bd1E7a3a187',
|
|
290
|
+
FluidView: '0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724',
|
|
289
291
|
},
|
|
290
292
|
[NETWORKS.optimism.chainId]: {
|
|
291
293
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
@@ -353,6 +355,7 @@ export const actionAddresses = {
|
|
|
353
355
|
SendTokenAndUnwrap: '0x009C5B1c7C844Bd662Da3991295b1B3Bd71a430c',
|
|
354
356
|
ApproveToken: '0x01058999F5Ac434EF48DFB5Cd942c57A7661787B',
|
|
355
357
|
ToggleSub: '0x2eabbab99759c2ab6e9e309d42ee07d3bc7c38fe',
|
|
358
|
+
CreateSub: '0xbFD17a0a844b75976585a382a5BcCaFC9EAd731f',
|
|
356
359
|
TokenBalance: '0x483B903E702F60698Dd8124558C6199922737f1F',
|
|
357
360
|
TokenizedVaultAdapter: '0xD05C512bDFf6D3eAc5328807B3bC075F35271167',
|
|
358
361
|
ChangeProxyOwner: '0x29F66A5fcB601c806E7156f29FDEC771BdC9c08d',
|
|
@@ -403,6 +406,14 @@ export const actionAddresses = {
|
|
|
403
406
|
LlamaLendRepay: '0x320fdfa922ee33c1cc8a042ada855c9dfe9bed06',
|
|
404
407
|
LlamaLendLevCreate: '0xe5cbdcbe494246c21851eea0642ff0791f95cc86',
|
|
405
408
|
LlamaLendSelfLiquidateWithColl: '0xebf090e5e83f4cd63d84db013ac8271761a953cf',
|
|
409
|
+
// fluid
|
|
410
|
+
FluidVaultT1Open: '0x1947Ce90ACCf0E243CcF85140fCceC2EfAeeA193',
|
|
411
|
+
FluidVaultT1Adjust: '0x00d45Aa82b487E633EF0D9fD9940cc786E9dcc14',
|
|
412
|
+
FluidVaultT1Borrow: '0x499da89aD564F5D6C828259ce55F53Fa288e7Be7',
|
|
413
|
+
FluidVaultT1Payback: '0x9Fc3FD0E181bD48e2D254dd071809527dED37e95',
|
|
414
|
+
FluidVaultT1Withdraw: '0xc13d93227d97197e5F1751d0a3e80c1080A5fa2B',
|
|
415
|
+
FluidVaultT1Supply: '0xBCF0Dc5bb2C4434AD07369207904F5900d391b0B',
|
|
416
|
+
FluidView: '0x2d51BB6Ac5c1eC8DD6432e1FF980fC864B626e01',
|
|
406
417
|
},
|
|
407
418
|
[NETWORKS.base.chainId]: {
|
|
408
419
|
// Basic
|
|
@@ -461,6 +472,14 @@ export const actionAddresses = {
|
|
|
461
472
|
MorphoBlueSetAuthWithSig: '0x80be65342f6172a6cd0b6a2653e8a887e3f46cab',
|
|
462
473
|
MorphoBlueView: '0xdbcacf59c5063da8b15481f88e7d70e13c92f2a1',
|
|
463
474
|
MorphoBlueReallocateLiquidity: '0x5Ea7F30E40F6A25BE2aD23A6FC1C31A6c95F3dc8',
|
|
475
|
+
// fluid
|
|
476
|
+
FluidVaultT1Open: '0xCd4d5896AEAf97e738d3E7215ac01c2CF97474bc',
|
|
477
|
+
FluidVaultT1Adjust: '0x93bFBf44b87be48D46b25Fe0C7F549A79Ca05167',
|
|
478
|
+
FluidVaultT1Borrow: '0x8dCBF436cC0971FE29886E58CE0CAeb36d43E91E',
|
|
479
|
+
FluidVaultT1Payback: '0x56ca4b24D85c33F3A4Be918b7f2ce2831a723704',
|
|
480
|
+
FluidVaultT1Withdraw: '0x26bE6a2EdE97aE826ed9DA8Fb79428037fe55cEB',
|
|
481
|
+
FluidVaultT1Supply: '0x028ACA45244d4897ff80ef65ed0b735Bb0D4B0A5',
|
|
482
|
+
FluidView: '0x5835CaDbA8843CD6d6d55782908351E9c74221aD',
|
|
464
483
|
},
|
|
465
484
|
};
|
|
466
485
|
export const otherAddresses = {
|
package/esm/src/index.d.ts
CHANGED
|
@@ -262,6 +262,7 @@ declare const actionAddressesAllChains: {
|
|
|
262
262
|
FluidVaultT1Payback: string;
|
|
263
263
|
FluidVaultT1Withdraw: string;
|
|
264
264
|
FluidVaultT1Supply: string;
|
|
265
|
+
FluidView: string;
|
|
265
266
|
AaveV3DelegateCredit?: undefined;
|
|
266
267
|
AaveV3RatioTrigger?: undefined;
|
|
267
268
|
GasFeeTakerL2?: undefined;
|
|
@@ -522,6 +523,7 @@ declare const actionAddressesAllChains: {
|
|
|
522
523
|
FluidVaultT1Payback?: undefined;
|
|
523
524
|
FluidVaultT1Withdraw?: undefined;
|
|
524
525
|
FluidVaultT1Supply?: undefined;
|
|
526
|
+
FluidView?: undefined;
|
|
525
527
|
MorphoBlueView?: undefined;
|
|
526
528
|
} | {
|
|
527
529
|
DFSSell: string;
|
|
@@ -535,6 +537,7 @@ declare const actionAddressesAllChains: {
|
|
|
535
537
|
SendTokenAndUnwrap: string;
|
|
536
538
|
ApproveToken: string;
|
|
537
539
|
ToggleSub: string;
|
|
540
|
+
CreateSub: string;
|
|
538
541
|
TokenBalance: string;
|
|
539
542
|
TokenizedVaultAdapter: string;
|
|
540
543
|
ChangeProxyOwner: string;
|
|
@@ -580,10 +583,16 @@ declare const actionAddressesAllChains: {
|
|
|
580
583
|
LlamaLendRepay: string;
|
|
581
584
|
LlamaLendLevCreate: string;
|
|
582
585
|
LlamaLendSelfLiquidateWithColl: string;
|
|
586
|
+
FluidVaultT1Open: string;
|
|
587
|
+
FluidVaultT1Adjust: string;
|
|
588
|
+
FluidVaultT1Borrow: string;
|
|
589
|
+
FluidVaultT1Payback: string;
|
|
590
|
+
FluidVaultT1Withdraw: string;
|
|
591
|
+
FluidVaultT1Supply: string;
|
|
592
|
+
FluidView: string;
|
|
583
593
|
AutomationV2Unsub?: undefined;
|
|
584
594
|
UpdateSub?: undefined;
|
|
585
595
|
TransferNFT?: undefined;
|
|
586
|
-
CreateSub?: undefined;
|
|
587
596
|
SDaiWrap?: undefined;
|
|
588
597
|
SDaiUnwrap?: undefined;
|
|
589
598
|
StarknetClaim?: undefined;
|
|
@@ -770,12 +779,6 @@ declare const actionAddressesAllChains: {
|
|
|
770
779
|
EtherFiStake?: undefined;
|
|
771
780
|
EtherFiWrap?: undefined;
|
|
772
781
|
EtherFiUnwrap?: undefined;
|
|
773
|
-
FluidVaultT1Open?: undefined;
|
|
774
|
-
FluidVaultT1Adjust?: undefined;
|
|
775
|
-
FluidVaultT1Borrow?: undefined;
|
|
776
|
-
FluidVaultT1Payback?: undefined;
|
|
777
|
-
FluidVaultT1Withdraw?: undefined;
|
|
778
|
-
FluidVaultT1Supply?: undefined;
|
|
779
782
|
AaveV3DelegateCredit?: undefined;
|
|
780
783
|
AaveV3RatioTrigger?: undefined;
|
|
781
784
|
MorphoBlueView?: undefined;
|
|
@@ -831,6 +834,13 @@ declare const actionAddressesAllChains: {
|
|
|
831
834
|
MorphoBlueSetAuthWithSig: string;
|
|
832
835
|
MorphoBlueView: string;
|
|
833
836
|
MorphoBlueReallocateLiquidity: string;
|
|
837
|
+
FluidVaultT1Open: string;
|
|
838
|
+
FluidVaultT1Adjust: string;
|
|
839
|
+
FluidVaultT1Borrow: string;
|
|
840
|
+
FluidVaultT1Payback: string;
|
|
841
|
+
FluidVaultT1Withdraw: string;
|
|
842
|
+
FluidVaultT1Supply: string;
|
|
843
|
+
FluidView: string;
|
|
834
844
|
AutomationV2Unsub?: undefined;
|
|
835
845
|
SendTokenAndUnwrap?: undefined;
|
|
836
846
|
TransferNFT?: undefined;
|
|
@@ -1026,12 +1036,6 @@ declare const actionAddressesAllChains: {
|
|
|
1026
1036
|
EtherFiStake?: undefined;
|
|
1027
1037
|
EtherFiWrap?: undefined;
|
|
1028
1038
|
EtherFiUnwrap?: undefined;
|
|
1029
|
-
FluidVaultT1Open?: undefined;
|
|
1030
|
-
FluidVaultT1Adjust?: undefined;
|
|
1031
|
-
FluidVaultT1Borrow?: undefined;
|
|
1032
|
-
FluidVaultT1Payback?: undefined;
|
|
1033
|
-
FluidVaultT1Withdraw?: undefined;
|
|
1034
|
-
FluidVaultT1Supply?: undefined;
|
|
1035
1039
|
AaveV3DelegateCredit?: undefined;
|
|
1036
1040
|
AaveV3RatioTrigger?: undefined;
|
|
1037
1041
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1288,6 +1292,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1288
1292
|
FluidVaultT1Payback: string;
|
|
1289
1293
|
FluidVaultT1Withdraw: string;
|
|
1290
1294
|
FluidVaultT1Supply: string;
|
|
1295
|
+
FluidView: string;
|
|
1291
1296
|
AaveV3DelegateCredit?: undefined;
|
|
1292
1297
|
AaveV3RatioTrigger?: undefined;
|
|
1293
1298
|
GasFeeTakerL2?: undefined;
|
|
@@ -1548,6 +1553,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1548
1553
|
FluidVaultT1Payback?: undefined;
|
|
1549
1554
|
FluidVaultT1Withdraw?: undefined;
|
|
1550
1555
|
FluidVaultT1Supply?: undefined;
|
|
1556
|
+
FluidView?: undefined;
|
|
1551
1557
|
MorphoBlueView?: undefined;
|
|
1552
1558
|
} | {
|
|
1553
1559
|
DFSSell: string;
|
|
@@ -1561,6 +1567,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1561
1567
|
SendTokenAndUnwrap: string;
|
|
1562
1568
|
ApproveToken: string;
|
|
1563
1569
|
ToggleSub: string;
|
|
1570
|
+
CreateSub: string;
|
|
1564
1571
|
TokenBalance: string;
|
|
1565
1572
|
TokenizedVaultAdapter: string;
|
|
1566
1573
|
ChangeProxyOwner: string;
|
|
@@ -1606,10 +1613,16 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1606
1613
|
LlamaLendRepay: string;
|
|
1607
1614
|
LlamaLendLevCreate: string;
|
|
1608
1615
|
LlamaLendSelfLiquidateWithColl: string;
|
|
1616
|
+
FluidVaultT1Open: string;
|
|
1617
|
+
FluidVaultT1Adjust: string;
|
|
1618
|
+
FluidVaultT1Borrow: string;
|
|
1619
|
+
FluidVaultT1Payback: string;
|
|
1620
|
+
FluidVaultT1Withdraw: string;
|
|
1621
|
+
FluidVaultT1Supply: string;
|
|
1622
|
+
FluidView: string;
|
|
1609
1623
|
AutomationV2Unsub?: undefined;
|
|
1610
1624
|
UpdateSub?: undefined;
|
|
1611
1625
|
TransferNFT?: undefined;
|
|
1612
|
-
CreateSub?: undefined;
|
|
1613
1626
|
SDaiWrap?: undefined;
|
|
1614
1627
|
SDaiUnwrap?: undefined;
|
|
1615
1628
|
StarknetClaim?: undefined;
|
|
@@ -1796,12 +1809,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1796
1809
|
EtherFiStake?: undefined;
|
|
1797
1810
|
EtherFiWrap?: undefined;
|
|
1798
1811
|
EtherFiUnwrap?: undefined;
|
|
1799
|
-
FluidVaultT1Open?: undefined;
|
|
1800
|
-
FluidVaultT1Adjust?: undefined;
|
|
1801
|
-
FluidVaultT1Borrow?: undefined;
|
|
1802
|
-
FluidVaultT1Payback?: undefined;
|
|
1803
|
-
FluidVaultT1Withdraw?: undefined;
|
|
1804
|
-
FluidVaultT1Supply?: undefined;
|
|
1805
1812
|
AaveV3DelegateCredit?: undefined;
|
|
1806
1813
|
AaveV3RatioTrigger?: undefined;
|
|
1807
1814
|
MorphoBlueView?: undefined;
|
|
@@ -1857,6 +1864,13 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1857
1864
|
MorphoBlueSetAuthWithSig: string;
|
|
1858
1865
|
MorphoBlueView: string;
|
|
1859
1866
|
MorphoBlueReallocateLiquidity: string;
|
|
1867
|
+
FluidVaultT1Open: string;
|
|
1868
|
+
FluidVaultT1Adjust: string;
|
|
1869
|
+
FluidVaultT1Borrow: string;
|
|
1870
|
+
FluidVaultT1Payback: string;
|
|
1871
|
+
FluidVaultT1Withdraw: string;
|
|
1872
|
+
FluidVaultT1Supply: string;
|
|
1873
|
+
FluidView: string;
|
|
1860
1874
|
AutomationV2Unsub?: undefined;
|
|
1861
1875
|
SendTokenAndUnwrap?: undefined;
|
|
1862
1876
|
TransferNFT?: undefined;
|
|
@@ -2052,12 +2066,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2052
2066
|
EtherFiStake?: undefined;
|
|
2053
2067
|
EtherFiWrap?: undefined;
|
|
2054
2068
|
EtherFiUnwrap?: undefined;
|
|
2055
|
-
FluidVaultT1Open?: undefined;
|
|
2056
|
-
FluidVaultT1Adjust?: undefined;
|
|
2057
|
-
FluidVaultT1Borrow?: undefined;
|
|
2058
|
-
FluidVaultT1Payback?: undefined;
|
|
2059
|
-
FluidVaultT1Withdraw?: undefined;
|
|
2060
|
-
FluidVaultT1Supply?: undefined;
|
|
2061
2069
|
AaveV3DelegateCredit?: undefined;
|
|
2062
2070
|
AaveV3RatioTrigger?: undefined;
|
|
2063
2071
|
AaveV3RatioCheck?: undefined;
|
|
@@ -2457,6 +2465,7 @@ declare const _default: {
|
|
|
2457
2465
|
FluidVaultT1Payback: string;
|
|
2458
2466
|
FluidVaultT1Withdraw: string;
|
|
2459
2467
|
FluidVaultT1Supply: string;
|
|
2468
|
+
FluidView: string;
|
|
2460
2469
|
AaveV3DelegateCredit?: undefined;
|
|
2461
2470
|
AaveV3RatioTrigger?: undefined;
|
|
2462
2471
|
GasFeeTakerL2?: undefined;
|
|
@@ -2717,6 +2726,7 @@ declare const _default: {
|
|
|
2717
2726
|
FluidVaultT1Payback?: undefined;
|
|
2718
2727
|
FluidVaultT1Withdraw?: undefined;
|
|
2719
2728
|
FluidVaultT1Supply?: undefined;
|
|
2729
|
+
FluidView?: undefined;
|
|
2720
2730
|
MorphoBlueView?: undefined;
|
|
2721
2731
|
} | {
|
|
2722
2732
|
DFSSell: string;
|
|
@@ -2730,6 +2740,7 @@ declare const _default: {
|
|
|
2730
2740
|
SendTokenAndUnwrap: string;
|
|
2731
2741
|
ApproveToken: string;
|
|
2732
2742
|
ToggleSub: string;
|
|
2743
|
+
CreateSub: string;
|
|
2733
2744
|
TokenBalance: string;
|
|
2734
2745
|
TokenizedVaultAdapter: string;
|
|
2735
2746
|
ChangeProxyOwner: string;
|
|
@@ -2775,10 +2786,16 @@ declare const _default: {
|
|
|
2775
2786
|
LlamaLendRepay: string;
|
|
2776
2787
|
LlamaLendLevCreate: string;
|
|
2777
2788
|
LlamaLendSelfLiquidateWithColl: string;
|
|
2789
|
+
FluidVaultT1Open: string;
|
|
2790
|
+
FluidVaultT1Adjust: string;
|
|
2791
|
+
FluidVaultT1Borrow: string;
|
|
2792
|
+
FluidVaultT1Payback: string;
|
|
2793
|
+
FluidVaultT1Withdraw: string;
|
|
2794
|
+
FluidVaultT1Supply: string;
|
|
2795
|
+
FluidView: string;
|
|
2778
2796
|
AutomationV2Unsub?: undefined;
|
|
2779
2797
|
UpdateSub?: undefined;
|
|
2780
2798
|
TransferNFT?: undefined;
|
|
2781
|
-
CreateSub?: undefined;
|
|
2782
2799
|
SDaiWrap?: undefined;
|
|
2783
2800
|
SDaiUnwrap?: undefined;
|
|
2784
2801
|
StarknetClaim?: undefined;
|
|
@@ -2965,12 +2982,6 @@ declare const _default: {
|
|
|
2965
2982
|
EtherFiStake?: undefined;
|
|
2966
2983
|
EtherFiWrap?: undefined;
|
|
2967
2984
|
EtherFiUnwrap?: undefined;
|
|
2968
|
-
FluidVaultT1Open?: undefined;
|
|
2969
|
-
FluidVaultT1Adjust?: undefined;
|
|
2970
|
-
FluidVaultT1Borrow?: undefined;
|
|
2971
|
-
FluidVaultT1Payback?: undefined;
|
|
2972
|
-
FluidVaultT1Withdraw?: undefined;
|
|
2973
|
-
FluidVaultT1Supply?: undefined;
|
|
2974
2985
|
AaveV3DelegateCredit?: undefined;
|
|
2975
2986
|
AaveV3RatioTrigger?: undefined;
|
|
2976
2987
|
MorphoBlueView?: undefined;
|
|
@@ -3026,6 +3037,13 @@ declare const _default: {
|
|
|
3026
3037
|
MorphoBlueSetAuthWithSig: string;
|
|
3027
3038
|
MorphoBlueView: string;
|
|
3028
3039
|
MorphoBlueReallocateLiquidity: string;
|
|
3040
|
+
FluidVaultT1Open: string;
|
|
3041
|
+
FluidVaultT1Adjust: string;
|
|
3042
|
+
FluidVaultT1Borrow: string;
|
|
3043
|
+
FluidVaultT1Payback: string;
|
|
3044
|
+
FluidVaultT1Withdraw: string;
|
|
3045
|
+
FluidVaultT1Supply: string;
|
|
3046
|
+
FluidView: string;
|
|
3029
3047
|
AutomationV2Unsub?: undefined;
|
|
3030
3048
|
SendTokenAndUnwrap?: undefined;
|
|
3031
3049
|
TransferNFT?: undefined;
|
|
@@ -3221,12 +3239,6 @@ declare const _default: {
|
|
|
3221
3239
|
EtherFiStake?: undefined;
|
|
3222
3240
|
EtherFiWrap?: undefined;
|
|
3223
3241
|
EtherFiUnwrap?: undefined;
|
|
3224
|
-
FluidVaultT1Open?: undefined;
|
|
3225
|
-
FluidVaultT1Adjust?: undefined;
|
|
3226
|
-
FluidVaultT1Borrow?: undefined;
|
|
3227
|
-
FluidVaultT1Payback?: undefined;
|
|
3228
|
-
FluidVaultT1Withdraw?: undefined;
|
|
3229
|
-
FluidVaultT1Supply?: undefined;
|
|
3230
3242
|
AaveV3DelegateCredit?: undefined;
|
|
3231
3243
|
AaveV3RatioTrigger?: undefined;
|
|
3232
3244
|
AaveV3RatioCheck?: undefined;
|
|
@@ -3483,6 +3495,7 @@ declare const _default: {
|
|
|
3483
3495
|
FluidVaultT1Payback: string;
|
|
3484
3496
|
FluidVaultT1Withdraw: string;
|
|
3485
3497
|
FluidVaultT1Supply: string;
|
|
3498
|
+
FluidView: string;
|
|
3486
3499
|
AaveV3DelegateCredit?: undefined;
|
|
3487
3500
|
AaveV3RatioTrigger?: undefined;
|
|
3488
3501
|
GasFeeTakerL2?: undefined;
|
|
@@ -3743,6 +3756,7 @@ declare const _default: {
|
|
|
3743
3756
|
FluidVaultT1Payback?: undefined;
|
|
3744
3757
|
FluidVaultT1Withdraw?: undefined;
|
|
3745
3758
|
FluidVaultT1Supply?: undefined;
|
|
3759
|
+
FluidView?: undefined;
|
|
3746
3760
|
MorphoBlueView?: undefined;
|
|
3747
3761
|
} | {
|
|
3748
3762
|
DFSSell: string;
|
|
@@ -3756,6 +3770,7 @@ declare const _default: {
|
|
|
3756
3770
|
SendTokenAndUnwrap: string;
|
|
3757
3771
|
ApproveToken: string;
|
|
3758
3772
|
ToggleSub: string;
|
|
3773
|
+
CreateSub: string;
|
|
3759
3774
|
TokenBalance: string;
|
|
3760
3775
|
TokenizedVaultAdapter: string;
|
|
3761
3776
|
ChangeProxyOwner: string;
|
|
@@ -3801,10 +3816,16 @@ declare const _default: {
|
|
|
3801
3816
|
LlamaLendRepay: string;
|
|
3802
3817
|
LlamaLendLevCreate: string;
|
|
3803
3818
|
LlamaLendSelfLiquidateWithColl: string;
|
|
3819
|
+
FluidVaultT1Open: string;
|
|
3820
|
+
FluidVaultT1Adjust: string;
|
|
3821
|
+
FluidVaultT1Borrow: string;
|
|
3822
|
+
FluidVaultT1Payback: string;
|
|
3823
|
+
FluidVaultT1Withdraw: string;
|
|
3824
|
+
FluidVaultT1Supply: string;
|
|
3825
|
+
FluidView: string;
|
|
3804
3826
|
AutomationV2Unsub?: undefined;
|
|
3805
3827
|
UpdateSub?: undefined;
|
|
3806
3828
|
TransferNFT?: undefined;
|
|
3807
|
-
CreateSub?: undefined;
|
|
3808
3829
|
SDaiWrap?: undefined;
|
|
3809
3830
|
SDaiUnwrap?: undefined;
|
|
3810
3831
|
StarknetClaim?: undefined;
|
|
@@ -3991,12 +4012,6 @@ declare const _default: {
|
|
|
3991
4012
|
EtherFiStake?: undefined;
|
|
3992
4013
|
EtherFiWrap?: undefined;
|
|
3993
4014
|
EtherFiUnwrap?: undefined;
|
|
3994
|
-
FluidVaultT1Open?: undefined;
|
|
3995
|
-
FluidVaultT1Adjust?: undefined;
|
|
3996
|
-
FluidVaultT1Borrow?: undefined;
|
|
3997
|
-
FluidVaultT1Payback?: undefined;
|
|
3998
|
-
FluidVaultT1Withdraw?: undefined;
|
|
3999
|
-
FluidVaultT1Supply?: undefined;
|
|
4000
4015
|
AaveV3DelegateCredit?: undefined;
|
|
4001
4016
|
AaveV3RatioTrigger?: undefined;
|
|
4002
4017
|
MorphoBlueView?: undefined;
|
|
@@ -4052,6 +4067,13 @@ declare const _default: {
|
|
|
4052
4067
|
MorphoBlueSetAuthWithSig: string;
|
|
4053
4068
|
MorphoBlueView: string;
|
|
4054
4069
|
MorphoBlueReallocateLiquidity: string;
|
|
4070
|
+
FluidVaultT1Open: string;
|
|
4071
|
+
FluidVaultT1Adjust: string;
|
|
4072
|
+
FluidVaultT1Borrow: string;
|
|
4073
|
+
FluidVaultT1Payback: string;
|
|
4074
|
+
FluidVaultT1Withdraw: string;
|
|
4075
|
+
FluidVaultT1Supply: string;
|
|
4076
|
+
FluidView: string;
|
|
4055
4077
|
AutomationV2Unsub?: undefined;
|
|
4056
4078
|
SendTokenAndUnwrap?: undefined;
|
|
4057
4079
|
TransferNFT?: undefined;
|
|
@@ -4247,12 +4269,6 @@ declare const _default: {
|
|
|
4247
4269
|
EtherFiStake?: undefined;
|
|
4248
4270
|
EtherFiWrap?: undefined;
|
|
4249
4271
|
EtherFiUnwrap?: undefined;
|
|
4250
|
-
FluidVaultT1Open?: undefined;
|
|
4251
|
-
FluidVaultT1Adjust?: undefined;
|
|
4252
|
-
FluidVaultT1Borrow?: undefined;
|
|
4253
|
-
FluidVaultT1Payback?: undefined;
|
|
4254
|
-
FluidVaultT1Withdraw?: undefined;
|
|
4255
|
-
FluidVaultT1Supply?: undefined;
|
|
4256
4272
|
AaveV3DelegateCredit?: undefined;
|
|
4257
4273
|
AaveV3RatioTrigger?: undefined;
|
|
4258
4274
|
AaveV3RatioCheck?: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defisaver/sdk",
|
|
3
|
-
"version": "1.2.17-dev-fluid-
|
|
3
|
+
"version": "1.2.17-dev-fluid-3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./umd/index.js",
|
|
6
6
|
"module": "./esm/src/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "ISC",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@defisaver/eslint-config": "^1.0.0",
|
|
26
|
-
"@defisaver/tokens": "^1.5.
|
|
26
|
+
"@defisaver/tokens": "^1.5.55",
|
|
27
27
|
"@ethersproject/address": "^5.0.10",
|
|
28
28
|
"@ethersproject/solidity": "^5.0.9",
|
|
29
29
|
"@types/web3-eth-abi": "^1.2.2",
|
package/src/addresses.ts
CHANGED
|
@@ -324,12 +324,14 @@ export const actionAddresses = {
|
|
|
324
324
|
EtherFiWrap: '0x086464be5c73f66cfbe6b64ec23aa5a86749ef58',
|
|
325
325
|
EtherFiUnwrap: '0x6Eb09948DDf9332d628d156950b9B1C0c091e8D8',
|
|
326
326
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
327
|
+
// fluid
|
|
328
|
+
FluidVaultT1Open: '0x372404335C05C2493Ff156Ef60cC0B286f6f2971',
|
|
329
|
+
FluidVaultT1Adjust: '0x792D40CAE821905A2B57522BF8a77347e7BB0c0a',
|
|
330
|
+
FluidVaultT1Borrow: '0x36AF0cE762a016e8b4a80c70Af406DFcBc1FCbD4',
|
|
331
|
+
FluidVaultT1Payback: '0x13b021b52989e257537b4C0ee6Ef12E77AFD4652',
|
|
332
|
+
FluidVaultT1Withdraw: '0x5673b9ab4A035C5C7474C344664Be91DaFafa17E',
|
|
333
|
+
FluidVaultT1Supply: '0x0c6100209D8A0bb14CC7d18e45dA1bd1E7a3a187',
|
|
334
|
+
FluidView: '0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724',
|
|
333
335
|
},
|
|
334
336
|
[NETWORKS.optimism.chainId]: {
|
|
335
337
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
@@ -405,6 +407,7 @@ export const actionAddresses = {
|
|
|
405
407
|
SendTokenAndUnwrap: '0x009C5B1c7C844Bd662Da3991295b1B3Bd71a430c',
|
|
406
408
|
ApproveToken: '0x01058999F5Ac434EF48DFB5Cd942c57A7661787B',
|
|
407
409
|
ToggleSub: '0x2eabbab99759c2ab6e9e309d42ee07d3bc7c38fe',
|
|
410
|
+
CreateSub: '0xbFD17a0a844b75976585a382a5BcCaFC9EAd731f',
|
|
408
411
|
TokenBalance: '0x483B903E702F60698Dd8124558C6199922737f1F',
|
|
409
412
|
TokenizedVaultAdapter: '0xD05C512bDFf6D3eAc5328807B3bC075F35271167',
|
|
410
413
|
ChangeProxyOwner: '0x29F66A5fcB601c806E7156f29FDEC771BdC9c08d',
|
|
@@ -461,6 +464,15 @@ export const actionAddresses = {
|
|
|
461
464
|
LlamaLendRepay: '0x320fdfa922ee33c1cc8a042ada855c9dfe9bed06',
|
|
462
465
|
LlamaLendLevCreate: '0xe5cbdcbe494246c21851eea0642ff0791f95cc86',
|
|
463
466
|
LlamaLendSelfLiquidateWithColl: '0xebf090e5e83f4cd63d84db013ac8271761a953cf',
|
|
467
|
+
|
|
468
|
+
// fluid
|
|
469
|
+
FluidVaultT1Open: '0x1947Ce90ACCf0E243CcF85140fCceC2EfAeeA193',
|
|
470
|
+
FluidVaultT1Adjust: '0x00d45Aa82b487E633EF0D9fD9940cc786E9dcc14',
|
|
471
|
+
FluidVaultT1Borrow: '0x499da89aD564F5D6C828259ce55F53Fa288e7Be7',
|
|
472
|
+
FluidVaultT1Payback: '0x9Fc3FD0E181bD48e2D254dd071809527dED37e95',
|
|
473
|
+
FluidVaultT1Withdraw: '0xc13d93227d97197e5F1751d0a3e80c1080A5fa2B',
|
|
474
|
+
FluidVaultT1Supply: '0xBCF0Dc5bb2C4434AD07369207904F5900d391b0B',
|
|
475
|
+
FluidView: '0x2d51BB6Ac5c1eC8DD6432e1FF980fC864B626e01',
|
|
464
476
|
},
|
|
465
477
|
[NETWORKS.base.chainId]: {
|
|
466
478
|
// Basic
|
|
@@ -524,6 +536,15 @@ export const actionAddresses = {
|
|
|
524
536
|
MorphoBlueSetAuthWithSig: '0x80be65342f6172a6cd0b6a2653e8a887e3f46cab',
|
|
525
537
|
MorphoBlueView: '0xdbcacf59c5063da8b15481f88e7d70e13c92f2a1',
|
|
526
538
|
MorphoBlueReallocateLiquidity: '0x5Ea7F30E40F6A25BE2aD23A6FC1C31A6c95F3dc8',
|
|
539
|
+
|
|
540
|
+
// fluid
|
|
541
|
+
FluidVaultT1Open: '0xCd4d5896AEAf97e738d3E7215ac01c2CF97474bc',
|
|
542
|
+
FluidVaultT1Adjust: '0x93bFBf44b87be48D46b25Fe0C7F549A79Ca05167',
|
|
543
|
+
FluidVaultT1Borrow: '0x8dCBF436cC0971FE29886E58CE0CAeb36d43E91E',
|
|
544
|
+
FluidVaultT1Payback: '0x56ca4b24D85c33F3A4Be918b7f2ce2831a723704',
|
|
545
|
+
FluidVaultT1Withdraw: '0x26bE6a2EdE97aE826ed9DA8Fb79428037fe55cEB',
|
|
546
|
+
FluidVaultT1Supply: '0x028ACA45244d4897ff80ef65ed0b735Bb0D4B0A5',
|
|
547
|
+
FluidView: '0x5835CaDbA8843CD6d6d55782908351E9c74221aD',
|
|
527
548
|
},
|
|
528
549
|
};
|
|
529
550
|
|
package/umd/index.js
CHANGED
|
@@ -1569,12 +1569,14 @@ var actionAddresses = {
|
|
|
1569
1569
|
EtherFiStake: '0xcadB650B6a60C89f7847Cba555A7eeCC220EA2e8',
|
|
1570
1570
|
EtherFiWrap: '0x086464be5c73f66cfbe6b64ec23aa5a86749ef58',
|
|
1571
1571
|
EtherFiUnwrap: '0x6Eb09948DDf9332d628d156950b9B1C0c091e8D8',
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1572
|
+
// fluid
|
|
1573
|
+
FluidVaultT1Open: '0x372404335C05C2493Ff156Ef60cC0B286f6f2971',
|
|
1574
|
+
FluidVaultT1Adjust: '0x792D40CAE821905A2B57522BF8a77347e7BB0c0a',
|
|
1575
|
+
FluidVaultT1Borrow: '0x36AF0cE762a016e8b4a80c70Af406DFcBc1FCbD4',
|
|
1576
|
+
FluidVaultT1Payback: '0x13b021b52989e257537b4C0ee6Ef12E77AFD4652',
|
|
1577
|
+
FluidVaultT1Withdraw: '0x5673b9ab4A035C5C7474C344664Be91DaFafa17E',
|
|
1578
|
+
FluidVaultT1Supply: '0x0c6100209D8A0bb14CC7d18e45dA1bd1E7a3a187',
|
|
1579
|
+
FluidView: '0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724'
|
|
1578
1580
|
},
|
|
1579
1581
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1580
1582
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
@@ -1642,6 +1644,7 @@ var actionAddresses = {
|
|
|
1642
1644
|
SendTokenAndUnwrap: '0x009C5B1c7C844Bd662Da3991295b1B3Bd71a430c',
|
|
1643
1645
|
ApproveToken: '0x01058999F5Ac434EF48DFB5Cd942c57A7661787B',
|
|
1644
1646
|
ToggleSub: '0x2eabbab99759c2ab6e9e309d42ee07d3bc7c38fe',
|
|
1647
|
+
CreateSub: '0xbFD17a0a844b75976585a382a5BcCaFC9EAd731f',
|
|
1645
1648
|
TokenBalance: '0x483B903E702F60698Dd8124558C6199922737f1F',
|
|
1646
1649
|
TokenizedVaultAdapter: '0xD05C512bDFf6D3eAc5328807B3bC075F35271167',
|
|
1647
1650
|
ChangeProxyOwner: '0x29F66A5fcB601c806E7156f29FDEC771BdC9c08d',
|
|
@@ -1692,7 +1695,15 @@ var actionAddresses = {
|
|
|
1692
1695
|
LlamaLendBoost: '0xc52a3af27696f8cf999463f3455e23440a376f8d',
|
|
1693
1696
|
LlamaLendRepay: '0x320fdfa922ee33c1cc8a042ada855c9dfe9bed06',
|
|
1694
1697
|
LlamaLendLevCreate: '0xe5cbdcbe494246c21851eea0642ff0791f95cc86',
|
|
1695
|
-
LlamaLendSelfLiquidateWithColl: '0xebf090e5e83f4cd63d84db013ac8271761a953cf'
|
|
1698
|
+
LlamaLendSelfLiquidateWithColl: '0xebf090e5e83f4cd63d84db013ac8271761a953cf',
|
|
1699
|
+
// fluid
|
|
1700
|
+
FluidVaultT1Open: '0x1947Ce90ACCf0E243CcF85140fCceC2EfAeeA193',
|
|
1701
|
+
FluidVaultT1Adjust: '0x00d45Aa82b487E633EF0D9fD9940cc786E9dcc14',
|
|
1702
|
+
FluidVaultT1Borrow: '0x499da89aD564F5D6C828259ce55F53Fa288e7Be7',
|
|
1703
|
+
FluidVaultT1Payback: '0x9Fc3FD0E181bD48e2D254dd071809527dED37e95',
|
|
1704
|
+
FluidVaultT1Withdraw: '0xc13d93227d97197e5F1751d0a3e80c1080A5fa2B',
|
|
1705
|
+
FluidVaultT1Supply: '0xBCF0Dc5bb2C4434AD07369207904F5900d391b0B',
|
|
1706
|
+
FluidView: '0x2d51BB6Ac5c1eC8DD6432e1FF980fC864B626e01'
|
|
1696
1707
|
},
|
|
1697
1708
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1698
1709
|
// Basic
|
|
@@ -1751,7 +1762,15 @@ var actionAddresses = {
|
|
|
1751
1762
|
MorphoBlueSetAuth: '0xb565630c6ddd1fae169c453667f5aa52ef4e2e39',
|
|
1752
1763
|
MorphoBlueSetAuthWithSig: '0x80be65342f6172a6cd0b6a2653e8a887e3f46cab',
|
|
1753
1764
|
MorphoBlueView: '0xdbcacf59c5063da8b15481f88e7d70e13c92f2a1',
|
|
1754
|
-
MorphoBlueReallocateLiquidity: '0x5Ea7F30E40F6A25BE2aD23A6FC1C31A6c95F3dc8'
|
|
1765
|
+
MorphoBlueReallocateLiquidity: '0x5Ea7F30E40F6A25BE2aD23A6FC1C31A6c95F3dc8',
|
|
1766
|
+
// fluid
|
|
1767
|
+
FluidVaultT1Open: '0xCd4d5896AEAf97e738d3E7215ac01c2CF97474bc',
|
|
1768
|
+
FluidVaultT1Adjust: '0x93bFBf44b87be48D46b25Fe0C7F549A79Ca05167',
|
|
1769
|
+
FluidVaultT1Borrow: '0x8dCBF436cC0971FE29886E58CE0CAeb36d43E91E',
|
|
1770
|
+
FluidVaultT1Payback: '0x56ca4b24D85c33F3A4Be918b7f2ce2831a723704',
|
|
1771
|
+
FluidVaultT1Withdraw: '0x26bE6a2EdE97aE826ed9DA8Fb79428037fe55cEB',
|
|
1772
|
+
FluidVaultT1Supply: '0x028ACA45244d4897ff80ef65ed0b735Bb0D4B0A5',
|
|
1773
|
+
FluidView: '0x5835CaDbA8843CD6d6d55782908351E9c74221aD'
|
|
1755
1774
|
}
|
|
1756
1775
|
};
|
|
1757
1776
|
var otherAddresses = {
|