@defisaver/sdk 1.3.15 → 1.3.17-aave-v4-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.
Files changed (60) hide show
  1. package/esm/src/Strategy.d.ts +1 -0
  2. package/esm/src/Strategy.js +3 -0
  3. package/esm/src/actions/aavev4/AaveV4BorrowAction.d.ts +17 -0
  4. package/esm/src/actions/aavev4/AaveV4BorrowAction.js +26 -0
  5. package/esm/src/actions/aavev4/AaveV4CollateralSwitchAction.d.ts +16 -0
  6. package/esm/src/actions/aavev4/AaveV4CollateralSwitchAction.js +24 -0
  7. package/esm/src/actions/aavev4/AaveV4PaybackAction.d.ts +23 -0
  8. package/esm/src/actions/aavev4/AaveV4PaybackAction.js +46 -0
  9. package/esm/src/actions/aavev4/AaveV4StoreRatioAction.d.ts +14 -0
  10. package/esm/src/actions/aavev4/AaveV4StoreRatioAction.js +20 -0
  11. package/esm/src/actions/aavev4/AaveV4SupplyAction.d.ts +25 -0
  12. package/esm/src/actions/aavev4/AaveV4SupplyAction.js +49 -0
  13. package/esm/src/actions/aavev4/AaveV4WithdrawAction.d.ts +17 -0
  14. package/esm/src/actions/aavev4/AaveV4WithdrawAction.js +26 -0
  15. package/esm/src/actions/aavev4/index.d.ts +6 -0
  16. package/esm/src/actions/aavev4/index.js +6 -0
  17. package/esm/src/actions/checkers/AaveV4RatioCheckAction.d.ts +16 -0
  18. package/esm/src/actions/checkers/AaveV4RatioCheckAction.js +24 -0
  19. package/esm/src/actions/checkers/index.d.ts +1 -0
  20. package/esm/src/actions/checkers/index.js +1 -0
  21. package/esm/src/actions/index.d.ts +2 -1
  22. package/esm/src/actions/index.js +2 -1
  23. package/esm/src/actions/summerfi/SummerfiUnsubAction.d.ts +12 -0
  24. package/esm/src/actions/summerfi/SummerfiUnsubAction.js +18 -0
  25. package/esm/src/actions/summerfi/SummerfiUnsubV2Action.d.ts +13 -0
  26. package/esm/src/actions/summerfi/SummerfiUnsubV2Action.js +20 -0
  27. package/esm/src/actions/summerfi/index.d.ts +2 -0
  28. package/esm/src/actions/summerfi/index.js +2 -0
  29. package/esm/src/addresses.d.ts +47 -0
  30. package/esm/src/addresses.js +29 -11
  31. package/esm/src/index.d.ts +188 -0
  32. package/esm/src/triggers/AaveV4QuotePriceRangeTrigger.d.ts +10 -0
  33. package/esm/src/triggers/AaveV4QuotePriceRangeTrigger.js +12 -0
  34. package/esm/src/triggers/AaveV4QuotePriceTrigger.d.ts +10 -0
  35. package/esm/src/triggers/AaveV4QuotePriceTrigger.js +12 -0
  36. package/esm/src/triggers/AaveV4RatioTrigger.d.ts +10 -0
  37. package/esm/src/triggers/AaveV4RatioTrigger.js +12 -0
  38. package/esm/src/triggers/index.d.ts +3 -0
  39. package/esm/src/triggers/index.js +3 -0
  40. package/package.json +1 -1
  41. package/src/Strategy.ts +4 -0
  42. package/src/actions/aavev4/AaveV4BorrowAction.ts +39 -0
  43. package/src/actions/aavev4/AaveV4CollateralSwitchAction.ts +36 -0
  44. package/src/actions/aavev4/AaveV4PaybackAction.ts +51 -0
  45. package/src/actions/aavev4/AaveV4StoreRatioAction.ts +30 -0
  46. package/src/actions/aavev4/AaveV4SupplyAction.ts +55 -0
  47. package/src/actions/aavev4/AaveV4WithdrawAction.ts +39 -0
  48. package/src/actions/aavev4/index.ts +6 -0
  49. package/src/actions/checkers/AaveV4RatioCheckAction.ts +36 -0
  50. package/src/actions/checkers/index.ts +2 -1
  51. package/src/actions/index.ts +2 -0
  52. package/src/actions/summerfi/SummerfiUnsubAction.ts +28 -0
  53. package/src/actions/summerfi/SummerfiUnsubV2Action.ts +31 -0
  54. package/src/actions/summerfi/index.ts +2 -0
  55. package/src/addresses.ts +106 -49
  56. package/src/triggers/AaveV4QuotePriceRangeTrigger.ts +25 -0
  57. package/src/triggers/AaveV4QuotePriceTrigger.ts +25 -0
  58. package/src/triggers/AaveV4RatioTrigger.ts +24 -0
  59. package/src/triggers/index.ts +4 -1
  60. package/umd/index.js +1023 -570
@@ -0,0 +1,10 @@
1
+ import { Action } from '../Action';
2
+ import { EthAddress, uint256 } from '../types';
3
+ /**
4
+ * AaveV4QuotePriceRangeTrigger - Verifies if current token price ratio for aaveV4 spoke is within a subbed price range.
5
+ *
6
+ * @category Triggers
7
+ */
8
+ export declare class AaveV4QuotePriceRangeTrigger extends Action {
9
+ constructor(spoke: EthAddress, baseTokenId: uint256, quoteTokenId: uint256, lowerPrice: uint256, upperPrice: uint256);
10
+ }
@@ -0,0 +1,12 @@
1
+ import { Action } from '../Action';
2
+ import { getAddr } from '../addresses';
3
+ /**
4
+ * AaveV4QuotePriceRangeTrigger - Verifies if current token price ratio for aaveV4 spoke is within a subbed price range.
5
+ *
6
+ * @category Triggers
7
+ */
8
+ export class AaveV4QuotePriceRangeTrigger extends Action {
9
+ constructor(spoke, baseTokenId, quoteTokenId, lowerPrice, upperPrice) {
10
+ super('AaveV4QuotePriceRangeTrigger', getAddr('Empty'), [['address', 'uint256', 'uint256', 'uint256', 'uint256']], [[spoke, baseTokenId, quoteTokenId, lowerPrice, upperPrice]]);
11
+ }
12
+ }
@@ -0,0 +1,10 @@
1
+ import { Action } from '../Action';
2
+ import { EthAddress, uint256, uint8 } from '../types';
3
+ /**
4
+ * AaveV4QuotePriceTrigger - Verifies if current token price ratio for aaveV4 spoke is over/under a subbed price ratio.
5
+ *
6
+ * @category Triggers
7
+ */
8
+ export declare class AaveV4QuotePriceTrigger extends Action {
9
+ constructor(spoke: EthAddress, baseTokenId: uint256, quoteTokenId: uint256, price: uint256, state: uint8);
10
+ }
@@ -0,0 +1,12 @@
1
+ import { Action } from '../Action';
2
+ import { getAddr } from '../addresses';
3
+ /**
4
+ * AaveV4QuotePriceTrigger - Verifies if current token price ratio for aaveV4 spoke is over/under a subbed price ratio.
5
+ *
6
+ * @category Triggers
7
+ */
8
+ export class AaveV4QuotePriceTrigger extends Action {
9
+ constructor(spoke, baseTokenId, quoteTokenId, price, state) {
10
+ super('AaveV4QuotePriceTrigger', getAddr('Empty'), [['address', 'uint256', 'uint256', 'uint256', 'uint8']], [[spoke, baseTokenId, quoteTokenId, price, state]]);
11
+ }
12
+ }
@@ -0,0 +1,10 @@
1
+ import { Action } from '../Action';
2
+ import { EthAddress, uint256, uint8 } from '../types';
3
+ /**
4
+ * AaveV4RatioTrigger - Triggers when the user's ratio is over/under a subbed ratio.
5
+ *
6
+ * @category Triggers
7
+ */
8
+ export declare class AaveV4RatioTrigger extends Action {
9
+ constructor(user: EthAddress, spoke: EthAddress, ratio: uint256, state: uint8);
10
+ }
@@ -0,0 +1,12 @@
1
+ import { Action } from '../Action';
2
+ import { getAddr } from '../addresses';
3
+ /**
4
+ * AaveV4RatioTrigger - Triggers when the user's ratio is over/under a subbed ratio.
5
+ *
6
+ * @category Triggers
7
+ */
8
+ export class AaveV4RatioTrigger extends Action {
9
+ constructor(user, spoke, ratio, state) {
10
+ super('AaveV4RatioTrigger', getAddr('Empty'), [['address', 'address', 'uint256', 'uint8']], [[user, spoke, ratio, state]]);
11
+ }
12
+ }
@@ -31,3 +31,6 @@ export * from './LiquityV2AdjustRateDebtInFrontTrigger';
31
31
  export * from './AaveV3QuotePriceRangeTrigger';
32
32
  export * from './SparkQuotePriceRangeTrigger';
33
33
  export * from './MorphoBluePriceRangeTrigger';
34
+ export * from './AaveV4QuotePriceTrigger';
35
+ export * from './AaveV4QuotePriceRangeTrigger';
36
+ export * from './AaveV4RatioTrigger';
@@ -31,3 +31,6 @@ export * from './LiquityV2AdjustRateDebtInFrontTrigger';
31
31
  export * from './AaveV3QuotePriceRangeTrigger';
32
32
  export * from './SparkQuotePriceRangeTrigger';
33
33
  export * from './MorphoBluePriceRangeTrigger';
34
+ export * from './AaveV4QuotePriceTrigger';
35
+ export * from './AaveV4QuotePriceRangeTrigger';
36
+ export * from './AaveV4RatioTrigger';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/sdk",
3
- "version": "1.3.15",
3
+ "version": "1.3.17-aave-v4-dev",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/src/index.js",
package/src/Strategy.ts CHANGED
@@ -36,6 +36,10 @@ export class Strategy {
36
36
  this.actions.push(newAction);
37
37
  }
38
38
 
39
+ addActions(newActions: Array<Action>) {
40
+ this.actions.push(...newActions);
41
+ }
42
+
39
43
  print() {
40
44
  console.log(`Name: ${this.name}`);
41
45
  console.log(`Slots: ${this.subSlots}`);
@@ -0,0 +1,39 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress, uint256 } from '../../types';
4
+
5
+ /**
6
+ * AaveV4BorrowAction
7
+ *
8
+ * @category AaveV4
9
+ */
10
+ export class AaveV4BorrowAction extends Action {
11
+ /**
12
+ * @param spoke Address of the spoke.
13
+ * @param onBehalf Address to borrow tokens on behalf of. Defaults to the user's wallet if not provided.
14
+ * @param to Address that will receive the borrowed tokens.
15
+ * @param reserveId Reserve id.
16
+ * @param amount Amount of tokens to borrow.
17
+ */
18
+ constructor(
19
+ spoke: EthAddress,
20
+ onBehalf: EthAddress,
21
+ to: EthAddress,
22
+ reserveId: uint256,
23
+ amount: uint256,
24
+ ) {
25
+ super(
26
+ 'AaveV4Borrow',
27
+ getAddr('AaveV4Borrow'),
28
+ ['address', 'address', 'address', 'uint256', 'uint256'],
29
+ [spoke, onBehalf, to, reserveId, amount],
30
+ );
31
+ this.mappableArgs = [
32
+ this.args[0],
33
+ this.args[1],
34
+ this.args[2],
35
+ this.args[3],
36
+ this.args[4],
37
+ ];
38
+ }
39
+ }
@@ -0,0 +1,36 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress, uint256 } from '../../types';
4
+
5
+ /**
6
+ * AaveV4CollateralSwitchAction
7
+ *
8
+ * @category AaveV4
9
+ */
10
+ export class AaveV4CollateralSwitchAction extends Action {
11
+ /**
12
+ * @param spoke Address of the spoke.
13
+ * @param onBehalf Address to switch collateral on behalf of. Defaults to the user's wallet if not provided.
14
+ * @param reserveId Reserve id.
15
+ * @param useAsCollateral Whether to use the tokens as collateral.
16
+ */
17
+ constructor(
18
+ spoke: EthAddress,
19
+ onBehalf: EthAddress,
20
+ reserveId: uint256,
21
+ useAsCollateral: boolean,
22
+ ) {
23
+ super(
24
+ 'AaveV4CollateralSwitch',
25
+ getAddr('AaveV4CollateralSwitch'),
26
+ ['address', 'address', 'uint256', 'bool'],
27
+ [spoke, onBehalf, reserveId, useAsCollateral],
28
+ );
29
+ this.mappableArgs = [
30
+ this.args[0],
31
+ this.args[1],
32
+ this.args[2],
33
+ this.args[3],
34
+ ];
35
+ }
36
+ }
@@ -0,0 +1,51 @@
1
+ import { getAssetInfoByAddress } from '@defisaver/tokens';
2
+ import { Action } from '../../Action';
3
+ import { getAddr } from '../../addresses';
4
+ import { EthAddress, uint256 } from '../../types';
5
+
6
+ /**
7
+ * AaveV4PaybackAction
8
+ *
9
+ * @category AaveV4
10
+ */
11
+ export class AaveV4PaybackAction extends Action {
12
+ tokenForApproval: EthAddress;
13
+
14
+ /**
15
+ * @param spoke Address of the spoke.
16
+ * @param onBehalf Address to payback tokens on behalf of. Defaults to the user's wallet if not provided.
17
+ * @param from Address from which to pull the payback tokens.
18
+ * @param reserveId Reserve id.
19
+ * @param amount Amount of tokens to payback. Send type(uint).max to payback whole amount.
20
+ * @param tokenAddress Address of the token to approve. Optional, as it is only used for token approval, not part of encoding.
21
+ */
22
+ constructor(
23
+ spoke: EthAddress,
24
+ onBehalf: EthAddress,
25
+ from: EthAddress,
26
+ reserveId: uint256,
27
+ amount: uint256,
28
+ tokenAddress: EthAddress = getAddr('Empty'),
29
+ ) {
30
+ super(
31
+ 'AaveV4Payback',
32
+ getAddr('AaveV4Payback'),
33
+ ['address', 'address', 'address', 'uint256', 'uint256'],
34
+ [spoke, onBehalf, from, reserveId, amount],
35
+ );
36
+ this.mappableArgs = [
37
+ this.args[0],
38
+ this.args[1],
39
+ this.args[2],
40
+ this.args[3],
41
+ this.args[4],
42
+ ];
43
+ this.tokenForApproval = tokenAddress;
44
+ }
45
+
46
+ async getAssetsToApprove() {
47
+ const asset = getAssetInfoByAddress(this.tokenForApproval);
48
+ if (asset.symbol !== 'ETH') return [{ asset: this.tokenForApproval, owner: this.args[2] }];
49
+ return [];
50
+ }
51
+ }
@@ -0,0 +1,30 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress } from '../../types';
4
+
5
+ /**
6
+ * AaveV4StoreRatioAction - Stores the ratio for a user in transient storage so it can be checked later after strategy execution.
7
+ *
8
+ * @category AaveV4
9
+ */
10
+ export class AaveV4StoreRatioAction extends Action {
11
+ /**
12
+ * @param spoke Address of the spoke.
13
+ * @param user Address of the user to store the ratio for.
14
+ */
15
+ constructor(
16
+ spoke: EthAddress,
17
+ user: EthAddress,
18
+ ) {
19
+ super(
20
+ 'AaveV4StoreRatio',
21
+ getAddr('Empty'),
22
+ ['address', 'address'],
23
+ [spoke, user],
24
+ );
25
+ this.mappableArgs = [
26
+ this.args[0],
27
+ this.args[1],
28
+ ];
29
+ }
30
+ }
@@ -0,0 +1,55 @@
1
+ import { getAssetInfoByAddress } from '@defisaver/tokens';
2
+ import { Action } from '../../Action';
3
+ import { getAddr } from '../../addresses';
4
+ import { EthAddress, uint256 } from '../../types';
5
+
6
+ /**
7
+ * AaveV4SupplyAction
8
+ *
9
+ * @category AaveV4
10
+ */
11
+ export class AaveV4SupplyAction extends Action {
12
+ tokenForApproval: EthAddress;
13
+
14
+ /**
15
+ * @param spoke Address of the spoke.
16
+ * @param onBehalf Address to supply tokens on behalf of. Defaults to the user's wallet if not provided.
17
+ * @param from Address from which to pull collateral asset.
18
+ * @param reserveId Reserve id.
19
+ * @param amount Amount of tokens to supply.
20
+ * @param useAsCollateral Whether to use the tokens as collateral.
21
+ * @param tokenAddress Address of the token to approve. Optional, as it is only used for token approval, not part of encoding.
22
+ *
23
+ */
24
+ constructor(
25
+ spoke: EthAddress,
26
+ onBehalf: EthAddress,
27
+ from: EthAddress,
28
+ reserveId: uint256,
29
+ amount: uint256,
30
+ useAsCollateral: boolean,
31
+ tokenAddress: EthAddress = getAddr('Empty'),
32
+ ) {
33
+ super(
34
+ 'AaveV4Supply',
35
+ getAddr('AaveV4Supply'),
36
+ ['address', 'address', 'address', 'uint256', 'uint256', 'bool'],
37
+ [spoke, onBehalf, from, reserveId, amount, useAsCollateral],
38
+ );
39
+ this.mappableArgs = [
40
+ this.args[0],
41
+ this.args[1],
42
+ this.args[2],
43
+ this.args[3],
44
+ this.args[4],
45
+ this.args[5],
46
+ ];
47
+ this.tokenForApproval = tokenAddress;
48
+ }
49
+
50
+ async getAssetsToApprove() {
51
+ const asset = getAssetInfoByAddress(this.tokenForApproval);
52
+ if (asset.symbol !== 'ETH') return [{ asset: this.tokenForApproval, owner: this.args[2] }];
53
+ return [];
54
+ }
55
+ }
@@ -0,0 +1,39 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress, uint256 } from '../../types';
4
+
5
+ /**
6
+ * AaveV4WithdrawAction
7
+ *
8
+ * @category AaveV4
9
+ */
10
+ export class AaveV4WithdrawAction extends Action {
11
+ /**
12
+ * @param spoke Address of the spoke.
13
+ * @param onBehalf Address to withdraw tokens on behalf of. Defaults to the user's wallet if not provided.
14
+ * @param to Address that will receive the withdrawn tokens.
15
+ * @param reserveId Reserve id.
16
+ * @param amount Amount of tokens to withdraw. Send type(uint).max to withdraw whole amount.
17
+ */
18
+ constructor(
19
+ spoke: EthAddress,
20
+ onBehalf: EthAddress,
21
+ to: EthAddress,
22
+ reserveId: uint256,
23
+ amount: uint256,
24
+ ) {
25
+ super(
26
+ 'AaveV4Withdraw',
27
+ getAddr('AaveV4Withdraw'),
28
+ ['address', 'address', 'address', 'uint256', 'uint256'],
29
+ [spoke, onBehalf, to, reserveId, amount],
30
+ );
31
+ this.mappableArgs = [
32
+ this.args[0],
33
+ this.args[1],
34
+ this.args[2],
35
+ this.args[3],
36
+ this.args[4],
37
+ ];
38
+ }
39
+ }
@@ -0,0 +1,6 @@
1
+ export * from './AaveV4SupplyAction';
2
+ export * from './AaveV4WithdrawAction';
3
+ export * from './AaveV4BorrowAction';
4
+ export * from './AaveV4PaybackAction';
5
+ export * from './AaveV4CollateralSwitchAction';
6
+ export * from './AaveV4StoreRatioAction';
@@ -0,0 +1,36 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { EthAddress, uint256, uint8 } from '../../types';
4
+
5
+ /**
6
+ * AaveV4RatioCheckAction - Checks aave V4 ratio for user position
7
+ *
8
+ * @category AaveV4RatioCheck
9
+ */
10
+ export class AaveV4RatioCheckAction extends Action {
11
+ /**
12
+ * @param ratioState State of the ratio (IN_BOOST or IN_REPAY)
13
+ * @param targetRatio Target ratio.
14
+ * @param spoke Aave V4 spoke address.
15
+ * @param user User address.
16
+ */
17
+ constructor(
18
+ ratioState: uint8,
19
+ targetRatio: uint256,
20
+ spoke: EthAddress,
21
+ user: EthAddress,
22
+ ) {
23
+ super(
24
+ 'AaveV4RatioCheck',
25
+ getAddr('Empty'),
26
+ ['uint8', 'uint256', 'address', 'address'],
27
+ [ratioState, targetRatio, spoke, user],
28
+ );
29
+ this.mappableArgs = [
30
+ this.args[0],
31
+ this.args[1],
32
+ this.args[2],
33
+ this.args[3],
34
+ ];
35
+ }
36
+ }
@@ -14,4 +14,5 @@ export * from './MorphoBlueTargetRatioCheckAction';
14
14
  export * from './LiquityV2RatioCheckAction';
15
15
  export * from './LiquityV2TargetRatioCheckAction';
16
16
  export * from './LiquityV2NewInterestRateCheckerAction';
17
- export * from './FluidRatioCheckAction';
17
+ export * from './FluidRatioCheckAction';
18
+ export * from './AaveV4RatioCheckAction';
@@ -39,6 +39,7 @@ import * as etherfi from './etherfi';
39
39
  import * as fluid from './fluid';
40
40
  import * as pendle from './pendle';
41
41
  import * as umbrella from './umbrella';
42
+ import * as aaveV4 from './aavev4';
42
43
 
43
44
  export {
44
45
  aave,
@@ -82,4 +83,5 @@ export {
82
83
  fluid,
83
84
  pendle,
84
85
  umbrella,
86
+ aaveV4,
85
87
  };
@@ -0,0 +1,28 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { uint256 } from '../../types';
4
+
5
+ /**
6
+ * @category Summerfi
7
+ */
8
+ export class SummerfiUnsubAction extends Action {
9
+ /**
10
+ * @param cdpIds Array of CDP IDs to remove approval for
11
+ * @param triggerIds Array of Trigger IDs that correspond to CDP IDs
12
+ */
13
+ constructor(
14
+ cdpIds: uint256[],
15
+ triggerIds: uint256[],
16
+ ) {
17
+ super(
18
+ 'SummerfiUnsub',
19
+ getAddr('SummerfiUnsub'),
20
+ ['uint256[]', 'uint256[]'],
21
+ [cdpIds, triggerIds],
22
+ );
23
+ this.mappableArgs = [
24
+ this.args[0],
25
+ this.args[1],
26
+ ];
27
+ }
28
+ }
@@ -0,0 +1,31 @@
1
+ import { Action } from '../../Action';
2
+ import { getAddr } from '../../addresses';
3
+ import { uint256 } from '../../types';
4
+
5
+ /**
6
+ * @category Summerfi
7
+ */
8
+ export class SummerfiUnsubV2Action extends Action {
9
+ /**
10
+ * @param triggerIds Array of trigger ID arrays to remove
11
+ * @param triggerData Array of trigger data arrays (must match triggerIds length)
12
+ * @param removeAllowance Array of booleans indicating whether to remove allowance for each trigger group
13
+ */
14
+ constructor(
15
+ triggerIds: uint256[][],
16
+ triggerData: string[][],
17
+ removeAllowance: boolean[],
18
+ ) {
19
+ super(
20
+ 'SummerfiUnsubV2',
21
+ getAddr('SummerfiUnsubV2'),
22
+ ['uint256[][]', 'bytes[][]', 'bool[]'],
23
+ [triggerIds, triggerData, removeAllowance],
24
+ );
25
+ this.mappableArgs = [
26
+ this.args[0],
27
+ this.args[1],
28
+ this.args[2],
29
+ ];
30
+ }
31
+ }
@@ -1 +1,3 @@
1
1
  export * from './SFApproveTokensAction';
2
+ export * from './SummerfiUnsubAction';
3
+ export * from './SummerfiUnsubV2Action';