@defisaver/sdk 1.0.46 → 1.0.47
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/addresses.d.ts +24 -24
- package/esm/src/addresses.js +28 -0
- package/esm/src/index.d.ts +96 -96
- package/package.json +1 -1
- package/src/addresses.ts +31 -0
- package/umd/index.js +29 -1
package/esm/src/addresses.d.ts
CHANGED
|
@@ -515,10 +515,30 @@ export declare const actionAddresses: {
|
|
|
515
515
|
AaveV3RatioTrigger?: undefined;
|
|
516
516
|
} | {
|
|
517
517
|
DFSSell: string;
|
|
518
|
-
WrapEth
|
|
519
|
-
UnwrapEth
|
|
520
|
-
|
|
521
|
-
|
|
518
|
+
WrapEth: string;
|
|
519
|
+
UnwrapEth: string;
|
|
520
|
+
SendToken: string;
|
|
521
|
+
PullToken: string;
|
|
522
|
+
FLAaveV3: string;
|
|
523
|
+
FLBalancer: string;
|
|
524
|
+
FLUniV3: string;
|
|
525
|
+
AaveV3Withdraw: string;
|
|
526
|
+
AaveV3SwapBorrowRateMode: string;
|
|
527
|
+
AaveV3Supply: string;
|
|
528
|
+
AaveV3SetEMode: string;
|
|
529
|
+
AaveV3Payback: string;
|
|
530
|
+
AaveV3CollateralSwitch: string;
|
|
531
|
+
AaveV3ClaimRewards: string;
|
|
532
|
+
AaveV3Borrow: string;
|
|
533
|
+
AaveV3ATokenPayback: string;
|
|
534
|
+
AaveV3View: string;
|
|
535
|
+
CompV3Allow: string;
|
|
536
|
+
CompV3Borrow: string;
|
|
537
|
+
CompV3Claim: string;
|
|
538
|
+
CompV3Payback: string;
|
|
539
|
+
CompV3Supply: string;
|
|
540
|
+
CompV3Transfer: string;
|
|
541
|
+
CompV3Withdraw: string;
|
|
522
542
|
SumInputs?: undefined;
|
|
523
543
|
SubInputs?: undefined;
|
|
524
544
|
ChangeProxyOwner?: undefined;
|
|
@@ -557,16 +577,6 @@ export declare const actionAddresses: {
|
|
|
557
577
|
AaveCollateralSwitch?: undefined;
|
|
558
578
|
AaveUnstake?: undefined;
|
|
559
579
|
AaveClaimAAVE?: undefined;
|
|
560
|
-
AaveV3Withdraw?: undefined;
|
|
561
|
-
AaveV3SwapBorrowRateMode?: undefined;
|
|
562
|
-
AaveV3Supply?: undefined;
|
|
563
|
-
AaveV3SetEMode?: undefined;
|
|
564
|
-
AaveV3Payback?: undefined;
|
|
565
|
-
AaveV3CollateralSwitch?: undefined;
|
|
566
|
-
AaveV3ClaimRewards?: undefined;
|
|
567
|
-
AaveV3Borrow?: undefined;
|
|
568
|
-
AaveV3ATokenPayback?: undefined;
|
|
569
|
-
AaveV3View?: undefined;
|
|
570
580
|
MorphoAaveV2Borrow?: undefined;
|
|
571
581
|
MorphoAaveV2Payback?: undefined;
|
|
572
582
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -594,13 +604,10 @@ export declare const actionAddresses: {
|
|
|
594
604
|
CompCollateralSwitch?: undefined;
|
|
595
605
|
FLAaveV2?: undefined;
|
|
596
606
|
FLAaveV3NoFee?: undefined;
|
|
597
|
-
FLAaveV3?: undefined;
|
|
598
607
|
FLDyDx?: undefined;
|
|
599
608
|
FLMaker?: undefined;
|
|
600
|
-
FLBalancer?: undefined;
|
|
601
609
|
FLSpark?: undefined;
|
|
602
610
|
FLAction?: undefined;
|
|
603
|
-
FLUniV3?: undefined;
|
|
604
611
|
FLGho?: undefined;
|
|
605
612
|
UniSupply?: undefined;
|
|
606
613
|
UniWithdraw?: undefined;
|
|
@@ -664,13 +671,6 @@ export declare const actionAddresses: {
|
|
|
664
671
|
CBChickenOut?: undefined;
|
|
665
672
|
CBCreateRebondSub?: undefined;
|
|
666
673
|
FetchBondId?: undefined;
|
|
667
|
-
CompV3Allow?: undefined;
|
|
668
|
-
CompV3Borrow?: undefined;
|
|
669
|
-
CompV3Claim?: undefined;
|
|
670
|
-
CompV3Payback?: undefined;
|
|
671
|
-
CompV3Supply?: undefined;
|
|
672
|
-
CompV3Transfer?: undefined;
|
|
673
|
-
CompV3Withdraw?: undefined;
|
|
674
674
|
CurveUsdBorrow?: undefined;
|
|
675
675
|
CurveUsdCreate?: undefined;
|
|
676
676
|
CurveUsdPayback?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -269,7 +269,35 @@ export const actionAddresses = {
|
|
|
269
269
|
UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5',
|
|
270
270
|
},
|
|
271
271
|
[NETWORKS.base.chainId]: {
|
|
272
|
+
// Basic
|
|
272
273
|
DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
|
|
274
|
+
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
275
|
+
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
276
|
+
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
277
|
+
PullToken: '0x5B0B7E38C2a8e46CfAe13c360BC5927570BeEe94',
|
|
278
|
+
// Flashloan
|
|
279
|
+
FLAaveV3: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
|
|
280
|
+
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
281
|
+
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
282
|
+
// AaveV3
|
|
283
|
+
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
284
|
+
AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
285
|
+
AaveV3Supply: '0x741FcFC1D708CEA0d845Fd04de51022b6d00e060',
|
|
286
|
+
AaveV3SetEMode: '0xdeF8B05Ce194D50C376233C9C5530027f6180442',
|
|
287
|
+
AaveV3Payback: '0x1A8B4DF4DE4274630A5c5a8E42Fa5F0DdF654ec2',
|
|
288
|
+
AaveV3CollateralSwitch: '0xFdfeA6469c537b19A334726E01621810bc49B929',
|
|
289
|
+
AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
|
|
290
|
+
AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
|
|
291
|
+
AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
|
|
292
|
+
AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
|
|
293
|
+
// CompV3
|
|
294
|
+
CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
|
|
295
|
+
CompV3Borrow: '0x74346bf868Dc9201922A7F7DD26917F7BF5F0f3b',
|
|
296
|
+
CompV3Claim: '0xD51F6C1c9bE837E5fd93e31214AeCaFde753E90e',
|
|
297
|
+
CompV3Payback: '0x73c627b48cb7c2b319E496fc55535Db6eD2c3445',
|
|
298
|
+
CompV3Supply: '0x94b63bf925C2Ab17F7df6914E110E969cC36A93e',
|
|
299
|
+
CompV3Transfer: '0xdCAF9C6Bccc062Bc1b8704AA37005897FeA257a0',
|
|
300
|
+
CompV3Withdraw: '0x8543133c3827D29b67D2b012101f463c870C1790',
|
|
273
301
|
},
|
|
274
302
|
};
|
|
275
303
|
export const otherAddresses = {
|
package/esm/src/index.d.ts
CHANGED
|
@@ -526,10 +526,30 @@ declare const actionAddressesAllChains: {
|
|
|
526
526
|
AaveV3RatioTrigger?: undefined;
|
|
527
527
|
} | {
|
|
528
528
|
DFSSell: string;
|
|
529
|
-
WrapEth
|
|
530
|
-
UnwrapEth
|
|
531
|
-
|
|
532
|
-
|
|
529
|
+
WrapEth: string;
|
|
530
|
+
UnwrapEth: string;
|
|
531
|
+
SendToken: string;
|
|
532
|
+
PullToken: string;
|
|
533
|
+
FLAaveV3: string;
|
|
534
|
+
FLBalancer: string;
|
|
535
|
+
FLUniV3: string;
|
|
536
|
+
AaveV3Withdraw: string;
|
|
537
|
+
AaveV3SwapBorrowRateMode: string;
|
|
538
|
+
AaveV3Supply: string;
|
|
539
|
+
AaveV3SetEMode: string;
|
|
540
|
+
AaveV3Payback: string;
|
|
541
|
+
AaveV3CollateralSwitch: string;
|
|
542
|
+
AaveV3ClaimRewards: string;
|
|
543
|
+
AaveV3Borrow: string;
|
|
544
|
+
AaveV3ATokenPayback: string;
|
|
545
|
+
AaveV3View: string;
|
|
546
|
+
CompV3Allow: string;
|
|
547
|
+
CompV3Borrow: string;
|
|
548
|
+
CompV3Claim: string;
|
|
549
|
+
CompV3Payback: string;
|
|
550
|
+
CompV3Supply: string;
|
|
551
|
+
CompV3Transfer: string;
|
|
552
|
+
CompV3Withdraw: string;
|
|
533
553
|
SumInputs?: undefined;
|
|
534
554
|
SubInputs?: undefined;
|
|
535
555
|
ChangeProxyOwner?: undefined;
|
|
@@ -568,16 +588,6 @@ declare const actionAddressesAllChains: {
|
|
|
568
588
|
AaveCollateralSwitch?: undefined;
|
|
569
589
|
AaveUnstake?: undefined;
|
|
570
590
|
AaveClaimAAVE?: undefined;
|
|
571
|
-
AaveV3Withdraw?: undefined;
|
|
572
|
-
AaveV3SwapBorrowRateMode?: undefined;
|
|
573
|
-
AaveV3Supply?: undefined;
|
|
574
|
-
AaveV3SetEMode?: undefined;
|
|
575
|
-
AaveV3Payback?: undefined;
|
|
576
|
-
AaveV3CollateralSwitch?: undefined;
|
|
577
|
-
AaveV3ClaimRewards?: undefined;
|
|
578
|
-
AaveV3Borrow?: undefined;
|
|
579
|
-
AaveV3ATokenPayback?: undefined;
|
|
580
|
-
AaveV3View?: undefined;
|
|
581
591
|
MorphoAaveV2Borrow?: undefined;
|
|
582
592
|
MorphoAaveV2Payback?: undefined;
|
|
583
593
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -605,13 +615,10 @@ declare const actionAddressesAllChains: {
|
|
|
605
615
|
CompCollateralSwitch?: undefined;
|
|
606
616
|
FLAaveV2?: undefined;
|
|
607
617
|
FLAaveV3NoFee?: undefined;
|
|
608
|
-
FLAaveV3?: undefined;
|
|
609
618
|
FLDyDx?: undefined;
|
|
610
619
|
FLMaker?: undefined;
|
|
611
|
-
FLBalancer?: undefined;
|
|
612
620
|
FLSpark?: undefined;
|
|
613
621
|
FLAction?: undefined;
|
|
614
|
-
FLUniV3?: undefined;
|
|
615
622
|
FLGho?: undefined;
|
|
616
623
|
UniSupply?: undefined;
|
|
617
624
|
UniWithdraw?: undefined;
|
|
@@ -675,13 +682,6 @@ declare const actionAddressesAllChains: {
|
|
|
675
682
|
CBChickenOut?: undefined;
|
|
676
683
|
CBCreateRebondSub?: undefined;
|
|
677
684
|
FetchBondId?: undefined;
|
|
678
|
-
CompV3Allow?: undefined;
|
|
679
|
-
CompV3Borrow?: undefined;
|
|
680
|
-
CompV3Claim?: undefined;
|
|
681
|
-
CompV3Payback?: undefined;
|
|
682
|
-
CompV3Supply?: undefined;
|
|
683
|
-
CompV3Transfer?: undefined;
|
|
684
|
-
CompV3Withdraw?: undefined;
|
|
685
685
|
CurveUsdBorrow?: undefined;
|
|
686
686
|
CurveUsdCreate?: undefined;
|
|
687
687
|
CurveUsdPayback?: undefined;
|
|
@@ -1212,10 +1212,30 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1212
1212
|
AaveV3RatioTrigger?: undefined;
|
|
1213
1213
|
} | {
|
|
1214
1214
|
DFSSell: string;
|
|
1215
|
-
WrapEth
|
|
1216
|
-
UnwrapEth
|
|
1217
|
-
|
|
1218
|
-
|
|
1215
|
+
WrapEth: string;
|
|
1216
|
+
UnwrapEth: string;
|
|
1217
|
+
SendToken: string;
|
|
1218
|
+
PullToken: string;
|
|
1219
|
+
FLAaveV3: string;
|
|
1220
|
+
FLBalancer: string;
|
|
1221
|
+
FLUniV3: string;
|
|
1222
|
+
AaveV3Withdraw: string;
|
|
1223
|
+
AaveV3SwapBorrowRateMode: string;
|
|
1224
|
+
AaveV3Supply: string;
|
|
1225
|
+
AaveV3SetEMode: string;
|
|
1226
|
+
AaveV3Payback: string;
|
|
1227
|
+
AaveV3CollateralSwitch: string;
|
|
1228
|
+
AaveV3ClaimRewards: string;
|
|
1229
|
+
AaveV3Borrow: string;
|
|
1230
|
+
AaveV3ATokenPayback: string;
|
|
1231
|
+
AaveV3View: string;
|
|
1232
|
+
CompV3Allow: string;
|
|
1233
|
+
CompV3Borrow: string;
|
|
1234
|
+
CompV3Claim: string;
|
|
1235
|
+
CompV3Payback: string;
|
|
1236
|
+
CompV3Supply: string;
|
|
1237
|
+
CompV3Transfer: string;
|
|
1238
|
+
CompV3Withdraw: string;
|
|
1219
1239
|
SumInputs?: undefined;
|
|
1220
1240
|
SubInputs?: undefined;
|
|
1221
1241
|
ChangeProxyOwner?: undefined;
|
|
@@ -1254,16 +1274,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1254
1274
|
AaveCollateralSwitch?: undefined;
|
|
1255
1275
|
AaveUnstake?: undefined;
|
|
1256
1276
|
AaveClaimAAVE?: undefined;
|
|
1257
|
-
AaveV3Withdraw?: undefined;
|
|
1258
|
-
AaveV3SwapBorrowRateMode?: undefined;
|
|
1259
|
-
AaveV3Supply?: undefined;
|
|
1260
|
-
AaveV3SetEMode?: undefined;
|
|
1261
|
-
AaveV3Payback?: undefined;
|
|
1262
|
-
AaveV3CollateralSwitch?: undefined;
|
|
1263
|
-
AaveV3ClaimRewards?: undefined;
|
|
1264
|
-
AaveV3Borrow?: undefined;
|
|
1265
|
-
AaveV3ATokenPayback?: undefined;
|
|
1266
|
-
AaveV3View?: undefined;
|
|
1267
1277
|
MorphoAaveV2Borrow?: undefined;
|
|
1268
1278
|
MorphoAaveV2Payback?: undefined;
|
|
1269
1279
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -1291,13 +1301,10 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1291
1301
|
CompCollateralSwitch?: undefined;
|
|
1292
1302
|
FLAaveV2?: undefined;
|
|
1293
1303
|
FLAaveV3NoFee?: undefined;
|
|
1294
|
-
FLAaveV3?: undefined;
|
|
1295
1304
|
FLDyDx?: undefined;
|
|
1296
1305
|
FLMaker?: undefined;
|
|
1297
|
-
FLBalancer?: undefined;
|
|
1298
1306
|
FLSpark?: undefined;
|
|
1299
1307
|
FLAction?: undefined;
|
|
1300
|
-
FLUniV3?: undefined;
|
|
1301
1308
|
FLGho?: undefined;
|
|
1302
1309
|
UniSupply?: undefined;
|
|
1303
1310
|
UniWithdraw?: undefined;
|
|
@@ -1361,13 +1368,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1361
1368
|
CBChickenOut?: undefined;
|
|
1362
1369
|
CBCreateRebondSub?: undefined;
|
|
1363
1370
|
FetchBondId?: undefined;
|
|
1364
|
-
CompV3Allow?: undefined;
|
|
1365
|
-
CompV3Borrow?: undefined;
|
|
1366
|
-
CompV3Claim?: undefined;
|
|
1367
|
-
CompV3Payback?: undefined;
|
|
1368
|
-
CompV3Supply?: undefined;
|
|
1369
|
-
CompV3Transfer?: undefined;
|
|
1370
|
-
CompV3Withdraw?: undefined;
|
|
1371
1371
|
CurveUsdBorrow?: undefined;
|
|
1372
1372
|
CurveUsdCreate?: undefined;
|
|
1373
1373
|
CurveUsdPayback?: undefined;
|
|
@@ -2041,10 +2041,30 @@ declare const _default: {
|
|
|
2041
2041
|
AaveV3RatioTrigger?: undefined;
|
|
2042
2042
|
} | {
|
|
2043
2043
|
DFSSell: string;
|
|
2044
|
-
WrapEth
|
|
2045
|
-
UnwrapEth
|
|
2046
|
-
|
|
2047
|
-
|
|
2044
|
+
WrapEth: string;
|
|
2045
|
+
UnwrapEth: string;
|
|
2046
|
+
SendToken: string;
|
|
2047
|
+
PullToken: string;
|
|
2048
|
+
FLAaveV3: string;
|
|
2049
|
+
FLBalancer: string;
|
|
2050
|
+
FLUniV3: string;
|
|
2051
|
+
AaveV3Withdraw: string;
|
|
2052
|
+
AaveV3SwapBorrowRateMode: string;
|
|
2053
|
+
AaveV3Supply: string;
|
|
2054
|
+
AaveV3SetEMode: string;
|
|
2055
|
+
AaveV3Payback: string;
|
|
2056
|
+
AaveV3CollateralSwitch: string;
|
|
2057
|
+
AaveV3ClaimRewards: string;
|
|
2058
|
+
AaveV3Borrow: string;
|
|
2059
|
+
AaveV3ATokenPayback: string;
|
|
2060
|
+
AaveV3View: string;
|
|
2061
|
+
CompV3Allow: string;
|
|
2062
|
+
CompV3Borrow: string;
|
|
2063
|
+
CompV3Claim: string;
|
|
2064
|
+
CompV3Payback: string;
|
|
2065
|
+
CompV3Supply: string;
|
|
2066
|
+
CompV3Transfer: string;
|
|
2067
|
+
CompV3Withdraw: string;
|
|
2048
2068
|
SumInputs?: undefined;
|
|
2049
2069
|
SubInputs?: undefined;
|
|
2050
2070
|
ChangeProxyOwner?: undefined;
|
|
@@ -2083,16 +2103,6 @@ declare const _default: {
|
|
|
2083
2103
|
AaveCollateralSwitch?: undefined;
|
|
2084
2104
|
AaveUnstake?: undefined;
|
|
2085
2105
|
AaveClaimAAVE?: undefined;
|
|
2086
|
-
AaveV3Withdraw?: undefined;
|
|
2087
|
-
AaveV3SwapBorrowRateMode?: undefined;
|
|
2088
|
-
AaveV3Supply?: undefined;
|
|
2089
|
-
AaveV3SetEMode?: undefined;
|
|
2090
|
-
AaveV3Payback?: undefined;
|
|
2091
|
-
AaveV3CollateralSwitch?: undefined;
|
|
2092
|
-
AaveV3ClaimRewards?: undefined;
|
|
2093
|
-
AaveV3Borrow?: undefined;
|
|
2094
|
-
AaveV3ATokenPayback?: undefined;
|
|
2095
|
-
AaveV3View?: undefined;
|
|
2096
2106
|
MorphoAaveV2Borrow?: undefined;
|
|
2097
2107
|
MorphoAaveV2Payback?: undefined;
|
|
2098
2108
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -2120,13 +2130,10 @@ declare const _default: {
|
|
|
2120
2130
|
CompCollateralSwitch?: undefined;
|
|
2121
2131
|
FLAaveV2?: undefined;
|
|
2122
2132
|
FLAaveV3NoFee?: undefined;
|
|
2123
|
-
FLAaveV3?: undefined;
|
|
2124
2133
|
FLDyDx?: undefined;
|
|
2125
2134
|
FLMaker?: undefined;
|
|
2126
|
-
FLBalancer?: undefined;
|
|
2127
2135
|
FLSpark?: undefined;
|
|
2128
2136
|
FLAction?: undefined;
|
|
2129
|
-
FLUniV3?: undefined;
|
|
2130
2137
|
FLGho?: undefined;
|
|
2131
2138
|
UniSupply?: undefined;
|
|
2132
2139
|
UniWithdraw?: undefined;
|
|
@@ -2190,13 +2197,6 @@ declare const _default: {
|
|
|
2190
2197
|
CBChickenOut?: undefined;
|
|
2191
2198
|
CBCreateRebondSub?: undefined;
|
|
2192
2199
|
FetchBondId?: undefined;
|
|
2193
|
-
CompV3Allow?: undefined;
|
|
2194
|
-
CompV3Borrow?: undefined;
|
|
2195
|
-
CompV3Claim?: undefined;
|
|
2196
|
-
CompV3Payback?: undefined;
|
|
2197
|
-
CompV3Supply?: undefined;
|
|
2198
|
-
CompV3Transfer?: undefined;
|
|
2199
|
-
CompV3Withdraw?: undefined;
|
|
2200
2200
|
CurveUsdBorrow?: undefined;
|
|
2201
2201
|
CurveUsdCreate?: undefined;
|
|
2202
2202
|
CurveUsdPayback?: undefined;
|
|
@@ -2727,10 +2727,30 @@ declare const _default: {
|
|
|
2727
2727
|
AaveV3RatioTrigger?: undefined;
|
|
2728
2728
|
} | {
|
|
2729
2729
|
DFSSell: string;
|
|
2730
|
-
WrapEth
|
|
2731
|
-
UnwrapEth
|
|
2732
|
-
|
|
2733
|
-
|
|
2730
|
+
WrapEth: string;
|
|
2731
|
+
UnwrapEth: string;
|
|
2732
|
+
SendToken: string;
|
|
2733
|
+
PullToken: string;
|
|
2734
|
+
FLAaveV3: string;
|
|
2735
|
+
FLBalancer: string;
|
|
2736
|
+
FLUniV3: string;
|
|
2737
|
+
AaveV3Withdraw: string;
|
|
2738
|
+
AaveV3SwapBorrowRateMode: string;
|
|
2739
|
+
AaveV3Supply: string;
|
|
2740
|
+
AaveV3SetEMode: string;
|
|
2741
|
+
AaveV3Payback: string;
|
|
2742
|
+
AaveV3CollateralSwitch: string;
|
|
2743
|
+
AaveV3ClaimRewards: string;
|
|
2744
|
+
AaveV3Borrow: string;
|
|
2745
|
+
AaveV3ATokenPayback: string;
|
|
2746
|
+
AaveV3View: string;
|
|
2747
|
+
CompV3Allow: string;
|
|
2748
|
+
CompV3Borrow: string;
|
|
2749
|
+
CompV3Claim: string;
|
|
2750
|
+
CompV3Payback: string;
|
|
2751
|
+
CompV3Supply: string;
|
|
2752
|
+
CompV3Transfer: string;
|
|
2753
|
+
CompV3Withdraw: string;
|
|
2734
2754
|
SumInputs?: undefined;
|
|
2735
2755
|
SubInputs?: undefined;
|
|
2736
2756
|
ChangeProxyOwner?: undefined;
|
|
@@ -2769,16 +2789,6 @@ declare const _default: {
|
|
|
2769
2789
|
AaveCollateralSwitch?: undefined;
|
|
2770
2790
|
AaveUnstake?: undefined;
|
|
2771
2791
|
AaveClaimAAVE?: undefined;
|
|
2772
|
-
AaveV3Withdraw?: undefined;
|
|
2773
|
-
AaveV3SwapBorrowRateMode?: undefined;
|
|
2774
|
-
AaveV3Supply?: undefined;
|
|
2775
|
-
AaveV3SetEMode?: undefined;
|
|
2776
|
-
AaveV3Payback?: undefined;
|
|
2777
|
-
AaveV3CollateralSwitch?: undefined;
|
|
2778
|
-
AaveV3ClaimRewards?: undefined;
|
|
2779
|
-
AaveV3Borrow?: undefined;
|
|
2780
|
-
AaveV3ATokenPayback?: undefined;
|
|
2781
|
-
AaveV3View?: undefined;
|
|
2782
2792
|
MorphoAaveV2Borrow?: undefined;
|
|
2783
2793
|
MorphoAaveV2Payback?: undefined;
|
|
2784
2794
|
MorphoAaveV2Supply?: undefined;
|
|
@@ -2806,13 +2816,10 @@ declare const _default: {
|
|
|
2806
2816
|
CompCollateralSwitch?: undefined;
|
|
2807
2817
|
FLAaveV2?: undefined;
|
|
2808
2818
|
FLAaveV3NoFee?: undefined;
|
|
2809
|
-
FLAaveV3?: undefined;
|
|
2810
2819
|
FLDyDx?: undefined;
|
|
2811
2820
|
FLMaker?: undefined;
|
|
2812
|
-
FLBalancer?: undefined;
|
|
2813
2821
|
FLSpark?: undefined;
|
|
2814
2822
|
FLAction?: undefined;
|
|
2815
|
-
FLUniV3?: undefined;
|
|
2816
2823
|
FLGho?: undefined;
|
|
2817
2824
|
UniSupply?: undefined;
|
|
2818
2825
|
UniWithdraw?: undefined;
|
|
@@ -2876,13 +2883,6 @@ declare const _default: {
|
|
|
2876
2883
|
CBChickenOut?: undefined;
|
|
2877
2884
|
CBCreateRebondSub?: undefined;
|
|
2878
2885
|
FetchBondId?: undefined;
|
|
2879
|
-
CompV3Allow?: undefined;
|
|
2880
|
-
CompV3Borrow?: undefined;
|
|
2881
|
-
CompV3Claim?: undefined;
|
|
2882
|
-
CompV3Payback?: undefined;
|
|
2883
|
-
CompV3Supply?: undefined;
|
|
2884
|
-
CompV3Transfer?: undefined;
|
|
2885
|
-
CompV3Withdraw?: undefined;
|
|
2886
2886
|
CurveUsdBorrow?: undefined;
|
|
2887
2887
|
CurveUsdCreate?: undefined;
|
|
2888
2888
|
CurveUsdPayback?: undefined;
|
package/package.json
CHANGED
package/src/addresses.ts
CHANGED
|
@@ -314,7 +314,38 @@ export const actionAddresses = {
|
|
|
314
314
|
UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5',
|
|
315
315
|
},
|
|
316
316
|
[NETWORKS.base.chainId]: {
|
|
317
|
+
// Basic
|
|
317
318
|
DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
|
|
319
|
+
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
320
|
+
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
321
|
+
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
322
|
+
PullToken: '0x5B0B7E38C2a8e46CfAe13c360BC5927570BeEe94',
|
|
323
|
+
|
|
324
|
+
// Flashloan
|
|
325
|
+
FLAaveV3: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
|
|
326
|
+
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
327
|
+
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
328
|
+
|
|
329
|
+
// AaveV3
|
|
330
|
+
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
331
|
+
AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
332
|
+
AaveV3Supply: '0x741FcFC1D708CEA0d845Fd04de51022b6d00e060',
|
|
333
|
+
AaveV3SetEMode: '0xdeF8B05Ce194D50C376233C9C5530027f6180442',
|
|
334
|
+
AaveV3Payback: '0x1A8B4DF4DE4274630A5c5a8E42Fa5F0DdF654ec2',
|
|
335
|
+
AaveV3CollateralSwitch: '0xFdfeA6469c537b19A334726E01621810bc49B929',
|
|
336
|
+
AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
|
|
337
|
+
AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
|
|
338
|
+
AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
|
|
339
|
+
AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
|
|
340
|
+
|
|
341
|
+
// CompV3
|
|
342
|
+
CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
|
|
343
|
+
CompV3Borrow: '0x74346bf868Dc9201922A7F7DD26917F7BF5F0f3b',
|
|
344
|
+
CompV3Claim: '0xD51F6C1c9bE837E5fd93e31214AeCaFde753E90e',
|
|
345
|
+
CompV3Payback: '0x73c627b48cb7c2b319E496fc55535Db6eD2c3445',
|
|
346
|
+
CompV3Supply: '0x94b63bf925C2Ab17F7df6914E110E969cC36A93e',
|
|
347
|
+
CompV3Transfer: '0xdCAF9C6Bccc062Bc1b8704AA37005897FeA257a0',
|
|
348
|
+
CompV3Withdraw: '0x8543133c3827D29b67D2b012101f463c870C1790',
|
|
318
349
|
},
|
|
319
350
|
};
|
|
320
351
|
|
package/umd/index.js
CHANGED
|
@@ -1525,7 +1525,35 @@ var actionAddresses = {
|
|
|
1525
1525
|
UniCreatePoolV3: '0x334Ab3C12a4c0315566fd9308880Dad71F838Dc5'
|
|
1526
1526
|
},
|
|
1527
1527
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.base.chainId]: {
|
|
1528
|
-
|
|
1528
|
+
// Basic
|
|
1529
|
+
DFSSell: '0xCc0f04e8c34B670a1D06f4978C843952F690d3f4',
|
|
1530
|
+
WrapEth: '0x491cc4AFbE0081C3464DeF1114ba27BE114b2401',
|
|
1531
|
+
UnwrapEth: '0xcF91546046F16B3c38b890CC508E280BEffa66b9',
|
|
1532
|
+
SendToken: '0x1420f4977E7B71AFddccBFc6F6e1505CefdF99F0',
|
|
1533
|
+
PullToken: '0x5B0B7E38C2a8e46CfAe13c360BC5927570BeEe94',
|
|
1534
|
+
// Flashloan
|
|
1535
|
+
FLAaveV3: '0x04ce4b2a9F524d976a8eD8a49B9313C5a2C3ccAD',
|
|
1536
|
+
FLBalancer: '0x862E533198C9656B75bB6A5dDF0953F7ED5E8507',
|
|
1537
|
+
FLUniV3: '0x1bA6082D2ef1aB92a55B96264c72Eb8049C964Ce',
|
|
1538
|
+
// AaveV3
|
|
1539
|
+
AaveV3Withdraw: '0x1d2Fa7dAcC660A9124c3685EE8a6E699d10409Eb',
|
|
1540
|
+
AaveV3SwapBorrowRateMode: '0x9d1D7A0dD5e82cCe9CC131eC0C807B0F543be70e',
|
|
1541
|
+
AaveV3Supply: '0x741FcFC1D708CEA0d845Fd04de51022b6d00e060',
|
|
1542
|
+
AaveV3SetEMode: '0xdeF8B05Ce194D50C376233C9C5530027f6180442',
|
|
1543
|
+
AaveV3Payback: '0x1A8B4DF4DE4274630A5c5a8E42Fa5F0DdF654ec2',
|
|
1544
|
+
AaveV3CollateralSwitch: '0xFdfeA6469c537b19A334726E01621810bc49B929',
|
|
1545
|
+
AaveV3ClaimRewards: '0xCeB876C6A4dd76aFe645622db00D4E051D16dA66',
|
|
1546
|
+
AaveV3Borrow: '0x8C6eC1A4869e2B307Ee1667e1c18D5776b61CCe3',
|
|
1547
|
+
AaveV3ATokenPayback: '0x3D57875885e3cEe9E56Cb65D21789893B6e67815',
|
|
1548
|
+
AaveV3View: '0x125b8b832BD7F2EBD77Eef148A6319AdE751C44b',
|
|
1549
|
+
// CompV3
|
|
1550
|
+
CompV3Allow: '0x3Fe56B85BBcD759459408Bd8434c37bac93e26bF',
|
|
1551
|
+
CompV3Borrow: '0x74346bf868Dc9201922A7F7DD26917F7BF5F0f3b',
|
|
1552
|
+
CompV3Claim: '0xD51F6C1c9bE837E5fd93e31214AeCaFde753E90e',
|
|
1553
|
+
CompV3Payback: '0x73c627b48cb7c2b319E496fc55535Db6eD2c3445',
|
|
1554
|
+
CompV3Supply: '0x94b63bf925C2Ab17F7df6914E110E969cC36A93e',
|
|
1555
|
+
CompV3Transfer: '0xdCAF9C6Bccc062Bc1b8704AA37005897FeA257a0',
|
|
1556
|
+
CompV3Withdraw: '0x8543133c3827D29b67D2b012101f463c870C1790'
|
|
1529
1557
|
}
|
|
1530
1558
|
};
|
|
1531
1559
|
var otherAddresses = {
|