@defisaver/sdk 1.3.18-aave-v4-dev → 1.3.18-aave-v4-1-dev
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/aavev4/AaveV4RefreshPremiumAction.d.ts +15 -0
- package/esm/src/actions/aavev4/AaveV4RefreshPremiumAction.js +22 -0
- package/esm/src/actions/aavev4/index.d.ts +1 -0
- package/esm/src/actions/aavev4/index.js +1 -0
- package/esm/src/addresses.d.ts +6 -0
- package/esm/src/addresses.js +6 -5
- package/esm/src/index.d.ts +24 -0
- package/package.json +1 -1
- package/src/actions/aavev4/AaveV4RefreshPremiumAction.ts +33 -0
- package/src/actions/aavev4/index.ts +2 -1
- package/src/addresses.ts +6 -5
- package/umd/index.js +123 -90
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* AaveV4RefreshPremiumAction - Refresh the risk premium for user's position
|
|
5
|
+
*
|
|
6
|
+
* @category AaveV4RefreshPremium
|
|
7
|
+
*/
|
|
8
|
+
export declare class AaveV4RefreshPremiumAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param spoke Address of the spoke.
|
|
11
|
+
* @param onBehalf Address to refresh the config on behalf of. Defaults to the user's wallet if not provided.
|
|
12
|
+
* @param refreshDynamicReserveConfig Whether to also refresh the dynamic reserve config for all collateral reserves.
|
|
13
|
+
*/
|
|
14
|
+
constructor(spoke: EthAddress, onBehalf: EthAddress, refreshDynamicReserveConfig: boolean);
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* AaveV4RefreshPremiumAction - Refresh the risk premium for user's position
|
|
5
|
+
*
|
|
6
|
+
* @category AaveV4RefreshPremium
|
|
7
|
+
*/
|
|
8
|
+
export class AaveV4RefreshPremiumAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param spoke Address of the spoke.
|
|
11
|
+
* @param onBehalf Address to refresh the config on behalf of. Defaults to the user's wallet if not provided.
|
|
12
|
+
* @param refreshDynamicReserveConfig Whether to also refresh the dynamic reserve config for all collateral reserves.
|
|
13
|
+
*/
|
|
14
|
+
constructor(spoke, onBehalf, refreshDynamicReserveConfig) {
|
|
15
|
+
super('AaveV4RefreshPremium', getAddr('AaveV4RefreshPremium'), ['address', 'address', 'bool'], [spoke, onBehalf, refreshDynamicReserveConfig]);
|
|
16
|
+
this.mappableArgs = [
|
|
17
|
+
this.args[0],
|
|
18
|
+
this.args[1],
|
|
19
|
+
this.args[2],
|
|
20
|
+
];
|
|
21
|
+
}
|
|
22
|
+
}
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -282,6 +282,7 @@ export declare const actionAddresses: {
|
|
|
282
282
|
AaveV4Borrow: string;
|
|
283
283
|
AaveV4Payback: string;
|
|
284
284
|
AaveV4CollateralSwitch: string;
|
|
285
|
+
AaveV4RefreshPremium: string;
|
|
285
286
|
AaveV3DelegateCredit?: undefined;
|
|
286
287
|
AaveV3RatioTrigger?: undefined;
|
|
287
288
|
GasFeeTakerL2?: undefined;
|
|
@@ -573,6 +574,7 @@ export declare const actionAddresses: {
|
|
|
573
574
|
AaveV4Borrow?: undefined;
|
|
574
575
|
AaveV4Payback?: undefined;
|
|
575
576
|
AaveV4CollateralSwitch?: undefined;
|
|
577
|
+
AaveV4RefreshPremium?: undefined;
|
|
576
578
|
MorphoBlueView?: undefined;
|
|
577
579
|
} | {
|
|
578
580
|
DFSSell: string;
|
|
@@ -859,6 +861,7 @@ export declare const actionAddresses: {
|
|
|
859
861
|
AaveV4Borrow?: undefined;
|
|
860
862
|
AaveV4Payback?: undefined;
|
|
861
863
|
AaveV4CollateralSwitch?: undefined;
|
|
864
|
+
AaveV4RefreshPremium?: undefined;
|
|
862
865
|
AaveV3DelegateCredit?: undefined;
|
|
863
866
|
AaveV3RatioTrigger?: undefined;
|
|
864
867
|
} | {
|
|
@@ -1145,6 +1148,7 @@ export declare const actionAddresses: {
|
|
|
1145
1148
|
AaveV4Borrow?: undefined;
|
|
1146
1149
|
AaveV4Payback?: undefined;
|
|
1147
1150
|
AaveV4CollateralSwitch?: undefined;
|
|
1151
|
+
AaveV4RefreshPremium?: undefined;
|
|
1148
1152
|
AaveV3DelegateCredit?: undefined;
|
|
1149
1153
|
AaveV3RatioTrigger?: undefined;
|
|
1150
1154
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1431,6 +1435,7 @@ export declare const actionAddresses: {
|
|
|
1431
1435
|
AaveV4Borrow?: undefined;
|
|
1432
1436
|
AaveV4Payback?: undefined;
|
|
1433
1437
|
AaveV4CollateralSwitch?: undefined;
|
|
1438
|
+
AaveV4RefreshPremium?: undefined;
|
|
1434
1439
|
AaveV3RatioTrigger?: undefined;
|
|
1435
1440
|
GasFeeTakerL2?: undefined;
|
|
1436
1441
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1718,6 +1723,7 @@ export declare const actionAddresses: {
|
|
|
1718
1723
|
AaveV4Borrow?: undefined;
|
|
1719
1724
|
AaveV4Payback?: undefined;
|
|
1720
1725
|
AaveV4CollateralSwitch?: undefined;
|
|
1726
|
+
AaveV4RefreshPremium?: undefined;
|
|
1721
1727
|
AaveV3RatioTrigger?: undefined;
|
|
1722
1728
|
GasFeeTakerL2?: undefined;
|
|
1723
1729
|
AaveV3RatioCheck?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -319,11 +319,12 @@ export const actionAddresses = {
|
|
|
319
319
|
SummerfiUnsub: '0x926405D69b77A514ED974901095AcFf9e5131366',
|
|
320
320
|
SummerfiUnsubV2: '0x5E805eD9B7581a9f1398F75833f9663a459F5E30',
|
|
321
321
|
// AaveV4
|
|
322
|
-
AaveV4Supply: '
|
|
323
|
-
AaveV4Withdraw: '
|
|
324
|
-
AaveV4Borrow: '
|
|
325
|
-
AaveV4Payback: '
|
|
326
|
-
AaveV4CollateralSwitch: '
|
|
322
|
+
AaveV4Supply: '0x270A0C7eBd1C0a98FdA613782b51419300AB6322',
|
|
323
|
+
AaveV4Withdraw: '0x561013c605A17f5dC5b738C8a3fF9c5F33DbC3d8',
|
|
324
|
+
AaveV4Borrow: '0xC6C627c63389D8bB7913b55CD62fa451703AD1E1',
|
|
325
|
+
AaveV4Payback: '0x6e31Dd331571209043c8CF997f86b4291F648537',
|
|
326
|
+
AaveV4CollateralSwitch: '0x26C39FE05466dBA72A98d095d019dC5e067F6b28',
|
|
327
|
+
AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426',
|
|
327
328
|
},
|
|
328
329
|
[NETWORKS.optimism.chainId]: {
|
|
329
330
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -293,6 +293,7 @@ declare const actionAddressesAllChains: {
|
|
|
293
293
|
AaveV4Borrow: string;
|
|
294
294
|
AaveV4Payback: string;
|
|
295
295
|
AaveV4CollateralSwitch: string;
|
|
296
|
+
AaveV4RefreshPremium: string;
|
|
296
297
|
AaveV3DelegateCredit?: undefined;
|
|
297
298
|
AaveV3RatioTrigger?: undefined;
|
|
298
299
|
GasFeeTakerL2?: undefined;
|
|
@@ -584,6 +585,7 @@ declare const actionAddressesAllChains: {
|
|
|
584
585
|
AaveV4Borrow?: undefined;
|
|
585
586
|
AaveV4Payback?: undefined;
|
|
586
587
|
AaveV4CollateralSwitch?: undefined;
|
|
588
|
+
AaveV4RefreshPremium?: undefined;
|
|
587
589
|
MorphoBlueView?: undefined;
|
|
588
590
|
} | {
|
|
589
591
|
DFSSell: string;
|
|
@@ -870,6 +872,7 @@ declare const actionAddressesAllChains: {
|
|
|
870
872
|
AaveV4Borrow?: undefined;
|
|
871
873
|
AaveV4Payback?: undefined;
|
|
872
874
|
AaveV4CollateralSwitch?: undefined;
|
|
875
|
+
AaveV4RefreshPremium?: undefined;
|
|
873
876
|
AaveV3DelegateCredit?: undefined;
|
|
874
877
|
AaveV3RatioTrigger?: undefined;
|
|
875
878
|
} | {
|
|
@@ -1156,6 +1159,7 @@ declare const actionAddressesAllChains: {
|
|
|
1156
1159
|
AaveV4Borrow?: undefined;
|
|
1157
1160
|
AaveV4Payback?: undefined;
|
|
1158
1161
|
AaveV4CollateralSwitch?: undefined;
|
|
1162
|
+
AaveV4RefreshPremium?: undefined;
|
|
1159
1163
|
AaveV3DelegateCredit?: undefined;
|
|
1160
1164
|
AaveV3RatioTrigger?: undefined;
|
|
1161
1165
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1442,6 +1446,7 @@ declare const actionAddressesAllChains: {
|
|
|
1442
1446
|
AaveV4Borrow?: undefined;
|
|
1443
1447
|
AaveV4Payback?: undefined;
|
|
1444
1448
|
AaveV4CollateralSwitch?: undefined;
|
|
1449
|
+
AaveV4RefreshPremium?: undefined;
|
|
1445
1450
|
AaveV3RatioTrigger?: undefined;
|
|
1446
1451
|
GasFeeTakerL2?: undefined;
|
|
1447
1452
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1729,6 +1734,7 @@ declare const actionAddressesAllChains: {
|
|
|
1729
1734
|
AaveV4Borrow?: undefined;
|
|
1730
1735
|
AaveV4Payback?: undefined;
|
|
1731
1736
|
AaveV4CollateralSwitch?: undefined;
|
|
1737
|
+
AaveV4RefreshPremium?: undefined;
|
|
1732
1738
|
AaveV3RatioTrigger?: undefined;
|
|
1733
1739
|
GasFeeTakerL2?: undefined;
|
|
1734
1740
|
AaveV3RatioCheck?: undefined;
|
|
@@ -2017,6 +2023,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2017
2023
|
AaveV4Borrow: string;
|
|
2018
2024
|
AaveV4Payback: string;
|
|
2019
2025
|
AaveV4CollateralSwitch: string;
|
|
2026
|
+
AaveV4RefreshPremium: string;
|
|
2020
2027
|
AaveV3DelegateCredit?: undefined;
|
|
2021
2028
|
AaveV3RatioTrigger?: undefined;
|
|
2022
2029
|
GasFeeTakerL2?: undefined;
|
|
@@ -2308,6 +2315,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2308
2315
|
AaveV4Borrow?: undefined;
|
|
2309
2316
|
AaveV4Payback?: undefined;
|
|
2310
2317
|
AaveV4CollateralSwitch?: undefined;
|
|
2318
|
+
AaveV4RefreshPremium?: undefined;
|
|
2311
2319
|
MorphoBlueView?: undefined;
|
|
2312
2320
|
} | {
|
|
2313
2321
|
DFSSell: string;
|
|
@@ -2594,6 +2602,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2594
2602
|
AaveV4Borrow?: undefined;
|
|
2595
2603
|
AaveV4Payback?: undefined;
|
|
2596
2604
|
AaveV4CollateralSwitch?: undefined;
|
|
2605
|
+
AaveV4RefreshPremium?: undefined;
|
|
2597
2606
|
AaveV3DelegateCredit?: undefined;
|
|
2598
2607
|
AaveV3RatioTrigger?: undefined;
|
|
2599
2608
|
} | {
|
|
@@ -2880,6 +2889,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2880
2889
|
AaveV4Borrow?: undefined;
|
|
2881
2890
|
AaveV4Payback?: undefined;
|
|
2882
2891
|
AaveV4CollateralSwitch?: undefined;
|
|
2892
|
+
AaveV4RefreshPremium?: undefined;
|
|
2883
2893
|
AaveV3DelegateCredit?: undefined;
|
|
2884
2894
|
AaveV3RatioTrigger?: undefined;
|
|
2885
2895
|
AaveV3RatioCheck?: undefined;
|
|
@@ -3166,6 +3176,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3166
3176
|
AaveV4Borrow?: undefined;
|
|
3167
3177
|
AaveV4Payback?: undefined;
|
|
3168
3178
|
AaveV4CollateralSwitch?: undefined;
|
|
3179
|
+
AaveV4RefreshPremium?: undefined;
|
|
3169
3180
|
AaveV3RatioTrigger?: undefined;
|
|
3170
3181
|
GasFeeTakerL2?: undefined;
|
|
3171
3182
|
AaveV3RatioCheck?: undefined;
|
|
@@ -3453,6 +3464,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
3453
3464
|
AaveV4Borrow?: undefined;
|
|
3454
3465
|
AaveV4Payback?: undefined;
|
|
3455
3466
|
AaveV4CollateralSwitch?: undefined;
|
|
3467
|
+
AaveV4RefreshPremium?: undefined;
|
|
3456
3468
|
AaveV3RatioTrigger?: undefined;
|
|
3457
3469
|
GasFeeTakerL2?: undefined;
|
|
3458
3470
|
AaveV3RatioCheck?: undefined;
|
|
@@ -3978,6 +3990,7 @@ declare const _default: {
|
|
|
3978
3990
|
AaveV4Borrow: string;
|
|
3979
3991
|
AaveV4Payback: string;
|
|
3980
3992
|
AaveV4CollateralSwitch: string;
|
|
3993
|
+
AaveV4RefreshPremium: string;
|
|
3981
3994
|
AaveV3DelegateCredit?: undefined;
|
|
3982
3995
|
AaveV3RatioTrigger?: undefined;
|
|
3983
3996
|
GasFeeTakerL2?: undefined;
|
|
@@ -4269,6 +4282,7 @@ declare const _default: {
|
|
|
4269
4282
|
AaveV4Borrow?: undefined;
|
|
4270
4283
|
AaveV4Payback?: undefined;
|
|
4271
4284
|
AaveV4CollateralSwitch?: undefined;
|
|
4285
|
+
AaveV4RefreshPremium?: undefined;
|
|
4272
4286
|
MorphoBlueView?: undefined;
|
|
4273
4287
|
} | {
|
|
4274
4288
|
DFSSell: string;
|
|
@@ -4555,6 +4569,7 @@ declare const _default: {
|
|
|
4555
4569
|
AaveV4Borrow?: undefined;
|
|
4556
4570
|
AaveV4Payback?: undefined;
|
|
4557
4571
|
AaveV4CollateralSwitch?: undefined;
|
|
4572
|
+
AaveV4RefreshPremium?: undefined;
|
|
4558
4573
|
AaveV3DelegateCredit?: undefined;
|
|
4559
4574
|
AaveV3RatioTrigger?: undefined;
|
|
4560
4575
|
} | {
|
|
@@ -4841,6 +4856,7 @@ declare const _default: {
|
|
|
4841
4856
|
AaveV4Borrow?: undefined;
|
|
4842
4857
|
AaveV4Payback?: undefined;
|
|
4843
4858
|
AaveV4CollateralSwitch?: undefined;
|
|
4859
|
+
AaveV4RefreshPremium?: undefined;
|
|
4844
4860
|
AaveV3DelegateCredit?: undefined;
|
|
4845
4861
|
AaveV3RatioTrigger?: undefined;
|
|
4846
4862
|
AaveV3RatioCheck?: undefined;
|
|
@@ -5127,6 +5143,7 @@ declare const _default: {
|
|
|
5127
5143
|
AaveV4Borrow?: undefined;
|
|
5128
5144
|
AaveV4Payback?: undefined;
|
|
5129
5145
|
AaveV4CollateralSwitch?: undefined;
|
|
5146
|
+
AaveV4RefreshPremium?: undefined;
|
|
5130
5147
|
AaveV3RatioTrigger?: undefined;
|
|
5131
5148
|
GasFeeTakerL2?: undefined;
|
|
5132
5149
|
AaveV3RatioCheck?: undefined;
|
|
@@ -5414,6 +5431,7 @@ declare const _default: {
|
|
|
5414
5431
|
AaveV4Borrow?: undefined;
|
|
5415
5432
|
AaveV4Payback?: undefined;
|
|
5416
5433
|
AaveV4CollateralSwitch?: undefined;
|
|
5434
|
+
AaveV4RefreshPremium?: undefined;
|
|
5417
5435
|
AaveV3RatioTrigger?: undefined;
|
|
5418
5436
|
GasFeeTakerL2?: undefined;
|
|
5419
5437
|
AaveV3RatioCheck?: undefined;
|
|
@@ -5702,6 +5720,7 @@ declare const _default: {
|
|
|
5702
5720
|
AaveV4Borrow: string;
|
|
5703
5721
|
AaveV4Payback: string;
|
|
5704
5722
|
AaveV4CollateralSwitch: string;
|
|
5723
|
+
AaveV4RefreshPremium: string;
|
|
5705
5724
|
AaveV3DelegateCredit?: undefined;
|
|
5706
5725
|
AaveV3RatioTrigger?: undefined;
|
|
5707
5726
|
GasFeeTakerL2?: undefined;
|
|
@@ -5993,6 +6012,7 @@ declare const _default: {
|
|
|
5993
6012
|
AaveV4Borrow?: undefined;
|
|
5994
6013
|
AaveV4Payback?: undefined;
|
|
5995
6014
|
AaveV4CollateralSwitch?: undefined;
|
|
6015
|
+
AaveV4RefreshPremium?: undefined;
|
|
5996
6016
|
MorphoBlueView?: undefined;
|
|
5997
6017
|
} | {
|
|
5998
6018
|
DFSSell: string;
|
|
@@ -6279,6 +6299,7 @@ declare const _default: {
|
|
|
6279
6299
|
AaveV4Borrow?: undefined;
|
|
6280
6300
|
AaveV4Payback?: undefined;
|
|
6281
6301
|
AaveV4CollateralSwitch?: undefined;
|
|
6302
|
+
AaveV4RefreshPremium?: undefined;
|
|
6282
6303
|
AaveV3DelegateCredit?: undefined;
|
|
6283
6304
|
AaveV3RatioTrigger?: undefined;
|
|
6284
6305
|
} | {
|
|
@@ -6565,6 +6586,7 @@ declare const _default: {
|
|
|
6565
6586
|
AaveV4Borrow?: undefined;
|
|
6566
6587
|
AaveV4Payback?: undefined;
|
|
6567
6588
|
AaveV4CollateralSwitch?: undefined;
|
|
6589
|
+
AaveV4RefreshPremium?: undefined;
|
|
6568
6590
|
AaveV3DelegateCredit?: undefined;
|
|
6569
6591
|
AaveV3RatioTrigger?: undefined;
|
|
6570
6592
|
AaveV3RatioCheck?: undefined;
|
|
@@ -6851,6 +6873,7 @@ declare const _default: {
|
|
|
6851
6873
|
AaveV4Borrow?: undefined;
|
|
6852
6874
|
AaveV4Payback?: undefined;
|
|
6853
6875
|
AaveV4CollateralSwitch?: undefined;
|
|
6876
|
+
AaveV4RefreshPremium?: undefined;
|
|
6854
6877
|
AaveV3RatioTrigger?: undefined;
|
|
6855
6878
|
GasFeeTakerL2?: undefined;
|
|
6856
6879
|
AaveV3RatioCheck?: undefined;
|
|
@@ -7138,6 +7161,7 @@ declare const _default: {
|
|
|
7138
7161
|
AaveV4Borrow?: undefined;
|
|
7139
7162
|
AaveV4Payback?: undefined;
|
|
7140
7163
|
AaveV4CollateralSwitch?: undefined;
|
|
7164
|
+
AaveV4RefreshPremium?: undefined;
|
|
7141
7165
|
AaveV3RatioTrigger?: undefined;
|
|
7142
7166
|
GasFeeTakerL2?: undefined;
|
|
7143
7167
|
AaveV3RatioCheck?: undefined;
|
package/package.json
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
import { EthAddress } from '../../types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AaveV4RefreshPremiumAction - Refresh the risk premium for user's position
|
|
7
|
+
*
|
|
8
|
+
* @category AaveV4RefreshPremium
|
|
9
|
+
*/
|
|
10
|
+
export class AaveV4RefreshPremiumAction extends Action {
|
|
11
|
+
/**
|
|
12
|
+
* @param spoke Address of the spoke.
|
|
13
|
+
* @param onBehalf Address to refresh the config on behalf of. Defaults to the user's wallet if not provided.
|
|
14
|
+
* @param refreshDynamicReserveConfig Whether to also refresh the dynamic reserve config for all collateral reserves.
|
|
15
|
+
*/
|
|
16
|
+
constructor(
|
|
17
|
+
spoke: EthAddress,
|
|
18
|
+
onBehalf: EthAddress,
|
|
19
|
+
refreshDynamicReserveConfig: boolean,
|
|
20
|
+
) {
|
|
21
|
+
super(
|
|
22
|
+
'AaveV4RefreshPremium',
|
|
23
|
+
getAddr('AaveV4RefreshPremium'),
|
|
24
|
+
['address', 'address', 'bool'],
|
|
25
|
+
[spoke, onBehalf, refreshDynamicReserveConfig],
|
|
26
|
+
);
|
|
27
|
+
this.mappableArgs = [
|
|
28
|
+
this.args[0],
|
|
29
|
+
this.args[1],
|
|
30
|
+
this.args[2],
|
|
31
|
+
];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -3,4 +3,5 @@ export * from './AaveV4WithdrawAction';
|
|
|
3
3
|
export * from './AaveV4BorrowAction';
|
|
4
4
|
export * from './AaveV4PaybackAction';
|
|
5
5
|
export * from './AaveV4CollateralSwitchAction';
|
|
6
|
-
export * from './AaveV4StoreRatioAction';
|
|
6
|
+
export * from './AaveV4StoreRatioAction';
|
|
7
|
+
export * from './AaveV4RefreshPremiumAction';
|
package/src/addresses.ts
CHANGED
|
@@ -391,11 +391,12 @@ export const actionAddresses = {
|
|
|
391
391
|
SummerfiUnsubV2: '0x5E805eD9B7581a9f1398F75833f9663a459F5E30',
|
|
392
392
|
|
|
393
393
|
// AaveV4
|
|
394
|
-
AaveV4Supply: '
|
|
395
|
-
AaveV4Withdraw: '
|
|
396
|
-
AaveV4Borrow: '
|
|
397
|
-
AaveV4Payback: '
|
|
398
|
-
AaveV4CollateralSwitch: '
|
|
394
|
+
AaveV4Supply: '0x270A0C7eBd1C0a98FdA613782b51419300AB6322',
|
|
395
|
+
AaveV4Withdraw: '0x561013c605A17f5dC5b738C8a3fF9c5F33DbC3d8',
|
|
396
|
+
AaveV4Borrow: '0xC6C627c63389D8bB7913b55CD62fa451703AD1E1',
|
|
397
|
+
AaveV4Payback: '0x6e31Dd331571209043c8CF997f86b4291F648537',
|
|
398
|
+
AaveV4CollateralSwitch: '0x26C39FE05466dBA72A98d095d019dC5e067F6b28',
|
|
399
|
+
AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426',
|
|
399
400
|
},
|
|
400
401
|
[NETWORKS.optimism.chainId]: {
|
|
401
402
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
package/umd/index.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
exports["defisaver-sdk"] = factory(require("web3-eth-abi"), require("web3-utils"), require("decimal.js"), require("@defisaver/tokens"), require("@ethersproject/solidity"), require("@ethersproject/address"), require("axios"));
|
|
8
8
|
else
|
|
9
9
|
root["defisaver-sdk"] = factory(root["web3-eth-abi"], root["web3-utils"], root["decimal.js"], root["@defisaver/tokens"], root["@ethersproject/solidity"], root["@ethersproject/address"], root["axios"]);
|
|
10
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__139__,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__139__, __WEBPACK_EXTERNAL_MODULE__458__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ([
|
|
@@ -1632,11 +1632,12 @@ var actionAddresses = {
|
|
|
1632
1632
|
SummerfiUnsub: '0x926405D69b77A514ED974901095AcFf9e5131366',
|
|
1633
1633
|
SummerfiUnsubV2: '0x5E805eD9B7581a9f1398F75833f9663a459F5E30',
|
|
1634
1634
|
// AaveV4
|
|
1635
|
-
AaveV4Supply: '
|
|
1636
|
-
AaveV4Withdraw: '
|
|
1637
|
-
AaveV4Borrow: '
|
|
1638
|
-
AaveV4Payback: '
|
|
1639
|
-
AaveV4CollateralSwitch: '
|
|
1635
|
+
AaveV4Supply: '0x270A0C7eBd1C0a98FdA613782b51419300AB6322',
|
|
1636
|
+
AaveV4Withdraw: '0x561013c605A17f5dC5b738C8a3fF9c5F33DbC3d8',
|
|
1637
|
+
AaveV4Borrow: '0xC6C627c63389D8bB7913b55CD62fa451703AD1E1',
|
|
1638
|
+
AaveV4Payback: '0x6e31Dd331571209043c8CF997f86b4291F648537',
|
|
1639
|
+
AaveV4CollateralSwitch: '0x26C39FE05466dBA72A98d095d019dC5e067F6b28',
|
|
1640
|
+
AaveV4RefreshPremium: '0xb080DC160415Ffe1a4b80d75b0Be92EE38a0b426'
|
|
1640
1641
|
},
|
|
1641
1642
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1642
1643
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
@@ -16494,6 +16495,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16494
16495
|
/* harmony export */ AaveV4BorrowAction: () => (/* reexport safe */ _AaveV4BorrowAction__WEBPACK_IMPORTED_MODULE_2__.AaveV4BorrowAction),
|
|
16495
16496
|
/* harmony export */ AaveV4CollateralSwitchAction: () => (/* reexport safe */ _AaveV4CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_4__.AaveV4CollateralSwitchAction),
|
|
16496
16497
|
/* harmony export */ AaveV4PaybackAction: () => (/* reexport safe */ _AaveV4PaybackAction__WEBPACK_IMPORTED_MODULE_3__.AaveV4PaybackAction),
|
|
16498
|
+
/* harmony export */ AaveV4RefreshPremiumAction: () => (/* reexport safe */ _AaveV4RefreshPremiumAction__WEBPACK_IMPORTED_MODULE_6__.AaveV4RefreshPremiumAction),
|
|
16497
16499
|
/* harmony export */ AaveV4StoreRatioAction: () => (/* reexport safe */ _AaveV4StoreRatioAction__WEBPACK_IMPORTED_MODULE_5__.AaveV4StoreRatioAction),
|
|
16498
16500
|
/* harmony export */ AaveV4SupplyAction: () => (/* reexport safe */ _AaveV4SupplyAction__WEBPACK_IMPORTED_MODULE_0__.AaveV4SupplyAction),
|
|
16499
16501
|
/* harmony export */ AaveV4WithdrawAction: () => (/* reexport safe */ _AaveV4WithdrawAction__WEBPACK_IMPORTED_MODULE_1__.AaveV4WithdrawAction)
|
|
@@ -16504,6 +16506,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16504
16506
|
/* harmony import */ var _AaveV4PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(415);
|
|
16505
16507
|
/* harmony import */ var _AaveV4CollateralSwitchAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(416);
|
|
16506
16508
|
/* harmony import */ var _AaveV4StoreRatioAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(417);
|
|
16509
|
+
/* harmony import */ var _AaveV4RefreshPremiumAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(418);
|
|
16510
|
+
|
|
16507
16511
|
|
|
16508
16512
|
|
|
16509
16513
|
|
|
@@ -16745,6 +16749,35 @@ class AaveV4StoreRatioAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
16745
16749
|
/* 418 */
|
|
16746
16750
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16747
16751
|
|
|
16752
|
+
__webpack_require__.r(__webpack_exports__);
|
|
16753
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16754
|
+
/* harmony export */ AaveV4RefreshPremiumAction: () => (/* binding */ AaveV4RefreshPremiumAction)
|
|
16755
|
+
/* harmony export */ });
|
|
16756
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
16757
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
16758
|
+
|
|
16759
|
+
|
|
16760
|
+
/**
|
|
16761
|
+
* AaveV4RefreshPremiumAction - Refresh the risk premium for user's position
|
|
16762
|
+
*
|
|
16763
|
+
* @category AaveV4RefreshPremium
|
|
16764
|
+
*/
|
|
16765
|
+
class AaveV4RefreshPremiumAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
16766
|
+
/**
|
|
16767
|
+
* @param spoke Address of the spoke.
|
|
16768
|
+
* @param onBehalf Address to refresh the config on behalf of. Defaults to the user's wallet if not provided.
|
|
16769
|
+
* @param refreshDynamicReserveConfig Whether to also refresh the dynamic reserve config for all collateral reserves.
|
|
16770
|
+
*/
|
|
16771
|
+
constructor(spoke, onBehalf, refreshDynamicReserveConfig) {
|
|
16772
|
+
super('AaveV4RefreshPremium', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('AaveV4RefreshPremium'), ['address', 'address', 'bool'], [spoke, onBehalf, refreshDynamicReserveConfig]);
|
|
16773
|
+
this.mappableArgs = [this.args[0], this.args[1], this.args[2]];
|
|
16774
|
+
}
|
|
16775
|
+
}
|
|
16776
|
+
|
|
16777
|
+
/***/ }),
|
|
16778
|
+
/* 419 */
|
|
16779
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16780
|
+
|
|
16748
16781
|
__webpack_require__.r(__webpack_exports__);
|
|
16749
16782
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16750
16783
|
/* harmony export */ AaveV2RatioTrigger: () => (/* reexport safe */ _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__.AaveV2RatioTrigger),
|
|
@@ -16784,42 +16817,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16784
16817
|
/* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
|
|
16785
16818
|
/* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
|
|
16786
16819
|
/* harmony export */ });
|
|
16787
|
-
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
16788
|
-
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
16789
|
-
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
16790
|
-
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
16791
|
-
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
16792
|
-
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
16793
|
-
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
16794
|
-
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
16795
|
-
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
16796
|
-
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
16797
|
-
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
16798
|
-
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
16799
|
-
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
16800
|
-
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
16801
|
-
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
16802
|
-
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
16803
|
-
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
16804
|
-
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
16805
|
-
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
16806
|
-
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
16807
|
-
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
16808
|
-
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
|
16809
|
-
/* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
|
|
16810
|
-
/* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
|
|
16811
|
-
/* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
|
|
16812
|
-
/* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
|
|
16813
|
-
/* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
|
|
16814
|
-
/* harmony import */ var _CompV3PriceTrigger__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
|
|
16815
|
-
/* harmony import */ var _CompV3PriceRangeTrigger__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
|
|
16816
|
-
/* harmony import */ var _LiquityV2AdjustRateDebtInFrontTrigger__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
|
|
16817
|
-
/* harmony import */ var _AaveV3QuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
|
|
16818
|
-
/* harmony import */ var _SparkQuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
|
|
16819
|
-
/* harmony import */ var _MorphoBluePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
|
|
16820
|
-
/* harmony import */ var _AaveV4QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
|
|
16821
|
-
/* harmony import */ var _AaveV4QuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
|
|
16822
|
-
/* harmony import */ var _AaveV4RatioTrigger__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
|
|
16820
|
+
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(420);
|
|
16821
|
+
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(421);
|
|
16822
|
+
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(422);
|
|
16823
|
+
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(423);
|
|
16824
|
+
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(424);
|
|
16825
|
+
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(425);
|
|
16826
|
+
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(426);
|
|
16827
|
+
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(427);
|
|
16828
|
+
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(428);
|
|
16829
|
+
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(429);
|
|
16830
|
+
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(430);
|
|
16831
|
+
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(431);
|
|
16832
|
+
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(432);
|
|
16833
|
+
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(433);
|
|
16834
|
+
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(434);
|
|
16835
|
+
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(435);
|
|
16836
|
+
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(436);
|
|
16837
|
+
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(437);
|
|
16838
|
+
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(438);
|
|
16839
|
+
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(439);
|
|
16840
|
+
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(440);
|
|
16841
|
+
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(441);
|
|
16842
|
+
/* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(442);
|
|
16843
|
+
/* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(443);
|
|
16844
|
+
/* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(444);
|
|
16845
|
+
/* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(445);
|
|
16846
|
+
/* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(446);
|
|
16847
|
+
/* harmony import */ var _CompV3PriceTrigger__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(447);
|
|
16848
|
+
/* harmony import */ var _CompV3PriceRangeTrigger__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(448);
|
|
16849
|
+
/* harmony import */ var _LiquityV2AdjustRateDebtInFrontTrigger__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(449);
|
|
16850
|
+
/* harmony import */ var _AaveV3QuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(450);
|
|
16851
|
+
/* harmony import */ var _SparkQuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(451);
|
|
16852
|
+
/* harmony import */ var _MorphoBluePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(452);
|
|
16853
|
+
/* harmony import */ var _AaveV4QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(453);
|
|
16854
|
+
/* harmony import */ var _AaveV4QuotePriceRangeTrigger__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(454);
|
|
16855
|
+
/* harmony import */ var _AaveV4RatioTrigger__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(455);
|
|
16823
16856
|
|
|
16824
16857
|
|
|
16825
16858
|
|
|
@@ -16858,7 +16891,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16858
16891
|
|
|
16859
16892
|
|
|
16860
16893
|
/***/ }),
|
|
16861
|
-
/*
|
|
16894
|
+
/* 420 */
|
|
16862
16895
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16863
16896
|
|
|
16864
16897
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16881,7 +16914,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
16881
16914
|
}
|
|
16882
16915
|
|
|
16883
16916
|
/***/ }),
|
|
16884
|
-
/*
|
|
16917
|
+
/* 421 */
|
|
16885
16918
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16886
16919
|
|
|
16887
16920
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16904,7 +16937,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
16904
16937
|
}
|
|
16905
16938
|
|
|
16906
16939
|
/***/ }),
|
|
16907
|
-
/*
|
|
16940
|
+
/* 422 */
|
|
16908
16941
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16909
16942
|
|
|
16910
16943
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16927,7 +16960,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
16927
16960
|
}
|
|
16928
16961
|
|
|
16929
16962
|
/***/ }),
|
|
16930
|
-
/*
|
|
16963
|
+
/* 423 */
|
|
16931
16964
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16932
16965
|
|
|
16933
16966
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16950,7 +16983,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
16950
16983
|
}
|
|
16951
16984
|
|
|
16952
16985
|
/***/ }),
|
|
16953
|
-
/*
|
|
16986
|
+
/* 424 */
|
|
16954
16987
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16955
16988
|
|
|
16956
16989
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16973,7 +17006,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
16973
17006
|
}
|
|
16974
17007
|
|
|
16975
17008
|
/***/ }),
|
|
16976
|
-
/*
|
|
17009
|
+
/* 425 */
|
|
16977
17010
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16978
17011
|
|
|
16979
17012
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -16996,7 +17029,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
16996
17029
|
}
|
|
16997
17030
|
|
|
16998
17031
|
/***/ }),
|
|
16999
|
-
/*
|
|
17032
|
+
/* 426 */
|
|
17000
17033
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17001
17034
|
|
|
17002
17035
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17019,7 +17052,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17019
17052
|
}
|
|
17020
17053
|
|
|
17021
17054
|
/***/ }),
|
|
17022
|
-
/*
|
|
17055
|
+
/* 427 */
|
|
17023
17056
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17024
17057
|
|
|
17025
17058
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17042,7 +17075,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17042
17075
|
}
|
|
17043
17076
|
|
|
17044
17077
|
/***/ }),
|
|
17045
|
-
/*
|
|
17078
|
+
/* 428 */
|
|
17046
17079
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17047
17080
|
|
|
17048
17081
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17065,7 +17098,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17065
17098
|
}
|
|
17066
17099
|
|
|
17067
17100
|
/***/ }),
|
|
17068
|
-
/*
|
|
17101
|
+
/* 429 */
|
|
17069
17102
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17070
17103
|
|
|
17071
17104
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17088,7 +17121,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17088
17121
|
}
|
|
17089
17122
|
|
|
17090
17123
|
/***/ }),
|
|
17091
|
-
/*
|
|
17124
|
+
/* 430 */
|
|
17092
17125
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17093
17126
|
|
|
17094
17127
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17111,7 +17144,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17111
17144
|
}
|
|
17112
17145
|
|
|
17113
17146
|
/***/ }),
|
|
17114
|
-
/*
|
|
17147
|
+
/* 431 */
|
|
17115
17148
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17116
17149
|
|
|
17117
17150
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17134,7 +17167,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17134
17167
|
}
|
|
17135
17168
|
|
|
17136
17169
|
/***/ }),
|
|
17137
|
-
/*
|
|
17170
|
+
/* 432 */
|
|
17138
17171
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17139
17172
|
|
|
17140
17173
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17157,7 +17190,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
17157
17190
|
}
|
|
17158
17191
|
|
|
17159
17192
|
/***/ }),
|
|
17160
|
-
/*
|
|
17193
|
+
/* 433 */
|
|
17161
17194
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17162
17195
|
|
|
17163
17196
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17180,7 +17213,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17180
17213
|
}
|
|
17181
17214
|
|
|
17182
17215
|
/***/ }),
|
|
17183
|
-
/*
|
|
17216
|
+
/* 434 */
|
|
17184
17217
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17185
17218
|
|
|
17186
17219
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17203,7 +17236,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
17203
17236
|
}
|
|
17204
17237
|
|
|
17205
17238
|
/***/ }),
|
|
17206
|
-
/*
|
|
17239
|
+
/* 435 */
|
|
17207
17240
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17208
17241
|
|
|
17209
17242
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17226,7 +17259,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17226
17259
|
}
|
|
17227
17260
|
|
|
17228
17261
|
/***/ }),
|
|
17229
|
-
/*
|
|
17262
|
+
/* 436 */
|
|
17230
17263
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17231
17264
|
|
|
17232
17265
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17249,7 +17282,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
17249
17282
|
}
|
|
17250
17283
|
|
|
17251
17284
|
/***/ }),
|
|
17252
|
-
/*
|
|
17285
|
+
/* 437 */
|
|
17253
17286
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17254
17287
|
|
|
17255
17288
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17272,7 +17305,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
|
|
|
17272
17305
|
}
|
|
17273
17306
|
|
|
17274
17307
|
/***/ }),
|
|
17275
|
-
/*
|
|
17308
|
+
/* 438 */
|
|
17276
17309
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17277
17310
|
|
|
17278
17311
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17295,7 +17328,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
17295
17328
|
}
|
|
17296
17329
|
|
|
17297
17330
|
/***/ }),
|
|
17298
|
-
/*
|
|
17331
|
+
/* 439 */
|
|
17299
17332
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17300
17333
|
|
|
17301
17334
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17318,7 +17351,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
17318
17351
|
}
|
|
17319
17352
|
|
|
17320
17353
|
/***/ }),
|
|
17321
|
-
/*
|
|
17354
|
+
/* 440 */
|
|
17322
17355
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17323
17356
|
|
|
17324
17357
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17341,7 +17374,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
17341
17374
|
}
|
|
17342
17375
|
|
|
17343
17376
|
/***/ }),
|
|
17344
|
-
/*
|
|
17377
|
+
/* 441 */
|
|
17345
17378
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17346
17379
|
|
|
17347
17380
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17364,7 +17397,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17364
17397
|
}
|
|
17365
17398
|
|
|
17366
17399
|
/***/ }),
|
|
17367
|
-
/*
|
|
17400
|
+
/* 442 */
|
|
17368
17401
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17369
17402
|
|
|
17370
17403
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17393,7 +17426,7 @@ class MorphoBluePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
17393
17426
|
}
|
|
17394
17427
|
|
|
17395
17428
|
/***/ }),
|
|
17396
|
-
/*
|
|
17429
|
+
/* 443 */
|
|
17397
17430
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17398
17431
|
|
|
17399
17432
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17414,7 +17447,7 @@ class LiquityV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
17414
17447
|
}
|
|
17415
17448
|
|
|
17416
17449
|
/***/ }),
|
|
17417
|
-
/*
|
|
17450
|
+
/* 444 */
|
|
17418
17451
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17419
17452
|
|
|
17420
17453
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17437,7 +17470,7 @@ class ClosePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17437
17470
|
}
|
|
17438
17471
|
|
|
17439
17472
|
/***/ }),
|
|
17440
|
-
/*
|
|
17473
|
+
/* 445 */
|
|
17441
17474
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17442
17475
|
|
|
17443
17476
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17458,7 +17491,7 @@ class LiquityV2QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
17458
17491
|
}
|
|
17459
17492
|
|
|
17460
17493
|
/***/ }),
|
|
17461
|
-
/*
|
|
17494
|
+
/* 446 */
|
|
17462
17495
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17463
17496
|
|
|
17464
17497
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17481,7 +17514,7 @@ class FluidRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17481
17514
|
}
|
|
17482
17515
|
|
|
17483
17516
|
/***/ }),
|
|
17484
|
-
/*
|
|
17517
|
+
/* 447 */
|
|
17485
17518
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17486
17519
|
|
|
17487
17520
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17504,7 +17537,7 @@ class CompV3PriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17504
17537
|
}
|
|
17505
17538
|
|
|
17506
17539
|
/***/ }),
|
|
17507
|
-
/*
|
|
17540
|
+
/* 448 */
|
|
17508
17541
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17509
17542
|
|
|
17510
17543
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17527,7 +17560,7 @@ class CompV3PriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
17527
17560
|
}
|
|
17528
17561
|
|
|
17529
17562
|
/***/ }),
|
|
17530
|
-
/*
|
|
17563
|
+
/* 449 */
|
|
17531
17564
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17532
17565
|
|
|
17533
17566
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17548,7 +17581,7 @@ class LiquityV2AdjustRateDebtInFrontTrigger extends _Action__WEBPACK_IMPORTED_MO
|
|
|
17548
17581
|
}
|
|
17549
17582
|
|
|
17550
17583
|
/***/ }),
|
|
17551
|
-
/*
|
|
17584
|
+
/* 450 */
|
|
17552
17585
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17553
17586
|
|
|
17554
17587
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17574,7 +17607,7 @@ class AaveV3QuotePriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
17574
17607
|
}
|
|
17575
17608
|
|
|
17576
17609
|
/***/ }),
|
|
17577
|
-
/*
|
|
17610
|
+
/* 451 */
|
|
17578
17611
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17579
17612
|
|
|
17580
17613
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17600,7 +17633,7 @@ class SparkQuotePriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
17600
17633
|
}
|
|
17601
17634
|
|
|
17602
17635
|
/***/ }),
|
|
17603
|
-
/*
|
|
17636
|
+
/* 452 */
|
|
17604
17637
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17605
17638
|
|
|
17606
17639
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17629,7 +17662,7 @@ class MorphoBluePriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.A
|
|
|
17629
17662
|
}
|
|
17630
17663
|
|
|
17631
17664
|
/***/ }),
|
|
17632
|
-
/*
|
|
17665
|
+
/* 453 */
|
|
17633
17666
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17634
17667
|
|
|
17635
17668
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17652,7 +17685,7 @@ class AaveV4QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
17652
17685
|
}
|
|
17653
17686
|
|
|
17654
17687
|
/***/ }),
|
|
17655
|
-
/*
|
|
17688
|
+
/* 454 */
|
|
17656
17689
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17657
17690
|
|
|
17658
17691
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17675,7 +17708,7 @@ class AaveV4QuotePriceRangeTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.
|
|
|
17675
17708
|
}
|
|
17676
17709
|
|
|
17677
17710
|
/***/ }),
|
|
17678
|
-
/*
|
|
17711
|
+
/* 455 */
|
|
17679
17712
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17680
17713
|
|
|
17681
17714
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17698,7 +17731,7 @@ class AaveV4RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
17698
17731
|
}
|
|
17699
17732
|
|
|
17700
17733
|
/***/ }),
|
|
17701
|
-
/*
|
|
17734
|
+
/* 456 */
|
|
17702
17735
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17703
17736
|
|
|
17704
17737
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17712,9 +17745,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17712
17745
|
/* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
|
|
17713
17746
|
/* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
|
|
17714
17747
|
/* harmony export */ });
|
|
17715
|
-
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
17748
|
+
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(457);
|
|
17716
17749
|
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(137);
|
|
17717
|
-
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
17750
|
+
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(459);
|
|
17718
17751
|
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(244);
|
|
17719
17752
|
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(224);
|
|
17720
17753
|
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(210);
|
|
@@ -17731,7 +17764,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17731
17764
|
|
|
17732
17765
|
|
|
17733
17766
|
/***/ }),
|
|
17734
|
-
/*
|
|
17767
|
+
/* 457 */
|
|
17735
17768
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17736
17769
|
|
|
17737
17770
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -17742,7 +17775,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17742
17775
|
/* harmony export */ });
|
|
17743
17776
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
17744
17777
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
17745
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
17778
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(458);
|
|
17746
17779
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
17747
17780
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
|
|
17748
17781
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -17944,20 +17977,20 @@ var createSellAction = /*#__PURE__*/function () {
|
|
|
17944
17977
|
}();
|
|
17945
17978
|
|
|
17946
17979
|
/***/ }),
|
|
17947
|
-
/*
|
|
17980
|
+
/* 458 */
|
|
17948
17981
|
/***/ ((module) => {
|
|
17949
17982
|
|
|
17950
|
-
module.exports =
|
|
17983
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__458__;
|
|
17951
17984
|
|
|
17952
17985
|
/***/ }),
|
|
17953
|
-
/*
|
|
17986
|
+
/* 459 */
|
|
17954
17987
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17955
17988
|
|
|
17956
17989
|
__webpack_require__.r(__webpack_exports__);
|
|
17957
17990
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17958
17991
|
/* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
|
|
17959
17992
|
/* harmony export */ });
|
|
17960
|
-
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
17993
|
+
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(460);
|
|
17961
17994
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
17962
17995
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
17963
17996
|
/**
|
|
@@ -17982,7 +18015,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
|
|
|
17982
18015
|
}();
|
|
17983
18016
|
|
|
17984
18017
|
/***/ }),
|
|
17985
|
-
/*
|
|
18018
|
+
/* 460 */
|
|
17986
18019
|
/***/ ((module) => {
|
|
17987
18020
|
|
|
17988
18021
|
module.exports = /*#__PURE__*/JSON.parse('[{"constant":false,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"positions","outputs":[{"name":"nonce","type":"uint96"},{"name":"operator","type":"address"},{"name":"token0","type":"address"},{"name":"token1","type":"address"},{"name":"fee","type":"uint24"},{"name":"tickLower","type":"int24"},{"name":"tickUpper","type":"int24"},{"name":"liquidity","type":"uint128"},{"name":"feeGrowthInside0LastX128","type":"uint256"},{"name":"feeGrowthInside1LastX128","type":"uint256"},{"name":"tokensOwed0","type":"uint128"},{"name":"tokensOwed1","type":"uint128"}],"payable":false,"stateMutability":"view","type":"function"}]');
|
|
@@ -18086,8 +18119,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18086
18119
|
/* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
|
|
18087
18120
|
/* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
18088
18121
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
|
|
18089
|
-
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
18090
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
18122
|
+
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(419);
|
|
18123
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(456);
|
|
18091
18124
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
|
|
18092
18125
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
|
|
18093
18126
|
/* Export types here */
|