@defisaver/sdk 1.2.0-dev4 → 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/esm/src/actions/flashloan/FLPaybackAction.js +1 -1
- package/esm/src/addresses.d.ts +0 -4
- package/esm/src/addresses.js +5 -9
- 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 +8 -13
- package/umd/index.js +6 -13
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',
|
|
@@ -242,7 +241,7 @@ export const actionAddresses = {
|
|
|
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',
|
|
@@ -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',
|
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',
|
|
@@ -280,7 +279,7 @@ export const actionAddresses = {
|
|
|
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
|
|
@@ -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
|
|
package/umd/index.js
CHANGED
|
@@ -1312,7 +1312,7 @@ var actionAddresses = {
|
|
|
1312
1312
|
PermitToken: '0x2654056046ed5E3f673FbcBC99A1BDB77F5c460B',
|
|
1313
1313
|
StarknetClaim: '0x40069889098cd54d6c1021578000f37b197479cf',
|
|
1314
1314
|
// exchange
|
|
1315
|
-
DFSSell: '
|
|
1315
|
+
DFSSell: '0x901d383c37b30cefad9b6e2bbb0539a40e02c5f4',
|
|
1316
1316
|
// maker
|
|
1317
1317
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
1318
1318
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -1404,8 +1404,6 @@ var actionAddresses = {
|
|
|
1404
1404
|
FLBalancer: '0x93d333930c7f7260a1E6061B0a8C0CbdEC95F367',
|
|
1405
1405
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
1406
1406
|
FLAction: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
1407
|
-
// temp fixed
|
|
1408
|
-
FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
1409
1407
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
1410
1408
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
1411
1409
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -1532,7 +1530,7 @@ var actionAddresses = {
|
|
|
1532
1530
|
MerklClaim: '0xE88036F3F0D7e216D63726356cA2bC334e305fe5'
|
|
1533
1531
|
},
|
|
1534
1532
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1535
|
-
DFSSell: '
|
|
1533
|
+
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
1536
1534
|
// basic
|
|
1537
1535
|
WrapEth: '0x6D735db054AC4a1F10f96b99f8550E9eefbC2AC5',
|
|
1538
1536
|
UnwrapEth: '0x1Fa75B00A05C2EbBd0EDF253a63c209966337A0d',
|
|
@@ -1564,8 +1562,6 @@ var actionAddresses = {
|
|
|
1564
1562
|
FLAaveV3: '0x8A07E93d2B74A80D726eE4E4A0aC1F906aB5Cc63',
|
|
1565
1563
|
FLBalancer: '0x79d6bf536b8DD65909a3174C87eA6395310d5c41',
|
|
1566
1564
|
FLAction: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
1567
|
-
// temp fixed
|
|
1568
|
-
FLActionTEMP: '0x82d5eDeb005AfFbF381B5949C707a3305160F4A9',
|
|
1569
1565
|
AaveV3RatioTrigger: '0xB76e3f7694589D0f34ba43b17AD0D15350Ab5f85',
|
|
1570
1566
|
GasFeeTakerL2: '0xB3dB299622A9DB0E944ccda2Ef899d6fF365B082',
|
|
1571
1567
|
AaveV3RatioCheck: '0x7A36779a7b5F1128B28932604057d5b63361297c',
|
|
@@ -1585,7 +1581,7 @@ var actionAddresses = {
|
|
|
1585
1581
|
CompV3Withdraw: '0x744ad24e92d092e0788d429f5178286672288782'
|
|
1586
1582
|
},
|
|
1587
1583
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.arbitrum.chainId]: {
|
|
1588
|
-
DFSSell: '
|
|
1584
|
+
DFSSell: '0x1393eef11454ab068dd5e0d0be5eb922603eef1a',
|
|
1589
1585
|
// basic
|
|
1590
1586
|
WrapEth: '0x35136b25bFA7CCC8f5b94E3181a16B61c06980F0',
|
|
1591
1587
|
UnwrapEth: '0x2B69d494536098700910D167902D1d397dcA2B61',
|
|
@@ -1626,8 +1622,6 @@ var actionAddresses = {
|
|
|
1626
1622
|
FLUniV3: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
1627
1623
|
// @DEV - incorrect, same as FLAction
|
|
1628
1624
|
FLAction: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
1629
|
-
// temp fixed
|
|
1630
|
-
FLActionTEMP: '0xab4AA2fcEA33205b44a556f8C48ceC3f21aFf0C3',
|
|
1631
1625
|
GasFeeTakerL2: '0x2F64f73B222B4978CAfd0295c0fa106cE5f34996',
|
|
1632
1626
|
AaveV3RatioCheck: '0x4a5c2cbCFB921b596Dec049389899CC8Eb4678ED',
|
|
1633
1627
|
// uniswap V3
|
|
@@ -1651,7 +1645,7 @@ var actionAddresses = {
|
|
|
1651
1645
|
},
|
|
1652
1646
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1653
1647
|
// Basic
|
|
1654
|
-
DFSSell: '
|
|
1648
|
+
DFSSell: '0xcd151d2bd3e129a4678f2116a9944b5aea0c860d',
|
|
1655
1649
|
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
1656
1650
|
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
1657
1651
|
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
@@ -1668,7 +1662,6 @@ var actionAddresses = {
|
|
|
1668
1662
|
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
1669
1663
|
FLAction: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
|
|
1670
1664
|
// fix temp
|
|
1671
|
-
FLActionTEMP: '0xAAbd4B0372240E319F9722c4Fd1e2FE0C8d422D2',
|
|
1672
1665
|
FLMorphoBlue: '0x5523E61fBEF59825831Ffbb1306aBc3Bb03BB3A4',
|
|
1673
1666
|
// AaveV3
|
|
1674
1667
|
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
@@ -1723,7 +1716,7 @@ var otherAddresses = {
|
|
|
1723
1716
|
Empty: '0x0000000000000000000000000000000000000000'
|
|
1724
1717
|
},
|
|
1725
1718
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1726
|
-
RecipeExecutor: '
|
|
1719
|
+
RecipeExecutor: '0x993A8c81142044E1CB0Cf0c3d84BEa235d842Fb0',
|
|
1727
1720
|
DFSRegistry: '0xAf707Ee480204Ed6e2640B53cE86F680D28Afcbd',
|
|
1728
1721
|
ProxyRegistry: '0x283Cc5C26e53D66ed2Ea252D986F094B37E6e895',
|
|
1729
1722
|
DSGuardFactory: '0xc19d0F1E2b38AA283E226Ca4044766A43aA7B02b',
|
|
@@ -5477,7 +5470,7 @@ class FLPaybackAction extends _basic__WEBPACK_IMPORTED_MODULE_0__.SendTokenActio
|
|
|
5477
5470
|
* @param tokenAddr
|
|
5478
5471
|
*/
|
|
5479
5472
|
constructor(loanAmount, tokenAddr) {
|
|
5480
|
-
super(tokenAddr, (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('
|
|
5473
|
+
super(tokenAddr, (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLAction'), loanAmount);
|
|
5481
5474
|
}
|
|
5482
5475
|
}
|
|
5483
5476
|
|