@defisaver/sdk 1.1.0 → 1.1.1
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/reflexer/ReflexerWithdrawStuckFunds.d.ts +14 -0
- package/esm/src/actions/reflexer/ReflexerWithdrawStuckFunds.js +18 -0
- package/esm/src/actions/reflexer/index.d.ts +1 -0
- package/esm/src/actions/reflexer/index.js +1 -0
- package/esm/src/addresses.d.ts +5 -1
- package/esm/src/addresses.js +3 -1
- package/esm/src/index.d.ts +20 -4
- package/package.json +1 -1
- package/src/actions/reflexer/ReflexerWithdrawStuckFunds.ts +20 -0
- package/src/actions/reflexer/index.ts +2 -1
- package/src/addresses.ts +3 -1
- package/umd/index.js +446 -411
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256 } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* ReflexerWithdrawStuckFunds - Withdraw stuck funds from a reflexer safe
|
|
5
|
+
*
|
|
6
|
+
* @category Reflexer
|
|
7
|
+
*/
|
|
8
|
+
export declare class ReflexerWithdrawStuckFunds extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param safeId - The id of the reflexer safe
|
|
11
|
+
* @param to - address where RAI will be sent to
|
|
12
|
+
*/
|
|
13
|
+
constructor(safeId: uint256, to: EthAddress);
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { requireAddress } from '../../utils/general';
|
|
3
|
+
import { getAddr } from '../../addresses';
|
|
4
|
+
/**
|
|
5
|
+
* ReflexerWithdrawStuckFunds - Withdraw stuck funds from a reflexer safe
|
|
6
|
+
*
|
|
7
|
+
* @category Reflexer
|
|
8
|
+
*/
|
|
9
|
+
export class ReflexerWithdrawStuckFunds extends Action {
|
|
10
|
+
/**
|
|
11
|
+
* @param safeId - The id of the reflexer safe
|
|
12
|
+
* @param to - address where RAI will be sent to
|
|
13
|
+
*/
|
|
14
|
+
constructor(safeId, to) {
|
|
15
|
+
requireAddress(to);
|
|
16
|
+
super('ReflexerWithdrawStuckFunds', getAddr('ReflexerWithdrawStuckFunds'), ['uint256', 'address'], [safeId, to]);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -6,3 +6,4 @@ export * from './ReflexerWithdrawAction';
|
|
|
6
6
|
export * from './ReflexerNativeUniV2SaviourDepositAction';
|
|
7
7
|
export * from './ReflexerNativeUniV2SaviourWithdrawAction';
|
|
8
8
|
export * from './ReflexerNativeUniV2SaviourGetReservesAction';
|
|
9
|
+
export * from './ReflexerWithdrawStuckFunds';
|
|
@@ -6,3 +6,4 @@ export * from './ReflexerWithdrawAction';
|
|
|
6
6
|
export * from './ReflexerNativeUniV2SaviourDepositAction';
|
|
7
7
|
export * from './ReflexerNativeUniV2SaviourWithdrawAction';
|
|
8
8
|
export * from './ReflexerNativeUniV2SaviourGetReservesAction';
|
|
9
|
+
export * from './ReflexerWithdrawStuckFunds';
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare const actionAddresses: {
|
|
|
36
36
|
ReflexerPayback: string;
|
|
37
37
|
ReflexerGenerate: string;
|
|
38
38
|
ReflexerOpen: string;
|
|
39
|
+
ReflexerWithdrawStuckFunds: string;
|
|
39
40
|
ReflexerNativeUniV2SaviourDeposit: string;
|
|
40
41
|
ReflexerNativeUniV2SaviourGetReserves: string;
|
|
41
42
|
ReflexerNativeUniV2SaviourWithdraw: string;
|
|
@@ -263,6 +264,7 @@ export declare const actionAddresses: {
|
|
|
263
264
|
ReflexerPayback?: undefined;
|
|
264
265
|
ReflexerGenerate?: undefined;
|
|
265
266
|
ReflexerOpen?: undefined;
|
|
267
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
266
268
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
267
269
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
268
270
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -430,6 +432,7 @@ export declare const actionAddresses: {
|
|
|
430
432
|
AaveV3Supply: string;
|
|
431
433
|
AaveV3SwapBorrowRateMode: string;
|
|
432
434
|
AaveV3Withdraw: string;
|
|
435
|
+
AaveV3ClaimRewards: string;
|
|
433
436
|
CompV3Allow: string;
|
|
434
437
|
CompV3Borrow: string;
|
|
435
438
|
CompV3Claim: string;
|
|
@@ -471,6 +474,7 @@ export declare const actionAddresses: {
|
|
|
471
474
|
ReflexerPayback?: undefined;
|
|
472
475
|
ReflexerGenerate?: undefined;
|
|
473
476
|
ReflexerOpen?: undefined;
|
|
477
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
474
478
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
475
479
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
476
480
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -482,7 +486,6 @@ export declare const actionAddresses: {
|
|
|
482
486
|
AaveUnstake?: undefined;
|
|
483
487
|
AaveClaimAAVE?: undefined;
|
|
484
488
|
AaveClaimStkAave?: undefined;
|
|
485
|
-
AaveV3ClaimRewards?: undefined;
|
|
486
489
|
AaveV3View?: undefined;
|
|
487
490
|
LSVWithdraw?: undefined;
|
|
488
491
|
LSVBorrow?: undefined;
|
|
@@ -670,6 +673,7 @@ export declare const actionAddresses: {
|
|
|
670
673
|
ReflexerPayback?: undefined;
|
|
671
674
|
ReflexerGenerate?: undefined;
|
|
672
675
|
ReflexerOpen?: undefined;
|
|
676
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
673
677
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
674
678
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
675
679
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -37,9 +37,10 @@ export const actionAddresses = {
|
|
|
37
37
|
// reflexer
|
|
38
38
|
ReflexerSupply: '0xd7a36CD4ce7CCc2F1376Dc5C48BaC84380A4f698',
|
|
39
39
|
ReflexerWithdraw: '0xD8a14d447AB6789F3bf1Eb763b6306db3FC3d666',
|
|
40
|
-
ReflexerPayback: '
|
|
40
|
+
ReflexerPayback: '0xdAa3963798C2E3F5c16AAcc9114fc727C450d0cb',
|
|
41
41
|
ReflexerGenerate: '0x8e8Fd178A5FAE3A29F9CB1A06aBBBCFd5B83beb7',
|
|
42
42
|
ReflexerOpen: '0x4704a7cBd4d913d1233765B70531D601b4384011',
|
|
43
|
+
ReflexerWithdrawStuckFunds: '0x64759d064aaA1f9Ac7A458520Aad06128Da9b7b8',
|
|
43
44
|
// not deployed as currently not used
|
|
44
45
|
ReflexerNativeUniV2SaviourDeposit: '0x0000000000000000000000000000000000000000',
|
|
45
46
|
ReflexerNativeUniV2SaviourGetReserves: '0x0000000000000000000000000000000000000000',
|
|
@@ -299,6 +300,7 @@ export const actionAddresses = {
|
|
|
299
300
|
AaveV3Supply: '0xF159c79077001E2a2C1a178BE68DB7F69a6Da486',
|
|
300
301
|
AaveV3SwapBorrowRateMode: '0x738042389A8d6B0F6D6ab009c42dfF84ebB737C0',
|
|
301
302
|
AaveV3Withdraw: '0xbf492F869DdB1A18BB4F41b6c3059D9f882Fe7ff',
|
|
303
|
+
AaveV3ClaimRewards: '0x3a4d72Ed2a47a409a82ba61f0fca1C749Ea8aB66',
|
|
302
304
|
// CompV3
|
|
303
305
|
CompV3Allow: '0x0380E8e13CdE0499c720999930CaA07A5744887c',
|
|
304
306
|
CompV3Borrow: '0x1C0eCc794fDA7c29aBd19E0b2F7dA166C237d616',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ declare const actionAddressesAllChains: {
|
|
|
47
47
|
ReflexerPayback: string;
|
|
48
48
|
ReflexerGenerate: string;
|
|
49
49
|
ReflexerOpen: string;
|
|
50
|
+
ReflexerWithdrawStuckFunds: string;
|
|
50
51
|
ReflexerNativeUniV2SaviourDeposit: string;
|
|
51
52
|
ReflexerNativeUniV2SaviourGetReserves: string;
|
|
52
53
|
ReflexerNativeUniV2SaviourWithdraw: string;
|
|
@@ -274,6 +275,7 @@ declare const actionAddressesAllChains: {
|
|
|
274
275
|
ReflexerPayback?: undefined;
|
|
275
276
|
ReflexerGenerate?: undefined;
|
|
276
277
|
ReflexerOpen?: undefined;
|
|
278
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
277
279
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
278
280
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
279
281
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -441,6 +443,7 @@ declare const actionAddressesAllChains: {
|
|
|
441
443
|
AaveV3Supply: string;
|
|
442
444
|
AaveV3SwapBorrowRateMode: string;
|
|
443
445
|
AaveV3Withdraw: string;
|
|
446
|
+
AaveV3ClaimRewards: string;
|
|
444
447
|
CompV3Allow: string;
|
|
445
448
|
CompV3Borrow: string;
|
|
446
449
|
CompV3Claim: string;
|
|
@@ -482,6 +485,7 @@ declare const actionAddressesAllChains: {
|
|
|
482
485
|
ReflexerPayback?: undefined;
|
|
483
486
|
ReflexerGenerate?: undefined;
|
|
484
487
|
ReflexerOpen?: undefined;
|
|
488
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
485
489
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
486
490
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
487
491
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -493,7 +497,6 @@ declare const actionAddressesAllChains: {
|
|
|
493
497
|
AaveUnstake?: undefined;
|
|
494
498
|
AaveClaimAAVE?: undefined;
|
|
495
499
|
AaveClaimStkAave?: undefined;
|
|
496
|
-
AaveV3ClaimRewards?: undefined;
|
|
497
500
|
AaveV3View?: undefined;
|
|
498
501
|
LSVWithdraw?: undefined;
|
|
499
502
|
LSVBorrow?: undefined;
|
|
@@ -681,6 +684,7 @@ declare const actionAddressesAllChains: {
|
|
|
681
684
|
ReflexerPayback?: undefined;
|
|
682
685
|
ReflexerGenerate?: undefined;
|
|
683
686
|
ReflexerOpen?: undefined;
|
|
687
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
684
688
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
685
689
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
686
690
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -865,6 +869,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
865
869
|
ReflexerPayback: string;
|
|
866
870
|
ReflexerGenerate: string;
|
|
867
871
|
ReflexerOpen: string;
|
|
872
|
+
ReflexerWithdrawStuckFunds: string;
|
|
868
873
|
ReflexerNativeUniV2SaviourDeposit: string;
|
|
869
874
|
ReflexerNativeUniV2SaviourGetReserves: string;
|
|
870
875
|
ReflexerNativeUniV2SaviourWithdraw: string;
|
|
@@ -1092,6 +1097,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1092
1097
|
ReflexerPayback?: undefined;
|
|
1093
1098
|
ReflexerGenerate?: undefined;
|
|
1094
1099
|
ReflexerOpen?: undefined;
|
|
1100
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
1095
1101
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
1096
1102
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
1097
1103
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -1259,6 +1265,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1259
1265
|
AaveV3Supply: string;
|
|
1260
1266
|
AaveV3SwapBorrowRateMode: string;
|
|
1261
1267
|
AaveV3Withdraw: string;
|
|
1268
|
+
AaveV3ClaimRewards: string;
|
|
1262
1269
|
CompV3Allow: string;
|
|
1263
1270
|
CompV3Borrow: string;
|
|
1264
1271
|
CompV3Claim: string;
|
|
@@ -1300,6 +1307,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1300
1307
|
ReflexerPayback?: undefined;
|
|
1301
1308
|
ReflexerGenerate?: undefined;
|
|
1302
1309
|
ReflexerOpen?: undefined;
|
|
1310
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
1303
1311
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
1304
1312
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
1305
1313
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -1311,7 +1319,6 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1311
1319
|
AaveUnstake?: undefined;
|
|
1312
1320
|
AaveClaimAAVE?: undefined;
|
|
1313
1321
|
AaveClaimStkAave?: undefined;
|
|
1314
|
-
AaveV3ClaimRewards?: undefined;
|
|
1315
1322
|
AaveV3View?: undefined;
|
|
1316
1323
|
LSVWithdraw?: undefined;
|
|
1317
1324
|
LSVBorrow?: undefined;
|
|
@@ -1499,6 +1506,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1499
1506
|
ReflexerPayback?: undefined;
|
|
1500
1507
|
ReflexerGenerate?: undefined;
|
|
1501
1508
|
ReflexerOpen?: undefined;
|
|
1509
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
1502
1510
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
1503
1511
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
1504
1512
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -1826,6 +1834,7 @@ declare const _default: {
|
|
|
1826
1834
|
ReflexerPayback: string;
|
|
1827
1835
|
ReflexerGenerate: string;
|
|
1828
1836
|
ReflexerOpen: string;
|
|
1837
|
+
ReflexerWithdrawStuckFunds: string;
|
|
1829
1838
|
ReflexerNativeUniV2SaviourDeposit: string;
|
|
1830
1839
|
ReflexerNativeUniV2SaviourGetReserves: string;
|
|
1831
1840
|
ReflexerNativeUniV2SaviourWithdraw: string;
|
|
@@ -2053,6 +2062,7 @@ declare const _default: {
|
|
|
2053
2062
|
ReflexerPayback?: undefined;
|
|
2054
2063
|
ReflexerGenerate?: undefined;
|
|
2055
2064
|
ReflexerOpen?: undefined;
|
|
2065
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
2056
2066
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
2057
2067
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
2058
2068
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -2220,6 +2230,7 @@ declare const _default: {
|
|
|
2220
2230
|
AaveV3Supply: string;
|
|
2221
2231
|
AaveV3SwapBorrowRateMode: string;
|
|
2222
2232
|
AaveV3Withdraw: string;
|
|
2233
|
+
AaveV3ClaimRewards: string;
|
|
2223
2234
|
CompV3Allow: string;
|
|
2224
2235
|
CompV3Borrow: string;
|
|
2225
2236
|
CompV3Claim: string;
|
|
@@ -2261,6 +2272,7 @@ declare const _default: {
|
|
|
2261
2272
|
ReflexerPayback?: undefined;
|
|
2262
2273
|
ReflexerGenerate?: undefined;
|
|
2263
2274
|
ReflexerOpen?: undefined;
|
|
2275
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
2264
2276
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
2265
2277
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
2266
2278
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -2272,7 +2284,6 @@ declare const _default: {
|
|
|
2272
2284
|
AaveUnstake?: undefined;
|
|
2273
2285
|
AaveClaimAAVE?: undefined;
|
|
2274
2286
|
AaveClaimStkAave?: undefined;
|
|
2275
|
-
AaveV3ClaimRewards?: undefined;
|
|
2276
2287
|
AaveV3View?: undefined;
|
|
2277
2288
|
LSVWithdraw?: undefined;
|
|
2278
2289
|
LSVBorrow?: undefined;
|
|
@@ -2460,6 +2471,7 @@ declare const _default: {
|
|
|
2460
2471
|
ReflexerPayback?: undefined;
|
|
2461
2472
|
ReflexerGenerate?: undefined;
|
|
2462
2473
|
ReflexerOpen?: undefined;
|
|
2474
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
2463
2475
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
2464
2476
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
2465
2477
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -2644,6 +2656,7 @@ declare const _default: {
|
|
|
2644
2656
|
ReflexerPayback: string;
|
|
2645
2657
|
ReflexerGenerate: string;
|
|
2646
2658
|
ReflexerOpen: string;
|
|
2659
|
+
ReflexerWithdrawStuckFunds: string;
|
|
2647
2660
|
ReflexerNativeUniV2SaviourDeposit: string;
|
|
2648
2661
|
ReflexerNativeUniV2SaviourGetReserves: string;
|
|
2649
2662
|
ReflexerNativeUniV2SaviourWithdraw: string;
|
|
@@ -2871,6 +2884,7 @@ declare const _default: {
|
|
|
2871
2884
|
ReflexerPayback?: undefined;
|
|
2872
2885
|
ReflexerGenerate?: undefined;
|
|
2873
2886
|
ReflexerOpen?: undefined;
|
|
2887
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
2874
2888
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
2875
2889
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
2876
2890
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -3038,6 +3052,7 @@ declare const _default: {
|
|
|
3038
3052
|
AaveV3Supply: string;
|
|
3039
3053
|
AaveV3SwapBorrowRateMode: string;
|
|
3040
3054
|
AaveV3Withdraw: string;
|
|
3055
|
+
AaveV3ClaimRewards: string;
|
|
3041
3056
|
CompV3Allow: string;
|
|
3042
3057
|
CompV3Borrow: string;
|
|
3043
3058
|
CompV3Claim: string;
|
|
@@ -3079,6 +3094,7 @@ declare const _default: {
|
|
|
3079
3094
|
ReflexerPayback?: undefined;
|
|
3080
3095
|
ReflexerGenerate?: undefined;
|
|
3081
3096
|
ReflexerOpen?: undefined;
|
|
3097
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
3082
3098
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
3083
3099
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
3084
3100
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
|
@@ -3090,7 +3106,6 @@ declare const _default: {
|
|
|
3090
3106
|
AaveUnstake?: undefined;
|
|
3091
3107
|
AaveClaimAAVE?: undefined;
|
|
3092
3108
|
AaveClaimStkAave?: undefined;
|
|
3093
|
-
AaveV3ClaimRewards?: undefined;
|
|
3094
3109
|
AaveV3View?: undefined;
|
|
3095
3110
|
LSVWithdraw?: undefined;
|
|
3096
3111
|
LSVBorrow?: undefined;
|
|
@@ -3278,6 +3293,7 @@ declare const _default: {
|
|
|
3278
3293
|
ReflexerPayback?: undefined;
|
|
3279
3294
|
ReflexerGenerate?: undefined;
|
|
3280
3295
|
ReflexerOpen?: undefined;
|
|
3296
|
+
ReflexerWithdrawStuckFunds?: undefined;
|
|
3281
3297
|
ReflexerNativeUniV2SaviourDeposit?: undefined;
|
|
3282
3298
|
ReflexerNativeUniV2SaviourGetReserves?: undefined;
|
|
3283
3299
|
ReflexerNativeUniV2SaviourWithdraw?: undefined;
|
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { requireAddress } from '../../utils/general';
|
|
3
|
+
import { getAddr } from '../../addresses';
|
|
4
|
+
import { EthAddress, uint256 } from '../../types';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* ReflexerWithdrawStuckFunds - Withdraw stuck funds from a reflexer safe
|
|
8
|
+
*
|
|
9
|
+
* @category Reflexer
|
|
10
|
+
*/
|
|
11
|
+
export class ReflexerWithdrawStuckFunds extends Action {
|
|
12
|
+
/**
|
|
13
|
+
* @param safeId - The id of the reflexer safe
|
|
14
|
+
* @param to - address where RAI will be sent to
|
|
15
|
+
*/
|
|
16
|
+
constructor(safeId:uint256, to:EthAddress) {
|
|
17
|
+
requireAddress(to);
|
|
18
|
+
super('ReflexerWithdrawStuckFunds', getAddr('ReflexerWithdrawStuckFunds'), ['uint256', 'address'], [safeId, to]);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -5,4 +5,5 @@ export * from './ReflexerPaybackAction';
|
|
|
5
5
|
export * from './ReflexerWithdrawAction';
|
|
6
6
|
export * from './ReflexerNativeUniV2SaviourDepositAction';
|
|
7
7
|
export * from './ReflexerNativeUniV2SaviourWithdrawAction';
|
|
8
|
-
export * from './ReflexerNativeUniV2SaviourGetReservesAction';
|
|
8
|
+
export * from './ReflexerNativeUniV2SaviourGetReservesAction';
|
|
9
|
+
export * from './ReflexerWithdrawStuckFunds';
|
package/src/addresses.ts
CHANGED
|
@@ -42,9 +42,10 @@ export const actionAddresses = {
|
|
|
42
42
|
// reflexer
|
|
43
43
|
ReflexerSupply: '0xd7a36CD4ce7CCc2F1376Dc5C48BaC84380A4f698',
|
|
44
44
|
ReflexerWithdraw: '0xD8a14d447AB6789F3bf1Eb763b6306db3FC3d666',
|
|
45
|
-
ReflexerPayback: '
|
|
45
|
+
ReflexerPayback: '0xdAa3963798C2E3F5c16AAcc9114fc727C450d0cb',
|
|
46
46
|
ReflexerGenerate: '0x8e8Fd178A5FAE3A29F9CB1A06aBBBCFd5B83beb7',
|
|
47
47
|
ReflexerOpen: '0x4704a7cBd4d913d1233765B70531D601b4384011',
|
|
48
|
+
ReflexerWithdrawStuckFunds: '0x64759d064aaA1f9Ac7A458520Aad06128Da9b7b8',
|
|
48
49
|
|
|
49
50
|
// not deployed as currently not used
|
|
50
51
|
ReflexerNativeUniV2SaviourDeposit: '0x0000000000000000000000000000000000000000',
|
|
@@ -345,6 +346,7 @@ export const actionAddresses = {
|
|
|
345
346
|
AaveV3Supply: '0xF159c79077001E2a2C1a178BE68DB7F69a6Da486',
|
|
346
347
|
AaveV3SwapBorrowRateMode: '0x738042389A8d6B0F6D6ab009c42dfF84ebB737C0',
|
|
347
348
|
AaveV3Withdraw: '0xbf492F869DdB1A18BB4F41b6c3059D9f882Fe7ff',
|
|
349
|
+
AaveV3ClaimRewards: '0x3a4d72Ed2a47a409a82ba61f0fca1C749Ea8aB66',
|
|
348
350
|
|
|
349
351
|
// CompV3
|
|
350
352
|
CompV3Allow: '0x0380E8e13CdE0499c720999930CaA07A5744887c',
|