@defisaver/sdk 1.2.0-dev3 → 1.2.0
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/all_comits.txt +7205 -0
- package/esm/src/actions/flashloan/FLPaybackAction.js +1 -1
- package/esm/src/addresses.d.ts +0 -4
- package/esm/src/addresses.js +12 -16
- package/esm/src/index.d.ts +0 -16
- package/package.json +2 -2
- package/src/actions/flashloan/FLPaybackAction.ts +1 -1
- package/src/addresses.ts +15 -20
- package/umd/index.js +13 -23
- package/.yarn/releases/yarn-1.22.1.cjs +0 -147386
- package/.yarnrc.yml +0 -3
package/esm/src/addresses.d.ts
CHANGED
|
@@ -102,7 +102,6 @@ export declare const actionAddresses: {
|
|
|
102
102
|
FLBalancer: string;
|
|
103
103
|
FLSpark: string;
|
|
104
104
|
FLAction: string;
|
|
105
|
-
FLActionTEMP: string;
|
|
106
105
|
FLUniV3: string;
|
|
107
106
|
FLGho: string;
|
|
108
107
|
FLMorphoBlue: string;
|
|
@@ -244,7 +243,6 @@ export declare const actionAddresses: {
|
|
|
244
243
|
FLAaveV3: string;
|
|
245
244
|
FLBalancer: string;
|
|
246
245
|
FLAction: string;
|
|
247
|
-
FLActionTEMP: string;
|
|
248
246
|
AaveV3RatioTrigger: string;
|
|
249
247
|
GasFeeTakerL2: string;
|
|
250
248
|
AaveV3RatioCheck: string;
|
|
@@ -465,7 +463,6 @@ export declare const actionAddresses: {
|
|
|
465
463
|
FLBalancer: string;
|
|
466
464
|
FLUniV3: string;
|
|
467
465
|
FLAction: string;
|
|
468
|
-
FLActionTEMP: string;
|
|
469
466
|
GasFeeTakerL2: string;
|
|
470
467
|
AaveV3RatioCheck: string;
|
|
471
468
|
UniCollectV3: string;
|
|
@@ -658,7 +655,6 @@ export declare const actionAddresses: {
|
|
|
658
655
|
FLBalancer: string;
|
|
659
656
|
FLUniV3: string;
|
|
660
657
|
FLAction: string;
|
|
661
|
-
FLActionTEMP: string;
|
|
662
658
|
FLMorphoBlue: string;
|
|
663
659
|
AaveV3Withdraw: string;
|
|
664
660
|
AaveV3SwapBorrowRateMode: string;
|
package/esm/src/addresses.js
CHANGED
|
@@ -23,7 +23,7 @@ export const actionAddresses = {
|
|
|
23
23
|
PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
|
|
24
24
|
StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
|
|
25
25
|
// exchange
|
|
26
|
-
DFSSell: '
|
|
26
|
+
DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
|
|
27
27
|
// maker
|
|
28
28
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
29
29
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -115,7 +115,6 @@ export const actionAddresses = {
|
|
|
115
115
|
FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
|
|
116
116
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
117
117
|
FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
118
|
-
FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
119
118
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
120
119
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
121
120
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -235,14 +234,14 @@ export const actionAddresses = {
|
|
|
235
234
|
LlamaLendPayback: '0x07e31d56E47EE6926892dCd928dF26899F58Ac8E',
|
|
236
235
|
LlamaLendSelfLiquidate: '0x46173C379Fbf998E6db0B47F45b73f77C64d3897',
|
|
237
236
|
LlamaLendGetDebt: '0x5625ea9fcd930d5f131b0261ec4dcaf279fea4ed',
|
|
238
|
-
LlamaLendBoost: '
|
|
239
|
-
LlamaLendRepay: '
|
|
240
|
-
LlamaLendLevCreate: '
|
|
241
|
-
LlamaLendSelfLiquidateWithColl: '
|
|
237
|
+
LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
|
|
238
|
+
LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
|
|
239
|
+
LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
|
|
240
|
+
LlamaLendSelfLiquidateWithColl: '0xA99DD1D91141cA63C423DB763dE75078336803B2',
|
|
242
241
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
|
|
243
242
|
},
|
|
244
243
|
[NETWORKS.optimism.chainId]: {
|
|
245
|
-
DFSSell: '
|
|
244
|
+
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
246
245
|
// basic
|
|
247
246
|
WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
|
|
248
247
|
UnwrapEth: '0x1Fa75B00A05C2EbBd0EDF253a63c209966337A0d',
|
|
@@ -274,7 +273,6 @@ export const actionAddresses = {
|
|
|
274
273
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
275
274
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
276
275
|
FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
277
|
-
FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
278
276
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
279
277
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
280
278
|
AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
|
|
@@ -294,7 +292,7 @@ export const actionAddresses = {
|
|
|
294
292
|
CompV3Withdraw: '0x744ad24e92d092e0788d429f5178286672288782',
|
|
295
293
|
},
|
|
296
294
|
[NETWORKS.arbitrum.chainId]: {
|
|
297
|
-
DFSSell: '
|
|
295
|
+
DFSSell: '0x1393eef11454ab068dd5e0d0be5eb922603eef1a',
|
|
298
296
|
// basic
|
|
299
297
|
WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
|
|
300
298
|
UnwrapEth: '0x2B69d494536098700910D167902D1d397dcA2B61',
|
|
@@ -334,7 +332,6 @@ export const actionAddresses = {
|
|
|
334
332
|
FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
|
|
335
333
|
FLUniV3: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
336
334
|
FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
337
|
-
FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
338
335
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
339
336
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
340
337
|
// uniswap V3
|
|
@@ -358,7 +355,7 @@ export const actionAddresses = {
|
|
|
358
355
|
},
|
|
359
356
|
[NETWORKS.base.chainId]: {
|
|
360
357
|
// Basic
|
|
361
|
-
DFSSell: '
|
|
358
|
+
DFSSell: '0xcd151d2bd3e129a4678f2116a9944b5aea0c860d',
|
|
362
359
|
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
363
360
|
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
364
361
|
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
@@ -374,7 +371,6 @@ export const actionAddresses = {
|
|
|
374
371
|
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
375
372
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
376
373
|
FLAction: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
|
|
377
|
-
FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
|
|
378
374
|
FLMorphoBlue: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
|
|
379
375
|
// AaveV3
|
|
380
376
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
@@ -410,7 +406,7 @@ export const actionAddresses = {
|
|
|
410
406
|
};
|
|
411
407
|
export const otherAddresses = {
|
|
412
408
|
[NETWORKS.ethereum.chainId]: {
|
|
413
|
-
RecipeExecutor: '
|
|
409
|
+
RecipeExecutor: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
414
410
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
415
411
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
416
412
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -429,7 +425,7 @@ export const otherAddresses = {
|
|
|
429
425
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
430
426
|
},
|
|
431
427
|
[NETWORKS.optimism.chainId]: {
|
|
432
|
-
RecipeExecutor: '
|
|
428
|
+
RecipeExecutor: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
|
|
433
429
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
434
430
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
435
431
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
@@ -439,7 +435,7 @@ export const otherAddresses = {
|
|
|
439
435
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
440
436
|
},
|
|
441
437
|
[NETWORKS.arbitrum.chainId]: {
|
|
442
|
-
RecipeExecutor: '
|
|
438
|
+
RecipeExecutor: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
443
439
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
444
440
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
445
441
|
DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
|
|
@@ -449,7 +445,7 @@ export const otherAddresses = {
|
|
|
449
445
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
450
446
|
},
|
|
451
447
|
[NETWORKS.base.chainId]: {
|
|
452
|
-
RecipeExecutor: '
|
|
448
|
+
RecipeExecutor: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
453
449
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
454
450
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
455
451
|
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -113,7 +113,6 @@ declare const actionAddressesAllChains: {
|
|
|
113
113
|
FLBalancer: string;
|
|
114
114
|
FLSpark: string;
|
|
115
115
|
FLAction: string;
|
|
116
|
-
FLActionTEMP: string;
|
|
117
116
|
FLUniV3: string;
|
|
118
117
|
FLGho: string;
|
|
119
118
|
FLMorphoBlue: string;
|
|
@@ -255,7 +254,6 @@ declare const actionAddressesAllChains: {
|
|
|
255
254
|
FLAaveV3: string;
|
|
256
255
|
FLBalancer: string;
|
|
257
256
|
FLAction: string;
|
|
258
|
-
FLActionTEMP: string;
|
|
259
257
|
AaveV3RatioTrigger: string;
|
|
260
258
|
GasFeeTakerL2: string;
|
|
261
259
|
AaveV3RatioCheck: string;
|
|
@@ -476,7 +474,6 @@ declare const actionAddressesAllChains: {
|
|
|
476
474
|
FLBalancer: string;
|
|
477
475
|
FLUniV3: string;
|
|
478
476
|
FLAction: string;
|
|
479
|
-
FLActionTEMP: string;
|
|
480
477
|
GasFeeTakerL2: string;
|
|
481
478
|
AaveV3RatioCheck: string;
|
|
482
479
|
UniCollectV3: string;
|
|
@@ -669,7 +666,6 @@ declare const actionAddressesAllChains: {
|
|
|
669
666
|
FLBalancer: string;
|
|
670
667
|
FLUniV3: string;
|
|
671
668
|
FLAction: string;
|
|
672
|
-
FLActionTEMP: string;
|
|
673
669
|
FLMorphoBlue: string;
|
|
674
670
|
AaveV3Withdraw: string;
|
|
675
671
|
AaveV3SwapBorrowRateMode: string;
|
|
@@ -971,7 +967,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
971
967
|
FLBalancer: string;
|
|
972
968
|
FLSpark: string;
|
|
973
969
|
FLAction: string;
|
|
974
|
-
FLActionTEMP: string;
|
|
975
970
|
FLUniV3: string;
|
|
976
971
|
FLGho: string;
|
|
977
972
|
FLMorphoBlue: string;
|
|
@@ -1113,7 +1108,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1113
1108
|
FLAaveV3: string;
|
|
1114
1109
|
FLBalancer: string;
|
|
1115
1110
|
FLAction: string;
|
|
1116
|
-
FLActionTEMP: string;
|
|
1117
1111
|
AaveV3RatioTrigger: string;
|
|
1118
1112
|
GasFeeTakerL2: string;
|
|
1119
1113
|
AaveV3RatioCheck: string;
|
|
@@ -1334,7 +1328,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1334
1328
|
FLBalancer: string;
|
|
1335
1329
|
FLUniV3: string;
|
|
1336
1330
|
FLAction: string;
|
|
1337
|
-
FLActionTEMP: string;
|
|
1338
1331
|
GasFeeTakerL2: string;
|
|
1339
1332
|
AaveV3RatioCheck: string;
|
|
1340
1333
|
UniCollectV3: string;
|
|
@@ -1527,7 +1520,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1527
1520
|
FLBalancer: string;
|
|
1528
1521
|
FLUniV3: string;
|
|
1529
1522
|
FLAction: string;
|
|
1530
|
-
FLActionTEMP: string;
|
|
1531
1523
|
FLMorphoBlue: string;
|
|
1532
1524
|
AaveV3Withdraw: string;
|
|
1533
1525
|
AaveV3SwapBorrowRateMode: string;
|
|
@@ -1972,7 +1964,6 @@ declare const _default: {
|
|
|
1972
1964
|
FLBalancer: string;
|
|
1973
1965
|
FLSpark: string;
|
|
1974
1966
|
FLAction: string;
|
|
1975
|
-
FLActionTEMP: string;
|
|
1976
1967
|
FLUniV3: string;
|
|
1977
1968
|
FLGho: string;
|
|
1978
1969
|
FLMorphoBlue: string;
|
|
@@ -2114,7 +2105,6 @@ declare const _default: {
|
|
|
2114
2105
|
FLAaveV3: string;
|
|
2115
2106
|
FLBalancer: string;
|
|
2116
2107
|
FLAction: string;
|
|
2117
|
-
FLActionTEMP: string;
|
|
2118
2108
|
AaveV3RatioTrigger: string;
|
|
2119
2109
|
GasFeeTakerL2: string;
|
|
2120
2110
|
AaveV3RatioCheck: string;
|
|
@@ -2335,7 +2325,6 @@ declare const _default: {
|
|
|
2335
2325
|
FLBalancer: string;
|
|
2336
2326
|
FLUniV3: string;
|
|
2337
2327
|
FLAction: string;
|
|
2338
|
-
FLActionTEMP: string;
|
|
2339
2328
|
GasFeeTakerL2: string;
|
|
2340
2329
|
AaveV3RatioCheck: string;
|
|
2341
2330
|
UniCollectV3: string;
|
|
@@ -2528,7 +2517,6 @@ declare const _default: {
|
|
|
2528
2517
|
FLBalancer: string;
|
|
2529
2518
|
FLUniV3: string;
|
|
2530
2519
|
FLAction: string;
|
|
2531
|
-
FLActionTEMP: string;
|
|
2532
2520
|
FLMorphoBlue: string;
|
|
2533
2521
|
AaveV3Withdraw: string;
|
|
2534
2522
|
AaveV3SwapBorrowRateMode: string;
|
|
@@ -2830,7 +2818,6 @@ declare const _default: {
|
|
|
2830
2818
|
FLBalancer: string;
|
|
2831
2819
|
FLSpark: string;
|
|
2832
2820
|
FLAction: string;
|
|
2833
|
-
FLActionTEMP: string;
|
|
2834
2821
|
FLUniV3: string;
|
|
2835
2822
|
FLGho: string;
|
|
2836
2823
|
FLMorphoBlue: string;
|
|
@@ -2972,7 +2959,6 @@ declare const _default: {
|
|
|
2972
2959
|
FLAaveV3: string;
|
|
2973
2960
|
FLBalancer: string;
|
|
2974
2961
|
FLAction: string;
|
|
2975
|
-
FLActionTEMP: string;
|
|
2976
2962
|
AaveV3RatioTrigger: string;
|
|
2977
2963
|
GasFeeTakerL2: string;
|
|
2978
2964
|
AaveV3RatioCheck: string;
|
|
@@ -3193,7 +3179,6 @@ declare const _default: {
|
|
|
3193
3179
|
FLBalancer: string;
|
|
3194
3180
|
FLUniV3: string;
|
|
3195
3181
|
FLAction: string;
|
|
3196
|
-
FLActionTEMP: string;
|
|
3197
3182
|
GasFeeTakerL2: string;
|
|
3198
3183
|
AaveV3RatioCheck: string;
|
|
3199
3184
|
UniCollectV3: string;
|
|
@@ -3386,7 +3371,6 @@ declare const _default: {
|
|
|
3386
3371
|
FLBalancer: string;
|
|
3387
3372
|
FLUniV3: string;
|
|
3388
3373
|
FLAction: string;
|
|
3389
|
-
FLActionTEMP: string;
|
|
3390
3374
|
FLMorphoBlue: string;
|
|
3391
3375
|
AaveV3Withdraw: string;
|
|
3392
3376
|
AaveV3SwapBorrowRateMode: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defisaver/sdk",
|
|
3
|
-
"version": "1.2.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./umd/index.js",
|
|
6
6
|
"module": "./esm/src/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"license": "ISC",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@defisaver/eslint-config": "^1.0.0",
|
|
23
|
-
"@defisaver/tokens": "^1.5.
|
|
23
|
+
"@defisaver/tokens": "^1.5.31",
|
|
24
24
|
"@ethersproject/address": "^5.0.10",
|
|
25
25
|
"@ethersproject/solidity": "^5.0.9",
|
|
26
26
|
"@types/web3-eth-abi": "^1.2.2",
|
|
@@ -13,6 +13,6 @@ export class FLPaybackAction extends SendTokenAction {
|
|
|
13
13
|
* @param tokenAddr
|
|
14
14
|
*/
|
|
15
15
|
constructor(loanAmount: uint256, tokenAddr: EthAddress) {
|
|
16
|
-
super(tokenAddr, getAddr('
|
|
16
|
+
super(tokenAddr, getAddr('FLAction'), loanAmount);
|
|
17
17
|
}
|
|
18
18
|
}
|
package/src/addresses.ts
CHANGED
|
@@ -26,7 +26,7 @@ export const actionAddresses = {
|
|
|
26
26
|
StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
|
|
27
27
|
|
|
28
28
|
// exchange
|
|
29
|
-
DFSSell: '
|
|
29
|
+
DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
|
|
30
30
|
|
|
31
31
|
// maker
|
|
32
32
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
@@ -127,8 +127,7 @@ export const actionAddresses = {
|
|
|
127
127
|
FLMaker: '0x0f8C3368cADF78167F5355D746Ed7b2A826A6e3b',
|
|
128
128
|
FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
|
|
129
129
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
130
|
-
FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
131
|
-
FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
130
|
+
FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
132
131
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
133
132
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
134
133
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -272,15 +271,15 @@ export const actionAddresses = {
|
|
|
272
271
|
LlamaLendPayback: '0x07e31d56E47EE6926892dCd928dF26899F58Ac8E',
|
|
273
272
|
LlamaLendSelfLiquidate: '0x46173C379Fbf998E6db0B47F45b73f77C64d3897',
|
|
274
273
|
LlamaLendGetDebt: '0x5625ea9fcd930d5f131b0261ec4dcaf279fea4ed',
|
|
275
|
-
LlamaLendBoost: '
|
|
276
|
-
LlamaLendRepay: '
|
|
277
|
-
LlamaLendLevCreate: '
|
|
278
|
-
LlamaLendSelfLiquidateWithColl: '
|
|
274
|
+
LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
|
|
275
|
+
LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
|
|
276
|
+
LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
|
|
277
|
+
LlamaLendSelfLiquidateWithColl: '0xA99DD1D91141cA63C423DB763dE75078336803B2',
|
|
279
278
|
|
|
280
279
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5',
|
|
281
280
|
},
|
|
282
281
|
[NETWORKS.optimism.chainId]: {
|
|
283
|
-
DFSSell: '
|
|
282
|
+
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
284
283
|
|
|
285
284
|
// basic
|
|
286
285
|
WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
|
|
@@ -314,9 +313,7 @@ export const actionAddresses = {
|
|
|
314
313
|
FLAaveV3NoFee: '0xfbcF23D2BeF8A2C491cfa4dD409D8dF12d431c85',
|
|
315
314
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
316
315
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
317
|
-
FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
318
|
-
FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
319
|
-
|
|
316
|
+
FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
320
317
|
|
|
321
318
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
322
319
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
@@ -340,7 +337,7 @@ export const actionAddresses = {
|
|
|
340
337
|
|
|
341
338
|
},
|
|
342
339
|
[NETWORKS.arbitrum.chainId]: {
|
|
343
|
-
DFSSell: '
|
|
340
|
+
DFSSell: '0x1393eef11454ab068dd5e0d0be5eb922603eef1a',
|
|
344
341
|
|
|
345
342
|
// basic
|
|
346
343
|
WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
|
|
@@ -383,8 +380,7 @@ export const actionAddresses = {
|
|
|
383
380
|
FLAaveV3: '0x53953aCEe438c083e4299F7976f03Ff3cb862161',
|
|
384
381
|
FLBalancer: '0xdb28fE77709D88badC86868B27937428C3F48E73',
|
|
385
382
|
FLUniV3: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3', // @DEV - incorrect, same as FLAction
|
|
386
|
-
FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
387
|
-
FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
383
|
+
FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
388
384
|
|
|
389
385
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
390
386
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
@@ -411,7 +407,7 @@ export const actionAddresses = {
|
|
|
411
407
|
},
|
|
412
408
|
[NETWORKS.base.chainId]: {
|
|
413
409
|
// Basic
|
|
414
|
-
DFSSell: '
|
|
410
|
+
DFSSell: '0xcd151d2bd3e129a4678f2116a9944b5aea0c860d',
|
|
415
411
|
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
416
412
|
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
417
413
|
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
@@ -428,7 +424,6 @@ export const actionAddresses = {
|
|
|
428
424
|
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
429
425
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
430
426
|
FLAction: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4', // fix temp
|
|
431
|
-
FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
|
|
432
427
|
FLMorphoBlue: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
|
|
433
428
|
|
|
434
429
|
// AaveV3
|
|
@@ -468,7 +463,7 @@ export const actionAddresses = {
|
|
|
468
463
|
|
|
469
464
|
export const otherAddresses = {
|
|
470
465
|
[NETWORKS.ethereum.chainId]: {
|
|
471
|
-
RecipeExecutor: '
|
|
466
|
+
RecipeExecutor: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
472
467
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
473
468
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
474
469
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -488,7 +483,7 @@ export const otherAddresses = {
|
|
|
488
483
|
Empty: '0x0000000000000000000000000000000000000000',
|
|
489
484
|
},
|
|
490
485
|
[NETWORKS.optimism.chainId]: {
|
|
491
|
-
RecipeExecutor: '
|
|
486
|
+
RecipeExecutor: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
|
|
492
487
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
493
488
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
494
489
|
|
|
@@ -500,7 +495,7 @@ export const otherAddresses = {
|
|
|
500
495
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
501
496
|
},
|
|
502
497
|
[NETWORKS.arbitrum.chainId]: {
|
|
503
|
-
RecipeExecutor: '
|
|
498
|
+
RecipeExecutor: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
504
499
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
505
500
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
506
501
|
|
|
@@ -512,7 +507,7 @@ export const otherAddresses = {
|
|
|
512
507
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
|
|
513
508
|
},
|
|
514
509
|
[NETWORKS.base.chainId]: {
|
|
515
|
-
RecipeExecutor: '
|
|
510
|
+
RecipeExecutor: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
516
511
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
517
512
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
518
513
|
|
package/umd/index.js
CHANGED
|
@@ -1312,9 +1312,7 @@ var actionAddresses = {
|
|
|
1312
1312
|
PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
|
|
1313
1313
|
StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
|
|
1314
1314
|
// exchange
|
|
1315
|
-
DFSSell: '
|
|
1316
|
-
// TODO[TX-SAVER]: set final address after deployment
|
|
1317
|
-
|
|
1315
|
+
DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
|
|
1318
1316
|
// maker
|
|
1319
1317
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
1320
1318
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -1406,8 +1404,6 @@ var actionAddresses = {
|
|
|
1406
1404
|
FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
|
|
1407
1405
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
1408
1406
|
FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
1409
|
-
// temp fixed
|
|
1410
|
-
FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
1411
1407
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
1412
1408
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
1413
1409
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -1527,14 +1523,14 @@ var actionAddresses = {
|
|
|
1527
1523
|
LlamaLendPayback: '0x07e31d56E47EE6926892dCd928dF26899F58Ac8E',
|
|
1528
1524
|
LlamaLendSelfLiquidate: '0x46173C379Fbf998E6db0B47F45b73f77C64d3897',
|
|
1529
1525
|
LlamaLendGetDebt: '0x5625ea9fcd930d5f131b0261ec4dcaf279fea4ed',
|
|
1530
|
-
LlamaLendBoost: '
|
|
1531
|
-
LlamaLendRepay: '
|
|
1532
|
-
LlamaLendLevCreate: '
|
|
1533
|
-
LlamaLendSelfLiquidateWithColl: '
|
|
1526
|
+
LlamaLendBoost: '0xa21c1ce7318c6d38a10de44c2cd5d80514437d85',
|
|
1527
|
+
LlamaLendRepay: '0x57693f72E628A3F7323D31De35Bd158493Aa9CC0',
|
|
1528
|
+
LlamaLendLevCreate: '0x534b704a62385cfe5EEB8d9605419743d4fe105E',
|
|
1529
|
+
LlamaLendSelfLiquidateWithColl: '0xA99DD1D91141cA63C423DB763dE75078336803B2',
|
|
1534
1530
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5'
|
|
1535
1531
|
},
|
|
1536
1532
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1537
|
-
DFSSell: '
|
|
1533
|
+
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
1538
1534
|
// basic
|
|
1539
1535
|
WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
|
|
1540
1536
|
UnwrapEth: '0x1Fa75B00A05C2EbBd0EDF253a63c209966337A0d',
|
|
@@ -1566,8 +1562,6 @@ var actionAddresses = {
|
|
|
1566
1562
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
1567
1563
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
1568
1564
|
FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
1569
|
-
// temp fixed
|
|
1570
|
-
FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
1571
1565
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
1572
1566
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
1573
1567
|
AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
|
|
@@ -1587,7 +1581,7 @@ var actionAddresses = {
|
|
|
1587
1581
|
CompV3Withdraw: '0x744ad24e92d092e0788d429f5178286672288782'
|
|
1588
1582
|
},
|
|
1589
1583
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.arbitrum.chainId]: {
|
|
1590
|
-
DFSSell: '
|
|
1584
|
+
DFSSell: '0x1393eef11454ab068dd5e0d0be5eb922603eef1a',
|
|
1591
1585
|
// basic
|
|
1592
1586
|
WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
|
|
1593
1587
|
UnwrapEth: '0x2B69d494536098700910D167902D1d397dcA2B61',
|
|
@@ -1628,8 +1622,6 @@ var actionAddresses = {
|
|
|
1628
1622
|
FLUniV3: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
1629
1623
|
// @DEV - incorrect, same as FLAction
|
|
1630
1624
|
FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
1631
|
-
// temp fixed
|
|
1632
|
-
FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
1633
1625
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
1634
1626
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
1635
1627
|
// uniswap V3
|
|
@@ -1653,7 +1645,7 @@ var actionAddresses = {
|
|
|
1653
1645
|
},
|
|
1654
1646
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1655
1647
|
// Basic
|
|
1656
|
-
DFSSell: '
|
|
1648
|
+
DFSSell: '0xcd151d2bd3e129a4678f2116a9944b5aea0c860d',
|
|
1657
1649
|
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
1658
1650
|
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
1659
1651
|
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
@@ -1670,7 +1662,6 @@ var actionAddresses = {
|
|
|
1670
1662
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
1671
1663
|
FLAction: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
|
|
1672
1664
|
// fix temp
|
|
1673
|
-
FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
|
|
1674
1665
|
FLMorphoBlue: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
|
|
1675
1666
|
// AaveV3
|
|
1676
1667
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
@@ -1706,8 +1697,7 @@ var actionAddresses = {
|
|
|
1706
1697
|
};
|
|
1707
1698
|
var otherAddresses = {
|
|
1708
1699
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.ethereum.chainId]: {
|
|
1709
|
-
RecipeExecutor: '
|
|
1710
|
-
// TODO[TX-SAVER]: set final address after deployment
|
|
1700
|
+
RecipeExecutor: '0x2ee96cf53ae5fbd5309284704f978d0ca66cb963',
|
|
1711
1701
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
1712
1702
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
1713
1703
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -1726,7 +1716,7 @@ var otherAddresses = {
|
|
|
1726
1716
|
Empty: '0x0000000000000000000000000000000000000000'
|
|
1727
1717
|
},
|
|
1728
1718
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1729
|
-
RecipeExecutor: '
|
|
1719
|
+
RecipeExecutor: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
|
|
1730
1720
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
1731
1721
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
1732
1722
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
@@ -1736,7 +1726,7 @@ var otherAddresses = {
|
|
|
1736
1726
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
|
|
1737
1727
|
},
|
|
1738
1728
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.arbitrum.chainId]: {
|
|
1739
|
-
RecipeExecutor: '
|
|
1729
|
+
RecipeExecutor: '0x7a25174229ea402d8ccd35fc6d55af079c399884',
|
|
1740
1730
|
DFSRegistry: '0xBF1CaC12DB60819Bfa71A328282ecbc1D40443aA',
|
|
1741
1731
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
1742
1732
|
DSGuardFactory: '0x5261abC3a94a6475D0A1171daE94A5f84fbaEcD2',
|
|
@@ -1746,7 +1736,7 @@ var otherAddresses = {
|
|
|
1746
1736
|
UniswapV3PositionManager: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
|
|
1747
1737
|
},
|
|
1748
1738
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1749
|
-
RecipeExecutor: '
|
|
1739
|
+
RecipeExecutor: '0x7a87565b77dd65bbc153fe20e97743842f1a6e0c',
|
|
1750
1740
|
DFSRegistry: '0x347FB634271F666353F23A3362f3935D96F97476',
|
|
1751
1741
|
ProxyRegistry: '0x425fA97285965E01Cc5F951B62A51F6CDEA5cc0d',
|
|
1752
1742
|
DSGuardFactory: '0x7783da8958013a57a5514737a4FBDFF06A0056e1',
|
|
@@ -5480,7 +5470,7 @@ class FLPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.SendTokenActio
|
|
|
5480
5470
|
* @param tokenAddr
|
|
5481
5471
|
*/
|
|
5482
5472
|
constructor(loanAmount, tokenAddr) {
|
|
5483
|
-
super(tokenAddr, (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('
|
|
5473
|
+
super(tokenAddr, (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLAction'), loanAmount);
|
|
5484
5474
|
}
|
|
5485
5475
|
}
|
|
5486
5476
|
|