@defisaver/sdk 1.2.20-dev → 1.2.21-dev-fluid-claim
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/fluid/FluidClaimAction.d.ts +19 -0
- package/esm/src/actions/fluid/FluidClaimAction.js +37 -0
- package/esm/src/actions/fluid/index.d.ts +1 -0
- package/esm/src/actions/fluid/index.js +1 -0
- package/esm/src/addresses.d.ts +4 -0
- package/esm/src/addresses.js +1 -0
- package/esm/src/index.d.ts +16 -0
- package/package.json +1 -1
- package/src/actions/fluid/FluidClaimAction.ts +58 -0
- package/src/actions/fluid/index.ts +2 -1
- package/src/addresses.ts +1 -0
- package/umd/index.js +117 -68
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { EthAddress, uint256, bytes32, uint8, bytes } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* FluidClaimAction - Claim Fluid rewards
|
|
5
|
+
*
|
|
6
|
+
* @category Fluid
|
|
7
|
+
*/
|
|
8
|
+
export declare class FluidClaimAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param to Address to send the claimed tokens to.
|
|
11
|
+
* @param cumulativeAmount Total cumulative amount of tokens to claim (Obtained from API).
|
|
12
|
+
* @param positionId The ID of the position. For earn positions, this will be fToken address (Obtained from API).
|
|
13
|
+
* @param positionType The type of the position (Obtained from API).
|
|
14
|
+
* @param cycle The cycle of the rewards program (Obtained from API).
|
|
15
|
+
* @param merkleProof The Merkle proof to claim the rewards (Obtained from API).
|
|
16
|
+
* @param metadata Additional metadata for the claim. (Obtained from API).
|
|
17
|
+
*/
|
|
18
|
+
constructor(to: EthAddress, cumulativeAmount: uint256, positionId: bytes32, positionType: uint8, cycle: uint256, merkleProof: Array<bytes32>, metadata: bytes);
|
|
19
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
/**
|
|
4
|
+
* FluidClaimAction - Claim Fluid rewards
|
|
5
|
+
*
|
|
6
|
+
* @category Fluid
|
|
7
|
+
*/
|
|
8
|
+
export class FluidClaimAction extends Action {
|
|
9
|
+
/**
|
|
10
|
+
* @param to Address to send the claimed tokens to.
|
|
11
|
+
* @param cumulativeAmount Total cumulative amount of tokens to claim (Obtained from API).
|
|
12
|
+
* @param positionId The ID of the position. For earn positions, this will be fToken address (Obtained from API).
|
|
13
|
+
* @param positionType The type of the position (Obtained from API).
|
|
14
|
+
* @param cycle The cycle of the rewards program (Obtained from API).
|
|
15
|
+
* @param merkleProof The Merkle proof to claim the rewards (Obtained from API).
|
|
16
|
+
* @param metadata Additional metadata for the claim. (Obtained from API).
|
|
17
|
+
*/
|
|
18
|
+
constructor(to, cumulativeAmount, positionId, positionType, cycle, merkleProof, metadata) {
|
|
19
|
+
super('FluidClaim', getAddr('FluidClaim'), [
|
|
20
|
+
'address',
|
|
21
|
+
'uint256',
|
|
22
|
+
'bytes32',
|
|
23
|
+
'uint8',
|
|
24
|
+
'uint256',
|
|
25
|
+
'bytes32[]',
|
|
26
|
+
'bytes', // metadata
|
|
27
|
+
], [
|
|
28
|
+
to,
|
|
29
|
+
cumulativeAmount,
|
|
30
|
+
positionId,
|
|
31
|
+
positionType,
|
|
32
|
+
cycle,
|
|
33
|
+
merkleProof,
|
|
34
|
+
metadata,
|
|
35
|
+
]);
|
|
36
|
+
}
|
|
37
|
+
}
|
package/esm/src/addresses.d.ts
CHANGED
|
@@ -254,6 +254,7 @@ export declare const actionAddresses: {
|
|
|
254
254
|
FluidVaultT1Withdraw: string;
|
|
255
255
|
FluidVaultT1Supply: string;
|
|
256
256
|
FluidView: string;
|
|
257
|
+
FluidClaim: string;
|
|
257
258
|
AaveV3DelegateCredit?: undefined;
|
|
258
259
|
AaveV3RatioTrigger?: undefined;
|
|
259
260
|
GasFeeTakerL2?: undefined;
|
|
@@ -517,6 +518,7 @@ export declare const actionAddresses: {
|
|
|
517
518
|
FluidVaultT1Withdraw?: undefined;
|
|
518
519
|
FluidVaultT1Supply?: undefined;
|
|
519
520
|
FluidView?: undefined;
|
|
521
|
+
FluidClaim?: undefined;
|
|
520
522
|
MorphoBlueView?: undefined;
|
|
521
523
|
} | {
|
|
522
524
|
DFSSell: string;
|
|
@@ -774,6 +776,7 @@ export declare const actionAddresses: {
|
|
|
774
776
|
EtherFiWrap?: undefined;
|
|
775
777
|
EtherFiUnwrap?: undefined;
|
|
776
778
|
KingClaim?: undefined;
|
|
779
|
+
FluidClaim?: undefined;
|
|
777
780
|
AaveV3DelegateCredit?: undefined;
|
|
778
781
|
AaveV3RatioTrigger?: undefined;
|
|
779
782
|
MorphoBlueView?: undefined;
|
|
@@ -1033,6 +1036,7 @@ export declare const actionAddresses: {
|
|
|
1033
1036
|
EtherFiWrap?: undefined;
|
|
1034
1037
|
EtherFiUnwrap?: undefined;
|
|
1035
1038
|
KingClaim?: undefined;
|
|
1039
|
+
FluidClaim?: undefined;
|
|
1036
1040
|
AaveV3DelegateCredit?: undefined;
|
|
1037
1041
|
AaveV3RatioTrigger?: undefined;
|
|
1038
1042
|
AaveV3RatioCheck?: undefined;
|
package/esm/src/addresses.js
CHANGED
|
@@ -290,6 +290,7 @@ export const actionAddresses = {
|
|
|
290
290
|
FluidVaultT1Withdraw: '0x5673b9ab4A035C5C7474C344664Be91DaFafa17E',
|
|
291
291
|
FluidVaultT1Supply: '0x0c6100209D8A0bb14CC7d18e45dA1bd1E7a3a187',
|
|
292
292
|
FluidView: '0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724',
|
|
293
|
+
FluidClaim: '0x0bC0aeF7702C204DEF308994C84D8fBce676dB47',
|
|
293
294
|
},
|
|
294
295
|
[NETWORKS.optimism.chainId]: {
|
|
295
296
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
package/esm/src/index.d.ts
CHANGED
|
@@ -265,6 +265,7 @@ declare const actionAddressesAllChains: {
|
|
|
265
265
|
FluidVaultT1Withdraw: string;
|
|
266
266
|
FluidVaultT1Supply: string;
|
|
267
267
|
FluidView: string;
|
|
268
|
+
FluidClaim: string;
|
|
268
269
|
AaveV3DelegateCredit?: undefined;
|
|
269
270
|
AaveV3RatioTrigger?: undefined;
|
|
270
271
|
GasFeeTakerL2?: undefined;
|
|
@@ -528,6 +529,7 @@ declare const actionAddressesAllChains: {
|
|
|
528
529
|
FluidVaultT1Withdraw?: undefined;
|
|
529
530
|
FluidVaultT1Supply?: undefined;
|
|
530
531
|
FluidView?: undefined;
|
|
532
|
+
FluidClaim?: undefined;
|
|
531
533
|
MorphoBlueView?: undefined;
|
|
532
534
|
} | {
|
|
533
535
|
DFSSell: string;
|
|
@@ -785,6 +787,7 @@ declare const actionAddressesAllChains: {
|
|
|
785
787
|
EtherFiWrap?: undefined;
|
|
786
788
|
EtherFiUnwrap?: undefined;
|
|
787
789
|
KingClaim?: undefined;
|
|
790
|
+
FluidClaim?: undefined;
|
|
788
791
|
AaveV3DelegateCredit?: undefined;
|
|
789
792
|
AaveV3RatioTrigger?: undefined;
|
|
790
793
|
MorphoBlueView?: undefined;
|
|
@@ -1044,6 +1047,7 @@ declare const actionAddressesAllChains: {
|
|
|
1044
1047
|
EtherFiWrap?: undefined;
|
|
1045
1048
|
EtherFiUnwrap?: undefined;
|
|
1046
1049
|
KingClaim?: undefined;
|
|
1050
|
+
FluidClaim?: undefined;
|
|
1047
1051
|
AaveV3DelegateCredit?: undefined;
|
|
1048
1052
|
AaveV3RatioTrigger?: undefined;
|
|
1049
1053
|
AaveV3RatioCheck?: undefined;
|
|
@@ -1303,6 +1307,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1303
1307
|
FluidVaultT1Withdraw: string;
|
|
1304
1308
|
FluidVaultT1Supply: string;
|
|
1305
1309
|
FluidView: string;
|
|
1310
|
+
FluidClaim: string;
|
|
1306
1311
|
AaveV3DelegateCredit?: undefined;
|
|
1307
1312
|
AaveV3RatioTrigger?: undefined;
|
|
1308
1313
|
GasFeeTakerL2?: undefined;
|
|
@@ -1566,6 +1571,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1566
1571
|
FluidVaultT1Withdraw?: undefined;
|
|
1567
1572
|
FluidVaultT1Supply?: undefined;
|
|
1568
1573
|
FluidView?: undefined;
|
|
1574
|
+
FluidClaim?: undefined;
|
|
1569
1575
|
MorphoBlueView?: undefined;
|
|
1570
1576
|
} | {
|
|
1571
1577
|
DFSSell: string;
|
|
@@ -1823,6 +1829,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
1823
1829
|
EtherFiWrap?: undefined;
|
|
1824
1830
|
EtherFiUnwrap?: undefined;
|
|
1825
1831
|
KingClaim?: undefined;
|
|
1832
|
+
FluidClaim?: undefined;
|
|
1826
1833
|
AaveV3DelegateCredit?: undefined;
|
|
1827
1834
|
AaveV3RatioTrigger?: undefined;
|
|
1828
1835
|
MorphoBlueView?: undefined;
|
|
@@ -2082,6 +2089,7 @@ declare const actionAddresses: (chainId?: null) => {
|
|
|
2082
2089
|
EtherFiWrap?: undefined;
|
|
2083
2090
|
EtherFiUnwrap?: undefined;
|
|
2084
2091
|
KingClaim?: undefined;
|
|
2092
|
+
FluidClaim?: undefined;
|
|
2085
2093
|
AaveV3DelegateCredit?: undefined;
|
|
2086
2094
|
AaveV3RatioTrigger?: undefined;
|
|
2087
2095
|
AaveV3RatioCheck?: undefined;
|
|
@@ -2484,6 +2492,7 @@ declare const _default: {
|
|
|
2484
2492
|
FluidVaultT1Withdraw: string;
|
|
2485
2493
|
FluidVaultT1Supply: string;
|
|
2486
2494
|
FluidView: string;
|
|
2495
|
+
FluidClaim: string;
|
|
2487
2496
|
AaveV3DelegateCredit?: undefined;
|
|
2488
2497
|
AaveV3RatioTrigger?: undefined;
|
|
2489
2498
|
GasFeeTakerL2?: undefined;
|
|
@@ -2747,6 +2756,7 @@ declare const _default: {
|
|
|
2747
2756
|
FluidVaultT1Withdraw?: undefined;
|
|
2748
2757
|
FluidVaultT1Supply?: undefined;
|
|
2749
2758
|
FluidView?: undefined;
|
|
2759
|
+
FluidClaim?: undefined;
|
|
2750
2760
|
MorphoBlueView?: undefined;
|
|
2751
2761
|
} | {
|
|
2752
2762
|
DFSSell: string;
|
|
@@ -3004,6 +3014,7 @@ declare const _default: {
|
|
|
3004
3014
|
EtherFiWrap?: undefined;
|
|
3005
3015
|
EtherFiUnwrap?: undefined;
|
|
3006
3016
|
KingClaim?: undefined;
|
|
3017
|
+
FluidClaim?: undefined;
|
|
3007
3018
|
AaveV3DelegateCredit?: undefined;
|
|
3008
3019
|
AaveV3RatioTrigger?: undefined;
|
|
3009
3020
|
MorphoBlueView?: undefined;
|
|
@@ -3263,6 +3274,7 @@ declare const _default: {
|
|
|
3263
3274
|
EtherFiWrap?: undefined;
|
|
3264
3275
|
EtherFiUnwrap?: undefined;
|
|
3265
3276
|
KingClaim?: undefined;
|
|
3277
|
+
FluidClaim?: undefined;
|
|
3266
3278
|
AaveV3DelegateCredit?: undefined;
|
|
3267
3279
|
AaveV3RatioTrigger?: undefined;
|
|
3268
3280
|
AaveV3RatioCheck?: undefined;
|
|
@@ -3522,6 +3534,7 @@ declare const _default: {
|
|
|
3522
3534
|
FluidVaultT1Withdraw: string;
|
|
3523
3535
|
FluidVaultT1Supply: string;
|
|
3524
3536
|
FluidView: string;
|
|
3537
|
+
FluidClaim: string;
|
|
3525
3538
|
AaveV3DelegateCredit?: undefined;
|
|
3526
3539
|
AaveV3RatioTrigger?: undefined;
|
|
3527
3540
|
GasFeeTakerL2?: undefined;
|
|
@@ -3785,6 +3798,7 @@ declare const _default: {
|
|
|
3785
3798
|
FluidVaultT1Withdraw?: undefined;
|
|
3786
3799
|
FluidVaultT1Supply?: undefined;
|
|
3787
3800
|
FluidView?: undefined;
|
|
3801
|
+
FluidClaim?: undefined;
|
|
3788
3802
|
MorphoBlueView?: undefined;
|
|
3789
3803
|
} | {
|
|
3790
3804
|
DFSSell: string;
|
|
@@ -4042,6 +4056,7 @@ declare const _default: {
|
|
|
4042
4056
|
EtherFiWrap?: undefined;
|
|
4043
4057
|
EtherFiUnwrap?: undefined;
|
|
4044
4058
|
KingClaim?: undefined;
|
|
4059
|
+
FluidClaim?: undefined;
|
|
4045
4060
|
AaveV3DelegateCredit?: undefined;
|
|
4046
4061
|
AaveV3RatioTrigger?: undefined;
|
|
4047
4062
|
MorphoBlueView?: undefined;
|
|
@@ -4301,6 +4316,7 @@ declare const _default: {
|
|
|
4301
4316
|
EtherFiWrap?: undefined;
|
|
4302
4317
|
EtherFiUnwrap?: undefined;
|
|
4303
4318
|
KingClaim?: undefined;
|
|
4319
|
+
FluidClaim?: undefined;
|
|
4304
4320
|
AaveV3DelegateCredit?: undefined;
|
|
4305
4321
|
AaveV3RatioTrigger?: undefined;
|
|
4306
4322
|
AaveV3RatioCheck?: undefined;
|
package/package.json
CHANGED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Action } from '../../Action';
|
|
2
|
+
import { getAddr } from '../../addresses';
|
|
3
|
+
import {
|
|
4
|
+
EthAddress,
|
|
5
|
+
uint256,
|
|
6
|
+
bytes32,
|
|
7
|
+
uint8,
|
|
8
|
+
bytes,
|
|
9
|
+
} from '../../types';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* FluidClaimAction - Claim Fluid rewards
|
|
13
|
+
*
|
|
14
|
+
* @category Fluid
|
|
15
|
+
*/
|
|
16
|
+
export class FluidClaimAction extends Action {
|
|
17
|
+
/**
|
|
18
|
+
* @param to Address to send the claimed tokens to.
|
|
19
|
+
* @param cumulativeAmount Total cumulative amount of tokens to claim (Obtained from API).
|
|
20
|
+
* @param positionId The ID of the position. For earn positions, this will be fToken address (Obtained from API).
|
|
21
|
+
* @param positionType The type of the position (Obtained from API).
|
|
22
|
+
* @param cycle The cycle of the rewards program (Obtained from API).
|
|
23
|
+
* @param merkleProof The Merkle proof to claim the rewards (Obtained from API).
|
|
24
|
+
* @param metadata Additional metadata for the claim. (Obtained from API).
|
|
25
|
+
*/
|
|
26
|
+
constructor(
|
|
27
|
+
to: EthAddress,
|
|
28
|
+
cumulativeAmount: uint256,
|
|
29
|
+
positionId: bytes32,
|
|
30
|
+
positionType: uint8,
|
|
31
|
+
cycle: uint256,
|
|
32
|
+
merkleProof: Array<bytes32>,
|
|
33
|
+
metadata: bytes,
|
|
34
|
+
) {
|
|
35
|
+
super(
|
|
36
|
+
'FluidClaim',
|
|
37
|
+
getAddr('FluidClaim'),
|
|
38
|
+
[
|
|
39
|
+
'address', // to
|
|
40
|
+
'uint256', // cumulativeAmount
|
|
41
|
+
'bytes32', // positionId
|
|
42
|
+
'uint8', // positionType
|
|
43
|
+
'uint256', // cycle
|
|
44
|
+
'bytes32[]', // merkleProof
|
|
45
|
+
'bytes', // metadata
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
to,
|
|
49
|
+
cumulativeAmount,
|
|
50
|
+
positionId,
|
|
51
|
+
positionType,
|
|
52
|
+
cycle,
|
|
53
|
+
merkleProof,
|
|
54
|
+
metadata,
|
|
55
|
+
],
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -3,4 +3,5 @@ export * from './FluidVaultT1AdjustAction';
|
|
|
3
3
|
export * from './FluidVaultT1BorrowAction';
|
|
4
4
|
export * from './FluidVaultT1PaybackAction';
|
|
5
5
|
export * from './FluidVaultT1SupplyAction';
|
|
6
|
-
export * from './FluidVaultT1WithdrawAction';
|
|
6
|
+
export * from './FluidVaultT1WithdrawAction';
|
|
7
|
+
export * from './FluidClaimAction';
|
package/src/addresses.ts
CHANGED
|
@@ -335,6 +335,7 @@ export const actionAddresses = {
|
|
|
335
335
|
FluidVaultT1Withdraw: '0x5673b9ab4A035C5C7474C344664Be91DaFafa17E',
|
|
336
336
|
FluidVaultT1Supply: '0x0c6100209D8A0bb14CC7d18e45dA1bd1E7a3a187',
|
|
337
337
|
FluidView: '0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724',
|
|
338
|
+
FluidClaim: '0x0bC0aeF7702C204DEF308994C84D8fBce676dB47',
|
|
338
339
|
},
|
|
339
340
|
[NETWORKS.optimism.chainId]: {
|
|
340
341
|
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__137__, __WEBPACK_EXTERNAL_MODULE__138__,
|
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__3__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__6__, __WEBPACK_EXTERNAL_MODULE__137__, __WEBPACK_EXTERNAL_MODULE__138__, __WEBPACK_EXTERNAL_MODULE__409__) => {
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ([
|
|
@@ -1578,7 +1578,8 @@ var actionAddresses = {
|
|
|
1578
1578
|
FluidVaultT1Payback: '0x13b021b52989e257537b4C0ee6Ef12E77AFD4652',
|
|
1579
1579
|
FluidVaultT1Withdraw: '0x5673b9ab4A035C5C7474C344664Be91DaFafa17E',
|
|
1580
1580
|
FluidVaultT1Supply: '0x0c6100209D8A0bb14CC7d18e45dA1bd1E7a3a187',
|
|
1581
|
-
FluidView: '0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724'
|
|
1581
|
+
FluidView: '0xf8e3bbf7c95057be1fD5E741a9ADb73E956dC724',
|
|
1582
|
+
FluidClaim: '0x0bC0aeF7702C204DEF308994C84D8fBce676dB47'
|
|
1582
1583
|
},
|
|
1583
1584
|
[_config__WEBPACK_IMPORTED_MODULE_0__.NETWORKS.optimism.chainId]: {
|
|
1584
1585
|
DFSSell: '0x9f234af5c10c136863a20865ba00b26951ab8269',
|
|
@@ -14846,6 +14847,7 @@ class EtherFiUnwrapAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action {
|
|
|
14846
14847
|
|
|
14847
14848
|
__webpack_require__.r(__webpack_exports__);
|
|
14848
14849
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14850
|
+
/* harmony export */ FluidClaimAction: () => (/* reexport safe */ _FluidClaimAction__WEBPACK_IMPORTED_MODULE_6__.FluidClaimAction),
|
|
14849
14851
|
/* harmony export */ FluidVaultT1AdjustAction: () => (/* reexport safe */ _FluidVaultT1AdjustAction__WEBPACK_IMPORTED_MODULE_1__.FluidVaultT1AdjustAction),
|
|
14850
14852
|
/* harmony export */ FluidVaultT1BorrowAction: () => (/* reexport safe */ _FluidVaultT1BorrowAction__WEBPACK_IMPORTED_MODULE_2__.FluidVaultT1BorrowAction),
|
|
14851
14853
|
/* harmony export */ FluidVaultT1OpenAction: () => (/* reexport safe */ _FluidVaultT1OpenAction__WEBPACK_IMPORTED_MODULE_0__.FluidVaultT1OpenAction),
|
|
@@ -14859,6 +14861,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14859
14861
|
/* harmony import */ var _FluidVaultT1PaybackAction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(375);
|
|
14860
14862
|
/* harmony import */ var _FluidVaultT1SupplyAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(376);
|
|
14861
14863
|
/* harmony import */ var _FluidVaultT1WithdrawAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(377);
|
|
14864
|
+
/* harmony import */ var _FluidClaimAction__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(378);
|
|
14865
|
+
|
|
14862
14866
|
|
|
14863
14867
|
|
|
14864
14868
|
|
|
@@ -15125,6 +15129,51 @@ class FluidVaultT1WithdrawAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
15125
15129
|
/* 378 */
|
|
15126
15130
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15127
15131
|
|
|
15132
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15133
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15134
|
+
/* harmony export */ FluidClaimAction: () => (/* binding */ FluidClaimAction)
|
|
15135
|
+
/* harmony export */ });
|
|
15136
|
+
/* harmony import */ var _Action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
|
|
15137
|
+
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27);
|
|
15138
|
+
|
|
15139
|
+
|
|
15140
|
+
/**
|
|
15141
|
+
* FluidClaimAction - Claim Fluid rewards
|
|
15142
|
+
*
|
|
15143
|
+
* @category Fluid
|
|
15144
|
+
*/
|
|
15145
|
+
class FluidClaimAction extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
15146
|
+
/**
|
|
15147
|
+
* @param to Address to send the claimed tokens to.
|
|
15148
|
+
* @param cumulativeAmount Total cumulative amount of tokens to claim (Obtained from API).
|
|
15149
|
+
* @param positionId The ID of the position. For earn positions, this will be fToken address (Obtained from API).
|
|
15150
|
+
* @param positionType The type of the position (Obtained from API).
|
|
15151
|
+
* @param cycle The cycle of the rewards program (Obtained from API).
|
|
15152
|
+
* @param merkleProof The Merkle proof to claim the rewards (Obtained from API).
|
|
15153
|
+
* @param metadata Additional metadata for the claim. (Obtained from API).
|
|
15154
|
+
*/
|
|
15155
|
+
constructor(to, cumulativeAmount, positionId, positionType, cycle, merkleProof, metadata) {
|
|
15156
|
+
super('FluidClaim', (0,_addresses__WEBPACK_IMPORTED_MODULE_1__.getAddr)('FluidClaim'), ['address',
|
|
15157
|
+
// to
|
|
15158
|
+
'uint256',
|
|
15159
|
+
// cumulativeAmount
|
|
15160
|
+
'bytes32',
|
|
15161
|
+
// positionId
|
|
15162
|
+
'uint8',
|
|
15163
|
+
// positionType
|
|
15164
|
+
'uint256',
|
|
15165
|
+
// cycle
|
|
15166
|
+
'bytes32[]',
|
|
15167
|
+
// merkleProof
|
|
15168
|
+
'bytes' // metadata
|
|
15169
|
+
], [to, cumulativeAmount, positionId, positionType, cycle, merkleProof, metadata]);
|
|
15170
|
+
}
|
|
15171
|
+
}
|
|
15172
|
+
|
|
15173
|
+
/***/ }),
|
|
15174
|
+
/* 379 */
|
|
15175
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15176
|
+
|
|
15128
15177
|
__webpack_require__.r(__webpack_exports__);
|
|
15129
15178
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15130
15179
|
/* harmony export */ AaveV2RatioTrigger: () => (/* reexport safe */ _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__.AaveV2RatioTrigger),
|
|
@@ -15155,33 +15204,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15155
15204
|
/* harmony export */ TrailingStopTrigger: () => (/* reexport safe */ _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__.TrailingStopTrigger),
|
|
15156
15205
|
/* harmony export */ UniV3CurrentTickTrigger: () => (/* reexport safe */ _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__.UniV3CurrentTickTrigger)
|
|
15157
15206
|
/* harmony export */ });
|
|
15158
|
-
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
15159
|
-
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
15160
|
-
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
15161
|
-
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
15162
|
-
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
15163
|
-
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
15164
|
-
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
15165
|
-
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
15166
|
-
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
15167
|
-
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
15168
|
-
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
15169
|
-
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
|
15170
|
-
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
|
15171
|
-
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
|
15172
|
-
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
|
|
15173
|
-
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
|
|
15174
|
-
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
|
|
15175
|
-
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
|
|
15176
|
-
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
15177
|
-
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
|
|
15178
|
-
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
|
|
15179
|
-
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
|
|
15180
|
-
/* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
|
|
15181
|
-
/* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
|
|
15182
|
-
/* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
|
|
15183
|
-
/* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
|
|
15184
|
-
/* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
|
|
15207
|
+
/* harmony import */ var _MakerRatioTrigger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(380);
|
|
15208
|
+
/* harmony import */ var _ChainLinkPriceTrigger__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(381);
|
|
15209
|
+
/* harmony import */ var _UniV3CurrentTickTrigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(382);
|
|
15210
|
+
/* harmony import */ var _TimestampTrigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(383);
|
|
15211
|
+
/* harmony import */ var _GasPriceTrigger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(384);
|
|
15212
|
+
/* harmony import */ var _CompoundRatioTrigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(385);
|
|
15213
|
+
/* harmony import */ var _ReflexerRatioTrigger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(386);
|
|
15214
|
+
/* harmony import */ var _LiquityRatioTrigger__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(387);
|
|
15215
|
+
/* harmony import */ var _AaveV3RatioTrigger__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(388);
|
|
15216
|
+
/* harmony import */ var _CompV3RatioTrigger__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(389);
|
|
15217
|
+
/* harmony import */ var _TrailingStopTrigger__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(390);
|
|
15218
|
+
/* harmony import */ var _CBRebondTrigger__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(391);
|
|
15219
|
+
/* harmony import */ var _AaveV3QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(392);
|
|
15220
|
+
/* harmony import */ var _AaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(393);
|
|
15221
|
+
/* harmony import */ var _MorphoAaveV2RatioTrigger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(394);
|
|
15222
|
+
/* harmony import */ var _SparkRatioTrigger__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(395);
|
|
15223
|
+
/* harmony import */ var _SparkQuotePriceTrigger__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(396);
|
|
15224
|
+
/* harmony import */ var _LiquityDebtInFrontWithLimitTrigger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(397);
|
|
15225
|
+
/* harmony import */ var _CurveUsdCollRatioTrigger__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(398);
|
|
15226
|
+
/* harmony import */ var _CurveUsdHealthRatioTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(399);
|
|
15227
|
+
/* harmony import */ var _MorphoBlueRatioTrigger__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(400);
|
|
15228
|
+
/* harmony import */ var _OffchainPriceTrigger__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(401);
|
|
15229
|
+
/* harmony import */ var _MorphoBluePriceTrigger__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(402);
|
|
15230
|
+
/* harmony import */ var _LiquityV2RatioTrigger__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(403);
|
|
15231
|
+
/* harmony import */ var _ClosePriceTrigger__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(404);
|
|
15232
|
+
/* harmony import */ var _LiquityV2QuotePriceTrigger__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(405);
|
|
15233
|
+
/* harmony import */ var _FluidRatioTrigger__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(406);
|
|
15185
15234
|
|
|
15186
15235
|
|
|
15187
15236
|
|
|
@@ -15211,7 +15260,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15211
15260
|
|
|
15212
15261
|
|
|
15213
15262
|
/***/ }),
|
|
15214
|
-
/*
|
|
15263
|
+
/* 380 */
|
|
15215
15264
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15216
15265
|
|
|
15217
15266
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15234,7 +15283,7 @@ class MakerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15234
15283
|
}
|
|
15235
15284
|
|
|
15236
15285
|
/***/ }),
|
|
15237
|
-
/*
|
|
15286
|
+
/* 381 */
|
|
15238
15287
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15239
15288
|
|
|
15240
15289
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15257,7 +15306,7 @@ class ChainLinkPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15257
15306
|
}
|
|
15258
15307
|
|
|
15259
15308
|
/***/ }),
|
|
15260
|
-
/*
|
|
15309
|
+
/* 382 */
|
|
15261
15310
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15262
15311
|
|
|
15263
15312
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15280,7 +15329,7 @@ class UniV3CurrentTickTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
15280
15329
|
}
|
|
15281
15330
|
|
|
15282
15331
|
/***/ }),
|
|
15283
|
-
/*
|
|
15332
|
+
/* 383 */
|
|
15284
15333
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15285
15334
|
|
|
15286
15335
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15303,7 +15352,7 @@ class TimestampTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15303
15352
|
}
|
|
15304
15353
|
|
|
15305
15354
|
/***/ }),
|
|
15306
|
-
/*
|
|
15355
|
+
/* 384 */
|
|
15307
15356
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15308
15357
|
|
|
15309
15358
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15326,7 +15375,7 @@ class GasPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15326
15375
|
}
|
|
15327
15376
|
|
|
15328
15377
|
/***/ }),
|
|
15329
|
-
/*
|
|
15378
|
+
/* 385 */
|
|
15330
15379
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15331
15380
|
|
|
15332
15381
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15349,7 +15398,7 @@ class CompoundRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15349
15398
|
}
|
|
15350
15399
|
|
|
15351
15400
|
/***/ }),
|
|
15352
|
-
/*
|
|
15401
|
+
/* 386 */
|
|
15353
15402
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15354
15403
|
|
|
15355
15404
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15372,7 +15421,7 @@ class ReflexerRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15372
15421
|
}
|
|
15373
15422
|
|
|
15374
15423
|
/***/ }),
|
|
15375
|
-
/*
|
|
15424
|
+
/* 387 */
|
|
15376
15425
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15377
15426
|
|
|
15378
15427
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15395,7 +15444,7 @@ class LiquityRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15395
15444
|
}
|
|
15396
15445
|
|
|
15397
15446
|
/***/ }),
|
|
15398
|
-
/*
|
|
15447
|
+
/* 388 */
|
|
15399
15448
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15400
15449
|
|
|
15401
15450
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15418,7 +15467,7 @@ class AaveV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15418
15467
|
}
|
|
15419
15468
|
|
|
15420
15469
|
/***/ }),
|
|
15421
|
-
/*
|
|
15470
|
+
/* 389 */
|
|
15422
15471
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15423
15472
|
|
|
15424
15473
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15441,7 +15490,7 @@ class CompV3RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15441
15490
|
}
|
|
15442
15491
|
|
|
15443
15492
|
/***/ }),
|
|
15444
|
-
/*
|
|
15493
|
+
/* 390 */
|
|
15445
15494
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15446
15495
|
|
|
15447
15496
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15464,7 +15513,7 @@ class TrailingStopTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15464
15513
|
}
|
|
15465
15514
|
|
|
15466
15515
|
/***/ }),
|
|
15467
|
-
/*
|
|
15516
|
+
/* 391 */
|
|
15468
15517
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15469
15518
|
|
|
15470
15519
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15487,7 +15536,7 @@ class CBRebondTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15487
15536
|
}
|
|
15488
15537
|
|
|
15489
15538
|
/***/ }),
|
|
15490
|
-
/*
|
|
15539
|
+
/* 392 */
|
|
15491
15540
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15492
15541
|
|
|
15493
15542
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15510,7 +15559,7 @@ class AaveV3QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Actio
|
|
|
15510
15559
|
}
|
|
15511
15560
|
|
|
15512
15561
|
/***/ }),
|
|
15513
|
-
/*
|
|
15562
|
+
/* 393 */
|
|
15514
15563
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15515
15564
|
|
|
15516
15565
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15533,7 +15582,7 @@ class AaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15533
15582
|
}
|
|
15534
15583
|
|
|
15535
15584
|
/***/ }),
|
|
15536
|
-
/*
|
|
15585
|
+
/* 394 */
|
|
15537
15586
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15538
15587
|
|
|
15539
15588
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15556,7 +15605,7 @@ class MorphoAaveV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
15556
15605
|
}
|
|
15557
15606
|
|
|
15558
15607
|
/***/ }),
|
|
15559
|
-
/*
|
|
15608
|
+
/* 395 */
|
|
15560
15609
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15561
15610
|
|
|
15562
15611
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15579,7 +15628,7 @@ class SparkRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15579
15628
|
}
|
|
15580
15629
|
|
|
15581
15630
|
/***/ }),
|
|
15582
|
-
/*
|
|
15631
|
+
/* 396 */
|
|
15583
15632
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15584
15633
|
|
|
15585
15634
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15602,7 +15651,7 @@ class SparkQuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15602
15651
|
}
|
|
15603
15652
|
|
|
15604
15653
|
/***/ }),
|
|
15605
|
-
/*
|
|
15654
|
+
/* 397 */
|
|
15606
15655
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15607
15656
|
|
|
15608
15657
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15625,7 +15674,7 @@ class LiquityDebtInFrontWithLimitTrigger extends _Action__WEBPACK_IMPORTED_MODUL
|
|
|
15625
15674
|
}
|
|
15626
15675
|
|
|
15627
15676
|
/***/ }),
|
|
15628
|
-
/*
|
|
15677
|
+
/* 398 */
|
|
15629
15678
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15630
15679
|
|
|
15631
15680
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15648,7 +15697,7 @@ class CurveUsdCollRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Acti
|
|
|
15648
15697
|
}
|
|
15649
15698
|
|
|
15650
15699
|
/***/ }),
|
|
15651
|
-
/*
|
|
15700
|
+
/* 399 */
|
|
15652
15701
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15653
15702
|
|
|
15654
15703
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15671,7 +15720,7 @@ class CurveUsdHealthRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
15671
15720
|
}
|
|
15672
15721
|
|
|
15673
15722
|
/***/ }),
|
|
15674
|
-
/*
|
|
15723
|
+
/* 400 */
|
|
15675
15724
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15676
15725
|
|
|
15677
15726
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15694,7 +15743,7 @@ class MorphoBlueRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15694
15743
|
}
|
|
15695
15744
|
|
|
15696
15745
|
/***/ }),
|
|
15697
|
-
/*
|
|
15746
|
+
/* 401 */
|
|
15698
15747
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15699
15748
|
|
|
15700
15749
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15717,7 +15766,7 @@ class OffchainPriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15717
15766
|
}
|
|
15718
15767
|
|
|
15719
15768
|
/***/ }),
|
|
15720
|
-
/*
|
|
15769
|
+
/* 402 */
|
|
15721
15770
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15722
15771
|
|
|
15723
15772
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15746,7 +15795,7 @@ class MorphoBluePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15746
15795
|
}
|
|
15747
15796
|
|
|
15748
15797
|
/***/ }),
|
|
15749
|
-
/*
|
|
15798
|
+
/* 403 */
|
|
15750
15799
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15751
15800
|
|
|
15752
15801
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15767,7 +15816,7 @@ class LiquityV2RatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action
|
|
|
15767
15816
|
}
|
|
15768
15817
|
|
|
15769
15818
|
/***/ }),
|
|
15770
|
-
/*
|
|
15819
|
+
/* 404 */
|
|
15771
15820
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15772
15821
|
|
|
15773
15822
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15790,7 +15839,7 @@ class ClosePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15790
15839
|
}
|
|
15791
15840
|
|
|
15792
15841
|
/***/ }),
|
|
15793
|
-
/*
|
|
15842
|
+
/* 405 */
|
|
15794
15843
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15795
15844
|
|
|
15796
15845
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15811,7 +15860,7 @@ class LiquityV2QuotePriceTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Ac
|
|
|
15811
15860
|
}
|
|
15812
15861
|
|
|
15813
15862
|
/***/ }),
|
|
15814
|
-
/*
|
|
15863
|
+
/* 406 */
|
|
15815
15864
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15816
15865
|
|
|
15817
15866
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15834,7 +15883,7 @@ class FluidRatioTrigger extends _Action__WEBPACK_IMPORTED_MODULE_0__.Action {
|
|
|
15834
15883
|
}
|
|
15835
15884
|
|
|
15836
15885
|
/***/ }),
|
|
15837
|
-
/*
|
|
15886
|
+
/* 407 */
|
|
15838
15887
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15839
15888
|
|
|
15840
15889
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15848,9 +15897,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15848
15897
|
/* harmony export */ uniswapV3LP: () => (/* reexport module object */ _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__),
|
|
15849
15898
|
/* harmony export */ zeroExExchange: () => (/* reexport module object */ _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__)
|
|
15850
15899
|
/* harmony export */ });
|
|
15851
|
-
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
15900
|
+
/* harmony import */ var _zeroExExchange__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(408);
|
|
15852
15901
|
/* harmony import */ var _uniswapLP__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(136);
|
|
15853
|
-
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
15902
|
+
/* harmony import */ var _uniswapV3LP__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(410);
|
|
15854
15903
|
/* harmony import */ var _convex_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(241);
|
|
15855
15904
|
/* harmony import */ var _mstableAssetPairs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(221);
|
|
15856
15905
|
/* harmony import */ var _curve_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(207);
|
|
@@ -15867,7 +15916,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15867
15916
|
|
|
15868
15917
|
|
|
15869
15918
|
/***/ }),
|
|
15870
|
-
/*
|
|
15919
|
+
/* 408 */
|
|
15871
15920
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15872
15921
|
|
|
15873
15922
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -15878,7 +15927,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15878
15927
|
/* harmony export */ });
|
|
15879
15928
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
15880
15929
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(decimal_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
15881
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
15930
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(409);
|
|
15882
15931
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
15883
15932
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
|
|
15884
15933
|
/* harmony import */ var _defisaver_tokens__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_defisaver_tokens__WEBPACK_IMPORTED_MODULE_2__);
|
|
@@ -16080,20 +16129,20 @@ var createSellAction = /*#__PURE__*/function () {
|
|
|
16080
16129
|
}();
|
|
16081
16130
|
|
|
16082
16131
|
/***/ }),
|
|
16083
|
-
/*
|
|
16132
|
+
/* 409 */
|
|
16084
16133
|
/***/ ((module) => {
|
|
16085
16134
|
|
|
16086
|
-
module.exports =
|
|
16135
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__409__;
|
|
16087
16136
|
|
|
16088
16137
|
/***/ }),
|
|
16089
|
-
/*
|
|
16138
|
+
/* 410 */
|
|
16090
16139
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16091
16140
|
|
|
16092
16141
|
__webpack_require__.r(__webpack_exports__);
|
|
16093
16142
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16094
16143
|
/* harmony export */ getAssetAddrByTokenId: () => (/* binding */ getAssetAddrByTokenId)
|
|
16095
16144
|
/* harmony export */ });
|
|
16096
|
-
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
16145
|
+
/* harmony import */ var _abis_UniV3PositionManager_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(411);
|
|
16097
16146
|
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); } }
|
|
16098
16147
|
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); }); }; }
|
|
16099
16148
|
/**
|
|
@@ -16118,7 +16167,7 @@ var getAssetAddrByTokenId = /*#__PURE__*/function () {
|
|
|
16118
16167
|
}();
|
|
16119
16168
|
|
|
16120
16169
|
/***/ }),
|
|
16121
|
-
/*
|
|
16170
|
+
/* 411 */
|
|
16122
16171
|
/***/ ((module) => {
|
|
16123
16172
|
|
|
16124
16173
|
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"}]');
|
|
@@ -16222,8 +16271,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16222
16271
|
/* harmony import */ var _Strategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
|
|
16223
16272
|
/* harmony import */ var _DfsWeb3__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(30);
|
|
16224
16273
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(35);
|
|
16225
|
-
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
16226
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
16274
|
+
/* harmony import */ var _triggers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(379);
|
|
16275
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(407);
|
|
16227
16276
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4);
|
|
16228
16277
|
/* harmony import */ var _addresses__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(27);
|
|
16229
16278
|
/* Export types here */
|