@defisaver/sdk 1.2.15-dev-allocator-2 → 1.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.js +1 -1
- package/esm/src/addresses.d.ts +1 -1
- package/esm/src/addresses.js +1 -0
- package/esm/src/index.d.ts +4 -4
- package/package.json +1 -1
- package/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.ts +1 -1
- package/src/addresses.ts +1 -0
- package/umd/index.js +3 -2
|
@@ -25,7 +25,7 @@ export class MorphoBlueReallocateLiquidityAction extends Action {
|
|
|
25
25
|
* @param withdrawals - Array of withdrawals for each vault
|
|
26
26
|
*/
|
|
27
27
|
constructor(loanToken, collateralToken, oracle, irm, lltv, vaults, withdrawals) {
|
|
28
|
-
super('MorphoBlueReallocateLiquidity', getAddr('
|
|
28
|
+
super('MorphoBlueReallocateLiquidity', getAddr('MorphoBlueReallocateLiquidity'), [
|
|
29
29
|
['address', 'address', 'address', 'address', 'uint256'],
|
|
30
30
|
'address[]',
|
|
31
31
|
'tuple(tuple(address,address,address,address,uint256),uint256)[][]', // withdrawals
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -760,6 +760,7 @@ export declare const actionAddresses: {
|
|
|
760
760
|
MorphoBlueSetAuth: string;
|
|
761
761
|
MorphoBlueSetAuthWithSig: string;
|
|
762
762
|
MorphoBlueView: string;
|
|
763
|
+
MorphoBlueReallocateLiquidity: string;
|
|
763
764
|
AutomationV2Unsub?: undefined;
|
|
764
765
|
SendTokenAndUnwrap?: undefined;
|
|
765
766
|
TransferNFT?: undefined;
|
|
@@ -922,7 +923,6 @@ export declare const actionAddresses: {
|
|
|
922
923
|
CurveUsdLevCreateTransient?: undefined;
|
|
923
924
|
CurveUsdRepayTransient?: undefined;
|
|
924
925
|
MorphoTokenWrap?: undefined;
|
|
925
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
926
926
|
LlamaLendCreate?: undefined;
|
|
927
927
|
LlamaLendSupply?: undefined;
|
|
928
928
|
LlamaLendBorrow?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -436,6 +436,7 @@ export const actionAddresses = {
|
|
|
436
436
|
MorphoBlueSetAuth: '0xb565630c6ddd1fae169c453667f5aa52ef4e2e39',
|
|
437
437
|
MorphoBlueSetAuthWithSig: '0x80be65342f6172a6cd0b6a2653e8a887e3f46cab',
|
|
438
438
|
MorphoBlueView: '0xdbcacf59c5063da8b15481f88e7d70e13c92f2a1',
|
|
439
|
+
MorphoBlueReallocateLiquidity: '0x5Ea7F30E40F6A25BE2aD23A6FC1C31A6c95F3dc8',
|
|
439
440
|
},
|
|
440
441
|
};
|
|
441
442
|
export const otherAddresses = {
|
package/esm/src/index.d.ts
CHANGED
|
@@ -771,6 +771,7 @@ declare const actionAddressesAllChains: {
|
|
|
771
771
|
MorphoBlueSetAuth: string;
|
|
772
772
|
MorphoBlueSetAuthWithSig: string;
|
|
773
773
|
MorphoBlueView: string;
|
|
774
|
+
MorphoBlueReallocateLiquidity: string;
|
|
774
775
|
AutomationV2Unsub?: undefined;
|
|
775
776
|
SendTokenAndUnwrap?: undefined;
|
|
776
777
|
TransferNFT?: undefined;
|
|
@@ -933,7 +934,6 @@ declare const actionAddressesAllChains: {
|
|
|
933
934
|
CurveUsdLevCreateTransient?: undefined;
|
|
934
935
|
CurveUsdRepayTransient?: undefined;
|
|
935
936
|
MorphoTokenWrap?: undefined;
|
|
936
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
937
937
|
LlamaLendCreate?: undefined;
|
|
938
938
|
LlamaLendSupply?: undefined;
|
|
939
939
|
LlamaLendBorrow?: undefined;
|
|
@@ -1721,6 +1721,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1721
1721
|
MorphoBlueSetAuth: string;
|
|
1722
1722
|
MorphoBlueSetAuthWithSig: string;
|
|
1723
1723
|
MorphoBlueView: string;
|
|
1724
|
+
MorphoBlueReallocateLiquidity: string;
|
|
1724
1725
|
AutomationV2Unsub?: undefined;
|
|
1725
1726
|
SendTokenAndUnwrap?: undefined;
|
|
1726
1727
|
TransferNFT?: undefined;
|
|
@@ -1883,7 +1884,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1883
1884
|
CurveUsdLevCreateTransient?: undefined;
|
|
1884
1885
|
CurveUsdRepayTransient?: undefined;
|
|
1885
1886
|
MorphoTokenWrap?: undefined;
|
|
1886
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
1887
1887
|
LlamaLendCreate?: undefined;
|
|
1888
1888
|
LlamaLendSupply?: undefined;
|
|
1889
1889
|
LlamaLendBorrow?: undefined;
|
|
@@ -2814,6 +2814,7 @@ declare const _default: {
|
|
|
2814
2814
|
MorphoBlueSetAuth: string;
|
|
2815
2815
|
MorphoBlueSetAuthWithSig: string;
|
|
2816
2816
|
MorphoBlueView: string;
|
|
2817
|
+
MorphoBlueReallocateLiquidity: string;
|
|
2817
2818
|
AutomationV2Unsub?: undefined;
|
|
2818
2819
|
SendTokenAndUnwrap?: undefined;
|
|
2819
2820
|
TransferNFT?: undefined;
|
|
@@ -2976,7 +2977,6 @@ declare const _default: {
|
|
|
2976
2977
|
CurveUsdLevCreateTransient?: undefined;
|
|
2977
2978
|
CurveUsdRepayTransient?: undefined;
|
|
2978
2979
|
MorphoTokenWrap?: undefined;
|
|
2979
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
2980
2980
|
LlamaLendCreate?: undefined;
|
|
2981
2981
|
LlamaLendSupply?: undefined;
|
|
2982
2982
|
LlamaLendBorrow?: undefined;
|
|
@@ -3764,6 +3764,7 @@ declare const _default: {
|
|
|
3764
3764
|
MorphoBlueSetAuth: string;
|
|
3765
3765
|
MorphoBlueSetAuthWithSig: string;
|
|
3766
3766
|
MorphoBlueView: string;
|
|
3767
|
+
MorphoBlueReallocateLiquidity: string;
|
|
3767
3768
|
AutomationV2Unsub?: undefined;
|
|
3768
3769
|
SendTokenAndUnwrap?: undefined;
|
|
3769
3770
|
TransferNFT?: undefined;
|
|
@@ -3926,7 +3927,6 @@ declare const _default: {
|
|
|
3926
3927
|
CurveUsdLevCreateTransient?: undefined;
|
|
3927
3928
|
CurveUsdRepayTransient?: undefined;
|
|
3928
3929
|
MorphoTokenWrap?: undefined;
|
|
3929
|
-
MorphoBlueReallocateLiquidity?: undefined;
|
|
3930
3930
|
LlamaLendCreate?: undefined;
|
|
3931
3931
|
LlamaLendSupply?: undefined;
|
|
3932
3932
|
LlamaLendBorrow?: undefined;
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@ export class MorphoBlueReallocateLiquidityAction extends Action {
|
|
|
28
28
|
) {
|
|
29
29
|
super(
|
|
30
30
|
'MorphoBlueReallocateLiquidity',
|
|
31
|
-
getAddr('
|
|
31
|
+
getAddr('MorphoBlueReallocateLiquidity'),
|
|
32
32
|
[
|
|
33
33
|
['address', 'address', 'address', 'address', 'uint256'], // MarketParams
|
|
34
34
|
'address[]', // vaults
|
package/src/addresses.ts
CHANGED
|
@@ -496,6 +496,7 @@ export const actionAddresses = {
|
|
|
496
496
|
MorphoBlueSetAuth: '0xb565630c6ddd1fae169c453667f5aa52ef4e2e39',
|
|
497
497
|
MorphoBlueSetAuthWithSig: '0x80be65342f6172a6cd0b6a2653e8a887e3f46cab',
|
|
498
498
|
MorphoBlueView: '0xdbcacf59c5063da8b15481f88e7d70e13c92f2a1',
|
|
499
|
+
MorphoBlueReallocateLiquidity: '0x5Ea7F30E40F6A25BE2aD23A6FC1C31A6c95F3dc8',
|
|
499
500
|
},
|
|
500
501
|
};
|
|
501
502
|
|
package/umd/index.js
CHANGED
|
@@ -1726,7 +1726,8 @@ var actionAddresses = {
|
|
|
1726
1726
|
MorphoBluePayback: '0x245f9c1f8401f28da82afc50e4d242224991c4b3',
|
|
1727
1727
|
MorphoBlueSetAuth: '0xb565630c6ddd1fae169c453667f5aa52ef4e2e39',
|
|
1728
1728
|
MorphoBlueSetAuthWithSig: '0x80be65342f6172a6cd0b6a2653e8a887e3f46cab',
|
|
1729
|
-
MorphoBlueView: '0xdbcacf59c5063da8b15481f88e7d70e13c92f2a1'
|
|
1729
|
+
MorphoBlueView: '0xdbcacf59c5063da8b15481f88e7d70e13c92f2a1',
|
|
1730
|
+
MorphoBlueReallocateLiquidity: '0x5Ea7F30E40F6A25BE2aD23A6FC1C31A6c95F3dc8'
|
|
1730
1731
|
}
|
|
1731
1732
|
};
|
|
1732
1733
|
var otherAddresses = {
|
|
@@ -12801,7 +12802,7 @@ class MorphoBlueReallocateLiquidityAction extends _Action__WEBPACK_IMPORTED_MODU
|
|
|
12801
12802
|
* @param withdrawals - Array of withdrawals for each vault
|
|
12802
12803
|
*/
|
|
12803
12804
|
constructor(loanToken, collateralToken, oracle, irm, lltv, vaults, withdrawals) {
|
|
12804
|
-
super('MorphoBlueReallocateLiquidity', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('
|
|
12805
|
+
super('MorphoBlueReallocateLiquidity', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('MorphoBlueReallocateLiquidity'), [['address', 'address', 'address', 'address', 'uint256'],
|
|
12805
12806
|
// MarketParams
|
|
12806
12807
|
'address[]',
|
|
12807
12808
|
// vaults
|