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