@defisaver/sdk 1.3.9-dev-plasma → 1.3.9-dev-morpho
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 +28 -28
- package/esm/src/addresses.js +12 -18
- package/esm/src/index.d.ts +112 -112
- package/package.json +2 -2
- package/src/addresses.ts +13 -18
- package/umd/index.js +13 -19
- package/yarn-error.log +0 -3976
package/esm/src/addresses.d.ts
CHANGED
|
@@ -635,6 +635,17 @@ export declare const actionAddresses: {
|
|
|
635
635
|
FluidDexPayback: string;
|
|
636
636
|
FluidDexWithdraw: string;
|
|
637
637
|
SFApproveTokens: string;
|
|
638
|
+
MorphoBlueSupply: string;
|
|
639
|
+
MorphoBlueSupplyCollateral: string;
|
|
640
|
+
MorphoBlueWithdraw: string;
|
|
641
|
+
MorphoBlueWithdrawCollateral: string;
|
|
642
|
+
MorphoBlueBorrow: string;
|
|
643
|
+
MorphoBluePayback: string;
|
|
644
|
+
MorphoBlueSetAuth: string;
|
|
645
|
+
MorphoBlueSetAuthWithSig: string;
|
|
646
|
+
MorphoBlueView: string;
|
|
647
|
+
MorphoBlueReallocateLiquidity: string;
|
|
648
|
+
MorphoBlueClaim: string;
|
|
638
649
|
AutomationV2Unsub?: undefined;
|
|
639
650
|
SDaiWrap?: undefined;
|
|
640
651
|
SDaiUnwrap?: undefined;
|
|
@@ -810,17 +821,7 @@ export declare const actionAddresses: {
|
|
|
810
821
|
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
811
822
|
CurveUsdLevCreateTransient?: undefined;
|
|
812
823
|
CurveUsdRepayTransient?: undefined;
|
|
813
|
-
MorphoBlueSupply?: undefined;
|
|
814
|
-
MorphoBlueSupplyCollateral?: undefined;
|
|
815
|
-
MorphoBlueWithdraw?: undefined;
|
|
816
|
-
MorphoBlueWithdrawCollateral?: undefined;
|
|
817
|
-
MorphoBlueBorrow?: undefined;
|
|
818
|
-
MorphoBluePayback?: undefined;
|
|
819
|
-
MorphoBlueSetAuth?: undefined;
|
|
820
|
-
MorphoBlueSetAuthWithSig?: undefined;
|
|
821
824
|
MorphoTokenWrap?: undefined;
|
|
822
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
823
|
-
MorphoBlueClaim?: undefined;
|
|
824
825
|
EulerV2Supply?: undefined;
|
|
825
826
|
EulerV2Withdraw?: undefined;
|
|
826
827
|
EulerV2Borrow?: undefined;
|
|
@@ -839,7 +840,6 @@ export declare const actionAddresses: {
|
|
|
839
840
|
UmbrellaUnstake?: undefined;
|
|
840
841
|
AaveV3DelegateCredit?: undefined;
|
|
841
842
|
AaveV3RatioTrigger?: undefined;
|
|
842
|
-
MorphoBlueView?: undefined;
|
|
843
843
|
} | {
|
|
844
844
|
DFSSell: string;
|
|
845
845
|
DFSSellNoFee: string;
|
|
@@ -902,11 +902,6 @@ export declare const actionAddresses: {
|
|
|
902
902
|
FluidVaultT1Withdraw: string;
|
|
903
903
|
FluidVaultT1Supply: string;
|
|
904
904
|
FluidView: string;
|
|
905
|
-
FluidDexOpen: string;
|
|
906
|
-
FluidDexSupply: string;
|
|
907
|
-
FluidDexBorrow: string;
|
|
908
|
-
FluidDexPayback: string;
|
|
909
|
-
FluidDexWithdraw: string;
|
|
910
905
|
TokenizedVaultAdapter: string;
|
|
911
906
|
SFApproveTokens: string;
|
|
912
907
|
AutomationV2Unsub?: undefined;
|
|
@@ -1113,6 +1108,11 @@ export declare const actionAddresses: {
|
|
|
1113
1108
|
EtherFiUnwrap?: undefined;
|
|
1114
1109
|
KingClaim?: undefined;
|
|
1115
1110
|
FluidClaim?: undefined;
|
|
1111
|
+
FluidDexOpen?: undefined;
|
|
1112
|
+
FluidDexSupply?: undefined;
|
|
1113
|
+
FluidDexBorrow?: undefined;
|
|
1114
|
+
FluidDexPayback?: undefined;
|
|
1115
|
+
FluidDexWithdraw?: undefined;
|
|
1116
1116
|
PendleTokenRedeem?: undefined;
|
|
1117
1117
|
UmbrellaClaimRewards?: undefined;
|
|
1118
1118
|
UmbrellaStake?: undefined;
|
|
@@ -1430,18 +1430,6 @@ export declare const actionAddresses: {
|
|
|
1430
1430
|
AaveV3View: string;
|
|
1431
1431
|
AaveV3DelegateWithSig: string;
|
|
1432
1432
|
AaveV3DelegateCredit: string;
|
|
1433
|
-
FluidVaultT1Open: string;
|
|
1434
|
-
FluidVaultT1Adjust: string;
|
|
1435
|
-
FluidVaultT1Borrow: string;
|
|
1436
|
-
FluidVaultT1Payback: string;
|
|
1437
|
-
FluidVaultT1Withdraw: string;
|
|
1438
|
-
FluidVaultT1Supply: string;
|
|
1439
|
-
FluidView: string;
|
|
1440
|
-
FluidDexOpen: string;
|
|
1441
|
-
FluidDexSupply: string;
|
|
1442
|
-
FluidDexBorrow: string;
|
|
1443
|
-
FluidDexPayback: string;
|
|
1444
|
-
FluidDexWithdraw: string;
|
|
1445
1433
|
PendleTokenRedeem: string;
|
|
1446
1434
|
ChangeProxyOwner?: undefined;
|
|
1447
1435
|
AutomationV2Unsub?: undefined;
|
|
@@ -1671,7 +1659,19 @@ export declare const actionAddresses: {
|
|
|
1671
1659
|
EtherFiWrap?: undefined;
|
|
1672
1660
|
EtherFiUnwrap?: undefined;
|
|
1673
1661
|
KingClaim?: undefined;
|
|
1662
|
+
FluidVaultT1Open?: undefined;
|
|
1663
|
+
FluidVaultT1Adjust?: undefined;
|
|
1664
|
+
FluidVaultT1Borrow?: undefined;
|
|
1665
|
+
FluidVaultT1Payback?: undefined;
|
|
1666
|
+
FluidVaultT1Withdraw?: undefined;
|
|
1667
|
+
FluidVaultT1Supply?: undefined;
|
|
1668
|
+
FluidView?: undefined;
|
|
1674
1669
|
FluidClaim?: undefined;
|
|
1670
|
+
FluidDexOpen?: undefined;
|
|
1671
|
+
FluidDexSupply?: undefined;
|
|
1672
|
+
FluidDexBorrow?: undefined;
|
|
1673
|
+
FluidDexPayback?: undefined;
|
|
1674
|
+
FluidDexWithdraw?: undefined;
|
|
1675
1675
|
UmbrellaClaimRewards?: undefined;
|
|
1676
1676
|
UmbrellaStake?: undefined;
|
|
1677
1677
|
UmbrellaUnstake?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -459,6 +459,18 @@ export const actionAddresses = {
|
|
|
459
459
|
FluidDexWithdraw: '0x076D5434793798b153298bF70b014f5E6145aB2E',
|
|
460
460
|
// summer.fi
|
|
461
461
|
SFApproveTokens: '0x98101bDBFaA3f8efa4A14a5A6a2f9A20D514a5D5',
|
|
462
|
+
// MorphoBlue
|
|
463
|
+
MorphoBlueSupply: '0xeaF1c037716b447C178f3604BCFd10e650704525',
|
|
464
|
+
MorphoBlueSupplyCollateral: '0x65A5900F2faab9cC495b92389844739DF08A290D',
|
|
465
|
+
MorphoBlueWithdraw: '0xd7132c78677E764b352F83D1ACbCd9564eC08569',
|
|
466
|
+
MorphoBlueWithdrawCollateral: '0x374553273E681C6cfA69006CEd70710d415a02D0',
|
|
467
|
+
MorphoBlueBorrow: '0xAe3073ab93DAde55e8B9390E5f3A3071B1ec99Ec',
|
|
468
|
+
MorphoBluePayback: '0x0e5493737FC3466341E0372219ef72FA0B4DDBbB',
|
|
469
|
+
MorphoBlueSetAuth: '0x7e1deb39317A7542Be231123733d94167FaC73D5',
|
|
470
|
+
MorphoBlueSetAuthWithSig: '0x14da4D942b2b855550b47567c333edB8443cF1A7',
|
|
471
|
+
MorphoBlueView: '0xa3b8b400a2eFF0314fa9605E778692bd4Bd9f880',
|
|
472
|
+
MorphoBlueReallocateLiquidity: '0x79C0E0eFe0Df71B2d301f4e08cfB5Ca8814A8f4c',
|
|
473
|
+
MorphoBlueClaim: '0x3ae0160e27778f7286182eAc774fD7ECd40539a7',
|
|
462
474
|
},
|
|
463
475
|
[NETWORKS.base.chainId]: {
|
|
464
476
|
// Basic
|
|
@@ -528,11 +540,6 @@ export const actionAddresses = {
|
|
|
528
540
|
FluidVaultT1Withdraw: '0x26bE6a2EdE97aE826ed9DA8Fb79428037fe55cEB',
|
|
529
541
|
FluidVaultT1Supply: '0x028ACA45244d4897ff80ef65ed0b735Bb0D4B0A5',
|
|
530
542
|
FluidView: '0x6cd4D6af4F292817eA2A2311F099dF26cd015028',
|
|
531
|
-
FluidDexOpen: '0x5eA8Da9679145D51F5eAEC8Bf2f42f47003A8799',
|
|
532
|
-
FluidDexSupply: '0x2fCb7db80d3Be5C1B0049dF074b1AcFbcA93A867',
|
|
533
|
-
FluidDexBorrow: '0x9D40776a876fA67C6757DA386434844cB6616C5F',
|
|
534
|
-
FluidDexPayback: '0xc177c885872592EDA598276bD3FAe5B6d27F80Bf',
|
|
535
|
-
FluidDexWithdraw: '0xEaBA867c49FE8e53F5716fFF8857F239bd7202e1',
|
|
536
543
|
TokenizedVaultAdapter: '0x88cf6cfa51b6f771570f6df450edf1c886212d3e',
|
|
537
544
|
// summer.fi
|
|
538
545
|
SFApproveTokens: '0x03EDC9A683f37BFB7516FF234223fFb6E38D5eb9',
|
|
@@ -604,19 +611,6 @@ export const actionAddresses = {
|
|
|
604
611
|
AaveV3View: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
|
|
605
612
|
AaveV3DelegateWithSig: '0x49658E0CF3883c338397C7257619B280dF581057',
|
|
606
613
|
AaveV3DelegateCredit: '0x0a9b2080C14DaF008AE87C977dFDf5f5D6D0937F',
|
|
607
|
-
// Fluid
|
|
608
|
-
FluidVaultT1Open: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
609
|
-
FluidVaultT1Adjust: '0xD37d4DB98E67305ef92f34886B25500500E04Aed',
|
|
610
|
-
FluidVaultT1Borrow: '0x95a8665Ba58aa13A58c60B0803572772cda153dB',
|
|
611
|
-
FluidVaultT1Payback: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
612
|
-
FluidVaultT1Withdraw: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
613
|
-
FluidVaultT1Supply: '0x54D1b51d2d68CD0Dc877296527780CA6aff68a39',
|
|
614
|
-
FluidView: '0x27C0BAe2338cE28097122393faF90375B9395dd1',
|
|
615
|
-
FluidDexOpen: '0xF32d5d8D81f2662A02955CE537537088DF29daf5',
|
|
616
|
-
FluidDexSupply: '0x903F7C93FFC4AAbaBB096a7A722F1f057816B399',
|
|
617
|
-
FluidDexBorrow: '0xa2A878a09639D1ab3AF544566c0CA4D0FeAEE65E',
|
|
618
|
-
FluidDexPayback: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
|
|
619
|
-
FluidDexWithdraw: '0x17B4ecd173b3Df2F5cB02c53Df8AA34e23Bcb92E',
|
|
620
614
|
// Pendle
|
|
621
615
|
PendleTokenRedeem: '0xB4c5f33bb5791D0174Df1879b809Bf57eE540B62',
|
|
622
616
|
},
|
package/esm/src/index.d.ts
CHANGED
|
@@ -646,6 +646,17 @@ declare const actionAddressesAllChains: {
|
|
|
646
646
|
FluidDexPayback: string;
|
|
647
647
|
FluidDexWithdraw: string;
|
|
648
648
|
SFApproveTokens: string;
|
|
649
|
+
MorphoBlueSupply: string;
|
|
650
|
+
MorphoBlueSupplyCollateral: string;
|
|
651
|
+
MorphoBlueWithdraw: string;
|
|
652
|
+
MorphoBlueWithdrawCollateral: string;
|
|
653
|
+
MorphoBlueBorrow: string;
|
|
654
|
+
MorphoBluePayback: string;
|
|
655
|
+
MorphoBlueSetAuth: string;
|
|
656
|
+
MorphoBlueSetAuthWithSig: string;
|
|
657
|
+
MorphoBlueView: string;
|
|
658
|
+
MorphoBlueReallocateLiquidity: string;
|
|
659
|
+
MorphoBlueClaim: string;
|
|
649
660
|
AutomationV2Unsub?: undefined;
|
|
650
661
|
SDaiWrap?: undefined;
|
|
651
662
|
SDaiUnwrap?: undefined;
|
|
@@ -821,17 +832,7 @@ declare const actionAddressesAllChains: {
|
|
|
821
832
|
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
822
833
|
CurveUsdLevCreateTransient?: undefined;
|
|
823
834
|
CurveUsdRepayTransient?: undefined;
|
|
824
|
-
MorphoBlueSupply?: undefined;
|
|
825
|
-
MorphoBlueSupplyCollateral?: undefined;
|
|
826
|
-
MorphoBlueWithdraw?: undefined;
|
|
827
|
-
MorphoBlueWithdrawCollateral?: undefined;
|
|
828
|
-
MorphoBlueBorrow?: undefined;
|
|
829
|
-
MorphoBluePayback?: undefined;
|
|
830
|
-
MorphoBlueSetAuth?: undefined;
|
|
831
|
-
MorphoBlueSetAuthWithSig?: undefined;
|
|
832
835
|
MorphoTokenWrap?: undefined;
|
|
833
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
834
|
-
MorphoBlueClaim?: undefined;
|
|
835
836
|
EulerV2Supply?: undefined;
|
|
836
837
|
EulerV2Withdraw?: undefined;
|
|
837
838
|
EulerV2Borrow?: undefined;
|
|
@@ -850,7 +851,6 @@ declare const actionAddressesAllChains: {
|
|
|
850
851
|
UmbrellaUnstake?: undefined;
|
|
851
852
|
AaveV3DelegateCredit?: undefined;
|
|
852
853
|
AaveV3RatioTrigger?: undefined;
|
|
853
|
-
MorphoBlueView?: undefined;
|
|
854
854
|
} | {
|
|
855
855
|
DFSSell: string;
|
|
856
856
|
DFSSellNoFee: string;
|
|
@@ -913,11 +913,6 @@ declare const actionAddressesAllChains: {
|
|
|
913
913
|
FluidVaultT1Withdraw: string;
|
|
914
914
|
FluidVaultT1Supply: string;
|
|
915
915
|
FluidView: string;
|
|
916
|
-
FluidDexOpen: string;
|
|
917
|
-
FluidDexSupply: string;
|
|
918
|
-
FluidDexBorrow: string;
|
|
919
|
-
FluidDexPayback: string;
|
|
920
|
-
FluidDexWithdraw: string;
|
|
921
916
|
TokenizedVaultAdapter: string;
|
|
922
917
|
SFApproveTokens: string;
|
|
923
918
|
AutomationV2Unsub?: undefined;
|
|
@@ -1124,6 +1119,11 @@ declare const actionAddressesAllChains: {
|
|
|
1124
1119
|
EtherFiUnwrap?: undefined;
|
|
1125
1120
|
KingClaim?: undefined;
|
|
1126
1121
|
FluidClaim?: undefined;
|
|
1122
|
+
FluidDexOpen?: undefined;
|
|
1123
|
+
FluidDexSupply?: undefined;
|
|
1124
|
+
FluidDexBorrow?: undefined;
|
|
1125
|
+
FluidDexPayback?: undefined;
|
|
1126
|
+
FluidDexWithdraw?: undefined;
|
|
1127
1127
|
PendleTokenRedeem?: undefined;
|
|
1128
1128
|
UmbrellaClaimRewards?: undefined;
|
|
1129
1129
|
UmbrellaStake?: undefined;
|
|
@@ -1441,18 +1441,6 @@ declare const actionAddressesAllChains: {
|
|
|
1441
1441
|
AaveV3View: string;
|
|
1442
1442
|
AaveV3DelegateWithSig: string;
|
|
1443
1443
|
AaveV3DelegateCredit: string;
|
|
1444
|
-
FluidVaultT1Open: string;
|
|
1445
|
-
FluidVaultT1Adjust: string;
|
|
1446
|
-
FluidVaultT1Borrow: string;
|
|
1447
|
-
FluidVaultT1Payback: string;
|
|
1448
|
-
FluidVaultT1Withdraw: string;
|
|
1449
|
-
FluidVaultT1Supply: string;
|
|
1450
|
-
FluidView: string;
|
|
1451
|
-
FluidDexOpen: string;
|
|
1452
|
-
FluidDexSupply: string;
|
|
1453
|
-
FluidDexBorrow: string;
|
|
1454
|
-
FluidDexPayback: string;
|
|
1455
|
-
FluidDexWithdraw: string;
|
|
1456
1444
|
PendleTokenRedeem: string;
|
|
1457
1445
|
ChangeProxyOwner?: undefined;
|
|
1458
1446
|
AutomationV2Unsub?: undefined;
|
|
@@ -1682,7 +1670,19 @@ declare const actionAddressesAllChains: {
|
|
|
1682
1670
|
EtherFiWrap?: undefined;
|
|
1683
1671
|
EtherFiUnwrap?: undefined;
|
|
1684
1672
|
KingClaim?: undefined;
|
|
1673
|
+
FluidVaultT1Open?: undefined;
|
|
1674
|
+
FluidVaultT1Adjust?: undefined;
|
|
1675
|
+
FluidVaultT1Borrow?: undefined;
|
|
1676
|
+
FluidVaultT1Payback?: undefined;
|
|
1677
|
+
FluidVaultT1Withdraw?: undefined;
|
|
1678
|
+
FluidVaultT1Supply?: undefined;
|
|
1679
|
+
FluidView?: undefined;
|
|
1685
1680
|
FluidClaim?: undefined;
|
|
1681
|
+
FluidDexOpen?: undefined;
|
|
1682
|
+
FluidDexSupply?: undefined;
|
|
1683
|
+
FluidDexBorrow?: undefined;
|
|
1684
|
+
FluidDexPayback?: undefined;
|
|
1685
|
+
FluidDexWithdraw?: undefined;
|
|
1686
1686
|
UmbrellaClaimRewards?: undefined;
|
|
1687
1687
|
UmbrellaStake?: undefined;
|
|
1688
1688
|
UmbrellaUnstake?: undefined;
|
|
@@ -2328,6 +2328,17 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2328
2328
|
FluidDexPayback: string;
|
|
2329
2329
|
FluidDexWithdraw: string;
|
|
2330
2330
|
SFApproveTokens: string;
|
|
2331
|
+
MorphoBlueSupply: string;
|
|
2332
|
+
MorphoBlueSupplyCollateral: string;
|
|
2333
|
+
MorphoBlueWithdraw: string;
|
|
2334
|
+
MorphoBlueWithdrawCollateral: string;
|
|
2335
|
+
MorphoBlueBorrow: string;
|
|
2336
|
+
MorphoBluePayback: string;
|
|
2337
|
+
MorphoBlueSetAuth: string;
|
|
2338
|
+
MorphoBlueSetAuthWithSig: string;
|
|
2339
|
+
MorphoBlueView: string;
|
|
2340
|
+
MorphoBlueReallocateLiquidity: string;
|
|
2341
|
+
MorphoBlueClaim: string;
|
|
2331
2342
|
AutomationV2Unsub?: undefined;
|
|
2332
2343
|
SDaiWrap?: undefined;
|
|
2333
2344
|
SDaiUnwrap?: undefined;
|
|
@@ -2503,17 +2514,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2503
2514
|
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
2504
2515
|
CurveUsdLevCreateTransient?: undefined;
|
|
2505
2516
|
CurveUsdRepayTransient?: undefined;
|
|
2506
|
-
MorphoBlueSupply?: undefined;
|
|
2507
|
-
MorphoBlueSupplyCollateral?: undefined;
|
|
2508
|
-
MorphoBlueWithdraw?: undefined;
|
|
2509
|
-
MorphoBlueWithdrawCollateral?: undefined;
|
|
2510
|
-
MorphoBlueBorrow?: undefined;
|
|
2511
|
-
MorphoBluePayback?: undefined;
|
|
2512
|
-
MorphoBlueSetAuth?: undefined;
|
|
2513
|
-
MorphoBlueSetAuthWithSig?: undefined;
|
|
2514
2517
|
MorphoTokenWrap?: undefined;
|
|
2515
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
2516
|
-
MorphoBlueClaim?: undefined;
|
|
2517
2518
|
EulerV2Supply?: undefined;
|
|
2518
2519
|
EulerV2Withdraw?: undefined;
|
|
2519
2520
|
EulerV2Borrow?: undefined;
|
|
@@ -2532,7 +2533,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2532
2533
|
UmbrellaUnstake?: undefined;
|
|
2533
2534
|
AaveV3DelegateCredit?: undefined;
|
|
2534
2535
|
AaveV3RatioTrigger?: undefined;
|
|
2535
|
-
MorphoBlueView?: undefined;
|
|
2536
2536
|
} | {
|
|
2537
2537
|
DFSSell: string;
|
|
2538
2538
|
DFSSellNoFee: string;
|
|
@@ -2595,11 +2595,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2595
2595
|
FluidVaultT1Withdraw: string;
|
|
2596
2596
|
FluidVaultT1Supply: string;
|
|
2597
2597
|
FluidView: string;
|
|
2598
|
-
FluidDexOpen: string;
|
|
2599
|
-
FluidDexSupply: string;
|
|
2600
|
-
FluidDexBorrow: string;
|
|
2601
|
-
FluidDexPayback: string;
|
|
2602
|
-
FluidDexWithdraw: string;
|
|
2603
2598
|
TokenizedVaultAdapter: string;
|
|
2604
2599
|
SFApproveTokens: string;
|
|
2605
2600
|
AutomationV2Unsub?: undefined;
|
|
@@ -2806,6 +2801,11 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2806
2801
|
EtherFiUnwrap?: undefined;
|
|
2807
2802
|
KingClaim?: undefined;
|
|
2808
2803
|
FluidClaim?: undefined;
|
|
2804
|
+
FluidDexOpen?: undefined;
|
|
2805
|
+
FluidDexSupply?: undefined;
|
|
2806
|
+
FluidDexBorrow?: undefined;
|
|
2807
|
+
FluidDexPayback?: undefined;
|
|
2808
|
+
FluidDexWithdraw?: undefined;
|
|
2809
2809
|
PendleTokenRedeem?: undefined;
|
|
2810
2810
|
UmbrellaClaimRewards?: undefined;
|
|
2811
2811
|
UmbrellaStake?: undefined;
|
|
@@ -3123,18 +3123,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3123
3123
|
AaveV3View: string;
|
|
3124
3124
|
AaveV3DelegateWithSig: string;
|
|
3125
3125
|
AaveV3DelegateCredit: string;
|
|
3126
|
-
FluidVaultT1Open: string;
|
|
3127
|
-
FluidVaultT1Adjust: string;
|
|
3128
|
-
FluidVaultT1Borrow: string;
|
|
3129
|
-
FluidVaultT1Payback: string;
|
|
3130
|
-
FluidVaultT1Withdraw: string;
|
|
3131
|
-
FluidVaultT1Supply: string;
|
|
3132
|
-
FluidView: string;
|
|
3133
|
-
FluidDexOpen: string;
|
|
3134
|
-
FluidDexSupply: string;
|
|
3135
|
-
FluidDexBorrow: string;
|
|
3136
|
-
FluidDexPayback: string;
|
|
3137
|
-
FluidDexWithdraw: string;
|
|
3138
3126
|
PendleTokenRedeem: string;
|
|
3139
3127
|
ChangeProxyOwner?: undefined;
|
|
3140
3128
|
AutomationV2Unsub?: undefined;
|
|
@@ -3364,7 +3352,19 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3364
3352
|
EtherFiWrap?: undefined;
|
|
3365
3353
|
EtherFiUnwrap?: undefined;
|
|
3366
3354
|
KingClaim?: undefined;
|
|
3355
|
+
FluidVaultT1Open?: undefined;
|
|
3356
|
+
FluidVaultT1Adjust?: undefined;
|
|
3357
|
+
FluidVaultT1Borrow?: undefined;
|
|
3358
|
+
FluidVaultT1Payback?: undefined;
|
|
3359
|
+
FluidVaultT1Withdraw?: undefined;
|
|
3360
|
+
FluidVaultT1Supply?: undefined;
|
|
3361
|
+
FluidView?: undefined;
|
|
3367
3362
|
FluidClaim?: undefined;
|
|
3363
|
+
FluidDexOpen?: undefined;
|
|
3364
|
+
FluidDexSupply?: undefined;
|
|
3365
|
+
FluidDexBorrow?: undefined;
|
|
3366
|
+
FluidDexPayback?: undefined;
|
|
3367
|
+
FluidDexWithdraw?: undefined;
|
|
3368
3368
|
UmbrellaClaimRewards?: undefined;
|
|
3369
3369
|
UmbrellaStake?: undefined;
|
|
3370
3370
|
UmbrellaUnstake?: undefined;
|
|
@@ -4237,6 +4237,17 @@ declare const _default: {
|
|
|
4237
4237
|
FluidDexPayback: string;
|
|
4238
4238
|
FluidDexWithdraw: string;
|
|
4239
4239
|
SFApproveTokens: string;
|
|
4240
|
+
MorphoBlueSupply: string;
|
|
4241
|
+
MorphoBlueSupplyCollateral: string;
|
|
4242
|
+
MorphoBlueWithdraw: string;
|
|
4243
|
+
MorphoBlueWithdrawCollateral: string;
|
|
4244
|
+
MorphoBlueBorrow: string;
|
|
4245
|
+
MorphoBluePayback: string;
|
|
4246
|
+
MorphoBlueSetAuth: string;
|
|
4247
|
+
MorphoBlueSetAuthWithSig: string;
|
|
4248
|
+
MorphoBlueView: string;
|
|
4249
|
+
MorphoBlueReallocateLiquidity: string;
|
|
4250
|
+
MorphoBlueClaim: string;
|
|
4240
4251
|
AutomationV2Unsub?: undefined;
|
|
4241
4252
|
SDaiWrap?: undefined;
|
|
4242
4253
|
SDaiUnwrap?: undefined;
|
|
@@ -4412,17 +4423,7 @@ declare const _default: {
|
|
|
4412
4423
|
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
4413
4424
|
CurveUsdLevCreateTransient?: undefined;
|
|
4414
4425
|
CurveUsdRepayTransient?: undefined;
|
|
4415
|
-
MorphoBlueSupply?: undefined;
|
|
4416
|
-
MorphoBlueSupplyCollateral?: undefined;
|
|
4417
|
-
MorphoBlueWithdraw?: undefined;
|
|
4418
|
-
MorphoBlueWithdrawCollateral?: undefined;
|
|
4419
|
-
MorphoBlueBorrow?: undefined;
|
|
4420
|
-
MorphoBluePayback?: undefined;
|
|
4421
|
-
MorphoBlueSetAuth?: undefined;
|
|
4422
|
-
MorphoBlueSetAuthWithSig?: undefined;
|
|
4423
4426
|
MorphoTokenWrap?: undefined;
|
|
4424
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
4425
|
-
MorphoBlueClaim?: undefined;
|
|
4426
4427
|
EulerV2Supply?: undefined;
|
|
4427
4428
|
EulerV2Withdraw?: undefined;
|
|
4428
4429
|
EulerV2Borrow?: undefined;
|
|
@@ -4441,7 +4442,6 @@ declare const _default: {
|
|
|
4441
4442
|
UmbrellaUnstake?: undefined;
|
|
4442
4443
|
AaveV3DelegateCredit?: undefined;
|
|
4443
4444
|
AaveV3RatioTrigger?: undefined;
|
|
4444
|
-
MorphoBlueView?: undefined;
|
|
4445
4445
|
} | {
|
|
4446
4446
|
DFSSell: string;
|
|
4447
4447
|
DFSSellNoFee: string;
|
|
@@ -4504,11 +4504,6 @@ declare const _default: {
|
|
|
4504
4504
|
FluidVaultT1Withdraw: string;
|
|
4505
4505
|
FluidVaultT1Supply: string;
|
|
4506
4506
|
FluidView: string;
|
|
4507
|
-
FluidDexOpen: string;
|
|
4508
|
-
FluidDexSupply: string;
|
|
4509
|
-
FluidDexBorrow: string;
|
|
4510
|
-
FluidDexPayback: string;
|
|
4511
|
-
FluidDexWithdraw: string;
|
|
4512
4507
|
TokenizedVaultAdapter: string;
|
|
4513
4508
|
SFApproveTokens: string;
|
|
4514
4509
|
AutomationV2Unsub?: undefined;
|
|
@@ -4715,6 +4710,11 @@ declare const _default: {
|
|
|
4715
4710
|
EtherFiUnwrap?: undefined;
|
|
4716
4711
|
KingClaim?: undefined;
|
|
4717
4712
|
FluidClaim?: undefined;
|
|
4713
|
+
FluidDexOpen?: undefined;
|
|
4714
|
+
FluidDexSupply?: undefined;
|
|
4715
|
+
FluidDexBorrow?: undefined;
|
|
4716
|
+
FluidDexPayback?: undefined;
|
|
4717
|
+
FluidDexWithdraw?: undefined;
|
|
4718
4718
|
PendleTokenRedeem?: undefined;
|
|
4719
4719
|
UmbrellaClaimRewards?: undefined;
|
|
4720
4720
|
UmbrellaStake?: undefined;
|
|
@@ -5032,18 +5032,6 @@ declare const _default: {
|
|
|
5032
5032
|
AaveV3View: string;
|
|
5033
5033
|
AaveV3DelegateWithSig: string;
|
|
5034
5034
|
AaveV3DelegateCredit: string;
|
|
5035
|
-
FluidVaultT1Open: string;
|
|
5036
|
-
FluidVaultT1Adjust: string;
|
|
5037
|
-
FluidVaultT1Borrow: string;
|
|
5038
|
-
FluidVaultT1Payback: string;
|
|
5039
|
-
FluidVaultT1Withdraw: string;
|
|
5040
|
-
FluidVaultT1Supply: string;
|
|
5041
|
-
FluidView: string;
|
|
5042
|
-
FluidDexOpen: string;
|
|
5043
|
-
FluidDexSupply: string;
|
|
5044
|
-
FluidDexBorrow: string;
|
|
5045
|
-
FluidDexPayback: string;
|
|
5046
|
-
FluidDexWithdraw: string;
|
|
5047
5035
|
PendleTokenRedeem: string;
|
|
5048
5036
|
ChangeProxyOwner?: undefined;
|
|
5049
5037
|
AutomationV2Unsub?: undefined;
|
|
@@ -5273,7 +5261,19 @@ declare const _default: {
|
|
|
5273
5261
|
EtherFiWrap?: undefined;
|
|
5274
5262
|
EtherFiUnwrap?: undefined;
|
|
5275
5263
|
KingClaim?: undefined;
|
|
5264
|
+
FluidVaultT1Open?: undefined;
|
|
5265
|
+
FluidVaultT1Adjust?: undefined;
|
|
5266
|
+
FluidVaultT1Borrow?: undefined;
|
|
5267
|
+
FluidVaultT1Payback?: undefined;
|
|
5268
|
+
FluidVaultT1Withdraw?: undefined;
|
|
5269
|
+
FluidVaultT1Supply?: undefined;
|
|
5270
|
+
FluidView?: undefined;
|
|
5276
5271
|
FluidClaim?: undefined;
|
|
5272
|
+
FluidDexOpen?: undefined;
|
|
5273
|
+
FluidDexSupply?: undefined;
|
|
5274
|
+
FluidDexBorrow?: undefined;
|
|
5275
|
+
FluidDexPayback?: undefined;
|
|
5276
|
+
FluidDexWithdraw?: undefined;
|
|
5277
5277
|
UmbrellaClaimRewards?: undefined;
|
|
5278
5278
|
UmbrellaStake?: undefined;
|
|
5279
5279
|
UmbrellaUnstake?: undefined;
|
|
@@ -5919,6 +5919,17 @@ declare const _default: {
|
|
|
5919
5919
|
FluidDexPayback: string;
|
|
5920
5920
|
FluidDexWithdraw: string;
|
|
5921
5921
|
SFApproveTokens: string;
|
|
5922
|
+
MorphoBlueSupply: string;
|
|
5923
|
+
MorphoBlueSupplyCollateral: string;
|
|
5924
|
+
MorphoBlueWithdraw: string;
|
|
5925
|
+
MorphoBlueWithdrawCollateral: string;
|
|
5926
|
+
MorphoBlueBorrow: string;
|
|
5927
|
+
MorphoBluePayback: string;
|
|
5928
|
+
MorphoBlueSetAuth: string;
|
|
5929
|
+
MorphoBlueSetAuthWithSig: string;
|
|
5930
|
+
MorphoBlueView: string;
|
|
5931
|
+
MorphoBlueReallocateLiquidity: string;
|
|
5932
|
+
MorphoBlueClaim: string;
|
|
5922
5933
|
AutomationV2Unsub?: undefined;
|
|
5923
5934
|
SDaiWrap?: undefined;
|
|
5924
5935
|
SDaiUnwrap?: undefined;
|
|
@@ -6094,17 +6105,7 @@ declare const _default: {
|
|
|
6094
6105
|
CurveUsdSelfLiquidateWithCollTransient?: undefined;
|
|
6095
6106
|
CurveUsdLevCreateTransient?: undefined;
|
|
6096
6107
|
CurveUsdRepayTransient?: undefined;
|
|
6097
|
-
MorphoBlueSupply?: undefined;
|
|
6098
|
-
MorphoBlueSupplyCollateral?: undefined;
|
|
6099
|
-
MorphoBlueWithdraw?: undefined;
|
|
6100
|
-
MorphoBlueWithdrawCollateral?: undefined;
|
|
6101
|
-
MorphoBlueBorrow?: undefined;
|
|
6102
|
-
MorphoBluePayback?: undefined;
|
|
6103
|
-
MorphoBlueSetAuth?: undefined;
|
|
6104
|
-
MorphoBlueSetAuthWithSig?: undefined;
|
|
6105
6108
|
MorphoTokenWrap?: undefined;
|
|
6106
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
6107
|
-
MorphoBlueClaim?: undefined;
|
|
6108
6109
|
EulerV2Supply?: undefined;
|
|
6109
6110
|
EulerV2Withdraw?: undefined;
|
|
6110
6111
|
EulerV2Borrow?: undefined;
|
|
@@ -6123,7 +6124,6 @@ declare const _default: {
|
|
|
6123
6124
|
UmbrellaUnstake?: undefined;
|
|
6124
6125
|
AaveV3DelegateCredit?: undefined;
|
|
6125
6126
|
AaveV3RatioTrigger?: undefined;
|
|
6126
|
-
MorphoBlueView?: undefined;
|
|
6127
6127
|
} | {
|
|
6128
6128
|
DFSSell: string;
|
|
6129
6129
|
DFSSellNoFee: string;
|
|
@@ -6186,11 +6186,6 @@ declare const _default: {
|
|
|
6186
6186
|
FluidVaultT1Withdraw: string;
|
|
6187
6187
|
FluidVaultT1Supply: string;
|
|
6188
6188
|
FluidView: string;
|
|
6189
|
-
FluidDexOpen: string;
|
|
6190
|
-
FluidDexSupply: string;
|
|
6191
|
-
FluidDexBorrow: string;
|
|
6192
|
-
FluidDexPayback: string;
|
|
6193
|
-
FluidDexWithdraw: string;
|
|
6194
6189
|
TokenizedVaultAdapter: string;
|
|
6195
6190
|
SFApproveTokens: string;
|
|
6196
6191
|
AutomationV2Unsub?: undefined;
|
|
@@ -6397,6 +6392,11 @@ declare const _default: {
|
|
|
6397
6392
|
EtherFiUnwrap?: undefined;
|
|
6398
6393
|
KingClaim?: undefined;
|
|
6399
6394
|
FluidClaim?: undefined;
|
|
6395
|
+
FluidDexOpen?: undefined;
|
|
6396
|
+
FluidDexSupply?: undefined;
|
|
6397
|
+
FluidDexBorrow?: undefined;
|
|
6398
|
+
FluidDexPayback?: undefined;
|
|
6399
|
+
FluidDexWithdraw?: undefined;
|
|
6400
6400
|
PendleTokenRedeem?: undefined;
|
|
6401
6401
|
UmbrellaClaimRewards?: undefined;
|
|
6402
6402
|
UmbrellaStake?: undefined;
|
|
@@ -6714,18 +6714,6 @@ declare const _default: {
|
|
|
6714
6714
|
AaveV3View: string;
|
|
6715
6715
|
AaveV3DelegateWithSig: string;
|
|
6716
6716
|
AaveV3DelegateCredit: string;
|
|
6717
|
-
FluidVaultT1Open: string;
|
|
6718
|
-
FluidVaultT1Adjust: string;
|
|
6719
|
-
FluidVaultT1Borrow: string;
|
|
6720
|
-
FluidVaultT1Payback: string;
|
|
6721
|
-
FluidVaultT1Withdraw: string;
|
|
6722
|
-
FluidVaultT1Supply: string;
|
|
6723
|
-
FluidView: string;
|
|
6724
|
-
FluidDexOpen: string;
|
|
6725
|
-
FluidDexSupply: string;
|
|
6726
|
-
FluidDexBorrow: string;
|
|
6727
|
-
FluidDexPayback: string;
|
|
6728
|
-
FluidDexWithdraw: string;
|
|
6729
6717
|
PendleTokenRedeem: string;
|
|
6730
6718
|
ChangeProxyOwner?: undefined;
|
|
6731
6719
|
AutomationV2Unsub?: undefined;
|
|
@@ -6955,7 +6943,19 @@ declare const _default: {
|
|
|
6955
6943
|
EtherFiWrap?: undefined;
|
|
6956
6944
|
EtherFiUnwrap?: undefined;
|
|
6957
6945
|
KingClaim?: undefined;
|
|
6946
|
+
FluidVaultT1Open?: undefined;
|
|
6947
|
+
FluidVaultT1Adjust?: undefined;
|
|
6948
|
+
FluidVaultT1Borrow?: undefined;
|
|
6949
|
+
FluidVaultT1Payback?: undefined;
|
|
6950
|
+
FluidVaultT1Withdraw?: undefined;
|
|
6951
|
+
FluidVaultT1Supply?: undefined;
|
|
6952
|
+
FluidView?: undefined;
|
|
6958
6953
|
FluidClaim?: undefined;
|
|
6954
|
+
FluidDexOpen?: undefined;
|
|
6955
|
+
FluidDexSupply?: undefined;
|
|
6956
|
+
FluidDexBorrow?: undefined;
|
|
6957
|
+
FluidDexPayback?: undefined;
|
|
6958
|
+
FluidDexWithdraw?: undefined;
|
|
6959
6959
|
UmbrellaClaimRewards?: undefined;
|
|
6960
6960
|
UmbrellaStake?: undefined;
|
|
6961
6961
|
UmbrellaUnstake?: undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defisaver/sdk",
|
|
3
|
-
"version": "1.3.9-dev-
|
|
3
|
+
"version": "1.3.9-dev-morpho",
|
|
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.7.
|
|
26
|
+
"@defisaver/tokens": "^1.7.5",
|
|
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
|
@@ -522,6 +522,19 @@ export const actionAddresses = {
|
|
|
522
522
|
|
|
523
523
|
// summer.fi
|
|
524
524
|
SFApproveTokens: '0x98101bDBFaA3f8efa4A14a5A6a2f9A20D514a5D5',
|
|
525
|
+
|
|
526
|
+
// MorphoBlue
|
|
527
|
+
MorphoBlueSupply: '0xeaF1c037716b447C178f3604BCFd10e650704525',
|
|
528
|
+
MorphoBlueSupplyCollateral: '0x65A5900F2faab9cC495b92389844739DF08A290D',
|
|
529
|
+
MorphoBlueWithdraw: '0xd7132c78677E764b352F83D1ACbCd9564eC08569',
|
|
530
|
+
MorphoBlueWithdrawCollateral: '0x374553273E681C6cfA69006CEd70710d415a02D0',
|
|
531
|
+
MorphoBlueBorrow: '0xAe3073ab93DAde55e8B9390E5f3A3071B1ec99Ec',
|
|
532
|
+
MorphoBluePayback: '0x0e5493737FC3466341E0372219ef72FA0B4DDBbB',
|
|
533
|
+
MorphoBlueSetAuth: '0x7e1deb39317A7542Be231123733d94167FaC73D5',
|
|
534
|
+
MorphoBlueSetAuthWithSig: '0x14da4D942b2b855550b47567c333edB8443cF1A7',
|
|
535
|
+
MorphoBlueView: '0xa3b8b400a2eFF0314fa9605E778692bd4Bd9f880',
|
|
536
|
+
MorphoBlueReallocateLiquidity: '0x79C0E0eFe0Df71B2d301f4e08cfB5Ca8814A8f4c',
|
|
537
|
+
MorphoBlueClaim: '0x3ae0160e27778f7286182eAc774fD7ECd40539a7',
|
|
525
538
|
},
|
|
526
539
|
[NETWORKS.base.chainId]: {
|
|
527
540
|
// Basic
|
|
@@ -597,11 +610,6 @@ export const actionAddresses = {
|
|
|
597
610
|
FluidVaultT1Withdraw: '0x26bE6a2EdE97aE826ed9DA8Fb79428037fe55cEB',
|
|
598
611
|
FluidVaultT1Supply: '0x028ACA45244d4897ff80ef65ed0b735Bb0D4B0A5',
|
|
599
612
|
FluidView: '0x6cd4D6af4F292817eA2A2311F099dF26cd015028',
|
|
600
|
-
FluidDexOpen: '0x5eA8Da9679145D51F5eAEC8Bf2f42f47003A8799',
|
|
601
|
-
FluidDexSupply: '0x2fCb7db80d3Be5C1B0049dF074b1AcFbcA93A867',
|
|
602
|
-
FluidDexBorrow: '0x9D40776a876fA67C6757DA386434844cB6616C5F',
|
|
603
|
-
FluidDexPayback: '0xc177c885872592EDA598276bD3FAe5B6d27F80Bf',
|
|
604
|
-
FluidDexWithdraw: '0xEaBA867c49FE8e53F5716fFF8857F239bd7202e1',
|
|
605
613
|
|
|
606
614
|
TokenizedVaultAdapter: '0x88cf6cfa51b6f771570f6df450edf1c886212d3e',
|
|
607
615
|
|
|
@@ -680,19 +688,6 @@ export const actionAddresses = {
|
|
|
680
688
|
AaveV3DelegateWithSig: '0x49658E0CF3883c338397C7257619B280dF581057',
|
|
681
689
|
AaveV3DelegateCredit: '0x0a9b2080C14DaF008AE87C977dFDf5f5D6D0937F',
|
|
682
690
|
|
|
683
|
-
// Fluid
|
|
684
|
-
FluidVaultT1Open: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
685
|
-
FluidVaultT1Adjust: '0xD37d4DB98E67305ef92f34886B25500500E04Aed',
|
|
686
|
-
FluidVaultT1Borrow: '0x95a8665Ba58aa13A58c60B0803572772cda153dB',
|
|
687
|
-
FluidVaultT1Payback: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
688
|
-
FluidVaultT1Withdraw: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
689
|
-
FluidVaultT1Supply: '0x54D1b51d2d68CD0Dc877296527780CA6aff68a39',
|
|
690
|
-
FluidView: '0x27C0BAe2338cE28097122393faF90375B9395dd1',
|
|
691
|
-
FluidDexOpen: '0xF32d5d8D81f2662A02955CE537537088DF29daf5',
|
|
692
|
-
FluidDexSupply: '0x903F7C93FFC4AAbaBB096a7A722F1f057816B399',
|
|
693
|
-
FluidDexBorrow: '0xa2A878a09639D1ab3AF544566c0CA4D0FeAEE65E',
|
|
694
|
-
FluidDexPayback: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
|
|
695
|
-
FluidDexWithdraw: '0x17B4ecd173b3Df2F5cB02c53Df8AA34e23Bcb92E',
|
|
696
691
|
// Pendle
|
|
697
692
|
PendleTokenRedeem: '0xB4c5f33bb5791D0174Df1879b809Bf57eE540B62',
|
|
698
693
|
},
|