@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,457 +0,0 @@
1
- [@defisaver/sdk](../README.md) / [Exports](../modules.md) / MakerRatioCheckAction
2
-
3
- # Class: MakerRatioCheckAction
4
-
5
- MakerRatioCheckAction - Checks mcd ratio at end of all actions
6
-
7
- ## Hierarchy
8
-
9
- - [`Action`](Action.md)
10
-
11
- ↳ **`MakerRatioCheckAction`**
12
-
13
- ## Table of contents
14
-
15
- ### Constructors
16
-
17
- - [constructor](MakerRatioCheckAction.md#constructor)
18
-
19
- ### Properties
20
-
21
- - [args](MakerRatioCheckAction.md#args)
22
- - [contractAddress](MakerRatioCheckAction.md#contractaddress)
23
- - [mappableArgs](MakerRatioCheckAction.md#mappableargs)
24
- - [name](MakerRatioCheckAction.md#name)
25
- - [paramTypes](MakerRatioCheckAction.md#paramtypes)
26
-
27
- ### Methods
28
-
29
- - [\_encodeForCall](MakerRatioCheckAction.md#_encodeforcall)
30
- - [\_formatType](MakerRatioCheckAction.md#_formattype)
31
- - [\_getArgumentMapping](MakerRatioCheckAction.md#_getargumentmapping)
32
- - [\_getArgumentMappingWithSlots](MakerRatioCheckAction.md#_getargumentmappingwithslots)
33
- - [\_getPlaceholderForType](MakerRatioCheckAction.md#_getplaceholderfortype)
34
- - [\_replaceWithPlaceholders](MakerRatioCheckAction.md#_replacewithplaceholders)
35
- - [encodeForDsProxyCall](MakerRatioCheckAction.md#encodefordsproxycall)
36
- - [encodeForL2DsProxyCall](MakerRatioCheckAction.md#encodeforl2dsproxycall)
37
- - [encodeForL2Recipe](MakerRatioCheckAction.md#encodeforl2recipe)
38
- - [encodeForRecipe](MakerRatioCheckAction.md#encodeforrecipe)
39
- - [encodeForStrategy](MakerRatioCheckAction.md#encodeforstrategy)
40
- - [getAccessList](MakerRatioCheckAction.md#getaccesslist)
41
- - [getAssetsToApprove](MakerRatioCheckAction.md#getassetstoapprove)
42
- - [getEthValue](MakerRatioCheckAction.md#getethvalue)
43
- - [getId](MakerRatioCheckAction.md#getid)
44
-
45
- ## Constructors
46
-
47
- ### constructor
48
-
49
- • **new MakerRatioCheckAction**(`ratioState`, `checkTarget`, `targetRatio`, `vaultId`, `startRatioIndex`)
50
-
51
- #### Parameters
52
-
53
- | Name | Type | Description |
54
- | :------ | :------ | :------ |
55
- | `ratioState` | `string` | If it should lower/higher |
56
- | `checkTarget` | `boolean` | |
57
- | `targetRatio` | `string` | The ratio user want to be at |
58
- | `vaultId` | `string` | Id of the vault |
59
- | `startRatioIndex` | `string` | Index in returnValues where ratio before actions is stored |
60
-
61
- #### Overrides
62
-
63
- [Action](Action.md).[constructor](Action.md#constructor)
64
-
65
- #### Defined in
66
-
67
- [src/actions/checkers/MakerRatioCheckAction.ts:18](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/actions/checkers/MakerRatioCheckAction.ts#L18)
68
-
69
- ## Properties
70
-
71
- ### args
72
-
73
- • **args**: `any`[]
74
-
75
- #### Inherited from
76
-
77
- [Action](Action.md).[args](Action.md#args)
78
-
79
- #### Defined in
80
-
81
- [src/Action.ts:18](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L18)
82
-
83
- ___
84
-
85
- ### contractAddress
86
-
87
- • **contractAddress**: `string`
88
-
89
- #### Inherited from
90
-
91
- [Action](Action.md).[contractAddress](Action.md#contractaddress)
92
-
93
- #### Defined in
94
-
95
- [src/Action.ts:15](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L15)
96
-
97
- ___
98
-
99
- ### mappableArgs
100
-
101
- • **mappableArgs**: `any`[]
102
-
103
- #### Inherited from
104
-
105
- [Action](Action.md).[mappableArgs](Action.md#mappableargs)
106
-
107
- #### Defined in
108
-
109
- [src/Action.ts:19](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L19)
110
-
111
- ___
112
-
113
- ### name
114
-
115
- • **name**: `string`
116
-
117
- #### Inherited from
118
-
119
- [Action](Action.md).[name](Action.md#name)
120
-
121
- #### Defined in
122
-
123
- [src/Action.ts:17](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L17)
124
-
125
- ___
126
-
127
- ### paramTypes
128
-
129
- • **paramTypes**: (`string` \| `any`[])[]
130
-
131
- #### Inherited from
132
-
133
- [Action](Action.md).[paramTypes](Action.md#paramtypes)
134
-
135
- #### Defined in
136
-
137
- [src/Action.ts:16](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L16)
138
-
139
- ## Methods
140
-
141
- ### \_encodeForCall
142
-
143
- ▸ `Private` **_encodeForCall**(): `string`[]
144
-
145
- Encode arguments for calling the action directly
146
-
147
- #### Returns
148
-
149
- `string`[]
150
-
151
- bytes-encoded args
152
-
153
- #### Inherited from
154
-
155
- [Action](Action.md).[_encodeForCall](Action.md#_encodeforcall)
156
-
157
- #### Defined in
158
-
159
- [src/Action.ts:117](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L117)
160
-
161
- ___
162
-
163
- ### \_formatType
164
-
165
- ▸ `Private` **_formatType**(`paramType`): `string`
166
-
167
- #### Parameters
168
-
169
- | Name | Type |
170
- | :------ | :------ |
171
- | `paramType` | `string` \| `any`[] |
172
-
173
- #### Returns
174
-
175
- `string`
176
-
177
- #### Inherited from
178
-
179
- [Action](Action.md).[_formatType](Action.md#_formattype)
180
-
181
- #### Defined in
182
-
183
- [src/Action.ts:107](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L107)
184
-
185
- ___
186
-
187
- ### \_getArgumentMapping
188
-
189
- ▸ `Private` **_getArgumentMapping**(): `number`[]
190
-
191
- #### Returns
192
-
193
- `number`[]
194
-
195
- #### Inherited from
196
-
197
- [Action](Action.md).[_getArgumentMapping](Action.md#_getargumentmapping)
198
-
199
- #### Defined in
200
-
201
- [src/Action.ts:70](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L70)
202
-
203
- ___
204
-
205
- ### \_getArgumentMappingWithSlots
206
-
207
- ▸ `Private` **_getArgumentMappingWithSlots**(`subSlots`): `number`[]
208
-
209
- #### Parameters
210
-
211
- | Name | Type |
212
- | :------ | :------ |
213
- | `subSlots` | `any`[] |
214
-
215
- #### Returns
216
-
217
- `number`[]
218
-
219
- #### Inherited from
220
-
221
- [Action](Action.md).[_getArgumentMappingWithSlots](Action.md#_getargumentmappingwithslots)
222
-
223
- #### Defined in
224
-
225
- [src/Action.ts:49](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L49)
226
-
227
- ___
228
-
229
- ### \_getPlaceholderForType
230
-
231
- ▸ `Private` **_getPlaceholderForType**(`type`): `string`
232
-
233
- #### Parameters
234
-
235
- | Name | Type |
236
- | :------ | :------ |
237
- | `type` | `string` |
238
-
239
- #### Returns
240
-
241
- `string`
242
-
243
- #### Inherited from
244
-
245
- [Action](Action.md).[_getPlaceholderForType](Action.md#_getplaceholderfortype)
246
-
247
- #### Defined in
248
-
249
- [src/Action.ts:84](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L84)
250
-
251
- ___
252
-
253
- ### \_replaceWithPlaceholders
254
-
255
- ▸ `Private` **_replaceWithPlaceholders**(`arg`, `paramType`): `any`
256
-
257
- #### Parameters
258
-
259
- | Name | Type |
260
- | :------ | :------ |
261
- | `arg` | `any` |
262
- | `paramType` | `string` \| `any`[] |
263
-
264
- #### Returns
265
-
266
- `any`
267
-
268
- #### Inherited from
269
-
270
- [Action](Action.md).[_replaceWithPlaceholders](Action.md#_replacewithplaceholders)
271
-
272
- #### Defined in
273
-
274
- [src/Action.ts:95](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L95)
275
-
276
- ___
277
-
278
- ### encodeForDsProxyCall
279
-
280
- ▸ **encodeForDsProxyCall**(): (`string` \| `string`[])[]
281
-
282
- Encode arguments for calling the action via DsProxy
283
-
284
- #### Returns
285
-
286
- (`string` \| `string`[])[]
287
-
288
- `address` & `data` to be passed on to DSProxy's `execute(address _target, bytes memory _data)`
289
-
290
- #### Inherited from
291
-
292
- [Action](Action.md).[encodeForDsProxyCall](Action.md#encodefordsproxycall)
293
-
294
- #### Defined in
295
-
296
- [src/Action.ts:135](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L135)
297
-
298
- ___
299
-
300
- ### encodeForL2DsProxyCall
301
-
302
- ▸ **encodeForL2DsProxyCall**(): `string`
303
-
304
- #### Returns
305
-
306
- `string`
307
-
308
- #### Inherited from
309
-
310
- [Action](Action.md).[encodeForL2DsProxyCall](Action.md#encodeforl2dsproxycall)
311
-
312
- #### Defined in
313
-
314
- [src/Action.ts:123](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L123)
315
-
316
- ___
317
-
318
- ### encodeForL2Recipe
319
-
320
- ▸ **encodeForL2Recipe**(): `string`
321
-
322
- #### Returns
323
-
324
- `string`
325
-
326
- #### Inherited from
327
-
328
- [Action](Action.md).[encodeForL2Recipe](Action.md#encodeforl2recipe)
329
-
330
- #### Defined in
331
-
332
- [src/Action.ts:127](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L127)
333
-
334
- ___
335
-
336
- ### encodeForRecipe
337
-
338
- ▸ **encodeForRecipe**(): (`string` \| `string`[] \| `number`[])[]
339
-
340
- Encodes action for Recipe call
341
-
342
- #### Returns
343
-
344
- (`string` \| `string`[] \| `number`[])[]
345
-
346
- #### Inherited from
347
-
348
- [Action](Action.md).[encodeForRecipe](Action.md#encodeforrecipe)
349
-
350
- #### Defined in
351
-
352
- [src/Action.ts:150](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L150)
353
-
354
- ___
355
-
356
- ### encodeForStrategy
357
-
358
- ▸ **encodeForStrategy**(`subSlots`): (`string` \| `number`[])[]
359
-
360
- #### Parameters
361
-
362
- | Name | Type |
363
- | :------ | :------ |
364
- | `subSlots` | `any` |
365
-
366
- #### Returns
367
-
368
- (`string` \| `number`[])[]
369
-
370
- #### Inherited from
371
-
372
- [Action](Action.md).[encodeForStrategy](Action.md#encodeforstrategy)
373
-
374
- #### Defined in
375
-
376
- [src/Action.ts:159](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L159)
377
-
378
- ___
379
-
380
- ### getAccessList
381
-
382
- ▸ **getAccessList**(): [`AccessListItem`](../modules.md#accesslistitem)[]
383
-
384
- Access list for single action
385
-
386
- #### Returns
387
-
388
- [`AccessListItem`](../modules.md#accesslistitem)[]
389
-
390
- #### Inherited from
391
-
392
- [Action](Action.md).[getAccessList](Action.md#getaccesslist)
393
-
394
- #### Defined in
395
-
396
- [src/Action.ts:185](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L185)
397
-
398
- ___
399
-
400
- ### getAssetsToApprove
401
-
402
- ▸ **getAssetsToApprove**(): `Promise`<{ `[key: string]`: `any`; `asset?`: `string` ; `owner?`: `string` }[]\>
403
-
404
- Assets requiring approval to be used by DsProxy
405
- Approval is done from owner to DsProxy
406
-
407
- #### Returns
408
-
409
- `Promise`<{ `[key: string]`: `any`; `asset?`: `string` ; `owner?`: `string` }[]\>
410
-
411
- #### Inherited from
412
-
413
- [Action](Action.md).[getAssetsToApprove](Action.md#getassetstoapprove)
414
-
415
- #### Defined in
416
-
417
- [src/Action.ts:170](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L170)
418
-
419
- ___
420
-
421
- ### getEthValue
422
-
423
- ▸ **getEthValue**(): `Promise`<`string`\>
424
-
425
- ETH value to be sent with transaction
426
-
427
- #### Returns
428
-
429
- `Promise`<`string`\>
430
-
431
- ETH value in wei
432
-
433
- #### Inherited from
434
-
435
- [Action](Action.md).[getEthValue](Action.md#getethvalue)
436
-
437
- #### Defined in
438
-
439
- [src/Action.ts:178](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L178)
440
-
441
- ___
442
-
443
- ### getId
444
-
445
- ▸ `Private` **getId**(): `string`
446
-
447
- #### Returns
448
-
449
- `string`
450
-
451
- #### Inherited from
452
-
453
- [Action](Action.md).[getId](Action.md#getid)
454
-
455
- #### Defined in
456
-
457
- [src/Action.ts:42](https://github.com/defisaver/defisaver-sdk/blob/7ebb702/src/Action.ts#L42)