@defisaver/sdk 1.3.14-dev-morpho-2 → 1.3.15
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/Recipe.js +1 -1
- package/esm/src/addresses.d.ts +5 -0
- package/esm/src/addresses.js +15 -11
- package/esm/src/index.d.ts +20 -0
- package/package.json +1 -1
- package/src/Recipe.ts +1 -1
- package/src/addresses.ts +15 -11
- package/umd/index.js +16 -12
package/esm/src/Recipe.js
CHANGED
|
@@ -119,7 +119,7 @@ export class Recipe {
|
|
|
119
119
|
data.shouldTakeFeeFromPosition,
|
|
120
120
|
];
|
|
121
121
|
return [
|
|
122
|
-
|
|
122
|
+
getAddr('RecipeExecutorForTxSaver', CONFIG.chainId),
|
|
123
123
|
// @ts-expect-error Interface of AbiCoder is wrong :(
|
|
124
124
|
AbiCoder.encodeFunctionCall(executeTaskAbi, [encodedRecipe, encodedTxSaverData]),
|
|
125
125
|
];
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -1685,6 +1685,7 @@ export declare const actionAddresses: {
|
|
|
1685
1685
|
export declare const otherAddresses: {
|
|
1686
1686
|
[x: number]: {
|
|
1687
1687
|
RecipeExecutor: string;
|
|
1688
|
+
RecipeExecutorForTxSaver: string;
|
|
1688
1689
|
DFSRegistry: string;
|
|
1689
1690
|
DFSProxyRegistry: string;
|
|
1690
1691
|
ProxyRegistry: string;
|
|
@@ -1706,6 +1707,7 @@ export declare const otherAddresses: {
|
|
|
1706
1707
|
DefisaverLogger?: undefined;
|
|
1707
1708
|
} | {
|
|
1708
1709
|
RecipeExecutor: string;
|
|
1710
|
+
RecipeExecutorForTxSaver: string;
|
|
1709
1711
|
DFSRegistry: string;
|
|
1710
1712
|
ProxyRegistry: string;
|
|
1711
1713
|
DSGuardFactory: string;
|
|
@@ -1727,6 +1729,7 @@ export declare const otherAddresses: {
|
|
|
1727
1729
|
BLUSD?: undefined;
|
|
1728
1730
|
} | {
|
|
1729
1731
|
RecipeExecutor: string;
|
|
1732
|
+
RecipeExecutorForTxSaver: string;
|
|
1730
1733
|
DFSRegistry: string;
|
|
1731
1734
|
ProxyRegistry: string;
|
|
1732
1735
|
DSGuardFactory: string;
|
|
@@ -1753,6 +1756,7 @@ export declare const otherAddresses: {
|
|
|
1753
1756
|
AdminVault: string;
|
|
1754
1757
|
DefisaverLogger: string;
|
|
1755
1758
|
Empty: string;
|
|
1759
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
1756
1760
|
DFSProxyRegistry?: undefined;
|
|
1757
1761
|
ProxyRegistry?: undefined;
|
|
1758
1762
|
McdCdpManager?: undefined;
|
|
@@ -1773,6 +1777,7 @@ export declare const otherAddresses: {
|
|
|
1773
1777
|
AdminVault: string;
|
|
1774
1778
|
DefisaverLogger: string;
|
|
1775
1779
|
Empty: string;
|
|
1780
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
1776
1781
|
DFSProxyRegistry?: undefined;
|
|
1777
1782
|
ProxyRegistry?: undefined;
|
|
1778
1783
|
McdCdpManager?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -131,7 +131,7 @@ export const actionAddresses = {
|
|
|
131
131
|
FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
|
|
132
132
|
FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
|
|
133
133
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
134
|
-
FLAction: '
|
|
134
|
+
FLAction: '0x7A0f3963c666d4549e5909a7162B560abF9f006D',
|
|
135
135
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
136
136
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
137
137
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -355,7 +355,7 @@ export const actionAddresses = {
|
|
|
355
355
|
FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
|
|
356
356
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
357
357
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
358
|
-
FLAction: '
|
|
358
|
+
FLAction: '0x13663f7f852dFa7ec6517B5F3B0caabDBd9bf049',
|
|
359
359
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
360
360
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
361
361
|
AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
|
|
@@ -422,9 +422,9 @@ export const actionAddresses = {
|
|
|
422
422
|
FLAaveV3NoFee: '0x219ac6dA971dE6d943cffD1BD62abde71525d382',
|
|
423
423
|
FLAaveV3: '0x53953aCEe438c083e4299F7976f03Ff3cb862161',
|
|
424
424
|
FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
|
|
425
|
-
FLUniV3: '
|
|
426
|
-
FLAction: '
|
|
427
|
-
FLMorphoBlue: '
|
|
425
|
+
FLUniV3: '0x6AD754298a902320919cbA7a633a222d56D4b83B',
|
|
426
|
+
FLAction: '0x6AD754298a902320919cbA7a633a222d56D4b83B',
|
|
427
|
+
FLMorphoBlue: '0x6AD754298a902320919cbA7a633a222d56D4b83B',
|
|
428
428
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
429
429
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
430
430
|
// uniswap V3
|
|
@@ -499,8 +499,8 @@ export const actionAddresses = {
|
|
|
499
499
|
FLAaveV3: '0x79Eb9cEe432Cd3e7b09A9eFdB21A733A6d7b4c3A',
|
|
500
500
|
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
501
501
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
502
|
-
FLAction: '
|
|
503
|
-
FLMorphoBlue: '
|
|
502
|
+
FLAction: '0xDA86B4c61A545a4b217746ba43C8157f0Ec612c7',
|
|
503
|
+
FLMorphoBlue: '0xDA86B4c61A545a4b217746ba43C8157f0Ec612c7',
|
|
504
504
|
// AaveV3
|
|
505
505
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
506
506
|
AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
@@ -636,7 +636,8 @@ export const actionAddresses = {
|
|
|
636
636
|
};
|
|
637
637
|
export const otherAddresses = {
|
|
638
638
|
[NETWORKS.ethereum.chainId]: {
|
|
639
|
-
RecipeExecutor: '
|
|
639
|
+
RecipeExecutor: '0x4677c84699ab29637102609cD2868d0743a48DdF',
|
|
640
|
+
RecipeExecutorForTxSaver: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
640
641
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
641
642
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
642
643
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -655,7 +656,8 @@ export const otherAddresses = {
|
|
|
655
656
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
656
657
|
},
|
|
657
658
|
[NETWORKS.optimism.chainId]: {
|
|
658
|
-
RecipeExecutor: '
|
|
659
|
+
RecipeExecutor: '0x30CEf36b14Dd71A347284204C48E134D04c24331',
|
|
660
|
+
RecipeExecutorForTxSaver: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
|
|
659
661
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
660
662
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
661
663
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
@@ -665,7 +667,8 @@ export const otherAddresses = {
|
|
|
665
667
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
666
668
|
},
|
|
667
669
|
[NETWORKS.arbitrum.chainId]: {
|
|
668
|
-
RecipeExecutor: '
|
|
670
|
+
RecipeExecutor: '0x6927F7Dc79B4215F307e6c1C4d5883d134053BAB',
|
|
671
|
+
RecipeExecutorForTxSaver: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
669
672
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
670
673
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
671
674
|
DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
|
|
@@ -675,7 +678,8 @@ export const otherAddresses = {
|
|
|
675
678
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
676
679
|
},
|
|
677
680
|
[NETWORKS.base.chainId]: {
|
|
678
|
-
RecipeExecutor: '
|
|
681
|
+
RecipeExecutor: '0x7De85e67745a027D41Aba5Fe2D9b288e6467d710',
|
|
682
|
+
RecipeExecutorForTxSaver: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
679
683
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
680
684
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
681
685
|
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -3377,6 +3377,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3377
3377
|
declare const otherAddressesAllChains: {
|
|
3378
3378
|
[x: number]: {
|
|
3379
3379
|
RecipeExecutor: string;
|
|
3380
|
+
RecipeExecutorForTxSaver: string;
|
|
3380
3381
|
DFSRegistry: string;
|
|
3381
3382
|
DFSProxyRegistry: string;
|
|
3382
3383
|
ProxyRegistry: string;
|
|
@@ -3398,6 +3399,7 @@ declare const otherAddressesAllChains: {
|
|
|
3398
3399
|
DefisaverLogger?: undefined;
|
|
3399
3400
|
} | {
|
|
3400
3401
|
RecipeExecutor: string;
|
|
3402
|
+
RecipeExecutorForTxSaver: string;
|
|
3401
3403
|
DFSRegistry: string;
|
|
3402
3404
|
ProxyRegistry: string;
|
|
3403
3405
|
DSGuardFactory: string;
|
|
@@ -3419,6 +3421,7 @@ declare const otherAddressesAllChains: {
|
|
|
3419
3421
|
BLUSD?: undefined;
|
|
3420
3422
|
} | {
|
|
3421
3423
|
RecipeExecutor: string;
|
|
3424
|
+
RecipeExecutorForTxSaver: string;
|
|
3422
3425
|
DFSRegistry: string;
|
|
3423
3426
|
ProxyRegistry: string;
|
|
3424
3427
|
DSGuardFactory: string;
|
|
@@ -3445,6 +3448,7 @@ declare const otherAddressesAllChains: {
|
|
|
3445
3448
|
AdminVault: string;
|
|
3446
3449
|
DefisaverLogger: string;
|
|
3447
3450
|
Empty: string;
|
|
3451
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
3448
3452
|
DFSProxyRegistry?: undefined;
|
|
3449
3453
|
ProxyRegistry?: undefined;
|
|
3450
3454
|
McdCdpManager?: undefined;
|
|
@@ -3465,6 +3469,7 @@ declare const otherAddressesAllChains: {
|
|
|
3465
3469
|
AdminVault: string;
|
|
3466
3470
|
DefisaverLogger: string;
|
|
3467
3471
|
Empty: string;
|
|
3472
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
3468
3473
|
DFSProxyRegistry?: undefined;
|
|
3469
3474
|
ProxyRegistry?: undefined;
|
|
3470
3475
|
McdCdpManager?: undefined;
|
|
@@ -3484,6 +3489,7 @@ declare const otherAddressesAllChains: {
|
|
|
3484
3489
|
};
|
|
3485
3490
|
declare const otherAddresses: (chainId?: null) => {
|
|
3486
3491
|
RecipeExecutor: string;
|
|
3492
|
+
RecipeExecutorForTxSaver: string;
|
|
3487
3493
|
DFSRegistry: string;
|
|
3488
3494
|
DFSProxyRegistry: string;
|
|
3489
3495
|
ProxyRegistry: string;
|
|
@@ -3505,6 +3511,7 @@ declare const otherAddresses: (chainId?: null) => {
|
|
|
3505
3511
|
DefisaverLogger?: undefined;
|
|
3506
3512
|
} | {
|
|
3507
3513
|
RecipeExecutor: string;
|
|
3514
|
+
RecipeExecutorForTxSaver: string;
|
|
3508
3515
|
DFSRegistry: string;
|
|
3509
3516
|
ProxyRegistry: string;
|
|
3510
3517
|
DSGuardFactory: string;
|
|
@@ -3526,6 +3533,7 @@ declare const otherAddresses: (chainId?: null) => {
|
|
|
3526
3533
|
BLUSD?: undefined;
|
|
3527
3534
|
} | {
|
|
3528
3535
|
RecipeExecutor: string;
|
|
3536
|
+
RecipeExecutorForTxSaver: string;
|
|
3529
3537
|
DFSRegistry: string;
|
|
3530
3538
|
ProxyRegistry: string;
|
|
3531
3539
|
DSGuardFactory: string;
|
|
@@ -3552,6 +3560,7 @@ declare const otherAddresses: (chainId?: null) => {
|
|
|
3552
3560
|
AdminVault: string;
|
|
3553
3561
|
DefisaverLogger: string;
|
|
3554
3562
|
Empty: string;
|
|
3563
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
3555
3564
|
DFSProxyRegistry?: undefined;
|
|
3556
3565
|
ProxyRegistry?: undefined;
|
|
3557
3566
|
McdCdpManager?: undefined;
|
|
@@ -3572,6 +3581,7 @@ declare const otherAddresses: (chainId?: null) => {
|
|
|
3572
3581
|
AdminVault: string;
|
|
3573
3582
|
DefisaverLogger: string;
|
|
3574
3583
|
Empty: string;
|
|
3584
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
3575
3585
|
DFSProxyRegistry?: undefined;
|
|
3576
3586
|
ProxyRegistry?: undefined;
|
|
3577
3587
|
McdCdpManager?: undefined;
|
|
@@ -6968,6 +6978,7 @@ declare const _default: {
|
|
|
6968
6978
|
};
|
|
6969
6979
|
otherAddresses: (chainId?: null) => {
|
|
6970
6980
|
RecipeExecutor: string;
|
|
6981
|
+
RecipeExecutorForTxSaver: string;
|
|
6971
6982
|
DFSRegistry: string;
|
|
6972
6983
|
DFSProxyRegistry: string;
|
|
6973
6984
|
ProxyRegistry: string;
|
|
@@ -6989,6 +7000,7 @@ declare const _default: {
|
|
|
6989
7000
|
DefisaverLogger?: undefined;
|
|
6990
7001
|
} | {
|
|
6991
7002
|
RecipeExecutor: string;
|
|
7003
|
+
RecipeExecutorForTxSaver: string;
|
|
6992
7004
|
DFSRegistry: string;
|
|
6993
7005
|
ProxyRegistry: string;
|
|
6994
7006
|
DSGuardFactory: string;
|
|
@@ -7010,6 +7022,7 @@ declare const _default: {
|
|
|
7010
7022
|
BLUSD?: undefined;
|
|
7011
7023
|
} | {
|
|
7012
7024
|
RecipeExecutor: string;
|
|
7025
|
+
RecipeExecutorForTxSaver: string;
|
|
7013
7026
|
DFSRegistry: string;
|
|
7014
7027
|
ProxyRegistry: string;
|
|
7015
7028
|
DSGuardFactory: string;
|
|
@@ -7036,6 +7049,7 @@ declare const _default: {
|
|
|
7036
7049
|
AdminVault: string;
|
|
7037
7050
|
DefisaverLogger: string;
|
|
7038
7051
|
Empty: string;
|
|
7052
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
7039
7053
|
DFSProxyRegistry?: undefined;
|
|
7040
7054
|
ProxyRegistry?: undefined;
|
|
7041
7055
|
McdCdpManager?: undefined;
|
|
@@ -7056,6 +7070,7 @@ declare const _default: {
|
|
|
7056
7070
|
AdminVault: string;
|
|
7057
7071
|
DefisaverLogger: string;
|
|
7058
7072
|
Empty: string;
|
|
7073
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
7059
7074
|
DFSProxyRegistry?: undefined;
|
|
7060
7075
|
ProxyRegistry?: undefined;
|
|
7061
7076
|
McdCdpManager?: undefined;
|
|
@@ -7075,6 +7090,7 @@ declare const _default: {
|
|
|
7075
7090
|
otherAddressesAllChains: {
|
|
7076
7091
|
[x: number]: {
|
|
7077
7092
|
RecipeExecutor: string;
|
|
7093
|
+
RecipeExecutorForTxSaver: string;
|
|
7078
7094
|
DFSRegistry: string;
|
|
7079
7095
|
DFSProxyRegistry: string;
|
|
7080
7096
|
ProxyRegistry: string;
|
|
@@ -7096,6 +7112,7 @@ declare const _default: {
|
|
|
7096
7112
|
DefisaverLogger?: undefined;
|
|
7097
7113
|
} | {
|
|
7098
7114
|
RecipeExecutor: string;
|
|
7115
|
+
RecipeExecutorForTxSaver: string;
|
|
7099
7116
|
DFSRegistry: string;
|
|
7100
7117
|
ProxyRegistry: string;
|
|
7101
7118
|
DSGuardFactory: string;
|
|
@@ -7117,6 +7134,7 @@ declare const _default: {
|
|
|
7117
7134
|
BLUSD?: undefined;
|
|
7118
7135
|
} | {
|
|
7119
7136
|
RecipeExecutor: string;
|
|
7137
|
+
RecipeExecutorForTxSaver: string;
|
|
7120
7138
|
DFSRegistry: string;
|
|
7121
7139
|
ProxyRegistry: string;
|
|
7122
7140
|
DSGuardFactory: string;
|
|
@@ -7143,6 +7161,7 @@ declare const _default: {
|
|
|
7143
7161
|
AdminVault: string;
|
|
7144
7162
|
DefisaverLogger: string;
|
|
7145
7163
|
Empty: string;
|
|
7164
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
7146
7165
|
DFSProxyRegistry?: undefined;
|
|
7147
7166
|
ProxyRegistry?: undefined;
|
|
7148
7167
|
McdCdpManager?: undefined;
|
|
@@ -7163,6 +7182,7 @@ declare const _default: {
|
|
|
7163
7182
|
AdminVault: string;
|
|
7164
7183
|
DefisaverLogger: string;
|
|
7165
7184
|
Empty: string;
|
|
7185
|
+
RecipeExecutorForTxSaver?: undefined;
|
|
7166
7186
|
DFSProxyRegistry?: undefined;
|
|
7167
7187
|
ProxyRegistry?: undefined;
|
|
7168
7188
|
McdCdpManager?: undefined;
|
package/package.json
CHANGED
package/src/Recipe.ts
CHANGED
|
@@ -143,7 +143,7 @@ export class Recipe {
|
|
|
143
143
|
data.shouldTakeFeeFromPosition,
|
|
144
144
|
];
|
|
145
145
|
return [
|
|
146
|
-
|
|
146
|
+
getAddr('RecipeExecutorForTxSaver', CONFIG.chainId),
|
|
147
147
|
// @ts-expect-error Interface of AbiCoder is wrong :(
|
|
148
148
|
AbiCoder.encodeFunctionCall(executeTaskAbi, [encodedRecipe, encodedTxSaverData]),
|
|
149
149
|
];
|
package/src/addresses.ts
CHANGED
|
@@ -144,7 +144,7 @@ export const actionAddresses = {
|
|
|
144
144
|
FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
|
|
145
145
|
FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
|
|
146
146
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
147
|
-
FLAction: '
|
|
147
|
+
FLAction: '0x7A0f3963c666d4549e5909a7162B560abF9f006D',
|
|
148
148
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
149
149
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
150
150
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -405,7 +405,7 @@ export const actionAddresses = {
|
|
|
405
405
|
FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
|
|
406
406
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
407
407
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
408
|
-
FLAction: '
|
|
408
|
+
FLAction: '0x13663f7f852dFa7ec6517B5F3B0caabDBd9bf049',
|
|
409
409
|
|
|
410
410
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
411
411
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
@@ -480,9 +480,9 @@ export const actionAddresses = {
|
|
|
480
480
|
FLAaveV3NoFee: '0x219ac6dA971dE6d943cffD1BD62abde71525d382',
|
|
481
481
|
FLAaveV3: '0x53953aCEe438c083e4299F7976f03Ff3cb862161',
|
|
482
482
|
FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
|
|
483
|
-
FLUniV3: '
|
|
484
|
-
FLAction: '
|
|
485
|
-
FLMorphoBlue: '
|
|
483
|
+
FLUniV3: '0x6AD754298a902320919cbA7a633a222d56D4b83B', // @DEV - incorrect, same as FLAction
|
|
484
|
+
FLAction: '0x6AD754298a902320919cbA7a633a222d56D4b83B',
|
|
485
|
+
FLMorphoBlue: '0x6AD754298a902320919cbA7a633a222d56D4b83B',
|
|
486
486
|
|
|
487
487
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
488
488
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
@@ -565,8 +565,8 @@ export const actionAddresses = {
|
|
|
565
565
|
FLAaveV3: '0x79Eb9cEe432Cd3e7b09A9eFdB21A733A6d7b4c3A',
|
|
566
566
|
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
567
567
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
568
|
-
FLAction: '
|
|
569
|
-
FLMorphoBlue: '
|
|
568
|
+
FLAction: '0xDA86B4c61A545a4b217746ba43C8157f0Ec612c7', // fix temp
|
|
569
|
+
FLMorphoBlue: '0xDA86B4c61A545a4b217746ba43C8157f0Ec612c7',
|
|
570
570
|
|
|
571
571
|
// AaveV3
|
|
572
572
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
@@ -714,7 +714,8 @@ export const actionAddresses = {
|
|
|
714
714
|
|
|
715
715
|
export const otherAddresses = {
|
|
716
716
|
[NETWORKS.ethereum.chainId]: {
|
|
717
|
-
RecipeExecutor: '
|
|
717
|
+
RecipeExecutor: '0x4677c84699ab29637102609cD2868d0743a48DdF',
|
|
718
|
+
RecipeExecutorForTxSaver: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
718
719
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
719
720
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
720
721
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -734,7 +735,8 @@ export const otherAddresses = {
|
|
|
734
735
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
735
736
|
},
|
|
736
737
|
[NETWORKS.optimism.chainId]: {
|
|
737
|
-
RecipeExecutor: '
|
|
738
|
+
RecipeExecutor: '0x30CEf36b14Dd71A347284204C48E134D04c24331',
|
|
739
|
+
RecipeExecutorForTxSaver: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
|
|
738
740
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
739
741
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
740
742
|
|
|
@@ -746,7 +748,8 @@ export const otherAddresses = {
|
|
|
746
748
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
747
749
|
},
|
|
748
750
|
[NETWORKS.arbitrum.chainId]: {
|
|
749
|
-
RecipeExecutor: '
|
|
751
|
+
RecipeExecutor: '0x6927F7Dc79B4215F307e6c1C4d5883d134053BAB',
|
|
752
|
+
RecipeExecutorForTxSaver: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
750
753
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
751
754
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
752
755
|
|
|
@@ -758,7 +761,8 @@ export const otherAddresses = {
|
|
|
758
761
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
759
762
|
},
|
|
760
763
|
[NETWORKS.base.chainId]: {
|
|
761
|
-
RecipeExecutor: '
|
|
764
|
+
RecipeExecutor: '0x7De85e67745a027D41Aba5Fe2D9b288e6467d710',
|
|
765
|
+
RecipeExecutorForTxSaver: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
762
766
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
763
767
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
764
768
|
|
package/umd/index.js
CHANGED
|
@@ -1200,7 +1200,7 @@ class Recipe {
|
|
|
1200
1200
|
});
|
|
1201
1201
|
var encodedRecipe = _assertClassBrand(_Recipe_brand, this, _encodeForCall).call(this)[0];
|
|
1202
1202
|
var encodedTxSaverData = [data.maxTxCostInFeeToken, data.feeToken, data.tokenPriceInEth, data.deadline, data.shouldTakeFeeFromPosition];
|
|
1203
|
-
return [
|
|
1203
|
+
return [(0,_addresses__WEBPACK_IMPORTED_MODULE_4__.getAddr)('RecipeExecutorForTxSaver', _config__WEBPACK_IMPORTED_MODULE_6__.CONFIG.chainId),
|
|
1204
1204
|
// @ts-expect-error Interface of AbiCoder is wrong :(
|
|
1205
1205
|
web3_eth_abi__WEBPACK_IMPORTED_MODULE_0___default().encodeFunctionCall(executeTaskAbi, [encodedRecipe, encodedTxSaverData])];
|
|
1206
1206
|
}
|
|
@@ -1444,7 +1444,7 @@ var actionAddresses = {
|
|
|
1444
1444
|
FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
|
|
1445
1445
|
FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
|
|
1446
1446
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
1447
|
-
FLAction: '
|
|
1447
|
+
FLAction: '0x7A0f3963c666d4549e5909a7162B560abF9f006D',
|
|
1448
1448
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
1449
1449
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
1450
1450
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -1668,7 +1668,7 @@ var actionAddresses = {
|
|
|
1668
1668
|
FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
|
|
1669
1669
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
1670
1670
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
1671
|
-
FLAction: '
|
|
1671
|
+
FLAction: '0x13663f7f852dFa7ec6517B5F3B0caabDBd9bf049',
|
|
1672
1672
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
1673
1673
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
1674
1674
|
AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
|
|
@@ -1735,10 +1735,10 @@ var actionAddresses = {
|
|
|
1735
1735
|
FLAaveV3NoFee: '0x219ac6dA971dE6d943cffD1BD62abde71525d382',
|
|
1736
1736
|
FLAaveV3: '0x53953aCEe438c083e4299F7976f03Ff3cb862161',
|
|
1737
1737
|
FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
|
|
1738
|
-
FLUniV3: '
|
|
1738
|
+
FLUniV3: '0x6AD754298a902320919cbA7a633a222d56D4b83B',
|
|
1739
1739
|
// @DEV - incorrect, same as FLAction
|
|
1740
|
-
FLAction: '
|
|
1741
|
-
FLMorphoBlue: '
|
|
1740
|
+
FLAction: '0x6AD754298a902320919cbA7a633a222d56D4b83B',
|
|
1741
|
+
FLMorphoBlue: '0x6AD754298a902320919cbA7a633a222d56D4b83B',
|
|
1742
1742
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
1743
1743
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
1744
1744
|
// uniswap V3
|
|
@@ -1813,9 +1813,9 @@ var actionAddresses = {
|
|
|
1813
1813
|
FLAaveV3: '0x79Eb9cEe432Cd3e7b09A9eFdB21A733A6d7b4c3A',
|
|
1814
1814
|
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
1815
1815
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
1816
|
-
FLAction: '
|
|
1816
|
+
FLAction: '0xDA86B4c61A545a4b217746ba43C8157f0Ec612c7',
|
|
1817
1817
|
// fix temp
|
|
1818
|
-
FLMorphoBlue: '
|
|
1818
|
+
FLMorphoBlue: '0xDA86B4c61A545a4b217746ba43C8157f0Ec612c7',
|
|
1819
1819
|
// AaveV3
|
|
1820
1820
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
1821
1821
|
AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
@@ -1953,7 +1953,8 @@ var actionAddresses = {
|
|
|
1953
1953
|
};
|
|
1954
1954
|
var otherAddresses = {
|
|
1955
1955
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.ethereum.chainId]: {
|
|
1956
|
-
RecipeExecutor: '
|
|
1956
|
+
RecipeExecutor: '0x4677c84699ab29637102609cD2868d0743a48DdF',
|
|
1957
|
+
RecipeExecutorForTxSaver: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
1957
1958
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
1958
1959
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
1959
1960
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -1972,7 +1973,8 @@ var otherAddresses = {
|
|
|
1972
1973
|
Empty: '0x0000000000000000000000000000000000000000'
|
|
1973
1974
|
},
|
|
1974
1975
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1975
|
-
RecipeExecutor: '
|
|
1976
|
+
RecipeExecutor: '0x30CEf36b14Dd71A347284204C48E134D04c24331',
|
|
1977
|
+
RecipeExecutorForTxSaver: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
|
|
1976
1978
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
1977
1979
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
1978
1980
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
@@ -1982,7 +1984,8 @@ var otherAddresses = {
|
|
|
1982
1984
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
|
|
1983
1985
|
},
|
|
1984
1986
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.arbitrum.chainId]: {
|
|
1985
|
-
RecipeExecutor: '
|
|
1987
|
+
RecipeExecutor: '0x6927F7Dc79B4215F307e6c1C4d5883d134053BAB',
|
|
1988
|
+
RecipeExecutorForTxSaver: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
1986
1989
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
1987
1990
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
1988
1991
|
DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
|
|
@@ -1992,7 +1995,8 @@ var otherAddresses = {
|
|
|
1992
1995
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
|
|
1993
1996
|
},
|
|
1994
1997
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1995
|
-
RecipeExecutor: '
|
|
1998
|
+
RecipeExecutor: '0x7De85e67745a027D41Aba5Fe2D9b288e6467d710',
|
|
1999
|
+
RecipeExecutorForTxSaver: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
1996
2000
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
1997
2001
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
1998
2002
|
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|