@defisaver/sdk 1.3.15 → 1.3.17
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/summerfi/SummerfiUnsubAction.d.ts +12 -0
- package/esm/src/actions/summerfi/SummerfiUnsubAction.js +18 -0
- package/esm/src/actions/summerfi/SummerfiUnsubV2Action.d.ts +13 -0
- package/esm/src/actions/summerfi/SummerfiUnsubV2Action.js +20 -0
- package/esm/src/actions/summerfi/index.d.ts +2 -0
- package/esm/src/actions/summerfi/index.js +2 -0
- package/esm/src/addresses.d.ts +17 -0
- package/esm/src/addresses.js +23 -11
- package/esm/src/index.d.ts +68 -0
- package/package.json +1 -1
- package/src/actions/summerfi/SummerfiUnsubAction.ts +28 -0
- package/src/actions/summerfi/SummerfiUnsubV2Action.ts +31 -0
- package/src/actions/summerfi/index.ts +2 -0
- package/src/addresses.ts +99 -49
- package/umd/index.js +334 -260
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
import { uint256 } from '../../types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @category Summerfi
|
|
7
|
+
*/
|
|
8
|
+
export class SummerfiUnsubAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param cdpIds Array of CDP IDs to remove approval for
|
|
11
|
+
* @param triggerIds Array of Trigger IDs that correspond to CDP IDs
|
|
12
|
+
*/
|
|
13
|
+
constructor(
|
|
14
|
+
cdpIds: uint256[],
|
|
15
|
+
triggerIds: uint256[],
|
|
16
|
+
) {
|
|
17
|
+
super(
|
|
18
|
+
'SummerfiUnsub',
|
|
19
|
+
getAddr('SummerfiUnsub'),
|
|
20
|
+
['uint256[]', 'uint256[]'],
|
|
21
|
+
[cdpIds, triggerIds],
|
|
22
|
+
);
|
|
23
|
+
this.mappableArgs = [
|
|
24
|
+
this.args[0],
|
|
25
|
+
this.args[1],
|
|
26
|
+
];
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
import { uint256 } from '../../types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @category Summerfi
|
|
7
|
+
*/
|
|
8
|
+
export class SummerfiUnsubV2Action extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param triggerIds Array of trigger ID arrays to remove
|
|
11
|
+
* @param triggerData Array of trigger data arrays (must match triggerIds length)
|
|
12
|
+
* @param removeAllowance Array of booleans indicating whether to remove allowance for each trigger group
|
|
13
|
+
*/
|
|
14
|
+
constructor(
|
|
15
|
+
triggerIds: uint256[][],
|
|
16
|
+
triggerData: string[][],
|
|
17
|
+
removeAllowance: boolean[],
|
|
18
|
+
) {
|
|
19
|
+
super(
|
|
20
|
+
'SummerfiUnsubV2',
|
|
21
|
+
getAddr('SummerfiUnsubV2'),
|
|
22
|
+
['uint256[][]', 'bytes[][]', 'bool[]'],
|
|
23
|
+
[triggerIds, triggerData, removeAllowance],
|
|
24
|
+
);
|
|
25
|
+
this.mappableArgs = [
|
|
26
|
+
this.args[0],
|
|
27
|
+
this.args[1],
|
|
28
|
+
this.args[2],
|
|
29
|
+
];
|
|
30
|
+
}
|
|
31
|
+
}
|
package/src/addresses.ts
CHANGED
|
@@ -35,10 +35,13 @@ export const actionAddresses = {
|
|
|
35
35
|
SkyUnstake: '0x4b6d3A01465fa88D7D596333D15832434a568452',
|
|
36
36
|
SkyClaimRewards: '0x8A2A23DfC0CD1738bD4408F1668E2B12ACD95369',
|
|
37
37
|
SkyStakingEngineOpen: '0x7F7669d926beeba495e8D97C6DAF6C000F05AEC0',
|
|
38
|
-
SkyStakingEngineSelectFarm:
|
|
38
|
+
SkyStakingEngineSelectFarm:
|
|
39
|
+
'0x44fe1615294E9D50faeb690D2a944EAF8B500892',
|
|
39
40
|
SkyStakingEngineStake: '0xBb7F34F8A7809Ffe0775D13a783fE885EBB9aea5',
|
|
40
|
-
SkyStakingEngineUnstake:
|
|
41
|
-
|
|
41
|
+
SkyStakingEngineUnstake:
|
|
42
|
+
'0x5456F09bBbBDB6bFad50A22256bAC7f3DDaab121',
|
|
43
|
+
SkyStakingEngineClaimRewards:
|
|
44
|
+
'0x0aF3F032A8544c63c35FD2995be8EE2Df68d2c21',
|
|
42
45
|
|
|
43
46
|
// maker
|
|
44
47
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
@@ -59,12 +62,16 @@ export const actionAddresses = {
|
|
|
59
62
|
ReflexerPayback: '0xdAa3963798C2E3F5c16AAcc9114fc727C450d0cb',
|
|
60
63
|
ReflexerGenerate: '0x8e8Fd178A5FAE3A29F9CB1A06aBBBCFd5B83beb7',
|
|
61
64
|
ReflexerOpen: '0x4704a7cBd4d913d1233765B70531D601b4384011',
|
|
62
|
-
ReflexerWithdrawStuckFunds:
|
|
65
|
+
ReflexerWithdrawStuckFunds:
|
|
66
|
+
'0x64759d064aaA1f9Ac7A458520Aad06128Da9b7b8',
|
|
63
67
|
|
|
64
68
|
// not deployed as currently not used
|
|
65
|
-
ReflexerNativeUniV2SaviourDeposit:
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
ReflexerNativeUniV2SaviourDeposit:
|
|
70
|
+
'0x0000000000000000000000000000000000000000',
|
|
71
|
+
ReflexerNativeUniV2SaviourGetReserves:
|
|
72
|
+
'0x0000000000000000000000000000000000000000',
|
|
73
|
+
ReflexerNativeUniV2SaviourWithdraw:
|
|
74
|
+
'0x0000000000000000000000000000000000000000',
|
|
68
75
|
|
|
69
76
|
// aave
|
|
70
77
|
AaveBorrow: '0x1B95E800a869bc3F89914470a7901D93D1401cD1',
|
|
@@ -77,7 +84,8 @@ export const actionAddresses = {
|
|
|
77
84
|
AaveClaimStkAave: '0x5Dcd9Dc0185a6Ab07a31e5284D16Ce9f0A79Ce99',
|
|
78
85
|
// aave v3
|
|
79
86
|
AaveV3Withdraw: '0x9D4e4b26A5E2e6Dad30C5d95F5cE78A8310F04C2',
|
|
80
|
-
AaveV3SwapBorrowRateMode:
|
|
87
|
+
AaveV3SwapBorrowRateMode:
|
|
88
|
+
'0x630F530Ac523C935cf2528E62D0A06F8900C5b1B',
|
|
81
89
|
AaveV3Supply: '0x91b3fCCEA2f2e0622Cc1fb54E12f5ac5aAa55a87',
|
|
82
90
|
AaveV3SetEMode: '0xBe7F735d7955e0461579E34266f41F928AE06D78',
|
|
83
91
|
AaveV3Payback: '0xe29265217D65F5a2ae41972E09C13E107D049004',
|
|
@@ -120,7 +128,8 @@ export const actionAddresses = {
|
|
|
120
128
|
SparkSetEMode: '0x2252a83Da69A237686eD9AC07a38DDA74ec7cE5f',
|
|
121
129
|
SparkSpTokenPayback: '0x57403bB33A4829EBf5935D39eD08F19282F61d9c',
|
|
122
130
|
SparkSupply: '0xD10608B45718437082B9aF5DdC498080ad63Ac9E',
|
|
123
|
-
SparkSwapBorrowRateMode:
|
|
131
|
+
SparkSwapBorrowRateMode:
|
|
132
|
+
'0x71B0687C7ec0286dc3cfb715fe97249604aC898f',
|
|
124
133
|
SparkWithdraw: '0x1e3187D89e79B5c411D710E0fdF2709517852600',
|
|
125
134
|
SparkDelegateCredit: '0x0000000000000000000000000000000000000000',
|
|
126
135
|
SparkDelegateWithSig: '0xDaDC0a8B6359487257B91347064534c4B3fAc515',
|
|
@@ -144,7 +153,7 @@ export const actionAddresses = {
|
|
|
144
153
|
FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
|
|
145
154
|
FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
|
|
146
155
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
147
|
-
FLAction: '
|
|
156
|
+
FLAction: '0xE78C05c508405207ecc256781B9415e6De1c8336',
|
|
148
157
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
149
158
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
150
159
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -195,15 +204,19 @@ export const actionAddresses = {
|
|
|
195
204
|
LiquityV2Payback: '0x902cebdbF9ed3EC434C2246CDace1c825F0d5110',
|
|
196
205
|
LiquityV2Claim: '0x1b5a0c2573A1692bB183cC5d6f506e108c0599FC',
|
|
197
206
|
LiquityV2Adjust: '0x3BbC88f3b75cB898395C9b5AE8D9c2a26744993b',
|
|
198
|
-
LiquityV2AdjustInterestRate:
|
|
207
|
+
LiquityV2AdjustInterestRate:
|
|
208
|
+
'0x685f0237D8b85B2018278E975a481b0650dE0b54',
|
|
199
209
|
LiquityV2SPDeposit: '0x73FF552646A7D93764Ff8D1F9e7662c422E715ef',
|
|
200
210
|
LiquityV2SPWithdraw: '0x8E8a4213745Ed68b3fce9d1500f563d885D02FDf',
|
|
201
211
|
LiquityV2SPClaimColl: '0x3f783de20C3095bcB999AEA999aF4DF184b6630f',
|
|
202
|
-
LiquityV2AdjustZombieTrove:
|
|
212
|
+
LiquityV2AdjustZombieTrove:
|
|
213
|
+
'0x45F5CEe8f89AdBCe4f5B20f38a49402b152ba99e',
|
|
203
214
|
|
|
204
215
|
// b.protocol
|
|
205
|
-
BprotocolLiquitySPDeposit:
|
|
206
|
-
|
|
216
|
+
BprotocolLiquitySPDeposit:
|
|
217
|
+
'0x5A0436c7559e37da8cD24B0f66C155a0a2fd6309',
|
|
218
|
+
BprotocolLiquitySPWithdraw:
|
|
219
|
+
'0x20Ece7CB4463bB1DbA4C4fA800E321A05dfB028B',
|
|
207
220
|
|
|
208
221
|
// lido
|
|
209
222
|
LidoStake: '0x4a7dd38D2BcA817fb68165155F869ca4179d8060',
|
|
@@ -283,26 +296,35 @@ export const actionAddresses = {
|
|
|
283
296
|
CurveUsdLevCreate: '0xcbd9aFc2b7532b9eeB3A7EC4ea8Bb4320795d9Ad',
|
|
284
297
|
CurveUsdRepay: '0x6F91E8671d17ecEE3D3fb17DcCA87E86B8D83807',
|
|
285
298
|
CurveUsdSwapper: '0xFA8c594b903651F97b27aCADEa83b720cfD7F80b',
|
|
286
|
-
CurveUsdSwapperTransient:
|
|
299
|
+
CurveUsdSwapperTransient:
|
|
300
|
+
'0xcF0298592b8FCB3823d31Bb257b65afFCAcCb8b6',
|
|
287
301
|
CurveUsdSelfLiquidate: '0xd90d8a4955DfE9D4f45F7f60595313B0925ee1da',
|
|
288
|
-
CurveUsdSelfLiquidateWithColl:
|
|
302
|
+
CurveUsdSelfLiquidateWithColl:
|
|
303
|
+
'0x7cE305FC2A18c6820a533AD418dC0A549aFeDcAF',
|
|
289
304
|
CurveUsdGetDebt: '0x3Bb41d3f300dA758780fe7696bb4fB93cD7172fB',
|
|
290
|
-
CurveUsdCollRatioTrigger:
|
|
305
|
+
CurveUsdCollRatioTrigger:
|
|
306
|
+
'0xFCc610809b735BB13E583c5E46595457083D2b0c',
|
|
291
307
|
CurveUsdCollRatioCheck: '0x8c65f37ca216de1625886431249be13ead051388',
|
|
292
|
-
CurveUsdSelfLiquidateWithCollTransient:
|
|
293
|
-
|
|
308
|
+
CurveUsdSelfLiquidateWithCollTransient:
|
|
309
|
+
'0x9c41eA5D82AF27Fd436Cd4Cf525808313B35f0D1',
|
|
310
|
+
CurveUsdLevCreateTransient:
|
|
311
|
+
'0x798eA3B6E1C6210c6594aD5A1dBDA5b6b3347920',
|
|
294
312
|
CurveUsdRepayTransient: '0xa923a9111377F2f8614E8A1287DbC081e23a29b8',
|
|
295
313
|
|
|
296
314
|
MorphoBlueSupply: '0x1D0F6027Eeb118dEc06055735eE840E3Fe3E6f9a',
|
|
297
|
-
MorphoBlueSupplyCollateral:
|
|
315
|
+
MorphoBlueSupplyCollateral:
|
|
316
|
+
'0x1cdAC5D4b207e8DBd308504BbedD5D1BD19D26ac',
|
|
298
317
|
MorphoBlueWithdraw: '0xE97c7D2838D068C967B7c40080e09A08B9b11fca',
|
|
299
|
-
MorphoBlueWithdrawCollateral:
|
|
318
|
+
MorphoBlueWithdrawCollateral:
|
|
319
|
+
'0xF339F5272E48f9b2c074dcCF7e169259465A4872',
|
|
300
320
|
MorphoBlueBorrow: '0xcc05A3e06DA9Bd2827C7e86a96C63EAda3935AA0',
|
|
301
321
|
MorphoBluePayback: '0x9f437E5F705E02d77adC2e72C34926978776b085',
|
|
302
322
|
MorphoBlueSetAuth: '0xf30935e20c6357c7bcecd5e58ad6de26d54b9f64',
|
|
303
|
-
MorphoBlueSetAuthWithSig:
|
|
323
|
+
MorphoBlueSetAuthWithSig:
|
|
324
|
+
'0xE2d5fCDBf73BAd24A0FCAf6B2733933A98021808',
|
|
304
325
|
MorphoTokenWrap: '0x71b6d268c2Aabcb0dA16CbA4c77e65d9e29b0644',
|
|
305
|
-
MorphoBlueReallocateLiquidity:
|
|
326
|
+
MorphoBlueReallocateLiquidity:
|
|
327
|
+
'0x17cCA8194602020e855CC8Bc11ffA82d8F998A93',
|
|
306
328
|
MorphoBlueClaim: '0xBB562a790AD7773D54A423bD2A10E4073cb98142',
|
|
307
329
|
|
|
308
330
|
// llamalend
|
|
@@ -316,14 +338,16 @@ export const actionAddresses = {
|
|
|
316
338
|
LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
|
|
317
339
|
LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
|
|
318
340
|
LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
|
|
319
|
-
LlamaLendSelfLiquidateWithColl:
|
|
341
|
+
LlamaLendSelfLiquidateWithColl:
|
|
342
|
+
'0xA99DD1D91141cA63C423DB763dE75078336803B2',
|
|
320
343
|
|
|
321
344
|
// eulerV2
|
|
322
345
|
EulerV2Supply: '0xa067787D086841437D112e0C847dDB3e5D95173f',
|
|
323
346
|
EulerV2Withdraw: '0x5bf1a54fe1e65B134E7920e53A5eB0D14b9e6aD1',
|
|
324
347
|
EulerV2Borrow: '0x38d66ecD38b7800D8FD0Bc29489c2306170a9Ede',
|
|
325
348
|
EulerV2Payback: '0x738b1df6b6962D8795Bda5bc5EFCd8b0B8c74d01',
|
|
326
|
-
EulerV2CollateralSwitch:
|
|
349
|
+
EulerV2CollateralSwitch:
|
|
350
|
+
'0x38950b50Fb38aC19D06e8CE5AAE632D6dF1EEb1a',
|
|
327
351
|
EulerV2View: '0x8932E46Ecf96b5Fe033F5e27Ab6dC755Cb668967',
|
|
328
352
|
|
|
329
353
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
|
|
@@ -363,6 +387,8 @@ export const actionAddresses = {
|
|
|
363
387
|
|
|
364
388
|
// summer.fi
|
|
365
389
|
SFApproveTokens: '0x0aC29D44eeC8e8f3b010c2e8FC960957db0c8298',
|
|
390
|
+
SummerfiUnsub: '0x926405D69b77A514ED974901095AcFf9e5131366',
|
|
391
|
+
SummerfiUnsubV2: '0x5E805eD9B7581a9f1398F75833f9663a459F5E30',
|
|
366
392
|
},
|
|
367
393
|
[NETWORKS.optimism.chainId]: {
|
|
368
394
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
@@ -395,7 +421,8 @@ export const actionAddresses = {
|
|
|
395
421
|
AaveV3Payback: '0x88eb4050e89FecE4DF940109B0e58daF9B59e551',
|
|
396
422
|
AaveV3SetEMode: '0x7F264737066b9b7D9729Fe9715abB97423D8b35B',
|
|
397
423
|
AaveV3Supply: '0x7e49bdf4690feef64cb341ca46d1e3b45233a683',
|
|
398
|
-
AaveV3SwapBorrowRateMode:
|
|
424
|
+
AaveV3SwapBorrowRateMode:
|
|
425
|
+
'0xB8f0243b492f0e80feF5315Ba8692e7635481845',
|
|
399
426
|
AaveV3Withdraw: '0xf19d045f6cFc04A5Ee5E0e8837b565b9f276e3F7',
|
|
400
427
|
AaveV3ClaimRewards: '0xBE8e8cea67085F869C1C0040fD52F9F3115E962e',
|
|
401
428
|
AaveV3DelegateWithSig: '0x8dd05d32fB05E8c3e8F37294e6f2d13e5823a712',
|
|
@@ -405,7 +432,7 @@ export const actionAddresses = {
|
|
|
405
432
|
FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
|
|
406
433
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
407
434
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
408
|
-
FLAction: '
|
|
435
|
+
FLAction: '0xB57b666dAB46229e2b80113b5187F6DCD91AB159',
|
|
409
436
|
|
|
410
437
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
411
438
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
@@ -429,6 +456,8 @@ export const actionAddresses = {
|
|
|
429
456
|
|
|
430
457
|
// summer.fi
|
|
431
458
|
SFApproveTokens: '0xcc63B281b29a4c7f33aF780e9B480A15eb676e81',
|
|
459
|
+
SummerfiUnsub: '0x0000000000000000000000000000000000000000', // Only exists for Maker on Mainnet
|
|
460
|
+
SummerfiUnsubV2: '0xC24863ce3397316b743112AeBc2eBCF5507bFD42',
|
|
432
461
|
},
|
|
433
462
|
[NETWORKS.arbitrum.chainId]: {
|
|
434
463
|
DFSSell: '0x1393eef11454ab068dd5e0d0be5eb922603eef1a',
|
|
@@ -462,7 +491,8 @@ export const actionAddresses = {
|
|
|
462
491
|
AaveV3Payback: '0xd88D5356e08dAd84E1576F89f4BF43C79a8BF0b2',
|
|
463
492
|
AaveV3SetEMode: '0x99D5068d9520316e8D3B5136c0B6EA33C5E0c27e',
|
|
464
493
|
AaveV3Supply: '0xA2127f5C7E943c05B6a6A3a541557087F1F1287D',
|
|
465
|
-
AaveV3SwapBorrowRateMode:
|
|
494
|
+
AaveV3SwapBorrowRateMode:
|
|
495
|
+
'0x738042389A8d6B0F6D6ab009c42dfF84ebB737C0',
|
|
466
496
|
AaveV3Withdraw: '0xbf492F869DdB1A18BB4F41b6c3059D9f882Fe7ff',
|
|
467
497
|
AaveV3ClaimRewards: '0x3a4d72Ed2a47a409a82ba61f0fca1C749Ea8aB66',
|
|
468
498
|
AaveV3DelegateWithSig: '0xFF2CE05250d1880f0f45ea8fB453292CABA42F12',
|
|
@@ -480,9 +510,9 @@ export const actionAddresses = {
|
|
|
480
510
|
FLAaveV3NoFee: '0x219ac6dA971dE6d943cffD1BD62abde71525d382',
|
|
481
511
|
FLAaveV3: '0x53953aCEe438c083e4299F7976f03Ff3cb862161',
|
|
482
512
|
FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
|
|
483
|
-
FLUniV3: '
|
|
484
|
-
FLAction: '
|
|
485
|
-
FLMorphoBlue: '
|
|
513
|
+
FLUniV3: '0xf041C72e201CD7d04a240fe06c5783E2Ee2D92b3', // @DEV - incorrect, same as FLAction
|
|
514
|
+
FLAction: '0xf041C72e201CD7d04a240fe06c5783E2Ee2D92b3',
|
|
515
|
+
FLMorphoBlue: '0xf041C72e201CD7d04a240fe06c5783E2Ee2D92b3',
|
|
486
516
|
|
|
487
517
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
488
518
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
@@ -505,7 +535,8 @@ export const actionAddresses = {
|
|
|
505
535
|
LlamaLendBoost: '0xc52a3af27696f8cf999463f3455e23440a376f8d',
|
|
506
536
|
LlamaLendRepay: '0x320fdfa922ee33c1cc8a042ada855c9dfe9bed06',
|
|
507
537
|
LlamaLendLevCreate: '0xe5cbdcbe494246c21851eea0642ff0791f95cc86',
|
|
508
|
-
LlamaLendSelfLiquidateWithColl:
|
|
538
|
+
LlamaLendSelfLiquidateWithColl:
|
|
539
|
+
'0xebf090e5e83f4cd63d84db013ac8271761a953cf',
|
|
509
540
|
|
|
510
541
|
// fluid
|
|
511
542
|
FluidVaultT1Open: '0x1947Ce90ACCf0E243CcF85140fCceC2EfAeeA193',
|
|
@@ -523,18 +554,24 @@ export const actionAddresses = {
|
|
|
523
554
|
|
|
524
555
|
// summer.fi
|
|
525
556
|
SFApproveTokens: '0x98101bDBFaA3f8efa4A14a5A6a2f9A20D514a5D5',
|
|
557
|
+
SummerfiUnsub: '0x0000000000000000000000000000000000000000', // Only exists for Maker on Mainnet
|
|
558
|
+
SummerfiUnsubV2: '0xFAb1D6fe62081BfB997558216769a7029f7d52A4',
|
|
526
559
|
|
|
527
560
|
// MorphoBlue
|
|
528
561
|
MorphoBlueSupply: '0xeaF1c037716b447C178f3604BCFd10e650704525',
|
|
529
|
-
MorphoBlueSupplyCollateral:
|
|
562
|
+
MorphoBlueSupplyCollateral:
|
|
563
|
+
'0x65A5900F2faab9cC495b92389844739DF08A290D',
|
|
530
564
|
MorphoBlueWithdraw: '0xd7132c78677E764b352F83D1ACbCd9564eC08569',
|
|
531
|
-
MorphoBlueWithdrawCollateral:
|
|
565
|
+
MorphoBlueWithdrawCollateral:
|
|
566
|
+
'0x374553273E681C6cfA69006CEd70710d415a02D0',
|
|
532
567
|
MorphoBlueBorrow: '0xAe3073ab93DAde55e8B9390E5f3A3071B1ec99Ec',
|
|
533
568
|
MorphoBluePayback: '0x0e5493737FC3466341E0372219ef72FA0B4DDBbB',
|
|
534
569
|
MorphoBlueSetAuth: '0x7e1deb39317A7542Be231123733d94167FaC73D5',
|
|
535
|
-
MorphoBlueSetAuthWithSig:
|
|
570
|
+
MorphoBlueSetAuthWithSig:
|
|
571
|
+
'0x14da4D942b2b855550b47567c333edB8443cF1A7',
|
|
536
572
|
MorphoBlueView: '0xa3b8b400a2eFF0314fa9605E778692bd4Bd9f880',
|
|
537
|
-
MorphoBlueReallocateLiquidity:
|
|
573
|
+
MorphoBlueReallocateLiquidity:
|
|
574
|
+
'0x79C0E0eFe0Df71B2d301f4e08cfB5Ca8814A8f4c',
|
|
538
575
|
MorphoBlueClaim: '0x3ae0160e27778f7286182eAc774fD7ECd40539a7',
|
|
539
576
|
},
|
|
540
577
|
[NETWORKS.base.chainId]: {
|
|
@@ -565,12 +602,13 @@ export const actionAddresses = {
|
|
|
565
602
|
FLAaveV3: '0x79Eb9cEe432Cd3e7b09A9eFdB21A733A6d7b4c3A',
|
|
566
603
|
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
567
604
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
568
|
-
FLAction: '
|
|
569
|
-
FLMorphoBlue: '
|
|
605
|
+
FLAction: '0x87Af4769e4134379125A262408e1f3EC60d2Ab52', // fix temp
|
|
606
|
+
FLMorphoBlue: '0x87Af4769e4134379125A262408e1f3EC60d2Ab52',
|
|
570
607
|
|
|
571
608
|
// AaveV3
|
|
572
609
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
573
|
-
AaveV3SwapBorrowRateMode:
|
|
610
|
+
AaveV3SwapBorrowRateMode:
|
|
611
|
+
'0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
574
612
|
AaveV3Supply: '0x4Df428298a204E4881D95611320b30938CB3facd',
|
|
575
613
|
AaveV3SetEMode: '0xdeF8B05Ce194D50C376233C9C5530027f6180442',
|
|
576
614
|
AaveV3Payback: '0x1A8B4DF4DE4274630A5c5a8E42Fa5F0DdF654ec2',
|
|
@@ -592,15 +630,19 @@ export const actionAddresses = {
|
|
|
592
630
|
|
|
593
631
|
// MorphoBlue
|
|
594
632
|
MorphoBlueSupply: '0xB4e67A3aF1707567D410f1E18B0CF7DCc38e03BA',
|
|
595
|
-
MorphoBlueSupplyCollateral:
|
|
633
|
+
MorphoBlueSupplyCollateral:
|
|
634
|
+
'0x57757974d4c4f4a3cfcd054401482672342b26b2',
|
|
596
635
|
MorphoBlueWithdraw: '0xaaccc17d850b48507c2478a9ad628c6f4132ede3',
|
|
597
|
-
MorphoBlueWithdrawCollateral:
|
|
636
|
+
MorphoBlueWithdrawCollateral:
|
|
637
|
+
'0xe1778d05b274fa4193c8ecc50b0c45230f9ba1d3',
|
|
598
638
|
MorphoBlueBorrow: '0x8395eafe5633bcdedbf71893e24d4e86afd55436',
|
|
599
639
|
MorphoBluePayback: '0x245f9c1f8401f28da82afc50e4d242224991c4b3',
|
|
600
640
|
MorphoBlueSetAuth: '0xb565630c6ddd1fae169c453667f5aa52ef4e2e39',
|
|
601
|
-
MorphoBlueSetAuthWithSig:
|
|
641
|
+
MorphoBlueSetAuthWithSig:
|
|
642
|
+
'0x80be65342f6172a6cd0b6a2653e8a887e3f46cab',
|
|
602
643
|
MorphoBlueView: '0xdbcacf59c5063da8b15481f88e7d70e13c92f2a1',
|
|
603
|
-
MorphoBlueReallocateLiquidity:
|
|
644
|
+
MorphoBlueReallocateLiquidity:
|
|
645
|
+
'0x5Ea7F30E40F6A25BE2aD23A6FC1C31A6c95F3dc8',
|
|
604
646
|
MorphoBlueClaim: '0xE279E9100d6d524602f98E8736BA5F8f065Dd3e0',
|
|
605
647
|
|
|
606
648
|
// fluid
|
|
@@ -621,6 +663,8 @@ export const actionAddresses = {
|
|
|
621
663
|
|
|
622
664
|
// summer.fi
|
|
623
665
|
SFApproveTokens: '0x03EDC9A683f37BFB7516FF234223fFb6E38D5eb9',
|
|
666
|
+
SummerfiUnsub: '0x0000000000000000000000000000000000000000', // Only exists for Maker on Mainnet
|
|
667
|
+
SummerfiUnsubV2: '0x60587B8Fe62Fc149d285a611822263206b4138da',
|
|
624
668
|
},
|
|
625
669
|
[NETWORKS.linea.chainId]: {
|
|
626
670
|
// Basic
|
|
@@ -714,16 +758,19 @@ export const actionAddresses = {
|
|
|
714
758
|
|
|
715
759
|
export const otherAddresses = {
|
|
716
760
|
[NETWORKS.ethereum.chainId]: {
|
|
717
|
-
RecipeExecutor: '
|
|
718
|
-
RecipeExecutorForTxSaver:
|
|
761
|
+
RecipeExecutor: '0xbc3Fc959FeF3F12a41738f406c02198cdeE7481F',
|
|
762
|
+
RecipeExecutorForTxSaver:
|
|
763
|
+
'0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
719
764
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
720
765
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
721
766
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
767
|
+
SFProxyEntryPoint: '0xAa15ca459659F35B1064EC546A44d962d54bA89e',
|
|
722
768
|
|
|
723
769
|
McdCdpManager: '0x5ef30b9986345249bc32d8928b7ee64de9435e39',
|
|
724
770
|
BCdpManager: '0x3f30c2381CD8B917Dd96EB2f1A4F96D91324BBed',
|
|
725
771
|
AaveDefaultMarket: '0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5',
|
|
726
|
-
UniswapV3PositionManager:
|
|
772
|
+
UniswapV3PositionManager:
|
|
773
|
+
'0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
727
774
|
RaiWethUniV2LPToken: '0x8aE720a71622e824F576b4A8C03031066548A3B1',
|
|
728
775
|
BalancerToken: '0xba100000625a3754423978a60c9317c58a424e3D',
|
|
729
776
|
CrvToken: '0xD533a949740bb3306d119CC777fa900bA034cd52',
|
|
@@ -735,10 +782,11 @@ export const otherAddresses = {
|
|
|
735
782
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
736
783
|
},
|
|
737
784
|
[NETWORKS.optimism.chainId]: {
|
|
738
|
-
RecipeExecutor: '
|
|
785
|
+
RecipeExecutor: '0xEC891E6b5A93F5f29241De6B234a4e77A5456A1C',
|
|
739
786
|
RecipeExecutorForTxSaver: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
|
|
740
787
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
741
788
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
789
|
+
SFProxyEntryPoint: '0x06299D4A07E8C6D7C1aEc14Ab2F46DF05Dd9588E',
|
|
742
790
|
|
|
743
791
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
744
792
|
AdminVault: '0x136b1bEAfff362530F98f10E3D8C38f3a3F3d38C',
|
|
@@ -748,10 +796,11 @@ export const otherAddresses = {
|
|
|
748
796
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
749
797
|
},
|
|
750
798
|
[NETWORKS.arbitrum.chainId]: {
|
|
751
|
-
RecipeExecutor: '
|
|
799
|
+
RecipeExecutor: '0x667609f05DdC5E9Fb939eC376F07953403745cf3',
|
|
752
800
|
RecipeExecutorForTxSaver: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
753
801
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
754
802
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
803
|
+
SFProxyEntryPoint: '0x15D776C062bF292f8F70A81533E49adC7C06Cb69',
|
|
755
804
|
|
|
756
805
|
DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
|
|
757
806
|
AdminVault: '0xd47D8D97cAd12A866900eEc6Cde1962529F25351',
|
|
@@ -761,10 +810,11 @@ export const otherAddresses = {
|
|
|
761
810
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
762
811
|
},
|
|
763
812
|
[NETWORKS.base.chainId]: {
|
|
764
|
-
RecipeExecutor: '
|
|
813
|
+
RecipeExecutor: '0xc91305DdE651c899EF8eE1D0C33E7dab1B5ABF0D',
|
|
765
814
|
RecipeExecutorForTxSaver: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
766
815
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
767
816
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
817
|
+
SFProxyEntryPoint: '0xab6e5cde983fF98Cdb0F61f5F99cb58D40D0c837',
|
|
768
818
|
|
|
769
819
|
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|
|
770
820
|
AdminVault: '0xD8E67968d8a0df4beCf2D50daE1e34d4d80C701C',
|