@defisaver/sdk 1.0.66-dev-2 → 1.0.66-dev-3
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/basic/SellAction.js +1 -1
- package/esm/src/actions/flashloan/FLAction.js +1 -1
- package/esm/src/addresses.d.ts +8 -0
- package/esm/src/addresses.js +5 -3
- package/esm/src/index.d.ts +32 -0
- package/package.json +1 -1
- package/src/actions/basic/SellAction.ts +2 -2
- package/src/actions/flashloan/FLAction.ts +2 -2
- package/src/addresses.ts +5 -3
- package/umd/index.js +7 -5
|
@@ -27,7 +27,7 @@ export class SellAction extends ActionWithL2 {
|
|
|
27
27
|
*/
|
|
28
28
|
constructor(exchangeOrder, from, to, protocolFee = '0') {
|
|
29
29
|
requireAddress(to);
|
|
30
|
-
super('
|
|
30
|
+
super('DFSSellTEMP', getAddr('DFSSellTEMP'), [
|
|
31
31
|
['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
|
|
32
32
|
'address',
|
|
33
33
|
'address',
|
|
@@ -13,7 +13,7 @@ import { getAddr } from '../../addresses';
|
|
|
13
13
|
*/
|
|
14
14
|
export class FLAction extends Action {
|
|
15
15
|
constructor(specificFLAction) {
|
|
16
|
-
super('
|
|
16
|
+
super('FLActionTEMP', getAddr('FLActionTEMP'), [], []);
|
|
17
17
|
_FLAction_instances.add(this);
|
|
18
18
|
this.paramTypes = ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'];
|
|
19
19
|
this.args = __classPrivateFieldGet(this, _FLAction_instances, "m", _FLAction_handleArgs).call(this, specificFLAction);
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare const actionAddresses: {
|
|
|
20
20
|
SDaiUnwrap: string;
|
|
21
21
|
TokenizedVaultAdapter: string;
|
|
22
22
|
DFSSell: string;
|
|
23
|
+
DFSSellTEMP: string;
|
|
23
24
|
McdGenerate: string;
|
|
24
25
|
McdGive: string;
|
|
25
26
|
McdMerge: string;
|
|
@@ -97,6 +98,7 @@ export declare const actionAddresses: {
|
|
|
97
98
|
FLBalancer: string;
|
|
98
99
|
FLSpark: string;
|
|
99
100
|
FLAction: string;
|
|
101
|
+
FLActionTEMP: string;
|
|
100
102
|
FLUniV3: string;
|
|
101
103
|
FLGho: string;
|
|
102
104
|
FLMorphoBlue: string;
|
|
@@ -237,6 +239,7 @@ export declare const actionAddresses: {
|
|
|
237
239
|
CreateSub?: undefined;
|
|
238
240
|
SDaiWrap?: undefined;
|
|
239
241
|
SDaiUnwrap?: undefined;
|
|
242
|
+
DFSSellTEMP?: undefined;
|
|
240
243
|
McdGenerate?: undefined;
|
|
241
244
|
McdGive?: undefined;
|
|
242
245
|
McdMerge?: undefined;
|
|
@@ -301,6 +304,7 @@ export declare const actionAddresses: {
|
|
|
301
304
|
FLDyDx?: undefined;
|
|
302
305
|
FLMaker?: undefined;
|
|
303
306
|
FLSpark?: undefined;
|
|
307
|
+
FLActionTEMP?: undefined;
|
|
304
308
|
FLUniV3?: undefined;
|
|
305
309
|
FLGho?: undefined;
|
|
306
310
|
FLMorphoBlue?: undefined;
|
|
@@ -436,6 +440,7 @@ export declare const actionAddresses: {
|
|
|
436
440
|
ApproveToken?: undefined;
|
|
437
441
|
SDaiWrap?: undefined;
|
|
438
442
|
SDaiUnwrap?: undefined;
|
|
443
|
+
DFSSellTEMP?: undefined;
|
|
439
444
|
McdGenerate?: undefined;
|
|
440
445
|
McdGive?: undefined;
|
|
441
446
|
McdMerge?: undefined;
|
|
@@ -501,6 +506,7 @@ export declare const actionAddresses: {
|
|
|
501
506
|
FLDyDx?: undefined;
|
|
502
507
|
FLMaker?: undefined;
|
|
503
508
|
FLSpark?: undefined;
|
|
509
|
+
FLActionTEMP?: undefined;
|
|
504
510
|
FLUniV3?: undefined;
|
|
505
511
|
FLGho?: undefined;
|
|
506
512
|
FLMorphoBlue?: undefined;
|
|
@@ -625,6 +631,7 @@ export declare const actionAddresses: {
|
|
|
625
631
|
SDaiWrap?: undefined;
|
|
626
632
|
SDaiUnwrap?: undefined;
|
|
627
633
|
TokenizedVaultAdapter?: undefined;
|
|
634
|
+
DFSSellTEMP?: undefined;
|
|
628
635
|
McdGenerate?: undefined;
|
|
629
636
|
McdGive?: undefined;
|
|
630
637
|
McdMerge?: undefined;
|
|
@@ -690,6 +697,7 @@ export declare const actionAddresses: {
|
|
|
690
697
|
FLMaker?: undefined;
|
|
691
698
|
FLSpark?: undefined;
|
|
692
699
|
FLAction?: undefined;
|
|
700
|
+
FLActionTEMP?: undefined;
|
|
693
701
|
FLGho?: undefined;
|
|
694
702
|
FLMorphoBlue?: undefined;
|
|
695
703
|
UniSupply?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -21,7 +21,8 @@ export const actionAddresses = {
|
|
|
21
21
|
SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
|
|
22
22
|
TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
|
|
23
23
|
// exchange
|
|
24
|
-
DFSSell: '
|
|
24
|
+
DFSSell: '0x951D7B421f45FF0e4A8ddE0288aE3f9C2C69b784',
|
|
25
|
+
DFSSellTEMP: '0x8bfc99652358884AF965324e6A233014510F0CFc',
|
|
25
26
|
// maker
|
|
26
27
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
27
28
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -109,7 +110,8 @@ export const actionAddresses = {
|
|
|
109
110
|
FLMaker: '0x672DE08e36A1698fD5e9E34045F81558dB4c1AFE',
|
|
110
111
|
FLBalancer: '0x540a83E36E5E6Aa916A6c591934d800e17115048',
|
|
111
112
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
112
|
-
FLAction: '
|
|
113
|
+
FLAction: '0x72915D41982DfCAf30b871290618E59C45Edba7F',
|
|
114
|
+
FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
113
115
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
114
116
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
115
117
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -340,7 +342,7 @@ export const actionAddresses = {
|
|
|
340
342
|
};
|
|
341
343
|
export const otherAddresses = {
|
|
342
344
|
[NETWORKS.ethereum.chainId]: {
|
|
343
|
-
RecipeExecutor: '
|
|
345
|
+
RecipeExecutor: '0x5029336642814bC51a42bA80BF83a6322110035D',
|
|
344
346
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
345
347
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
346
348
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ declare const actionAddressesAllChains: {
|
|
|
31
31
|
SDaiUnwrap: string;
|
|
32
32
|
TokenizedVaultAdapter: string;
|
|
33
33
|
DFSSell: string;
|
|
34
|
+
DFSSellTEMP: string;
|
|
34
35
|
McdGenerate: string;
|
|
35
36
|
McdGive: string;
|
|
36
37
|
McdMerge: string;
|
|
@@ -108,6 +109,7 @@ declare const actionAddressesAllChains: {
|
|
|
108
109
|
FLBalancer: string;
|
|
109
110
|
FLSpark: string;
|
|
110
111
|
FLAction: string;
|
|
112
|
+
FLActionTEMP: string;
|
|
111
113
|
FLUniV3: string;
|
|
112
114
|
FLGho: string;
|
|
113
115
|
FLMorphoBlue: string;
|
|
@@ -248,6 +250,7 @@ declare const actionAddressesAllChains: {
|
|
|
248
250
|
CreateSub?: undefined;
|
|
249
251
|
SDaiWrap?: undefined;
|
|
250
252
|
SDaiUnwrap?: undefined;
|
|
253
|
+
DFSSellTEMP?: undefined;
|
|
251
254
|
McdGenerate?: undefined;
|
|
252
255
|
McdGive?: undefined;
|
|
253
256
|
McdMerge?: undefined;
|
|
@@ -312,6 +315,7 @@ declare const actionAddressesAllChains: {
|
|
|
312
315
|
FLDyDx?: undefined;
|
|
313
316
|
FLMaker?: undefined;
|
|
314
317
|
FLSpark?: undefined;
|
|
318
|
+
FLActionTEMP?: undefined;
|
|
315
319
|
FLUniV3?: undefined;
|
|
316
320
|
FLGho?: undefined;
|
|
317
321
|
FLMorphoBlue?: undefined;
|
|
@@ -447,6 +451,7 @@ declare const actionAddressesAllChains: {
|
|
|
447
451
|
ApproveToken?: undefined;
|
|
448
452
|
SDaiWrap?: undefined;
|
|
449
453
|
SDaiUnwrap?: undefined;
|
|
454
|
+
DFSSellTEMP?: undefined;
|
|
450
455
|
McdGenerate?: undefined;
|
|
451
456
|
McdGive?: undefined;
|
|
452
457
|
McdMerge?: undefined;
|
|
@@ -512,6 +517,7 @@ declare const actionAddressesAllChains: {
|
|
|
512
517
|
FLDyDx?: undefined;
|
|
513
518
|
FLMaker?: undefined;
|
|
514
519
|
FLSpark?: undefined;
|
|
520
|
+
FLActionTEMP?: undefined;
|
|
515
521
|
FLUniV3?: undefined;
|
|
516
522
|
FLGho?: undefined;
|
|
517
523
|
FLMorphoBlue?: undefined;
|
|
@@ -636,6 +642,7 @@ declare const actionAddressesAllChains: {
|
|
|
636
642
|
SDaiWrap?: undefined;
|
|
637
643
|
SDaiUnwrap?: undefined;
|
|
638
644
|
TokenizedVaultAdapter?: undefined;
|
|
645
|
+
DFSSellTEMP?: undefined;
|
|
639
646
|
McdGenerate?: undefined;
|
|
640
647
|
McdGive?: undefined;
|
|
641
648
|
McdMerge?: undefined;
|
|
@@ -701,6 +708,7 @@ declare const actionAddressesAllChains: {
|
|
|
701
708
|
FLMaker?: undefined;
|
|
702
709
|
FLSpark?: undefined;
|
|
703
710
|
FLAction?: undefined;
|
|
711
|
+
FLActionTEMP?: undefined;
|
|
704
712
|
FLGho?: undefined;
|
|
705
713
|
FLMorphoBlue?: undefined;
|
|
706
714
|
UniSupply?: undefined;
|
|
@@ -813,6 +821,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
813
821
|
SDaiUnwrap: string;
|
|
814
822
|
TokenizedVaultAdapter: string;
|
|
815
823
|
DFSSell: string;
|
|
824
|
+
DFSSellTEMP: string;
|
|
816
825
|
McdGenerate: string;
|
|
817
826
|
McdGive: string;
|
|
818
827
|
McdMerge: string;
|
|
@@ -890,6 +899,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
890
899
|
FLBalancer: string;
|
|
891
900
|
FLSpark: string;
|
|
892
901
|
FLAction: string;
|
|
902
|
+
FLActionTEMP: string;
|
|
893
903
|
FLUniV3: string;
|
|
894
904
|
FLGho: string;
|
|
895
905
|
FLMorphoBlue: string;
|
|
@@ -1030,6 +1040,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1030
1040
|
CreateSub?: undefined;
|
|
1031
1041
|
SDaiWrap?: undefined;
|
|
1032
1042
|
SDaiUnwrap?: undefined;
|
|
1043
|
+
DFSSellTEMP?: undefined;
|
|
1033
1044
|
McdGenerate?: undefined;
|
|
1034
1045
|
McdGive?: undefined;
|
|
1035
1046
|
McdMerge?: undefined;
|
|
@@ -1094,6 +1105,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1094
1105
|
FLDyDx?: undefined;
|
|
1095
1106
|
FLMaker?: undefined;
|
|
1096
1107
|
FLSpark?: undefined;
|
|
1108
|
+
FLActionTEMP?: undefined;
|
|
1097
1109
|
FLUniV3?: undefined;
|
|
1098
1110
|
FLGho?: undefined;
|
|
1099
1111
|
FLMorphoBlue?: undefined;
|
|
@@ -1229,6 +1241,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1229
1241
|
ApproveToken?: undefined;
|
|
1230
1242
|
SDaiWrap?: undefined;
|
|
1231
1243
|
SDaiUnwrap?: undefined;
|
|
1244
|
+
DFSSellTEMP?: undefined;
|
|
1232
1245
|
McdGenerate?: undefined;
|
|
1233
1246
|
McdGive?: undefined;
|
|
1234
1247
|
McdMerge?: undefined;
|
|
@@ -1294,6 +1307,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1294
1307
|
FLDyDx?: undefined;
|
|
1295
1308
|
FLMaker?: undefined;
|
|
1296
1309
|
FLSpark?: undefined;
|
|
1310
|
+
FLActionTEMP?: undefined;
|
|
1297
1311
|
FLUniV3?: undefined;
|
|
1298
1312
|
FLGho?: undefined;
|
|
1299
1313
|
FLMorphoBlue?: undefined;
|
|
@@ -1418,6 +1432,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1418
1432
|
SDaiWrap?: undefined;
|
|
1419
1433
|
SDaiUnwrap?: undefined;
|
|
1420
1434
|
TokenizedVaultAdapter?: undefined;
|
|
1435
|
+
DFSSellTEMP?: undefined;
|
|
1421
1436
|
McdGenerate?: undefined;
|
|
1422
1437
|
McdGive?: undefined;
|
|
1423
1438
|
McdMerge?: undefined;
|
|
@@ -1483,6 +1498,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1483
1498
|
FLMaker?: undefined;
|
|
1484
1499
|
FLSpark?: undefined;
|
|
1485
1500
|
FLAction?: undefined;
|
|
1501
|
+
FLActionTEMP?: undefined;
|
|
1486
1502
|
FLGho?: undefined;
|
|
1487
1503
|
FLMorphoBlue?: undefined;
|
|
1488
1504
|
UniSupply?: undefined;
|
|
@@ -1738,6 +1754,7 @@ declare const _default: {
|
|
|
1738
1754
|
SDaiUnwrap: string;
|
|
1739
1755
|
TokenizedVaultAdapter: string;
|
|
1740
1756
|
DFSSell: string;
|
|
1757
|
+
DFSSellTEMP: string;
|
|
1741
1758
|
McdGenerate: string;
|
|
1742
1759
|
McdGive: string;
|
|
1743
1760
|
McdMerge: string;
|
|
@@ -1815,6 +1832,7 @@ declare const _default: {
|
|
|
1815
1832
|
FLBalancer: string;
|
|
1816
1833
|
FLSpark: string;
|
|
1817
1834
|
FLAction: string;
|
|
1835
|
+
FLActionTEMP: string;
|
|
1818
1836
|
FLUniV3: string;
|
|
1819
1837
|
FLGho: string;
|
|
1820
1838
|
FLMorphoBlue: string;
|
|
@@ -1955,6 +1973,7 @@ declare const _default: {
|
|
|
1955
1973
|
CreateSub?: undefined;
|
|
1956
1974
|
SDaiWrap?: undefined;
|
|
1957
1975
|
SDaiUnwrap?: undefined;
|
|
1976
|
+
DFSSellTEMP?: undefined;
|
|
1958
1977
|
McdGenerate?: undefined;
|
|
1959
1978
|
McdGive?: undefined;
|
|
1960
1979
|
McdMerge?: undefined;
|
|
@@ -2019,6 +2038,7 @@ declare const _default: {
|
|
|
2019
2038
|
FLDyDx?: undefined;
|
|
2020
2039
|
FLMaker?: undefined;
|
|
2021
2040
|
FLSpark?: undefined;
|
|
2041
|
+
FLActionTEMP?: undefined;
|
|
2022
2042
|
FLUniV3?: undefined;
|
|
2023
2043
|
FLGho?: undefined;
|
|
2024
2044
|
FLMorphoBlue?: undefined;
|
|
@@ -2154,6 +2174,7 @@ declare const _default: {
|
|
|
2154
2174
|
ApproveToken?: undefined;
|
|
2155
2175
|
SDaiWrap?: undefined;
|
|
2156
2176
|
SDaiUnwrap?: undefined;
|
|
2177
|
+
DFSSellTEMP?: undefined;
|
|
2157
2178
|
McdGenerate?: undefined;
|
|
2158
2179
|
McdGive?: undefined;
|
|
2159
2180
|
McdMerge?: undefined;
|
|
@@ -2219,6 +2240,7 @@ declare const _default: {
|
|
|
2219
2240
|
FLDyDx?: undefined;
|
|
2220
2241
|
FLMaker?: undefined;
|
|
2221
2242
|
FLSpark?: undefined;
|
|
2243
|
+
FLActionTEMP?: undefined;
|
|
2222
2244
|
FLUniV3?: undefined;
|
|
2223
2245
|
FLGho?: undefined;
|
|
2224
2246
|
FLMorphoBlue?: undefined;
|
|
@@ -2343,6 +2365,7 @@ declare const _default: {
|
|
|
2343
2365
|
SDaiWrap?: undefined;
|
|
2344
2366
|
SDaiUnwrap?: undefined;
|
|
2345
2367
|
TokenizedVaultAdapter?: undefined;
|
|
2368
|
+
DFSSellTEMP?: undefined;
|
|
2346
2369
|
McdGenerate?: undefined;
|
|
2347
2370
|
McdGive?: undefined;
|
|
2348
2371
|
McdMerge?: undefined;
|
|
@@ -2408,6 +2431,7 @@ declare const _default: {
|
|
|
2408
2431
|
FLMaker?: undefined;
|
|
2409
2432
|
FLSpark?: undefined;
|
|
2410
2433
|
FLAction?: undefined;
|
|
2434
|
+
FLActionTEMP?: undefined;
|
|
2411
2435
|
FLGho?: undefined;
|
|
2412
2436
|
FLMorphoBlue?: undefined;
|
|
2413
2437
|
UniSupply?: undefined;
|
|
@@ -2520,6 +2544,7 @@ declare const _default: {
|
|
|
2520
2544
|
SDaiUnwrap: string;
|
|
2521
2545
|
TokenizedVaultAdapter: string;
|
|
2522
2546
|
DFSSell: string;
|
|
2547
|
+
DFSSellTEMP: string;
|
|
2523
2548
|
McdGenerate: string;
|
|
2524
2549
|
McdGive: string;
|
|
2525
2550
|
McdMerge: string;
|
|
@@ -2597,6 +2622,7 @@ declare const _default: {
|
|
|
2597
2622
|
FLBalancer: string;
|
|
2598
2623
|
FLSpark: string;
|
|
2599
2624
|
FLAction: string;
|
|
2625
|
+
FLActionTEMP: string;
|
|
2600
2626
|
FLUniV3: string;
|
|
2601
2627
|
FLGho: string;
|
|
2602
2628
|
FLMorphoBlue: string;
|
|
@@ -2737,6 +2763,7 @@ declare const _default: {
|
|
|
2737
2763
|
CreateSub?: undefined;
|
|
2738
2764
|
SDaiWrap?: undefined;
|
|
2739
2765
|
SDaiUnwrap?: undefined;
|
|
2766
|
+
DFSSellTEMP?: undefined;
|
|
2740
2767
|
McdGenerate?: undefined;
|
|
2741
2768
|
McdGive?: undefined;
|
|
2742
2769
|
McdMerge?: undefined;
|
|
@@ -2801,6 +2828,7 @@ declare const _default: {
|
|
|
2801
2828
|
FLDyDx?: undefined;
|
|
2802
2829
|
FLMaker?: undefined;
|
|
2803
2830
|
FLSpark?: undefined;
|
|
2831
|
+
FLActionTEMP?: undefined;
|
|
2804
2832
|
FLUniV3?: undefined;
|
|
2805
2833
|
FLGho?: undefined;
|
|
2806
2834
|
FLMorphoBlue?: undefined;
|
|
@@ -2936,6 +2964,7 @@ declare const _default: {
|
|
|
2936
2964
|
ApproveToken?: undefined;
|
|
2937
2965
|
SDaiWrap?: undefined;
|
|
2938
2966
|
SDaiUnwrap?: undefined;
|
|
2967
|
+
DFSSellTEMP?: undefined;
|
|
2939
2968
|
McdGenerate?: undefined;
|
|
2940
2969
|
McdGive?: undefined;
|
|
2941
2970
|
McdMerge?: undefined;
|
|
@@ -3001,6 +3030,7 @@ declare const _default: {
|
|
|
3001
3030
|
FLDyDx?: undefined;
|
|
3002
3031
|
FLMaker?: undefined;
|
|
3003
3032
|
FLSpark?: undefined;
|
|
3033
|
+
FLActionTEMP?: undefined;
|
|
3004
3034
|
FLUniV3?: undefined;
|
|
3005
3035
|
FLGho?: undefined;
|
|
3006
3036
|
FLMorphoBlue?: undefined;
|
|
@@ -3125,6 +3155,7 @@ declare const _default: {
|
|
|
3125
3155
|
SDaiWrap?: undefined;
|
|
3126
3156
|
SDaiUnwrap?: undefined;
|
|
3127
3157
|
TokenizedVaultAdapter?: undefined;
|
|
3158
|
+
DFSSellTEMP?: undefined;
|
|
3128
3159
|
McdGenerate?: undefined;
|
|
3129
3160
|
McdGive?: undefined;
|
|
3130
3161
|
McdMerge?: undefined;
|
|
@@ -3190,6 +3221,7 @@ declare const _default: {
|
|
|
3190
3221
|
FLMaker?: undefined;
|
|
3191
3222
|
FLSpark?: undefined;
|
|
3192
3223
|
FLAction?: undefined;
|
|
3224
|
+
FLActionTEMP?: undefined;
|
|
3193
3225
|
FLGho?: undefined;
|
|
3194
3226
|
FLMorphoBlue?: undefined;
|
|
3195
3227
|
UniSupply?: undefined;
|
package/package.json
CHANGED
|
@@ -23,8 +23,8 @@ export class SellAction extends ActionWithL2 {
|
|
|
23
23
|
constructor(exchangeOrder:Array<any>, from:EthAddress, to:EthAddress, protocolFee = '0') {
|
|
24
24
|
requireAddress(to);
|
|
25
25
|
super(
|
|
26
|
-
'
|
|
27
|
-
getAddr('
|
|
26
|
+
'DFSSellTEMP',
|
|
27
|
+
getAddr('DFSSellTEMP'),
|
|
28
28
|
[
|
|
29
29
|
['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']],
|
|
30
30
|
'address',
|
package/src/addresses.ts
CHANGED
|
@@ -24,7 +24,8 @@ export const actionAddresses = {
|
|
|
24
24
|
TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
|
|
25
25
|
|
|
26
26
|
// exchange
|
|
27
|
-
DFSSell: '
|
|
27
|
+
DFSSell: '0x951D7B421f45FF0e4A8ddE0288aE3f9C2C69b784',
|
|
28
|
+
DFSSellTEMP: '0x8bfc99652358884AF965324e6A233014510F0CFc',
|
|
28
29
|
|
|
29
30
|
// maker
|
|
30
31
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
@@ -122,7 +123,8 @@ export const actionAddresses = {
|
|
|
122
123
|
FLMaker: '0x672DE08e36A1698fD5e9E34045F81558dB4c1AFE',
|
|
123
124
|
FLBalancer: '0x540a83E36E5E6Aa916A6c591934d800e17115048',
|
|
124
125
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
125
|
-
FLAction: '
|
|
126
|
+
FLAction: '0x72915D41982DfCAf30b871290618E59C45Edba7F',
|
|
127
|
+
FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
126
128
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
127
129
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
128
130
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -392,7 +394,7 @@ export const actionAddresses = {
|
|
|
392
394
|
|
|
393
395
|
export const otherAddresses = {
|
|
394
396
|
[NETWORKS.ethereum.chainId]: {
|
|
395
|
-
RecipeExecutor: '
|
|
397
|
+
RecipeExecutor: '0x5029336642814bC51a42bA80BF83a6322110035D',
|
|
396
398
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
397
399
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
398
400
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
package/umd/index.js
CHANGED
|
@@ -1271,7 +1271,8 @@ var actionAddresses = {
|
|
|
1271
1271
|
SDaiUnwrap: '0xe8Cb536BB96075241c4bd8f1831A8577562F2B32',
|
|
1272
1272
|
TokenizedVaultAdapter: '0x3944364Ce3a273D269707484F3a676fCa17E08b8',
|
|
1273
1273
|
// exchange
|
|
1274
|
-
DFSSell: '
|
|
1274
|
+
DFSSell: '0x951D7B421f45FF0e4A8ddE0288aE3f9C2C69b784',
|
|
1275
|
+
DFSSellTEMP: '0x8bfc99652358884AF965324e6A233014510F0CFc',
|
|
1275
1276
|
// maker
|
|
1276
1277
|
McdGenerate: '0xCb50a91C0f12f439b8bf11E9474B9c1ED62Bf7a3',
|
|
1277
1278
|
McdGive: '0xf9556A87BF424834FDe7De0547b58E36Cb42EF01',
|
|
@@ -1359,7 +1360,8 @@ var actionAddresses = {
|
|
|
1359
1360
|
FLMaker: '0x672DE08e36A1698fD5e9E34045F81558dB4c1AFE',
|
|
1360
1361
|
FLBalancer: '0x540a83E36E5E6Aa916A6c591934d800e17115048',
|
|
1361
1362
|
FLSpark: '0xe9Fe5a0f5e4B370Ae60d837da58744666D5C06F7',
|
|
1362
|
-
FLAction: '
|
|
1363
|
+
FLAction: '0x72915D41982DfCAf30b871290618E59C45Edba7F',
|
|
1364
|
+
FLActionTEMP: '0xC2b92B6c69e5c3b6b29385C1a17FEe906e0CA910',
|
|
1363
1365
|
FLUniV3: '0x9CAdAC8Be718572F82B672b950c53F0b58483A35',
|
|
1364
1366
|
FLGho: '0xbb67b81dD080a406227A38965d0393f396ddECBc',
|
|
1365
1367
|
FLMorphoBlue: '0x6206C96EAc5EAC546861438A9f953B6BEa50EBAB',
|
|
@@ -1590,7 +1592,7 @@ var actionAddresses = {
|
|
|
1590
1592
|
};
|
|
1591
1593
|
var otherAddresses = {
|
|
1592
1594
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.ethereum.chainId]: {
|
|
1593
|
-
RecipeExecutor: '
|
|
1595
|
+
RecipeExecutor: '0x5029336642814bC51a42bA80BF83a6322110035D',
|
|
1594
1596
|
DFSRegistry: '0x287778F121F134C66212FB16c9b53eC991D32f5b',
|
|
1595
1597
|
DFSProxyRegistry: '0x29474FdaC7142f9aB7773B8e38264FA15E3805ed',
|
|
1596
1598
|
ProxyRegistry: '0x4678f0a6958e4D2Bc4F1BAF7Bc52E8F3564f3fE4',
|
|
@@ -3293,7 +3295,7 @@ class SellAction extends _ActionWithL2__WEBPACK_IMPORTED_MODULE_3__.ActionWithL2
|
|
|
3293
3295
|
constructor(exchangeOrder, from, to) {
|
|
3294
3296
|
var protocolFee = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '0';
|
|
3295
3297
|
(0,_utils_general__WEBPACK_IMPORTED_MODULE_4__.requireAddress)(to);
|
|
3296
|
-
super('
|
|
3298
|
+
super('DFSSellTEMP', (0,_addresses__WEBPACK_IMPORTED_MODULE_5__.getAddr)('DFSSellTEMP'), [['address', 'address', 'uint256', 'uint256', 'uint256', 'uint256', 'address', 'address', 'bytes', ['address', 'address', 'address', 'uint256', 'uint256', 'bytes']], 'address', 'address'], [exchangeOrder, from, to]);
|
|
3297
3299
|
_defineProperty(this, "protocolFee", void 0);
|
|
3298
3300
|
this.protocolFee = protocolFee;
|
|
3299
3301
|
this.mappableArgs = [this.args[0][0], this.args[0][1], this.args[0][2], this.args[1], this.args[2]];
|
|
@@ -5014,7 +5016,7 @@ class FLAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
5014
5016
|
*/
|
|
5015
5017
|
|
|
5016
5018
|
constructor(_specificFLAction) {
|
|
5017
|
-
super('
|
|
5019
|
+
super('FLActionTEMP', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FLActionTEMP'), [], []);
|
|
5018
5020
|
_classPrivateMethodInitSpec(this, _handleArgs);
|
|
5019
5021
|
this.paramTypes = ['address[]', 'uint256[]', 'uint256[]', 'address', 'address', 'bytes', 'bytes'];
|
|
5020
5022
|
this.args = _classPrivateMethodGet(this, _handleArgs, _handleArgs2).call(this, _specificFLAction);
|