@defisaver/sdk 1.3.36 → 1.3.37

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 (169) hide show
  1. package/README.md +55 -9
  2. package/docs/DEV.md +63 -0
  3. package/esm/src/Action.js +21 -13
  4. package/esm/src/ActionWithL2.js +4 -0
  5. package/esm/src/Recipe.js +5 -1
  6. package/esm/src/addresses.js +12 -12
  7. package/package.json +2 -6
  8. package/src/Action.ts +18 -9
  9. package/src/ActionWithL2.ts +2 -0
  10. package/src/Recipe.ts +4 -1
  11. package/src/addresses.ts +12 -12
  12. package/test/Action.js +83 -3
  13. package/test/ActionWithL2.js +65 -19
  14. package/test/Recipe.js +97 -0
  15. package/tsconfig.json +1 -5
  16. package/umd/index.js +36 -25
  17. package/ACTIONS.md +0 -1765
  18. package/DEV.md +0 -43
  19. package/docs/md/.nojekyll +0 -1
  20. package/docs/md/README.md +0 -12
  21. package/docs/md/classes/AaveBorrowAction.md +0 -458
  22. package/docs/md/classes/AaveClaimStkAaveAction.md +0 -455
  23. package/docs/md/classes/AaveCollateralSwitchAction.md +0 -455
  24. package/docs/md/classes/AavePaybackAction.md +0 -458
  25. package/docs/md/classes/AaveSupplyAction.md +0 -458
  26. package/docs/md/classes/AaveV2FlashLoanAction.md +0 -458
  27. package/docs/md/classes/AaveV2FlashLoanPaybackAction.md +0 -454
  28. package/docs/md/classes/AaveV3ATokenPaybackAction.md +0 -644
  29. package/docs/md/classes/AaveV3BorrowAction.md +0 -606
  30. package/docs/md/classes/AaveV3ClaimRewardsAction.md +0 -603
  31. package/docs/md/classes/AaveV3CollateralSwitchAction.md +0 -603
  32. package/docs/md/classes/AaveV3FlashLoanAction.md +0 -604
  33. package/docs/md/classes/AaveV3FlashLoanPaybackAction.md +0 -454
  34. package/docs/md/classes/AaveV3PaybackAction.md +0 -618
  35. package/docs/md/classes/AaveV3RatioCheckAction.md +0 -454
  36. package/docs/md/classes/AaveV3RatioTrigger.md +0 -454
  37. package/docs/md/classes/AaveV3SetEModeAction.md +0 -601
  38. package/docs/md/classes/AaveV3SupplyAction.md +0 -618
  39. package/docs/md/classes/AaveV3SwapBorrowRateModeAction.md +0 -602
  40. package/docs/md/classes/AaveV3WithdrawAction.md +0 -603
  41. package/docs/md/classes/AaveWithdrawAction.md +0 -456
  42. package/docs/md/classes/Action.md +0 -604
  43. package/docs/md/classes/ActionWithL2.md +0 -612
  44. package/docs/md/classes/AutomationV2Unsub.md +0 -452
  45. package/docs/md/classes/BalancerFlashLoanAction.md +0 -456
  46. package/docs/md/classes/BalancerFlashLoanPaybackAction.md +0 -454
  47. package/docs/md/classes/BalancerV2ClaimAction.md +0 -457
  48. package/docs/md/classes/BalancerV2SupplyAction.md +0 -458
  49. package/docs/md/classes/BalancerV2WithdrawAction.md +0 -470
  50. package/docs/md/classes/CBChickenInAction.md +0 -454
  51. package/docs/md/classes/CBChickenOutAction.md +0 -455
  52. package/docs/md/classes/CBCreateAction.md +0 -454
  53. package/docs/md/classes/CBRedeemAction.md +0 -456
  54. package/docs/md/classes/ChainLinkPriceTrigger.md +0 -453
  55. package/docs/md/classes/ChangeProxyOwnerAction.md +0 -453
  56. package/docs/md/classes/CompV3RatioTrigger.md +0 -454
  57. package/docs/md/classes/CompoundBorrowAction.md +0 -455
  58. package/docs/md/classes/CompoundClaimAction.md +0 -456
  59. package/docs/md/classes/CompoundCollateralSwitchAction.md +0 -454
  60. package/docs/md/classes/CompoundGetDebtAction.md +0 -452
  61. package/docs/md/classes/CompoundPaybackAction.md +0 -456
  62. package/docs/md/classes/CompoundRatioTrigger.md +0 -453
  63. package/docs/md/classes/CompoundSupplyAction.md +0 -456
  64. package/docs/md/classes/CompoundV3AllowAction.md +0 -455
  65. package/docs/md/classes/CompoundV3BorrowAction.md +0 -456
  66. package/docs/md/classes/CompoundV3ClaimAction.md +0 -456
  67. package/docs/md/classes/CompoundV3PaybackAction.md +0 -468
  68. package/docs/md/classes/CompoundV3RatioCheckAction.md +0 -456
  69. package/docs/md/classes/CompoundV3SupplyAction.md +0 -468
  70. package/docs/md/classes/CompoundV3TransferAction.md +0 -457
  71. package/docs/md/classes/CompoundV3WithdrawAction.md +0 -457
  72. package/docs/md/classes/CompoundWithdrawAction.md +0 -455
  73. package/docs/md/classes/ConvexClaimAction.md +0 -466
  74. package/docs/md/classes/ConvexDepositAction.md +0 -468
  75. package/docs/md/classes/ConvexWithdrawAction.md +0 -468
  76. package/docs/md/classes/CurveClaimFeesAction.md +0 -452
  77. package/docs/md/classes/CurveDepositAction.md +0 -467
  78. package/docs/md/classes/CurveGaugeDepositAction.md +0 -455
  79. package/docs/md/classes/CurveGaugeWithdrawAction.md +0 -454
  80. package/docs/md/classes/CurveMintCrvAction.md +0 -452
  81. package/docs/md/classes/CurveStethPoolDepositAction.md +0 -456
  82. package/docs/md/classes/CurveStethPoolWithdrawAction.md +0 -457
  83. package/docs/md/classes/CurveSwapAction.md +0 -457
  84. package/docs/md/classes/CurveWithdrawAction.md +0 -468
  85. package/docs/md/classes/DfsWeb3.md +0 -212
  86. package/docs/md/classes/DyDxFlashLoanAction.md +0 -456
  87. package/docs/md/classes/DyDxFlashLoanPaybackAction.md +0 -454
  88. package/docs/md/classes/DyDxWithdrawAction.md +0 -455
  89. package/docs/md/classes/EulerFlashLoanAction.md +0 -456
  90. package/docs/md/classes/EulerFlashLoanPaybackAction.md +0 -454
  91. package/docs/md/classes/GUniDeposit.md +0 -461
  92. package/docs/md/classes/GUniWithdraw.md +0 -458
  93. package/docs/md/classes/GasFeeAction.md +0 -454
  94. package/docs/md/classes/GasFeeActionL2.md +0 -455
  95. package/docs/md/classes/GasPriceTrigger.md +0 -35
  96. package/docs/md/classes/InstPullTokensAction.md +0 -454
  97. package/docs/md/classes/LidoStakeAction.md +0 -455
  98. package/docs/md/classes/LidoUnwrapAction.md +0 -455
  99. package/docs/md/classes/LidoWrapAction.md +0 -456
  100. package/docs/md/classes/LiquityBorrowAction.md +0 -457
  101. package/docs/md/classes/LiquityClaimAction.md +0 -453
  102. package/docs/md/classes/LiquityClaimSPRewardsAction.md +0 -454
  103. package/docs/md/classes/LiquityClaimStakingRewardsAction.md +0 -454
  104. package/docs/md/classes/LiquityCloseAction.md +0 -454
  105. package/docs/md/classes/LiquityEthGainToTroveAction.md +0 -455
  106. package/docs/md/classes/LiquityOpenAction.md +0 -459
  107. package/docs/md/classes/LiquityPaybackAction.md +0 -456
  108. package/docs/md/classes/LiquityRatioTrigger.md +0 -453
  109. package/docs/md/classes/LiquityRedeemAction.md +0 -461
  110. package/docs/md/classes/LiquitySPDepositAction.md +0 -456
  111. package/docs/md/classes/LiquitySPWithdrawAction.md +0 -458
  112. package/docs/md/classes/LiquityStakeAction.md +0 -456
  113. package/docs/md/classes/LiquitySupplyAction.md +0 -456
  114. package/docs/md/classes/LiquityUnstakeAction.md +0 -458
  115. package/docs/md/classes/LiquityWithdrawAction.md +0 -456
  116. package/docs/md/classes/MStableClaimAction.md +0 -456
  117. package/docs/md/classes/MStableDepositAction.md +0 -461
  118. package/docs/md/classes/MStableWithdrawAction.md +0 -461
  119. package/docs/md/classes/MakerClaimAction.md +0 -455
  120. package/docs/md/classes/MakerFlashLoanAction.md +0 -455
  121. package/docs/md/classes/MakerFlashLoanPaybackAction.md +0 -454
  122. package/docs/md/classes/MakerGenerateAction.md +0 -456
  123. package/docs/md/classes/MakerGiveAction.md +0 -456
  124. package/docs/md/classes/MakerMergeAction.md +0 -455
  125. package/docs/md/classes/MakerOpenVaultAction.md +0 -454
  126. package/docs/md/classes/MakerPaybackAction.md +0 -456
  127. package/docs/md/classes/MakerRatioAction.md +0 -453
  128. package/docs/md/classes/MakerRatioCheckAction.md +0 -457
  129. package/docs/md/classes/MakerRatioTrigger.md +0 -453
  130. package/docs/md/classes/MakerSupplyAction.md +0 -457
  131. package/docs/md/classes/MakerWithdrawAction.md +0 -457
  132. package/docs/md/classes/PullTokenAction.md +0 -455
  133. package/docs/md/classes/RariDepositAction.md +0 -458
  134. package/docs/md/classes/RariWithdrawAction.md +0 -459
  135. package/docs/md/classes/Recipe.md +0 -195
  136. package/docs/md/classes/ReflexerGenerateAction.md +0 -455
  137. package/docs/md/classes/ReflexerNativeUniV2SaviourDepositAction.md +0 -455
  138. package/docs/md/classes/ReflexerNativeUniV2SaviourGetReservesAction.md +0 -454
  139. package/docs/md/classes/ReflexerNativeUniV2SaviourWithdrawAction.md +0 -455
  140. package/docs/md/classes/ReflexerOpenSafeAction.md +0 -453
  141. package/docs/md/classes/ReflexerPaybackAction.md +0 -455
  142. package/docs/md/classes/ReflexerRatioTrigger.md +0 -453
  143. package/docs/md/classes/ReflexerSupplyAction.md +0 -456
  144. package/docs/md/classes/ReflexerWithdrawAction.md +0 -456
  145. package/docs/md/classes/SellAction.md +0 -613
  146. package/docs/md/classes/SendTokenAction.md +0 -467
  147. package/docs/md/classes/SendTokenAndUnwrapAction.md +0 -455
  148. package/docs/md/classes/Strategy.md +0 -195
  149. package/docs/md/classes/SubInputsAction.md +0 -454
  150. package/docs/md/classes/SumInputsAction.md +0 -454
  151. package/docs/md/classes/TimestampTrigger.md +0 -451
  152. package/docs/md/classes/ToggleSubAction.md +0 -454
  153. package/docs/md/classes/TokenBalanceAction.md +0 -452
  154. package/docs/md/classes/TrailingStopTrigger.md +0 -453
  155. package/docs/md/classes/TransferNFTAction.md +0 -454
  156. package/docs/md/classes/UniV3CurrentTickTrigger.md +0 -452
  157. package/docs/md/classes/UniswapSupplyAction.md +0 -461
  158. package/docs/md/classes/UniswapV3CollectAction.md +0 -614
  159. package/docs/md/classes/UniswapV3CreatePoolAction.md +0 -611
  160. package/docs/md/classes/UniswapV3MintAction.md +0 -610
  161. package/docs/md/classes/UniswapV3SupplyAction.md +0 -63
  162. package/docs/md/classes/UniswapV3WithdrawAction.md +0 -618
  163. package/docs/md/classes/UniswapWithdrawAction.md +0 -460
  164. package/docs/md/classes/UnwrapEthAction.md +0 -600
  165. package/docs/md/classes/UpdateSubAction.md +0 -454
  166. package/docs/md/classes/WrapEthAction.md +0 -599
  167. package/docs/md/classes/YearnSupplyAction.md +0 -456
  168. package/docs/md/classes/YearnWithdrawAction.md +0 -456
  169. package/docs/md/modules.md +0 -814
@@ -1,470 +0,0 @@
1
- [@defisaver/sdk](../README.md) / [Exports](../modules.md) / BalancerV2WithdrawAction
2
-
3
- # Class: BalancerV2WithdrawAction
4
-
5
- BalancerV2WithdrawAction - Withdraw tokens from Balancer pool
6
-
7
- ## Hierarchy
8
-
9
- - [`Action`](Action.md)
10
-
11
- ↳ **`BalancerV2WithdrawAction`**
12
-
13
- ## Table of contents
14
-
15
- ### Constructors
16
-
17
- - [constructor](BalancerV2WithdrawAction.md#constructor)
18
-
19
- ### Properties
20
-
21
- - [args](BalancerV2WithdrawAction.md#args)
22
- - [contractAddress](BalancerV2WithdrawAction.md#contractaddress)
23
- - [from](BalancerV2WithdrawAction.md#from)
24
- - [mappableArgs](BalancerV2WithdrawAction.md#mappableargs)
25
- - [name](BalancerV2WithdrawAction.md#name)
26
- - [paramTypes](BalancerV2WithdrawAction.md#paramtypes)
27
-
28
- ### Methods
29
-
30
- - [\_encodeForCall](BalancerV2WithdrawAction.md#_encodeforcall)
31
- - [\_formatType](BalancerV2WithdrawAction.md#_formattype)
32
- - [\_getArgumentMapping](BalancerV2WithdrawAction.md#_getargumentmapping)
33
- - [\_getArgumentMappingWithSlots](BalancerV2WithdrawAction.md#_getargumentmappingwithslots)
34
- - [\_getPlaceholderForType](BalancerV2WithdrawAction.md#_getplaceholderfortype)
35
- - [\_replaceWithPlaceholders](BalancerV2WithdrawAction.md#_replacewithplaceholders)
36
- - [encodeForDsProxyCall](BalancerV2WithdrawAction.md#encodefordsproxycall)
37
- - [encodeForL2DsProxyCall](BalancerV2WithdrawAction.md#encodeforl2dsproxycall)
38
- - [encodeForL2Recipe](BalancerV2WithdrawAction.md#encodeforl2recipe)
39
- - [encodeForRecipe](BalancerV2WithdrawAction.md#encodeforrecipe)
40
- - [encodeForStrategy](BalancerV2WithdrawAction.md#encodeforstrategy)
41
- - [getAccessList](BalancerV2WithdrawAction.md#getaccesslist)
42
- - [getAssetsToApprove](BalancerV2WithdrawAction.md#getassetstoapprove)
43
- - [getEthValue](BalancerV2WithdrawAction.md#getethvalue)
44
- - [getId](BalancerV2WithdrawAction.md#getid)
45
-
46
- ## Constructors
47
-
48
- ### constructor
49
-
50
- • **new BalancerV2WithdrawAction**(`poolId`, `from`, `to`, `lpTokenAmount`, `tokens`, `minAmountsOut`, `userData`)
51
-
52
- #### Parameters
53
-
54
- | Name | Type |
55
- | :------ | :------ |
56
- | `poolId` | `string` |
57
- | `from` | `string` |
58
- | `to` | `string` |
59
- | `lpTokenAmount` | `string` |
60
- | `tokens` | `string`[] |
61
- | `minAmountsOut` | `string`[] |
62
- | `userData` | [`bytes`](../modules.md#bytes) |
63
-
64
- #### Overrides
65
-
66
- [Action](Action.md).[constructor](Action.md#constructor)
67
-
68
- #### Defined in
69
-
70
- [src/actions/balancer/BalancerV2WithdrawAction.ts:23](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/actions/balancer/BalancerV2WithdrawAction.ts#L23)
71
-
72
- ## Properties
73
-
74
- ### args
75
-
76
- • **args**: `any`[]
77
-
78
- #### Inherited from
79
-
80
- [Action](Action.md).[args](Action.md#args)
81
-
82
- #### Defined in
83
-
84
- [src/Action.ts:18](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L18)
85
-
86
- ___
87
-
88
- ### contractAddress
89
-
90
- • **contractAddress**: `string`
91
-
92
- #### Inherited from
93
-
94
- [Action](Action.md).[contractAddress](Action.md#contractaddress)
95
-
96
- #### Defined in
97
-
98
- [src/Action.ts:15](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L15)
99
-
100
- ___
101
-
102
- ### from
103
-
104
- • **from**: `string`
105
-
106
- #### Defined in
107
-
108
- [src/actions/balancer/BalancerV2WithdrawAction.ts:12](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/actions/balancer/BalancerV2WithdrawAction.ts#L12)
109
-
110
- ___
111
-
112
- ### mappableArgs
113
-
114
- • **mappableArgs**: `any`[]
115
-
116
- #### Inherited from
117
-
118
- [Action](Action.md).[mappableArgs](Action.md#mappableargs)
119
-
120
- #### Defined in
121
-
122
- [src/Action.ts:19](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L19)
123
-
124
- ___
125
-
126
- ### name
127
-
128
- • **name**: `string`
129
-
130
- #### Inherited from
131
-
132
- [Action](Action.md).[name](Action.md#name)
133
-
134
- #### Defined in
135
-
136
- [src/Action.ts:17](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L17)
137
-
138
- ___
139
-
140
- ### paramTypes
141
-
142
- • **paramTypes**: (`string` \| `any`[])[]
143
-
144
- #### Inherited from
145
-
146
- [Action](Action.md).[paramTypes](Action.md#paramtypes)
147
-
148
- #### Defined in
149
-
150
- [src/Action.ts:16](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L16)
151
-
152
- ## Methods
153
-
154
- ### \_encodeForCall
155
-
156
- ▸ `Private` **_encodeForCall**(): `string`[]
157
-
158
- Encode arguments for calling the action directly
159
-
160
- #### Returns
161
-
162
- `string`[]
163
-
164
- bytes-encoded args
165
-
166
- #### Inherited from
167
-
168
- [Action](Action.md).[_encodeForCall](Action.md#_encodeforcall)
169
-
170
- #### Defined in
171
-
172
- [src/Action.ts:117](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L117)
173
-
174
- ___
175
-
176
- ### \_formatType
177
-
178
- ▸ `Private` **_formatType**(`paramType`): `string`
179
-
180
- #### Parameters
181
-
182
- | Name | Type |
183
- | :------ | :------ |
184
- | `paramType` | `string` \| `any`[] |
185
-
186
- #### Returns
187
-
188
- `string`
189
-
190
- #### Inherited from
191
-
192
- [Action](Action.md).[_formatType](Action.md#_formattype)
193
-
194
- #### Defined in
195
-
196
- [src/Action.ts:107](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L107)
197
-
198
- ___
199
-
200
- ### \_getArgumentMapping
201
-
202
- ▸ `Private` **_getArgumentMapping**(): `number`[]
203
-
204
- #### Returns
205
-
206
- `number`[]
207
-
208
- #### Inherited from
209
-
210
- [Action](Action.md).[_getArgumentMapping](Action.md#_getargumentmapping)
211
-
212
- #### Defined in
213
-
214
- [src/Action.ts:70](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L70)
215
-
216
- ___
217
-
218
- ### \_getArgumentMappingWithSlots
219
-
220
- ▸ `Private` **_getArgumentMappingWithSlots**(`subSlots`): `number`[]
221
-
222
- #### Parameters
223
-
224
- | Name | Type |
225
- | :------ | :------ |
226
- | `subSlots` | `any`[] |
227
-
228
- #### Returns
229
-
230
- `number`[]
231
-
232
- #### Inherited from
233
-
234
- [Action](Action.md).[_getArgumentMappingWithSlots](Action.md#_getargumentmappingwithslots)
235
-
236
- #### Defined in
237
-
238
- [src/Action.ts:49](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L49)
239
-
240
- ___
241
-
242
- ### \_getPlaceholderForType
243
-
244
- ▸ `Private` **_getPlaceholderForType**(`type`): `string`
245
-
246
- #### Parameters
247
-
248
- | Name | Type |
249
- | :------ | :------ |
250
- | `type` | `string` |
251
-
252
- #### Returns
253
-
254
- `string`
255
-
256
- #### Inherited from
257
-
258
- [Action](Action.md).[_getPlaceholderForType](Action.md#_getplaceholderfortype)
259
-
260
- #### Defined in
261
-
262
- [src/Action.ts:84](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L84)
263
-
264
- ___
265
-
266
- ### \_replaceWithPlaceholders
267
-
268
- ▸ `Private` **_replaceWithPlaceholders**(`arg`, `paramType`): `any`
269
-
270
- #### Parameters
271
-
272
- | Name | Type |
273
- | :------ | :------ |
274
- | `arg` | `any` |
275
- | `paramType` | `string` \| `any`[] |
276
-
277
- #### Returns
278
-
279
- `any`
280
-
281
- #### Inherited from
282
-
283
- [Action](Action.md).[_replaceWithPlaceholders](Action.md#_replacewithplaceholders)
284
-
285
- #### Defined in
286
-
287
- [src/Action.ts:95](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L95)
288
-
289
- ___
290
-
291
- ### encodeForDsProxyCall
292
-
293
- ▸ **encodeForDsProxyCall**(): (`string` \| `string`[])[]
294
-
295
- Encode arguments for calling the action via DsProxy
296
-
297
- #### Returns
298
-
299
- (`string` \| `string`[])[]
300
-
301
- `address` & `data` to be passed on to DSProxy's `execute(address _target, bytes memory _data)`
302
-
303
- #### Inherited from
304
-
305
- [Action](Action.md).[encodeForDsProxyCall](Action.md#encodefordsproxycall)
306
-
307
- #### Defined in
308
-
309
- [src/Action.ts:135](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L135)
310
-
311
- ___
312
-
313
- ### encodeForL2DsProxyCall
314
-
315
- ▸ **encodeForL2DsProxyCall**(): `string`
316
-
317
- #### Returns
318
-
319
- `string`
320
-
321
- #### Inherited from
322
-
323
- [Action](Action.md).[encodeForL2DsProxyCall](Action.md#encodeforl2dsproxycall)
324
-
325
- #### Defined in
326
-
327
- [src/Action.ts:123](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L123)
328
-
329
- ___
330
-
331
- ### encodeForL2Recipe
332
-
333
- ▸ **encodeForL2Recipe**(): `string`
334
-
335
- #### Returns
336
-
337
- `string`
338
-
339
- #### Inherited from
340
-
341
- [Action](Action.md).[encodeForL2Recipe](Action.md#encodeforl2recipe)
342
-
343
- #### Defined in
344
-
345
- [src/Action.ts:127](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L127)
346
-
347
- ___
348
-
349
- ### encodeForRecipe
350
-
351
- ▸ **encodeForRecipe**(): (`string` \| `string`[] \| `number`[])[]
352
-
353
- Encodes action for Recipe call
354
-
355
- #### Returns
356
-
357
- (`string` \| `string`[] \| `number`[])[]
358
-
359
- #### Inherited from
360
-
361
- [Action](Action.md).[encodeForRecipe](Action.md#encodeforrecipe)
362
-
363
- #### Defined in
364
-
365
- [src/Action.ts:150](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L150)
366
-
367
- ___
368
-
369
- ### encodeForStrategy
370
-
371
- ▸ **encodeForStrategy**(`subSlots`): (`string` \| `number`[])[]
372
-
373
- #### Parameters
374
-
375
- | Name | Type |
376
- | :------ | :------ |
377
- | `subSlots` | `any` |
378
-
379
- #### Returns
380
-
381
- (`string` \| `number`[])[]
382
-
383
- #### Inherited from
384
-
385
- [Action](Action.md).[encodeForStrategy](Action.md#encodeforstrategy)
386
-
387
- #### Defined in
388
-
389
- [src/Action.ts:159](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L159)
390
-
391
- ___
392
-
393
- ### getAccessList
394
-
395
- ▸ **getAccessList**(): [`AccessListItem`](../modules.md#accesslistitem)[]
396
-
397
- Access list for single action
398
-
399
- #### Returns
400
-
401
- [`AccessListItem`](../modules.md#accesslistitem)[]
402
-
403
- #### Inherited from
404
-
405
- [Action](Action.md).[getAccessList](Action.md#getaccesslist)
406
-
407
- #### Defined in
408
-
409
- [src/Action.ts:185](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L185)
410
-
411
- ___
412
-
413
- ### getAssetsToApprove
414
-
415
- ▸ **getAssetsToApprove**(): `Promise`<{ `asset`: `any` = token; `owner`: `any` ; `specialApproveLabel`: `string` = 'balancer' }[]\>
416
-
417
- Assets requiring approval to be used by DsProxy
418
- Approval is done from owner to DsProxy
419
-
420
- #### Returns
421
-
422
- `Promise`<{ `asset`: `any` = token; `owner`: `any` ; `specialApproveLabel`: `string` = 'balancer' }[]\>
423
-
424
- #### Overrides
425
-
426
- [Action](Action.md).[getAssetsToApprove](Action.md#getassetstoapprove)
427
-
428
- #### Defined in
429
-
430
- [src/actions/balancer/BalancerV2WithdrawAction.ts:53](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/actions/balancer/BalancerV2WithdrawAction.ts#L53)
431
-
432
- ___
433
-
434
- ### getEthValue
435
-
436
- ▸ **getEthValue**(): `Promise`<`string`\>
437
-
438
- ETH value to be sent with transaction
439
-
440
- #### Returns
441
-
442
- `Promise`<`string`\>
443
-
444
- ETH value in wei
445
-
446
- #### Inherited from
447
-
448
- [Action](Action.md).[getEthValue](Action.md#getethvalue)
449
-
450
- #### Defined in
451
-
452
- [src/Action.ts:178](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L178)
453
-
454
- ___
455
-
456
- ### getId
457
-
458
- ▸ `Private` **getId**(): `string`
459
-
460
- #### Returns
461
-
462
- `string`
463
-
464
- #### Inherited from
465
-
466
- [Action](Action.md).[getId](Action.md#getid)
467
-
468
- #### Defined in
469
-
470
- [src/Action.ts:42](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L42)