@defisaver/sdk 1.1.11 → 1.2.0-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 (1247) hide show
  1. package/.babelrc +3 -3
  2. package/.editorconfig +9 -9
  3. package/.env.example +1 -1
  4. package/.eslintignore +5 -5
  5. package/.eslintrc.js +36 -36
  6. package/.yarn/releases/yarn-1.22.1.cjs +147386 -0
  7. package/.yarnrc.yml +3 -0
  8. package/ACTIONS.md +1765 -1765
  9. package/AccessLists/AaveAccessLists.ts +26 -26
  10. package/AccessLists/BalancerAccessLists.ts +18 -18
  11. package/AccessLists/CompoundAccessLists.ts +31 -31
  12. package/AccessLists/DyDxAccessLists.ts +8 -8
  13. package/AccessLists/FlashLoanAccessLists.ts +26 -26
  14. package/AccessLists/GuniAccessLists.ts +14 -14
  15. package/AccessLists/InstaAccessLists.ts +7 -7
  16. package/AccessLists/LidoAccessLists.ts +19 -19
  17. package/AccessLists/LiquityAccessLists.ts +79 -79
  18. package/AccessLists/MStableAccessLists.ts +16 -16
  19. package/AccessLists/MakerAccessLists.ts +42 -42
  20. package/AccessLists/RariAccessLists.ts +10 -10
  21. package/AccessLists/ReflexerAccessLists.ts +50 -50
  22. package/AccessLists/UniswapAccessLists.ts +38 -38
  23. package/AccessLists/UtilsAccessLists.ts +34 -34
  24. package/AccessLists/YearnAccessLists.ts +12 -12
  25. package/AccessLists/index.ts +37 -37
  26. package/DEV.md +43 -43
  27. package/README.md +10 -10
  28. package/docs/md/README.md +12 -12
  29. package/docs/md/classes/AaveBorrowAction.md +458 -458
  30. package/docs/md/classes/AaveClaimStkAaveAction.md +455 -455
  31. package/docs/md/classes/AaveCollateralSwitchAction.md +455 -455
  32. package/docs/md/classes/AavePaybackAction.md +458 -458
  33. package/docs/md/classes/AaveSupplyAction.md +458 -458
  34. package/docs/md/classes/AaveV2FlashLoanAction.md +458 -458
  35. package/docs/md/classes/AaveV2FlashLoanPaybackAction.md +454 -454
  36. package/docs/md/classes/AaveV3ATokenPaybackAction.md +644 -644
  37. package/docs/md/classes/AaveV3BorrowAction.md +606 -606
  38. package/docs/md/classes/AaveV3ClaimRewardsAction.md +603 -603
  39. package/docs/md/classes/AaveV3CollateralSwitchAction.md +603 -603
  40. package/docs/md/classes/AaveV3FlashLoanAction.md +604 -604
  41. package/docs/md/classes/AaveV3FlashLoanPaybackAction.md +454 -454
  42. package/docs/md/classes/AaveV3PaybackAction.md +618 -618
  43. package/docs/md/classes/AaveV3RatioCheckAction.md +454 -454
  44. package/docs/md/classes/AaveV3RatioTrigger.md +454 -454
  45. package/docs/md/classes/AaveV3SetEModeAction.md +601 -601
  46. package/docs/md/classes/AaveV3SupplyAction.md +618 -618
  47. package/docs/md/classes/AaveV3SwapBorrowRateModeAction.md +602 -602
  48. package/docs/md/classes/AaveV3WithdrawAction.md +603 -603
  49. package/docs/md/classes/AaveWithdrawAction.md +456 -456
  50. package/docs/md/classes/Action.md +604 -604
  51. package/docs/md/classes/ActionWithL2.md +612 -612
  52. package/docs/md/classes/AutomationV2Unsub.md +452 -452
  53. package/docs/md/classes/BalancerFlashLoanAction.md +456 -456
  54. package/docs/md/classes/BalancerFlashLoanPaybackAction.md +454 -454
  55. package/docs/md/classes/BalancerV2ClaimAction.md +457 -457
  56. package/docs/md/classes/BalancerV2SupplyAction.md +458 -458
  57. package/docs/md/classes/BalancerV2WithdrawAction.md +470 -470
  58. package/docs/md/classes/CBChickenInAction.md +454 -454
  59. package/docs/md/classes/CBChickenOutAction.md +455 -455
  60. package/docs/md/classes/CBCreateAction.md +454 -454
  61. package/docs/md/classes/CBRedeemAction.md +456 -456
  62. package/docs/md/classes/ChainLinkPriceTrigger.md +453 -453
  63. package/docs/md/classes/ChangeProxyOwnerAction.md +453 -453
  64. package/docs/md/classes/CompV3RatioTrigger.md +454 -454
  65. package/docs/md/classes/CompoundBorrowAction.md +455 -455
  66. package/docs/md/classes/CompoundClaimAction.md +456 -456
  67. package/docs/md/classes/CompoundCollateralSwitchAction.md +454 -454
  68. package/docs/md/classes/CompoundGetDebtAction.md +452 -452
  69. package/docs/md/classes/CompoundPaybackAction.md +456 -456
  70. package/docs/md/classes/CompoundRatioTrigger.md +453 -453
  71. package/docs/md/classes/CompoundSupplyAction.md +456 -456
  72. package/docs/md/classes/CompoundV3AllowAction.md +455 -455
  73. package/docs/md/classes/CompoundV3BorrowAction.md +456 -456
  74. package/docs/md/classes/CompoundV3ClaimAction.md +456 -456
  75. package/docs/md/classes/CompoundV3PaybackAction.md +468 -468
  76. package/docs/md/classes/CompoundV3RatioCheckAction.md +456 -456
  77. package/docs/md/classes/CompoundV3SupplyAction.md +468 -468
  78. package/docs/md/classes/CompoundV3TransferAction.md +457 -457
  79. package/docs/md/classes/CompoundV3WithdrawAction.md +457 -457
  80. package/docs/md/classes/CompoundWithdrawAction.md +455 -455
  81. package/docs/md/classes/ConvexClaimAction.md +466 -466
  82. package/docs/md/classes/ConvexDepositAction.md +468 -468
  83. package/docs/md/classes/ConvexWithdrawAction.md +468 -468
  84. package/docs/md/classes/CurveClaimFeesAction.md +452 -452
  85. package/docs/md/classes/CurveDepositAction.md +467 -467
  86. package/docs/md/classes/CurveGaugeDepositAction.md +455 -455
  87. package/docs/md/classes/CurveGaugeWithdrawAction.md +454 -454
  88. package/docs/md/classes/CurveMintCrvAction.md +452 -452
  89. package/docs/md/classes/CurveStethPoolDepositAction.md +456 -456
  90. package/docs/md/classes/CurveStethPoolWithdrawAction.md +457 -457
  91. package/docs/md/classes/CurveSwapAction.md +457 -457
  92. package/docs/md/classes/CurveWithdrawAction.md +468 -468
  93. package/docs/md/classes/DfsWeb3.md +212 -212
  94. package/docs/md/classes/DyDxFlashLoanAction.md +456 -456
  95. package/docs/md/classes/DyDxFlashLoanPaybackAction.md +454 -454
  96. package/docs/md/classes/DyDxWithdrawAction.md +455 -455
  97. package/docs/md/classes/EulerFlashLoanAction.md +456 -456
  98. package/docs/md/classes/EulerFlashLoanPaybackAction.md +454 -454
  99. package/docs/md/classes/GUniDeposit.md +461 -461
  100. package/docs/md/classes/GUniWithdraw.md +458 -458
  101. package/docs/md/classes/GasFeeAction.md +454 -454
  102. package/docs/md/classes/GasFeeActionL2.md +455 -455
  103. package/docs/md/classes/GasPriceTrigger.md +35 -35
  104. package/docs/md/classes/InstPullTokensAction.md +454 -454
  105. package/docs/md/classes/LidoStakeAction.md +455 -455
  106. package/docs/md/classes/LidoUnwrapAction.md +455 -455
  107. package/docs/md/classes/LidoWrapAction.md +456 -456
  108. package/docs/md/classes/LiquityBorrowAction.md +457 -457
  109. package/docs/md/classes/LiquityClaimAction.md +453 -453
  110. package/docs/md/classes/LiquityClaimSPRewardsAction.md +454 -454
  111. package/docs/md/classes/LiquityClaimStakingRewardsAction.md +454 -454
  112. package/docs/md/classes/LiquityCloseAction.md +454 -454
  113. package/docs/md/classes/LiquityEthGainToTroveAction.md +455 -455
  114. package/docs/md/classes/LiquityOpenAction.md +459 -459
  115. package/docs/md/classes/LiquityPaybackAction.md +456 -456
  116. package/docs/md/classes/LiquityRatioTrigger.md +453 -453
  117. package/docs/md/classes/LiquityRedeemAction.md +461 -461
  118. package/docs/md/classes/LiquitySPDepositAction.md +456 -456
  119. package/docs/md/classes/LiquitySPWithdrawAction.md +458 -458
  120. package/docs/md/classes/LiquityStakeAction.md +456 -456
  121. package/docs/md/classes/LiquitySupplyAction.md +456 -456
  122. package/docs/md/classes/LiquityUnstakeAction.md +458 -458
  123. package/docs/md/classes/LiquityWithdrawAction.md +456 -456
  124. package/docs/md/classes/MStableClaimAction.md +456 -456
  125. package/docs/md/classes/MStableDepositAction.md +461 -461
  126. package/docs/md/classes/MStableWithdrawAction.md +461 -461
  127. package/docs/md/classes/MakerClaimAction.md +455 -455
  128. package/docs/md/classes/MakerFlashLoanAction.md +455 -455
  129. package/docs/md/classes/MakerFlashLoanPaybackAction.md +454 -454
  130. package/docs/md/classes/MakerGenerateAction.md +456 -456
  131. package/docs/md/classes/MakerGiveAction.md +456 -456
  132. package/docs/md/classes/MakerMergeAction.md +455 -455
  133. package/docs/md/classes/MakerOpenVaultAction.md +454 -454
  134. package/docs/md/classes/MakerPaybackAction.md +456 -456
  135. package/docs/md/classes/MakerRatioAction.md +453 -453
  136. package/docs/md/classes/MakerRatioCheckAction.md +457 -457
  137. package/docs/md/classes/MakerRatioTrigger.md +453 -453
  138. package/docs/md/classes/MakerSupplyAction.md +457 -457
  139. package/docs/md/classes/MakerWithdrawAction.md +457 -457
  140. package/docs/md/classes/PullTokenAction.md +455 -455
  141. package/docs/md/classes/RariDepositAction.md +458 -458
  142. package/docs/md/classes/RariWithdrawAction.md +459 -459
  143. package/docs/md/classes/Recipe.md +195 -195
  144. package/docs/md/classes/ReflexerGenerateAction.md +455 -455
  145. package/docs/md/classes/ReflexerNativeUniV2SaviourDepositAction.md +455 -455
  146. package/docs/md/classes/ReflexerNativeUniV2SaviourGetReservesAction.md +454 -454
  147. package/docs/md/classes/ReflexerNativeUniV2SaviourWithdrawAction.md +455 -455
  148. package/docs/md/classes/ReflexerOpenSafeAction.md +453 -453
  149. package/docs/md/classes/ReflexerPaybackAction.md +455 -455
  150. package/docs/md/classes/ReflexerRatioTrigger.md +453 -453
  151. package/docs/md/classes/ReflexerSupplyAction.md +456 -456
  152. package/docs/md/classes/ReflexerWithdrawAction.md +456 -456
  153. package/docs/md/classes/SellAction.md +613 -613
  154. package/docs/md/classes/SendTokenAction.md +467 -467
  155. package/docs/md/classes/SendTokenAndUnwrapAction.md +455 -455
  156. package/docs/md/classes/Strategy.md +195 -195
  157. package/docs/md/classes/SubInputsAction.md +454 -454
  158. package/docs/md/classes/SumInputsAction.md +454 -454
  159. package/docs/md/classes/TimestampTrigger.md +451 -451
  160. package/docs/md/classes/ToggleSubAction.md +454 -454
  161. package/docs/md/classes/TokenBalanceAction.md +452 -452
  162. package/docs/md/classes/TrailingStopTrigger.md +453 -453
  163. package/docs/md/classes/TransferNFTAction.md +454 -454
  164. package/docs/md/classes/UniV3CurrentTickTrigger.md +452 -452
  165. package/docs/md/classes/UniswapSupplyAction.md +461 -461
  166. package/docs/md/classes/UniswapV3CollectAction.md +614 -614
  167. package/docs/md/classes/UniswapV3CreatePoolAction.md +611 -611
  168. package/docs/md/classes/UniswapV3MintAction.md +610 -610
  169. package/docs/md/classes/UniswapV3SupplyAction.md +63 -63
  170. package/docs/md/classes/UniswapV3WithdrawAction.md +618 -618
  171. package/docs/md/classes/UniswapWithdrawAction.md +460 -460
  172. package/docs/md/classes/UnwrapEthAction.md +600 -600
  173. package/docs/md/classes/UpdateSubAction.md +454 -454
  174. package/docs/md/classes/WrapEthAction.md +599 -599
  175. package/docs/md/classes/YearnSupplyAction.md +456 -456
  176. package/docs/md/classes/YearnWithdrawAction.md +456 -456
  177. package/docs/md/modules.md +814 -814
  178. package/esm/AccessLists/AaveAccessLists.d.ts +2 -2
  179. package/esm/AccessLists/AaveAccessLists.js +19 -19
  180. package/esm/AccessLists/BalancerAccessLists.d.ts +2 -2
  181. package/esm/AccessLists/BalancerAccessLists.js +14 -14
  182. package/esm/AccessLists/CompoundAccessLists.d.ts +2 -2
  183. package/esm/AccessLists/CompoundAccessLists.js +23 -23
  184. package/esm/AccessLists/DyDxAccessLists.d.ts +2 -2
  185. package/esm/AccessLists/DyDxAccessLists.js +6 -6
  186. package/esm/AccessLists/FlashLoanAccessLists.d.ts +2 -2
  187. package/esm/AccessLists/FlashLoanAccessLists.js +20 -20
  188. package/esm/AccessLists/GuniAccessLists.d.ts +2 -2
  189. package/esm/AccessLists/GuniAccessLists.js +10 -10
  190. package/esm/AccessLists/InstaAccessLists.d.ts +2 -2
  191. package/esm/AccessLists/InstaAccessLists.js +5 -5
  192. package/esm/AccessLists/LidoAccessLists.d.ts +2 -2
  193. package/esm/AccessLists/LidoAccessLists.js +15 -15
  194. package/esm/AccessLists/LiquityAccessLists.d.ts +2 -2
  195. package/esm/AccessLists/LiquityAccessLists.js +65 -65
  196. package/esm/AccessLists/MStableAccessLists.d.ts +2 -2
  197. package/esm/AccessLists/MStableAccessLists.js +12 -12
  198. package/esm/AccessLists/MakerAccessLists.d.ts +2 -2
  199. package/esm/AccessLists/MakerAccessLists.js +34 -34
  200. package/esm/AccessLists/RariAccessLists.d.ts +2 -2
  201. package/esm/AccessLists/RariAccessLists.js +8 -8
  202. package/esm/AccessLists/ReflexerAccessLists.d.ts +2 -2
  203. package/esm/AccessLists/ReflexerAccessLists.js +42 -42
  204. package/esm/AccessLists/UniswapAccessLists.d.ts +2 -2
  205. package/esm/AccessLists/UniswapAccessLists.js +31 -31
  206. package/esm/AccessLists/UtilsAccessLists.d.ts +2 -2
  207. package/esm/AccessLists/UtilsAccessLists.js +23 -23
  208. package/esm/AccessLists/YearnAccessLists.d.ts +2 -2
  209. package/esm/AccessLists/YearnAccessLists.js +9 -9
  210. package/esm/AccessLists/index.d.ts +3 -3
  211. package/esm/AccessLists/index.js +17 -17
  212. package/esm/src/Action.d.ts +84 -84
  213. package/esm/src/Action.js +210 -210
  214. package/esm/src/ActionWithL2.d.ts +20 -20
  215. package/esm/src/ActionWithL2.js +46 -46
  216. package/esm/src/DfsWeb3.d.ts +31 -31
  217. package/esm/src/DfsWeb3.js +117 -117
  218. package/esm/src/Recipe.d.ts +76 -55
  219. package/esm/src/Recipe.js +206 -145
  220. package/esm/src/Strategy.d.ts +19 -19
  221. package/esm/src/Strategy.js +47 -47
  222. package/esm/src/abis/Action.json +247 -247
  223. package/esm/src/abis/DFSProxyRegistry.json +193 -193
  224. package/esm/src/abis/DsProxy.json +218 -218
  225. package/esm/src/abis/Erc20.json +222 -222
  226. package/esm/src/abis/ProxyRegistry.json +65 -65
  227. package/esm/src/abis/Recipe.json +871 -254
  228. package/esm/src/abis/UniV3PositionManager.json +65 -65
  229. package/esm/src/actions/aave/AaveBorrowAction.d.ts +18 -18
  230. package/esm/src/actions/aave/AaveBorrowAction.js +30 -30
  231. package/esm/src/actions/aave/AaveClaimAAVEAction.d.ts +14 -14
  232. package/esm/src/actions/aave/AaveClaimAAVEAction.js +22 -22
  233. package/esm/src/actions/aave/AaveClaimStkAaveAction.d.ts +15 -15
  234. package/esm/src/actions/aave/AaveClaimStkAaveAction.js +23 -23
  235. package/esm/src/actions/aave/AaveCollateralSwitchAction.d.ts +15 -15
  236. package/esm/src/actions/aave/AaveCollateralSwitchAction.js +18 -18
  237. package/esm/src/actions/aave/AaveFinalizeUnstakeAction.d.ts +14 -14
  238. package/esm/src/actions/aave/AaveFinalizeUnstakeAction.js +22 -22
  239. package/esm/src/actions/aave/AavePaybackAction.d.ts +22 -22
  240. package/esm/src/actions/aave/AavePaybackAction.js +38 -38
  241. package/esm/src/actions/aave/AaveStartUnstakeAction.d.ts +9 -9
  242. package/esm/src/actions/aave/AaveStartUnstakeAction.js +12 -12
  243. package/esm/src/actions/aave/AaveSupplyAction.d.ts +22 -22
  244. package/esm/src/actions/aave/AaveSupplyAction.js +46 -46
  245. package/esm/src/actions/aave/AaveWithdrawAction.d.ts +16 -16
  246. package/esm/src/actions/aave/AaveWithdrawAction.js +20 -20
  247. package/esm/src/actions/aave/index.d.ts +9 -9
  248. package/esm/src/actions/aave/index.js +9 -9
  249. package/esm/src/actions/aaveV3/AaveV3ATokenPaybackAction.d.ts +25 -25
  250. package/esm/src/actions/aaveV3/AaveV3ATokenPaybackAction.js +64 -64
  251. package/esm/src/actions/aaveV3/AaveV3BorrowAction.d.ts +21 -21
  252. package/esm/src/actions/aaveV3/AaveV3BorrowAction.js +59 -59
  253. package/esm/src/actions/aaveV3/AaveV3ClaimRewardsAction.d.ts +18 -18
  254. package/esm/src/actions/aaveV3/AaveV3ClaimRewardsAction.js +40 -40
  255. package/esm/src/actions/aaveV3/AaveV3CollateralSwitchAction.d.ts +18 -18
  256. package/esm/src/actions/aaveV3/AaveV3CollateralSwitchAction.js +39 -39
  257. package/esm/src/actions/aaveV3/AaveV3DelegateCredit.d.ts +19 -19
  258. package/esm/src/actions/aaveV3/AaveV3DelegateCredit.js +47 -47
  259. package/esm/src/actions/aaveV3/AaveV3DelegateWithSigAction.d.ts +11 -11
  260. package/esm/src/actions/aaveV3/AaveV3DelegateWithSigAction.js +33 -33
  261. package/esm/src/actions/aaveV3/AaveV3PaybackAction.d.ts +27 -27
  262. package/esm/src/actions/aaveV3/AaveV3PaybackAction.js +77 -77
  263. package/esm/src/actions/aaveV3/AaveV3SetEModeAction.d.ts +16 -16
  264. package/esm/src/actions/aaveV3/AaveV3SetEModeAction.js +33 -33
  265. package/esm/src/actions/aaveV3/AaveV3SupplyAction.d.ts +27 -27
  266. package/esm/src/actions/aaveV3/AaveV3SupplyAction.js +77 -77
  267. package/esm/src/actions/aaveV3/AaveV3SwapBorrowRateModeAction.d.ts +18 -18
  268. package/esm/src/actions/aaveV3/AaveV3SwapBorrowRateModeAction.js +38 -38
  269. package/esm/src/actions/aaveV3/AaveV3WithdrawAction.d.ts +18 -18
  270. package/esm/src/actions/aaveV3/AaveV3WithdrawAction.js +45 -45
  271. package/esm/src/actions/aaveV3/index.d.ts +11 -11
  272. package/esm/src/actions/aaveV3/index.js +11 -11
  273. package/esm/src/actions/balancer/BalancerV2ClaimAction.d.ts +20 -20
  274. package/esm/src/actions/balancer/BalancerV2ClaimAction.js +49 -49
  275. package/esm/src/actions/balancer/BalancerV2SupplyAction.d.ts +22 -22
  276. package/esm/src/actions/balancer/BalancerV2SupplyAction.js +52 -52
  277. package/esm/src/actions/balancer/BalancerV2WithdrawAction.d.ts +24 -24
  278. package/esm/src/actions/balancer/BalancerV2WithdrawAction.js +56 -56
  279. package/esm/src/actions/balancer/index.d.ts +3 -3
  280. package/esm/src/actions/balancer/index.js +3 -3
  281. package/esm/src/actions/basic/ApproveTokenAction.d.ts +16 -16
  282. package/esm/src/actions/basic/ApproveTokenAction.js +42 -42
  283. package/esm/src/actions/basic/AutomationV2Unsub.d.ts +9 -9
  284. package/esm/src/actions/basic/AutomationV2Unsub.js +11 -11
  285. package/esm/src/actions/basic/ChangeProxyOwnerAction.d.ts +13 -13
  286. package/esm/src/actions/basic/ChangeProxyOwnerAction.js +15 -15
  287. package/esm/src/actions/basic/CreateSubAction.d.ts +13 -13
  288. package/esm/src/actions/basic/CreateSubAction.js +19 -19
  289. package/esm/src/actions/basic/ExecuteSafeTxAction.d.ts +23 -23
  290. package/esm/src/actions/basic/ExecuteSafeTxAction.js +60 -60
  291. package/esm/src/actions/basic/GasFeeAction.d.ts +14 -14
  292. package/esm/src/actions/basic/GasFeeAction.js +21 -21
  293. package/esm/src/actions/basic/GasFeeActionL2.d.ts +15 -15
  294. package/esm/src/actions/basic/GasFeeActionL2.js +22 -22
  295. package/esm/src/actions/basic/LSVSellAction.d.ts +23 -23
  296. package/esm/src/actions/basic/LSVSellAction.js +61 -61
  297. package/esm/src/actions/basic/LimitSellAction.d.ts +24 -24
  298. package/esm/src/actions/basic/LimitSellAction.js +63 -63
  299. package/esm/src/actions/basic/PermitTokenAction.d.ts +21 -21
  300. package/esm/src/actions/basic/PermitTokenAction.js +50 -50
  301. package/esm/src/actions/basic/PullTokenAction.d.ts +19 -19
  302. package/esm/src/actions/basic/PullTokenAction.js +41 -41
  303. package/esm/src/actions/basic/RemoveTokenApprovalAction.d.ts +15 -15
  304. package/esm/src/actions/basic/RemoveTokenApprovalAction.js +42 -42
  305. package/esm/src/actions/basic/SDaiUnwrapAction.d.ts +19 -19
  306. package/esm/src/actions/basic/SDaiUnwrapAction.js +39 -39
  307. package/esm/src/actions/basic/SDaiWrapAction.d.ts +19 -19
  308. package/esm/src/actions/basic/SDaiWrapAction.js +39 -39
  309. package/esm/src/actions/basic/SellAction.d.ts +23 -23
  310. package/esm/src/actions/basic/SellAction.js +61 -61
  311. package/esm/src/actions/basic/SendTokenAction.d.ts +15 -15
  312. package/esm/src/actions/basic/SendTokenAction.js +23 -23
  313. package/esm/src/actions/basic/SendTokenAndUnwrapAction.d.ts +15 -15
  314. package/esm/src/actions/basic/SendTokenAndUnwrapAction.js +23 -23
  315. package/esm/src/actions/basic/SendTokensAction.d.ts +15 -15
  316. package/esm/src/actions/basic/SendTokensAction.js +31 -31
  317. package/esm/src/actions/basic/StarknetClaimAction.d.ts +11 -11
  318. package/esm/src/actions/basic/StarknetClaimAction.js +30 -30
  319. package/esm/src/actions/basic/SubInputsAction.d.ts +10 -10
  320. package/esm/src/actions/basic/SubInputsAction.js +15 -15
  321. package/esm/src/actions/basic/SumInputsAction.d.ts +10 -10
  322. package/esm/src/actions/basic/SumInputsAction.js +15 -15
  323. package/esm/src/actions/basic/ToggleSubAction.d.ts +14 -14
  324. package/esm/src/actions/basic/ToggleSubAction.js +16 -16
  325. package/esm/src/actions/basic/TokenBalanceAction.d.ts +8 -8
  326. package/esm/src/actions/basic/TokenBalanceAction.js +13 -13
  327. package/esm/src/actions/basic/TokenizedVaultAdapterDepositAction.d.ts +22 -22
  328. package/esm/src/actions/basic/TokenizedVaultAdapterDepositAction.js +35 -35
  329. package/esm/src/actions/basic/TokenizedVaultAdapterMintAction.d.ts +22 -22
  330. package/esm/src/actions/basic/TokenizedVaultAdapterMintAction.js +35 -35
  331. package/esm/src/actions/basic/TokenizedVaultAdapterRedeemAction.d.ts +20 -20
  332. package/esm/src/actions/basic/TokenizedVaultAdapterRedeemAction.js +33 -33
  333. package/esm/src/actions/basic/TokenizedVaultAdapterWithdrawAction.d.ts +20 -20
  334. package/esm/src/actions/basic/TokenizedVaultAdapterWithdrawAction.js +33 -33
  335. package/esm/src/actions/basic/TransferNFTAction.d.ts +8 -8
  336. package/esm/src/actions/basic/TransferNFTAction.js +17 -17
  337. package/esm/src/actions/basic/UnwrapEthAction.d.ts +15 -15
  338. package/esm/src/actions/basic/UnwrapEthAction.js +30 -30
  339. package/esm/src/actions/basic/UpdateSubAction.d.ts +14 -14
  340. package/esm/src/actions/basic/UpdateSubAction.js +22 -22
  341. package/esm/src/actions/basic/WrapEthAction.d.ts +16 -16
  342. package/esm/src/actions/basic/WrapEthAction.js +37 -37
  343. package/esm/src/actions/basic/index.d.ts +31 -31
  344. package/esm/src/actions/basic/index.js +31 -31
  345. package/esm/src/actions/bprotocol/BprotocolLiquitySPDepositAction.d.ts +20 -20
  346. package/esm/src/actions/bprotocol/BprotocolLiquitySPDepositAction.js +39 -39
  347. package/esm/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.d.ts +17 -17
  348. package/esm/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.js +24 -24
  349. package/esm/src/actions/bprotocol/index.d.ts +2 -2
  350. package/esm/src/actions/bprotocol/index.js +2 -2
  351. package/esm/src/actions/checkers/AaveV2RatioCheckAction.d.ts +14 -14
  352. package/esm/src/actions/checkers/AaveV2RatioCheckAction.js +20 -20
  353. package/esm/src/actions/checkers/AaveV3RatioCheckAction.d.ts +14 -14
  354. package/esm/src/actions/checkers/AaveV3RatioCheckAction.js +20 -20
  355. package/esm/src/actions/checkers/CompoundV2RatioCheckAction.d.ts +14 -14
  356. package/esm/src/actions/checkers/CompoundV2RatioCheckAction.js +20 -20
  357. package/esm/src/actions/checkers/CompoundV3RatioCheckAction.d.ts +16 -16
  358. package/esm/src/actions/checkers/CompoundV3RatioCheckAction.js +24 -24
  359. package/esm/src/actions/checkers/CurveUsdCollRatioCheck.d.ts +15 -15
  360. package/esm/src/actions/checkers/CurveUsdCollRatioCheck.js +22 -22
  361. package/esm/src/actions/checkers/LiquityRatioCheckAction.d.ts +14 -14
  362. package/esm/src/actions/checkers/LiquityRatioCheckAction.js +20 -20
  363. package/esm/src/actions/checkers/LiquityRatioIncreaseCheckAction.d.ts +13 -13
  364. package/esm/src/actions/checkers/LiquityRatioIncreaseCheckAction.js +18 -18
  365. package/esm/src/actions/checkers/MakerRatioCheckAction.d.ts +17 -17
  366. package/esm/src/actions/checkers/MakerRatioCheckAction.js +25 -25
  367. package/esm/src/actions/checkers/MorphoAaveV2RatioCheckAction.d.ts +15 -15
  368. package/esm/src/actions/checkers/MorphoAaveV2RatioCheckAction.js +22 -22
  369. package/esm/src/actions/checkers/MorphoBlueRatioCheckAction.d.ts +20 -20
  370. package/esm/src/actions/checkers/MorphoBlueRatioCheckAction.js +32 -32
  371. package/esm/src/actions/checkers/SparkRatioCheckAction.d.ts +14 -14
  372. package/esm/src/actions/checkers/SparkRatioCheckAction.js +20 -20
  373. package/esm/src/actions/checkers/index.d.ts +11 -11
  374. package/esm/src/actions/checkers/index.js +11 -11
  375. package/esm/src/actions/chickenBonds/CBChickenInAction.d.ts +14 -14
  376. package/esm/src/actions/chickenBonds/CBChickenInAction.js +18 -18
  377. package/esm/src/actions/chickenBonds/CBChickenOutAction.d.ts +15 -15
  378. package/esm/src/actions/chickenBonds/CBChickenOutAction.js +19 -19
  379. package/esm/src/actions/chickenBonds/CBCreateAction.d.ts +18 -18
  380. package/esm/src/actions/chickenBonds/CBCreateAction.js +32 -32
  381. package/esm/src/actions/chickenBonds/CBCreateRebondSubAction.d.ts +13 -13
  382. package/esm/src/actions/chickenBonds/CBCreateRebondSubAction.js +18 -18
  383. package/esm/src/actions/chickenBonds/CBRedeemAction.d.ts +20 -20
  384. package/esm/src/actions/chickenBonds/CBRedeemAction.js +35 -35
  385. package/esm/src/actions/chickenBonds/CBUpdateRebondSubAction.d.ts +14 -14
  386. package/esm/src/actions/chickenBonds/CBUpdateRebondSubAction.js +16 -16
  387. package/esm/src/actions/chickenBonds/FetchBondIdAction.d.ts +15 -15
  388. package/esm/src/actions/chickenBonds/FetchBondIdAction.js +21 -21
  389. package/esm/src/actions/chickenBonds/index.d.ts +7 -7
  390. package/esm/src/actions/chickenBonds/index.js +7 -7
  391. package/esm/src/actions/compound/CompoundBorrowAction.d.ts +15 -15
  392. package/esm/src/actions/compound/CompoundBorrowAction.js +19 -19
  393. package/esm/src/actions/compound/CompoundClaimAction.d.ts +16 -16
  394. package/esm/src/actions/compound/CompoundClaimAction.js +24 -24
  395. package/esm/src/actions/compound/CompoundCollateralSwitchAction.d.ts +10 -10
  396. package/esm/src/actions/compound/CompoundCollateralSwitchAction.js +12 -12
  397. package/esm/src/actions/compound/CompoundGetDebtAction.d.ts +8 -8
  398. package/esm/src/actions/compound/CompoundGetDebtAction.js +13 -13
  399. package/esm/src/actions/compound/CompoundPaybackAction.d.ts +20 -20
  400. package/esm/src/actions/compound/CompoundPaybackAction.js +36 -36
  401. package/esm/src/actions/compound/CompoundSupplyAction.d.ts +20 -20
  402. package/esm/src/actions/compound/CompoundSupplyAction.js +41 -41
  403. package/esm/src/actions/compound/CompoundWithdrawAction.d.ts +15 -15
  404. package/esm/src/actions/compound/CompoundWithdrawAction.js +19 -19
  405. package/esm/src/actions/compound/index.d.ts +7 -7
  406. package/esm/src/actions/compound/index.js +7 -7
  407. package/esm/src/actions/compoundV3/CompoundV3AllowAction.d.ts +15 -15
  408. package/esm/src/actions/compoundV3/CompoundV3AllowAction.js +24 -24
  409. package/esm/src/actions/compoundV3/CompoundV3BorrowAction.d.ts +16 -16
  410. package/esm/src/actions/compoundV3/CompoundV3BorrowAction.js +26 -26
  411. package/esm/src/actions/compoundV3/CompoundV3ClaimAction.d.ts +16 -16
  412. package/esm/src/actions/compoundV3/CompoundV3ClaimAction.js +27 -27
  413. package/esm/src/actions/compoundV3/CompoundV3PaybackAction.d.ts +22 -22
  414. package/esm/src/actions/compoundV3/CompoundV3PaybackAction.js +48 -48
  415. package/esm/src/actions/compoundV3/CompoundV3SupplyAction.d.ts +22 -22
  416. package/esm/src/actions/compoundV3/CompoundV3SupplyAction.js +45 -45
  417. package/esm/src/actions/compoundV3/CompoundV3TransferAction.d.ts +17 -17
  418. package/esm/src/actions/compoundV3/CompoundV3TransferAction.js +30 -30
  419. package/esm/src/actions/compoundV3/CompoundV3WithdrawAction.d.ts +17 -17
  420. package/esm/src/actions/compoundV3/CompoundV3WithdrawAction.js +29 -29
  421. package/esm/src/actions/compoundV3/index.d.ts +7 -7
  422. package/esm/src/actions/compoundV3/index.js +7 -7
  423. package/esm/src/actions/convex/ConvexClaimAction.d.ts +17 -17
  424. package/esm/src/actions/convex/ConvexClaimAction.js +59 -59
  425. package/esm/src/actions/convex/ConvexDepositAction.d.ts +22 -22
  426. package/esm/src/actions/convex/ConvexDepositAction.js +66 -66
  427. package/esm/src/actions/convex/ConvexWithdrawAction.d.ts +22 -22
  428. package/esm/src/actions/convex/ConvexWithdrawAction.js +63 -63
  429. package/esm/src/actions/convex/index.d.ts +3 -3
  430. package/esm/src/actions/convex/index.js +3 -3
  431. package/esm/src/actions/curve/CurveClaimFeesAction.d.ts +13 -13
  432. package/esm/src/actions/curve/CurveClaimFeesAction.js +22 -22
  433. package/esm/src/actions/curve/CurveDepositAction.d.ts +18 -18
  434. package/esm/src/actions/curve/CurveDepositAction.js +78 -78
  435. package/esm/src/actions/curve/CurveGaugeDepositAction.d.ts +20 -20
  436. package/esm/src/actions/curve/CurveGaugeDepositAction.js +40 -40
  437. package/esm/src/actions/curve/CurveGaugeWithdrawAction.d.ts +14 -14
  438. package/esm/src/actions/curve/CurveGaugeWithdrawAction.js +22 -22
  439. package/esm/src/actions/curve/CurveMintCrvAction.d.ts +12 -12
  440. package/esm/src/actions/curve/CurveMintCrvAction.js +19 -19
  441. package/esm/src/actions/curve/CurveStethPoolDepositAction.d.ts +16 -16
  442. package/esm/src/actions/curve/CurveStethPoolDepositAction.js +27 -27
  443. package/esm/src/actions/curve/CurveStethPoolWithdrawAction.d.ts +17 -17
  444. package/esm/src/actions/curve/CurveStethPoolWithdrawAction.js +28 -28
  445. package/esm/src/actions/curve/CurveSwapAction.d.ts +22 -22
  446. package/esm/src/actions/curve/CurveSwapAction.js +43 -43
  447. package/esm/src/actions/curve/CurveWithdrawAction.d.ts +23 -23
  448. package/esm/src/actions/curve/CurveWithdrawAction.js +73 -73
  449. package/esm/src/actions/curve/index.d.ts +9 -9
  450. package/esm/src/actions/curve/index.js +9 -9
  451. package/esm/src/actions/curveusd/CurveUsdAdjustAction.d.ts +21 -21
  452. package/esm/src/actions/curveusd/CurveUsdAdjustAction.js +40 -40
  453. package/esm/src/actions/curveusd/CurveUsdBorrowAction.d.ts +15 -15
  454. package/esm/src/actions/curveusd/CurveUsdBorrowAction.js +22 -22
  455. package/esm/src/actions/curveusd/CurveUsdCreateAction.d.ts +22 -22
  456. package/esm/src/actions/curveusd/CurveUsdCreateAction.js +44 -44
  457. package/esm/src/actions/curveusd/CurveUsdGetDebtAction.d.ts +8 -8
  458. package/esm/src/actions/curveusd/CurveUsdGetDebtAction.js +13 -13
  459. package/esm/src/actions/curveusd/CurveUsdLevCreateAction.d.ts +9 -9
  460. package/esm/src/actions/curveusd/CurveUsdLevCreateAction.js +16 -16
  461. package/esm/src/actions/curveusd/CurveUsdPaybackAction.d.ts +22 -22
  462. package/esm/src/actions/curveusd/CurveUsdPaybackAction.js +43 -43
  463. package/esm/src/actions/curveusd/CurveUsdRepayAction.d.ts +9 -9
  464. package/esm/src/actions/curveusd/CurveUsdRepayAction.js +14 -14
  465. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateAction.d.ts +19 -19
  466. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateAction.js +38 -38
  467. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.d.ts +9 -9
  468. package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.js +16 -16
  469. package/esm/src/actions/curveusd/CurveUsdSupplyAction.d.ts +20 -20
  470. package/esm/src/actions/curveusd/CurveUsdSupplyAction.js +40 -40
  471. package/esm/src/actions/curveusd/CurveUsdWithdrawAction.d.ts +15 -15
  472. package/esm/src/actions/curveusd/CurveUsdWithdrawAction.js +22 -22
  473. package/esm/src/actions/curveusd/index.d.ts +11 -11
  474. package/esm/src/actions/curveusd/index.js +11 -11
  475. package/esm/src/actions/dydx/DyDxWithdrawAction.d.ts +15 -15
  476. package/esm/src/actions/dydx/DyDxWithdrawAction.js +19 -19
  477. package/esm/src/actions/dydx/index.d.ts +1 -1
  478. package/esm/src/actions/dydx/index.js +1 -1
  479. package/esm/src/actions/flashloan/AaveV2FlashLoanAction.d.ts +20 -20
  480. package/esm/src/actions/flashloan/AaveV2FlashLoanAction.js +21 -21
  481. package/esm/src/actions/flashloan/AaveV2FlashLoanPaybackAction.d.ts +14 -14
  482. package/esm/src/actions/flashloan/AaveV2FlashLoanPaybackAction.js +16 -16
  483. package/esm/src/actions/flashloan/AaveV3FlashLoanAction.d.ts +20 -20
  484. package/esm/src/actions/flashloan/AaveV3FlashLoanAction.js +21 -21
  485. package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.d.ts +18 -18
  486. package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.js +28 -28
  487. package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.d.ts +18 -18
  488. package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.js +20 -20
  489. package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.d.ts +14 -14
  490. package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.js +16 -16
  491. package/esm/src/actions/flashloan/AaveV3FlashLoanPaybackAction.d.ts +14 -14
  492. package/esm/src/actions/flashloan/AaveV3FlashLoanPaybackAction.js +16 -16
  493. package/esm/src/actions/flashloan/BalancerFlashLoanAction.d.ts +18 -18
  494. package/esm/src/actions/flashloan/BalancerFlashLoanAction.js +19 -19
  495. package/esm/src/actions/flashloan/BalancerFlashLoanPaybackAction.d.ts +14 -14
  496. package/esm/src/actions/flashloan/BalancerFlashLoanPaybackAction.js +16 -16
  497. package/esm/src/actions/flashloan/DyDxFlashLoanAction.d.ts +16 -16
  498. package/esm/src/actions/flashloan/DyDxFlashLoanAction.js +18 -18
  499. package/esm/src/actions/flashloan/DyDxFlashLoanPaybackAction.d.ts +14 -14
  500. package/esm/src/actions/flashloan/DyDxFlashLoanPaybackAction.js +16 -16
  501. package/esm/src/actions/flashloan/EulerFlashLoanAction.d.ts +16 -16
  502. package/esm/src/actions/flashloan/EulerFlashLoanAction.js +18 -18
  503. package/esm/src/actions/flashloan/EulerFlashLoanPaybackAction.d.ts +14 -14
  504. package/esm/src/actions/flashloan/EulerFlashLoanPaybackAction.js +16 -16
  505. package/esm/src/actions/flashloan/FLAction.d.ts +14 -14
  506. package/esm/src/actions/flashloan/FLAction.js +28 -28
  507. package/esm/src/actions/flashloan/FLPaybackAction.d.ts +14 -14
  508. package/esm/src/actions/flashloan/FLPaybackAction.js +16 -16
  509. package/esm/src/actions/flashloan/FlashLoanId.d.ts +3 -3
  510. package/esm/src/actions/flashloan/FlashLoanId.js +1 -1
  511. package/esm/src/actions/flashloan/GhoFlashLoanAction.d.ts +17 -17
  512. package/esm/src/actions/flashloan/GhoFlashLoanAction.js +18 -18
  513. package/esm/src/actions/flashloan/GhoFlashLoanPaybackAction.d.ts +13 -13
  514. package/esm/src/actions/flashloan/GhoFlashLoanPaybackAction.js +15 -15
  515. package/esm/src/actions/flashloan/MakerFlashLoanAction.d.ts +17 -17
  516. package/esm/src/actions/flashloan/MakerFlashLoanAction.js +18 -18
  517. package/esm/src/actions/flashloan/MakerFlashLoanPaybackAction.d.ts +13 -13
  518. package/esm/src/actions/flashloan/MakerFlashLoanPaybackAction.js +15 -15
  519. package/esm/src/actions/flashloan/MorphoBlueFlashLoanAction.d.ts +18 -18
  520. package/esm/src/actions/flashloan/MorphoBlueFlashLoanAction.js +19 -19
  521. package/esm/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.d.ts +14 -14
  522. package/esm/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.js +16 -16
  523. package/esm/src/actions/flashloan/SparkFlashLoanAction.d.ts +20 -20
  524. package/esm/src/actions/flashloan/SparkFlashLoanAction.js +21 -21
  525. package/esm/src/actions/flashloan/SparkFlashLoanPaybackAction.d.ts +14 -14
  526. package/esm/src/actions/flashloan/SparkFlashLoanPaybackAction.js +16 -16
  527. package/esm/src/actions/flashloan/UniV3FlashLoanAction.d.ts +21 -21
  528. package/esm/src/actions/flashloan/UniV3FlashLoanAction.js +22 -22
  529. package/esm/src/actions/flashloan/UniV3FlashLoanPaybackAction.d.ts +16 -16
  530. package/esm/src/actions/flashloan/UniV3FlashLoanPaybackAction.js +18 -18
  531. package/esm/src/actions/flashloan/index.d.ts +25 -25
  532. package/esm/src/actions/flashloan/index.js +25 -25
  533. package/esm/src/actions/guni/GUniDeposit.d.ts +24 -24
  534. package/esm/src/actions/guni/GUniDeposit.js +47 -47
  535. package/esm/src/actions/guni/GUniWithdraw.d.ts +22 -22
  536. package/esm/src/actions/guni/GUniWithdraw.js +39 -39
  537. package/esm/src/actions/guni/index.d.ts +2 -2
  538. package/esm/src/actions/guni/index.js +2 -2
  539. package/esm/src/actions/index.d.ts +32 -32
  540. package/esm/src/actions/index.js +32 -32
  541. package/esm/src/actions/insta/InstPullTokensAction.d.ts +18 -18
  542. package/esm/src/actions/insta/InstPullTokensAction.js +36 -36
  543. package/esm/src/actions/insta/index.d.ts +1 -1
  544. package/esm/src/actions/insta/index.js +1 -1
  545. package/esm/src/actions/lido/LidoStakeAction.d.ts +19 -19
  546. package/esm/src/actions/lido/LidoStakeAction.js +34 -34
  547. package/esm/src/actions/lido/LidoUnwrapAction.d.ts +19 -19
  548. package/esm/src/actions/lido/LidoUnwrapAction.js +33 -33
  549. package/esm/src/actions/lido/LidoWrapAction.d.ts +20 -20
  550. package/esm/src/actions/lido/LidoWrapAction.js +43 -43
  551. package/esm/src/actions/lido/index.d.ts +3 -3
  552. package/esm/src/actions/lido/index.js +3 -3
  553. package/esm/src/actions/liquity/LiquityAdjustAction.d.ts +21 -21
  554. package/esm/src/actions/liquity/LiquityAdjustAction.js +34 -34
  555. package/esm/src/actions/liquity/LiquityBorrowAction.d.ts +17 -17
  556. package/esm/src/actions/liquity/LiquityBorrowAction.js +26 -26
  557. package/esm/src/actions/liquity/LiquityClaimAction.d.ts +13 -13
  558. package/esm/src/actions/liquity/LiquityClaimAction.js +20 -20
  559. package/esm/src/actions/liquity/LiquityClaimSPRewardsAction.d.ts +14 -14
  560. package/esm/src/actions/liquity/LiquityClaimSPRewardsAction.js +18 -18
  561. package/esm/src/actions/liquity/LiquityClaimStakingRewardsAction.d.ts +14 -14
  562. package/esm/src/actions/liquity/LiquityClaimStakingRewardsAction.js +18 -18
  563. package/esm/src/actions/liquity/LiquityCloseAction.d.ts +18 -18
  564. package/esm/src/actions/liquity/LiquityCloseAction.js +38 -38
  565. package/esm/src/actions/liquity/LiquityEthGainToTroveAction.d.ts +15 -15
  566. package/esm/src/actions/liquity/LiquityEthGainToTroveAction.js +22 -22
  567. package/esm/src/actions/liquity/LiquityOpenAction.d.ts +23 -23
  568. package/esm/src/actions/liquity/LiquityOpenAction.js +46 -46
  569. package/esm/src/actions/liquity/LiquityPaybackAction.d.ts +20 -20
  570. package/esm/src/actions/liquity/LiquityPaybackAction.js +39 -39
  571. package/esm/src/actions/liquity/LiquityRedeemAction.d.ts +25 -25
  572. package/esm/src/actions/liquity/LiquityRedeemAction.js +47 -47
  573. package/esm/src/actions/liquity/LiquitySPDepositAction.d.ts +20 -20
  574. package/esm/src/actions/liquity/LiquitySPDepositAction.js +43 -43
  575. package/esm/src/actions/liquity/LiquitySPWithdrawAction.d.ts +16 -16
  576. package/esm/src/actions/liquity/LiquitySPWithdrawAction.js +28 -28
  577. package/esm/src/actions/liquity/LiquityStakeAction.d.ts +20 -20
  578. package/esm/src/actions/liquity/LiquityStakeAction.js +43 -43
  579. package/esm/src/actions/liquity/LiquitySupplyAction.d.ts +20 -20
  580. package/esm/src/actions/liquity/LiquitySupplyAction.js +39 -39
  581. package/esm/src/actions/liquity/LiquityUnstakeAction.d.ts +16 -16
  582. package/esm/src/actions/liquity/LiquityUnstakeAction.js +28 -28
  583. package/esm/src/actions/liquity/LiquityWithdrawAction.d.ts +16 -16
  584. package/esm/src/actions/liquity/LiquityWithdrawAction.js +24 -24
  585. package/esm/src/actions/liquity/index.d.ts +16 -16
  586. package/esm/src/actions/liquity/index.js +16 -16
  587. package/esm/src/actions/llamalend/LlamaLendBoostAction.d.ts +8 -8
  588. package/esm/src/actions/llamalend/LlamaLendBoostAction.js +18 -18
  589. package/esm/src/actions/llamalend/LlamaLendBorrowAction.d.ts +15 -15
  590. package/esm/src/actions/llamalend/LlamaLendBorrowAction.js +22 -22
  591. package/esm/src/actions/llamalend/LlamaLendCreateAction.d.ts +22 -22
  592. package/esm/src/actions/llamalend/LlamaLendCreateAction.js +43 -43
  593. package/esm/src/actions/llamalend/LlamaLendGetDebtAction.d.ts +8 -8
  594. package/esm/src/actions/llamalend/LlamaLendGetDebtAction.js +13 -13
  595. package/esm/src/actions/llamalend/LlamaLendLevCreateAction.d.ts +12 -12
  596. package/esm/src/actions/llamalend/LlamaLendLevCreateAction.js +41 -41
  597. package/esm/src/actions/llamalend/LlamaLendPaybackAction.d.ts +14 -14
  598. package/esm/src/actions/llamalend/LlamaLendPaybackAction.js +34 -34
  599. package/esm/src/actions/llamalend/LlamaLendRepayAction.d.ts +8 -8
  600. package/esm/src/actions/llamalend/LlamaLendRepayAction.js +20 -20
  601. package/esm/src/actions/llamalend/LlamaLendSelfLiquidateAction.d.ts +19 -19
  602. package/esm/src/actions/llamalend/LlamaLendSelfLiquidateAction.js +37 -37
  603. package/esm/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.d.ts +8 -8
  604. package/esm/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.js +25 -25
  605. package/esm/src/actions/llamalend/LlamaLendSupplyAction.d.ts +20 -20
  606. package/esm/src/actions/llamalend/LlamaLendSupplyAction.js +39 -39
  607. package/esm/src/actions/llamalend/LlamaLendWithdrawAction.d.ts +15 -15
  608. package/esm/src/actions/llamalend/LlamaLendWithdrawAction.js +22 -22
  609. package/esm/src/actions/llamalend/index.d.ts +11 -11
  610. package/esm/src/actions/llamalend/index.js +11 -11
  611. package/esm/src/actions/lsv/LSVBorrowAction.d.ts +14 -14
  612. package/esm/src/actions/lsv/LSVBorrowAction.js +19 -19
  613. package/esm/src/actions/lsv/LSVPaybackAction.d.ts +13 -13
  614. package/esm/src/actions/lsv/LSVPaybackAction.js +18 -18
  615. package/esm/src/actions/lsv/LSVSupplyAction.d.ts +15 -15
  616. package/esm/src/actions/lsv/LSVSupplyAction.js +21 -21
  617. package/esm/src/actions/lsv/LSVWithdrawAction.d.ts +15 -15
  618. package/esm/src/actions/lsv/LSVWithdrawAction.js +21 -21
  619. package/esm/src/actions/lsv/index.d.ts +4 -4
  620. package/esm/src/actions/lsv/index.js +4 -4
  621. package/esm/src/actions/maker/MakerBoostCompositeAction.d.ts +20 -20
  622. package/esm/src/actions/maker/MakerBoostCompositeAction.js +48 -48
  623. package/esm/src/actions/maker/MakerClaimAction.d.ts +15 -15
  624. package/esm/src/actions/maker/MakerClaimAction.js +24 -24
  625. package/esm/src/actions/maker/MakerDsrDepositAction.d.ts +18 -18
  626. package/esm/src/actions/maker/MakerDsrDepositAction.js +31 -31
  627. package/esm/src/actions/maker/MakerDsrWithdrawAction.d.ts +15 -15
  628. package/esm/src/actions/maker/MakerDsrWithdrawAction.js +30 -30
  629. package/esm/src/actions/maker/MakerGenerateAction.d.ts +16 -16
  630. package/esm/src/actions/maker/MakerGenerateAction.js +20 -20
  631. package/esm/src/actions/maker/MakerGiveAction.d.ts +16 -16
  632. package/esm/src/actions/maker/MakerGiveAction.js +25 -25
  633. package/esm/src/actions/maker/MakerMergeAction.d.ts +15 -15
  634. package/esm/src/actions/maker/MakerMergeAction.js +17 -17
  635. package/esm/src/actions/maker/MakerOpenVaultAction.d.ts +14 -14
  636. package/esm/src/actions/maker/MakerOpenVaultAction.js +16 -16
  637. package/esm/src/actions/maker/MakerPaybackAction.d.ts +20 -20
  638. package/esm/src/actions/maker/MakerPaybackAction.js +33 -33
  639. package/esm/src/actions/maker/MakerRatioAction.d.ts +13 -13
  640. package/esm/src/actions/maker/MakerRatioAction.js +15 -15
  641. package/esm/src/actions/maker/MakerRepayCompositeAction.d.ts +20 -20
  642. package/esm/src/actions/maker/MakerRepayCompositeAction.js +48 -48
  643. package/esm/src/actions/maker/MakerSupplyAction.d.ts +21 -21
  644. package/esm/src/actions/maker/MakerSupplyAction.js +37 -37
  645. package/esm/src/actions/maker/MakerWithdrawAction.d.ts +17 -17
  646. package/esm/src/actions/maker/MakerWithdrawAction.js +21 -21
  647. package/esm/src/actions/maker/index.d.ts +13 -13
  648. package/esm/src/actions/maker/index.js +13 -13
  649. package/esm/src/actions/merkl/MerklClaimAction.d.ts +19 -19
  650. package/esm/src/actions/merkl/MerklClaimAction.js +21 -21
  651. package/esm/src/actions/merkl/index.d.ts +1 -1
  652. package/esm/src/actions/merkl/index.js +1 -1
  653. package/esm/src/actions/morpho/MorphoAaveV2BorrowAction.d.ts +16 -16
  654. package/esm/src/actions/morpho/MorphoAaveV2BorrowAction.js +23 -23
  655. package/esm/src/actions/morpho/MorphoAaveV2PaybackAction.d.ts +20 -20
  656. package/esm/src/actions/morpho/MorphoAaveV2PaybackAction.js +42 -42
  657. package/esm/src/actions/morpho/MorphoAaveV2SupplyAction.d.ts +21 -21
  658. package/esm/src/actions/morpho/MorphoAaveV2SupplyAction.js +43 -43
  659. package/esm/src/actions/morpho/MorphoAaveV2WithdrawAction.d.ts +15 -15
  660. package/esm/src/actions/morpho/MorphoAaveV2WithdrawAction.js +22 -22
  661. package/esm/src/actions/morpho/MorphoClaimAction.d.ts +15 -15
  662. package/esm/src/actions/morpho/MorphoClaimAction.js +20 -20
  663. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3BorrowAction.d.ts +18 -18
  664. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3BorrowAction.js +27 -27
  665. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3PaybackAction.d.ts +21 -21
  666. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3PaybackAction.js +44 -44
  667. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.d.ts +14 -14
  668. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.js +24 -24
  669. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SupplyAction.d.ts +23 -23
  670. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SupplyAction.js +47 -47
  671. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3WithdrawAction.d.ts +19 -19
  672. package/esm/src/actions/morpho/aaveV3/MorphoAaveV3WithdrawAction.js +29 -29
  673. package/esm/src/actions/morpho/index.d.ts +10 -10
  674. package/esm/src/actions/morpho/index.js +10 -10
  675. package/esm/src/actions/morpho-blue/MorphoBlueBorrowAction.d.ts +21 -21
  676. package/esm/src/actions/morpho-blue/MorphoBlueBorrowAction.js +46 -46
  677. package/esm/src/actions/morpho-blue/MorphoBluePaybackAction.d.ts +24 -24
  678. package/esm/src/actions/morpho-blue/MorphoBluePaybackAction.js +46 -46
  679. package/esm/src/actions/morpho-blue/MorphoBlueSetAuthAction.d.ts +12 -12
  680. package/esm/src/actions/morpho-blue/MorphoBlueSetAuthAction.js +18 -18
  681. package/esm/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.d.ts +12 -12
  682. package/esm/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.js +21 -21
  683. package/esm/src/actions/morpho-blue/MorphoBlueSupplyAction.d.ts +24 -24
  684. package/esm/src/actions/morpho-blue/MorphoBlueSupplyAction.js +46 -46
  685. package/esm/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.d.ts +24 -24
  686. package/esm/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.js +46 -46
  687. package/esm/src/actions/morpho-blue/MorphoBlueWithdrawAction.d.ts +21 -21
  688. package/esm/src/actions/morpho-blue/MorphoBlueWithdrawAction.js +46 -46
  689. package/esm/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.d.ts +21 -21
  690. package/esm/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.js +46 -46
  691. package/esm/src/actions/morpho-blue/index.d.ts +8 -8
  692. package/esm/src/actions/morpho-blue/index.js +8 -8
  693. package/esm/src/actions/mstable/MStableClaimAction.d.ts +16 -16
  694. package/esm/src/actions/mstable/MStableClaimAction.js +25 -25
  695. package/esm/src/actions/mstable/MStableDepositAction.d.ts +25 -25
  696. package/esm/src/actions/mstable/MStableDepositAction.js +75 -75
  697. package/esm/src/actions/mstable/MStableWithdrawAction.d.ts +25 -25
  698. package/esm/src/actions/mstable/MStableWithdrawAction.js +74 -74
  699. package/esm/src/actions/mstable/index.d.ts +3 -3
  700. package/esm/src/actions/mstable/index.js +3 -3
  701. package/esm/src/actions/rari/RariDepositAction.d.ts +22 -22
  702. package/esm/src/actions/rari/RariDepositAction.js +41 -41
  703. package/esm/src/actions/rari/RariWithdrawAction.d.ts +23 -23
  704. package/esm/src/actions/rari/RariWithdrawAction.js +43 -43
  705. package/esm/src/actions/rari/index.d.ts +2 -2
  706. package/esm/src/actions/rari/index.js +2 -2
  707. package/esm/src/actions/reflexer/ReflexerGenerateAction.d.ts +15 -15
  708. package/esm/src/actions/reflexer/ReflexerGenerateAction.js +19 -19
  709. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.d.ts +19 -19
  710. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.js +37 -37
  711. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.d.ts +14 -14
  712. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.js +21 -21
  713. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.d.ts +15 -15
  714. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.js +23 -23
  715. package/esm/src/actions/reflexer/ReflexerOpenSafeAction.d.ts +13 -13
  716. package/esm/src/actions/reflexer/ReflexerOpenSafeAction.js +15 -15
  717. package/esm/src/actions/reflexer/ReflexerPaybackAction.d.ts +19 -19
  718. package/esm/src/actions/reflexer/ReflexerPaybackAction.js +32 -32
  719. package/esm/src/actions/reflexer/ReflexerSupplyAction.d.ts +21 -21
  720. package/esm/src/actions/reflexer/ReflexerSupplyAction.js +44 -44
  721. package/esm/src/actions/reflexer/ReflexerWithdrawAction.d.ts +16 -16
  722. package/esm/src/actions/reflexer/ReflexerWithdrawAction.js +20 -20
  723. package/esm/src/actions/reflexer/ReflexerWithdrawStuckFunds.d.ts +14 -14
  724. package/esm/src/actions/reflexer/ReflexerWithdrawStuckFunds.js +18 -18
  725. package/esm/src/actions/reflexer/index.d.ts +9 -9
  726. package/esm/src/actions/reflexer/index.js +9 -9
  727. package/esm/src/actions/spark/SparkBorrowAction.d.ts +21 -21
  728. package/esm/src/actions/spark/SparkBorrowAction.js +59 -59
  729. package/esm/src/actions/spark/SparkClaimRewardsAction.d.ts +18 -18
  730. package/esm/src/actions/spark/SparkClaimRewardsAction.js +40 -40
  731. package/esm/src/actions/spark/SparkCollateralSwitchAction.d.ts +18 -18
  732. package/esm/src/actions/spark/SparkCollateralSwitchAction.js +39 -39
  733. package/esm/src/actions/spark/SparkDelegateCredit.d.ts +19 -19
  734. package/esm/src/actions/spark/SparkDelegateCredit.js +47 -47
  735. package/esm/src/actions/spark/SparkDelegateWithSigAction.d.ts +11 -11
  736. package/esm/src/actions/spark/SparkDelegateWithSigAction.js +33 -33
  737. package/esm/src/actions/spark/SparkPaybackAction.d.ts +27 -27
  738. package/esm/src/actions/spark/SparkPaybackAction.js +77 -77
  739. package/esm/src/actions/spark/SparkSetEModeAction.d.ts +16 -16
  740. package/esm/src/actions/spark/SparkSetEModeAction.js +33 -33
  741. package/esm/src/actions/spark/SparkSpTokenPaybackAction.d.ts +25 -25
  742. package/esm/src/actions/spark/SparkSpTokenPaybackAction.js +64 -64
  743. package/esm/src/actions/spark/SparkSupplyAction.d.ts +27 -27
  744. package/esm/src/actions/spark/SparkSupplyAction.js +77 -77
  745. package/esm/src/actions/spark/SparkSwapBorrowRateModeAction.d.ts +18 -18
  746. package/esm/src/actions/spark/SparkSwapBorrowRateModeAction.js +38 -38
  747. package/esm/src/actions/spark/SparkWithdrawAction.d.ts +18 -18
  748. package/esm/src/actions/spark/SparkWithdrawAction.js +45 -45
  749. package/esm/src/actions/spark/index.d.ts +11 -11
  750. package/esm/src/actions/spark/index.js +11 -11
  751. package/esm/src/actions/uniswap/UniswapSupplyAction.d.ts +26 -26
  752. package/esm/src/actions/uniswap/UniswapSupplyAction.js +65 -65
  753. package/esm/src/actions/uniswap/UniswapWithdrawAction.d.ts +25 -25
  754. package/esm/src/actions/uniswap/UniswapWithdrawAction.js +56 -56
  755. package/esm/src/actions/uniswap/index.d.ts +2 -2
  756. package/esm/src/actions/uniswap/index.js +2 -2
  757. package/esm/src/actions/uniswapV3/UniswapV3CollectAction.d.ts +24 -24
  758. package/esm/src/actions/uniswapV3/UniswapV3CollectAction.js +47 -47
  759. package/esm/src/actions/uniswapV3/UniswapV3CreatePoolAction.d.ts +30 -30
  760. package/esm/src/actions/uniswapV3/UniswapV3CreatePoolAction.js +69 -69
  761. package/esm/src/actions/uniswapV3/UniswapV3MintAction.d.ts +29 -29
  762. package/esm/src/actions/uniswapV3/UniswapV3MintAction.js +67 -67
  763. package/esm/src/actions/uniswapV3/UniswapV3SupplyAction.d.ts +26 -26
  764. package/esm/src/actions/uniswapV3/UniswapV3SupplyAction.js +60 -60
  765. package/esm/src/actions/uniswapV3/UniswapV3WithdrawAction.d.ts +28 -28
  766. package/esm/src/actions/uniswapV3/UniswapV3WithdrawAction.js +58 -58
  767. package/esm/src/actions/uniswapV3/index.d.ts +5 -5
  768. package/esm/src/actions/uniswapV3/index.js +5 -5
  769. package/esm/src/actions/yearn/YearnSupplyAction.d.ts +21 -21
  770. package/esm/src/actions/yearn/YearnSupplyAction.js +43 -43
  771. package/esm/src/actions/yearn/YearnWithdrawAction.d.ts +21 -21
  772. package/esm/src/actions/yearn/YearnWithdrawAction.js +43 -43
  773. package/esm/src/actions/yearn/index.d.ts +2 -2
  774. package/esm/src/actions/yearn/index.js +2 -2
  775. package/esm/src/addresses.d.ts +932 -936
  776. package/esm/src/addresses.js +480 -484
  777. package/esm/src/config.d.ts +28 -20
  778. package/esm/src/config.js +102 -77
  779. package/esm/src/index.d.ts +3721 -3737
  780. package/esm/src/index.js +35 -35
  781. package/esm/src/triggers/AaveV2RatioTrigger.d.ts +10 -10
  782. package/esm/src/triggers/AaveV2RatioTrigger.js +12 -12
  783. package/esm/src/triggers/AaveV3QuotePriceTrigger.d.ts +10 -10
  784. package/esm/src/triggers/AaveV3QuotePriceTrigger.js +12 -12
  785. package/esm/src/triggers/AaveV3RatioTrigger.d.ts +10 -10
  786. package/esm/src/triggers/AaveV3RatioTrigger.js +12 -12
  787. package/esm/src/triggers/CBRebondTrigger.d.ts +10 -10
  788. package/esm/src/triggers/CBRebondTrigger.js +12 -12
  789. package/esm/src/triggers/ChainLinkPriceTrigger.d.ts +10 -10
  790. package/esm/src/triggers/ChainLinkPriceTrigger.js +12 -12
  791. package/esm/src/triggers/CompV3RatioTrigger.d.ts +10 -10
  792. package/esm/src/triggers/CompV3RatioTrigger.js +12 -12
  793. package/esm/src/triggers/CompoundRatioTrigger.d.ts +10 -10
  794. package/esm/src/triggers/CompoundRatioTrigger.js +12 -12
  795. package/esm/src/triggers/CurveUsdCollRatioTrigger.d.ts +10 -10
  796. package/esm/src/triggers/CurveUsdCollRatioTrigger.js +12 -12
  797. package/esm/src/triggers/CurveUsdHealthRatioTrigger.d.ts +10 -10
  798. package/esm/src/triggers/CurveUsdHealthRatioTrigger.js +12 -12
  799. package/esm/src/triggers/GasPriceTrigger.d.ts +10 -10
  800. package/esm/src/triggers/GasPriceTrigger.js +12 -12
  801. package/esm/src/triggers/LiquityDebtInFrontWithLimitTrigger.d.ts +10 -10
  802. package/esm/src/triggers/LiquityDebtInFrontWithLimitTrigger.js +12 -12
  803. package/esm/src/triggers/LiquityRatioTrigger.d.ts +10 -10
  804. package/esm/src/triggers/LiquityRatioTrigger.js +12 -12
  805. package/esm/src/triggers/MakerRatioTrigger.d.ts +10 -10
  806. package/esm/src/triggers/MakerRatioTrigger.js +12 -12
  807. package/esm/src/triggers/MorphoAaveV2RatioTrigger.d.ts +10 -10
  808. package/esm/src/triggers/MorphoAaveV2RatioTrigger.js +12 -12
  809. package/esm/src/triggers/MorphoBlueRatioTrigger.d.ts +10 -10
  810. package/esm/src/triggers/MorphoBlueRatioTrigger.js +12 -12
  811. package/esm/src/triggers/OffchainPriceTrigger.d.ts +10 -10
  812. package/esm/src/triggers/OffchainPriceTrigger.js +12 -12
  813. package/esm/src/triggers/ReflexerRatioTrigger.d.ts +10 -10
  814. package/esm/src/triggers/ReflexerRatioTrigger.js +12 -12
  815. package/esm/src/triggers/SparkQuotePriceTrigger.d.ts +10 -10
  816. package/esm/src/triggers/SparkQuotePriceTrigger.js +12 -12
  817. package/esm/src/triggers/SparkRatioTrigger.d.ts +10 -10
  818. package/esm/src/triggers/SparkRatioTrigger.js +12 -12
  819. package/esm/src/triggers/TimestampTrigger.d.ts +10 -10
  820. package/esm/src/triggers/TimestampTrigger.js +12 -12
  821. package/esm/src/triggers/TrailingStopTrigger.d.ts +10 -10
  822. package/esm/src/triggers/TrailingStopTrigger.js +12 -12
  823. package/esm/src/triggers/UniV3CurrentTickTrigger.d.ts +10 -10
  824. package/esm/src/triggers/UniV3CurrentTickTrigger.js +12 -12
  825. package/esm/src/triggers/index.d.ts +22 -22
  826. package/esm/src/triggers/index.js +22 -22
  827. package/esm/src/types.d.ts +53 -46
  828. package/esm/src/types.js +1 -1
  829. package/esm/src/utils/basic-utils.d.ts +6 -6
  830. package/esm/src/utils/basic-utils.js +7 -7
  831. package/esm/src/utils/convex-utils.d.ts +52 -52
  832. package/esm/src/utils/convex-utils.js +16 -16
  833. package/esm/src/utils/convexPoolInfo.json +1057 -1057
  834. package/esm/src/utils/curve-utils.d.ts +7 -7
  835. package/esm/src/utils/curve-utils.js +7 -7
  836. package/esm/src/utils/curvePoolInfo.json +299 -299
  837. package/esm/src/utils/curveusd-utils.d.ts +30 -30
  838. package/esm/src/utils/curveusd-utils.js +16 -16
  839. package/esm/src/utils/general.d.ts +17 -17
  840. package/esm/src/utils/general.js +39 -39
  841. package/esm/src/utils/index.d.ts +9 -9
  842. package/esm/src/utils/index.js +9 -9
  843. package/esm/src/utils/mstableAssetPairs.d.ts +9 -9
  844. package/esm/src/utils/mstableAssetPairs.js +8 -8
  845. package/esm/src/utils/uniswapLP.d.ts +19 -19
  846. package/esm/src/utils/uniswapLP.js +31 -31
  847. package/esm/src/utils/uniswapV3LP.d.ts +5 -5
  848. package/esm/src/utils/uniswapV3LP.js +23 -23
  849. package/esm/src/utils/zeroExExchange.d.ts +39 -39
  850. package/esm/src/utils/zeroExExchange.js +169 -169
  851. package/package.json +55 -55
  852. package/src/Action.ts +220 -220
  853. package/src/ActionWithL2.ts +48 -48
  854. package/src/DfsWeb3.ts +109 -109
  855. package/src/Recipe.ts +219 -144
  856. package/src/Strategy.ts +69 -69
  857. package/src/abis/Action.json +246 -246
  858. package/src/abis/DFSProxyRegistry.json +193 -193
  859. package/src/abis/DsProxy.json +218 -218
  860. package/src/abis/Erc20.json +222 -222
  861. package/src/abis/ProxyRegistry.json +65 -65
  862. package/src/abis/Recipe.json +870 -253
  863. package/src/abis/UniV3PositionManager.json +64 -64
  864. package/src/actions/aave/AaveBorrowAction.ts +37 -37
  865. package/src/actions/aave/AaveClaimAAVEAction.ts +29 -29
  866. package/src/actions/aave/AaveClaimStkAaveAction.ts +30 -30
  867. package/src/actions/aave/AaveCollateralSwitchAction.ts +25 -25
  868. package/src/actions/aave/AaveFinalizeUnstakeAction.ts +29 -29
  869. package/src/actions/aave/AavePaybackAction.ts +32 -32
  870. package/src/actions/aave/AaveStartUnstakeAction.ts +18 -18
  871. package/src/actions/aave/AaveSupplyAction.ts +38 -38
  872. package/src/actions/aave/AaveWithdrawAction.ts +21 -21
  873. package/src/actions/aave/index.ts +8 -8
  874. package/src/actions/aaveV3/AaveV3ATokenPaybackAction.ts +64 -64
  875. package/src/actions/aaveV3/AaveV3BorrowAction.ts +68 -68
  876. package/src/actions/aaveV3/AaveV3ClaimRewardsAction.ts +50 -50
  877. package/src/actions/aaveV3/AaveV3CollateralSwitchAction.ts +46 -46
  878. package/src/actions/aaveV3/AaveV3DelegateCredit.ts +56 -56
  879. package/src/actions/aaveV3/AaveV3DelegateWithSigAction.ts +42 -42
  880. package/src/actions/aaveV3/AaveV3PaybackAction.ts +77 -77
  881. package/src/actions/aaveV3/AaveV3SetEModeAction.ts +40 -40
  882. package/src/actions/aaveV3/AaveV3SupplyAction.ts +75 -75
  883. package/src/actions/aaveV3/AaveV3SwapBorrowRateModeAction.ts +46 -46
  884. package/src/actions/aaveV3/AaveV3WithdrawAction.ts +53 -53
  885. package/src/actions/aaveV3/index.ts +10 -10
  886. package/src/actions/balancer/BalancerV2ClaimAction.ts +46 -46
  887. package/src/actions/balancer/BalancerV2SupplyAction.ts +52 -52
  888. package/src/actions/balancer/BalancerV2WithdrawAction.ts +60 -60
  889. package/src/actions/balancer/index.ts +2 -2
  890. package/src/actions/basic/ApproveTokenAction.ts +38 -38
  891. package/src/actions/basic/AutomationV2Unsub.ts +18 -18
  892. package/src/actions/basic/ChangeProxyOwnerAction.ts +16 -16
  893. package/src/actions/basic/CreateSubAction.ts +23 -23
  894. package/src/actions/basic/ExecuteSafeTxAction.ts +85 -85
  895. package/src/actions/basic/GasFeeAction.ts +27 -27
  896. package/src/actions/basic/GasFeeActionL2.ts +28 -28
  897. package/src/actions/basic/LSVSellAction.ts +61 -61
  898. package/src/actions/basic/LimitSellAction.ts +62 -62
  899. package/src/actions/basic/PermitTokenAction.ts +49 -49
  900. package/src/actions/basic/PullTokenAction.ts +36 -36
  901. package/src/actions/basic/RemoveTokenApprovalAction.ts +39 -39
  902. package/src/actions/basic/SDaiUnwrapAction.ts +37 -37
  903. package/src/actions/basic/SDaiWrapAction.ts +37 -37
  904. package/src/actions/basic/SellAction.ts +61 -61
  905. package/src/actions/basic/SendTokenAction.ts +29 -29
  906. package/src/actions/basic/SendTokenAndUnwrapAction.ts +29 -29
  907. package/src/actions/basic/SendTokensAction.ts +38 -38
  908. package/src/actions/basic/StarknetClaimAction.ts +26 -26
  909. package/src/actions/basic/SubInputsAction.ts +21 -21
  910. package/src/actions/basic/SumInputsAction.ts +21 -21
  911. package/src/actions/basic/ToggleSubAction.ts +17 -17
  912. package/src/actions/basic/TokenBalanceAction.ts +19 -19
  913. package/src/actions/basic/TokenizedVaultAdapterDepositAction.ts +38 -38
  914. package/src/actions/basic/TokenizedVaultAdapterMintAction.ts +38 -38
  915. package/src/actions/basic/TokenizedVaultAdapterRedeemAction.ts +36 -36
  916. package/src/actions/basic/TokenizedVaultAdapterWithdrawAction.ts +36 -36
  917. package/src/actions/basic/TransferNFTAction.ts +23 -23
  918. package/src/actions/basic/UnwrapEthAction.ts +38 -38
  919. package/src/actions/basic/UpdateSubAction.ts +27 -27
  920. package/src/actions/basic/WrapEthAction.ts +29 -29
  921. package/src/actions/basic/index.ts +30 -30
  922. package/src/actions/bprotocol/BprotocolLiquitySPDepositAction.ts +32 -32
  923. package/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.ts +27 -27
  924. package/src/actions/bprotocol/index.ts +2 -2
  925. package/src/actions/checkers/AaveV2RatioCheckAction.ts +22 -22
  926. package/src/actions/checkers/AaveV3RatioCheckAction.ts +22 -22
  927. package/src/actions/checkers/CompoundV2RatioCheckAction.ts +22 -22
  928. package/src/actions/checkers/CompoundV3RatioCheckAction.ts +26 -26
  929. package/src/actions/checkers/CurveUsdCollRatioCheck.ts +24 -24
  930. package/src/actions/checkers/LiquityRatioCheckAction.ts +22 -22
  931. package/src/actions/checkers/LiquityRatioIncreaseCheckAction.ts +20 -20
  932. package/src/actions/checkers/MakerRatioCheckAction.ts +27 -27
  933. package/src/actions/checkers/MorphoAaveV2RatioCheckAction.ts +24 -24
  934. package/src/actions/checkers/MorphoBlueRatioCheckAction.ts +46 -46
  935. package/src/actions/checkers/SparkRatioCheckAction.ts +22 -22
  936. package/src/actions/checkers/index.ts +10 -10
  937. package/src/actions/chickenBonds/CBChickenInAction.ts +19 -19
  938. package/src/actions/chickenBonds/CBChickenOutAction.ts +21 -21
  939. package/src/actions/chickenBonds/CBCreateAction.ts +23 -23
  940. package/src/actions/chickenBonds/CBCreateRebondSubAction.ts +20 -20
  941. package/src/actions/chickenBonds/CBRedeemAction.ts +26 -26
  942. package/src/actions/chickenBonds/CBUpdateRebondSubAction.ts +17 -17
  943. package/src/actions/chickenBonds/FetchBondIdAction.ts +23 -23
  944. package/src/actions/chickenBonds/index.ts +8 -8
  945. package/src/actions/compound/CompoundBorrowAction.ts +20 -20
  946. package/src/actions/compound/CompoundClaimAction.ts +26 -26
  947. package/src/actions/compound/CompoundCollateralSwitchAction.ts +18 -18
  948. package/src/actions/compound/CompoundGetDebtAction.ts +20 -20
  949. package/src/actions/compound/CompoundPaybackAction.ts +27 -27
  950. package/src/actions/compound/CompoundSupplyAction.ts +33 -33
  951. package/src/actions/compound/CompoundWithdrawAction.ts +20 -20
  952. package/src/actions/compound/index.ts +6 -6
  953. package/src/actions/compoundV3/CompoundV3AllowAction.ts +26 -26
  954. package/src/actions/compoundV3/CompoundV3BorrowAction.ts +28 -28
  955. package/src/actions/compoundV3/CompoundV3ClaimAction.ts +34 -34
  956. package/src/actions/compoundV3/CompoundV3PaybackAction.ts +46 -46
  957. package/src/actions/compoundV3/CompoundV3SupplyAction.ts +40 -40
  958. package/src/actions/compoundV3/CompoundV3TransferAction.ts +37 -37
  959. package/src/actions/compoundV3/CompoundV3WithdrawAction.ts +36 -36
  960. package/src/actions/compoundV3/index.ts +6 -6
  961. package/src/actions/convex/ConvexClaimAction.ts +65 -65
  962. package/src/actions/convex/ConvexDepositAction.ts +71 -71
  963. package/src/actions/convex/ConvexWithdrawAction.ts +69 -69
  964. package/src/actions/convex/index.ts +2 -2
  965. package/src/actions/curve/CurveClaimFeesAction.ts +30 -30
  966. package/src/actions/curve/CurveDepositAction.ts +84 -84
  967. package/src/actions/curve/CurveGaugeDepositAction.ts +36 -36
  968. package/src/actions/curve/CurveGaugeWithdrawAction.ts +28 -28
  969. package/src/actions/curve/CurveMintCrvAction.ts +25 -25
  970. package/src/actions/curve/CurveStethPoolDepositAction.ts +40 -40
  971. package/src/actions/curve/CurveStethPoolWithdrawAction.ts +42 -42
  972. package/src/actions/curve/CurveSwapAction.ts +38 -38
  973. package/src/actions/curve/CurveWithdrawAction.ts +82 -82
  974. package/src/actions/curve/index.ts +8 -8
  975. package/src/actions/curveusd/CurveUsdAdjustAction.ts +44 -44
  976. package/src/actions/curveusd/CurveUsdBorrowAction.ts +33 -33
  977. package/src/actions/curveusd/CurveUsdCreateAction.ts +48 -48
  978. package/src/actions/curveusd/CurveUsdGetDebtAction.ts +20 -20
  979. package/src/actions/curveusd/CurveUsdLevCreateAction.ts +39 -39
  980. package/src/actions/curveusd/CurveUsdPaybackAction.ts +48 -48
  981. package/src/actions/curveusd/CurveUsdRepayAction.ts +35 -35
  982. package/src/actions/curveusd/CurveUsdSelfLiquidateAction.ts +41 -41
  983. package/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.ts +39 -39
  984. package/src/actions/curveusd/CurveUsdSupplyAction.ts +43 -43
  985. package/src/actions/curveusd/CurveUsdWithdrawAction.ts +34 -34
  986. package/src/actions/curveusd/index.ts +10 -10
  987. package/src/actions/dydx/DyDxWithdrawAction.ts +20 -20
  988. package/src/actions/dydx/index.ts +1 -1
  989. package/src/actions/flashloan/AaveV2FlashLoanAction.ts +30 -30
  990. package/src/actions/flashloan/AaveV2FlashLoanPaybackAction.ts +18 -18
  991. package/src/actions/flashloan/AaveV3FlashLoanAction.ts +30 -30
  992. package/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.ts +34 -34
  993. package/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.ts +26 -26
  994. package/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.ts +18 -18
  995. package/src/actions/flashloan/AaveV3FlashLoanPaybackAction.ts +17 -17
  996. package/src/actions/flashloan/BalancerFlashLoanAction.ts +28 -28
  997. package/src/actions/flashloan/BalancerFlashLoanPaybackAction.ts +18 -18
  998. package/src/actions/flashloan/DyDxFlashLoanAction.ts +23 -23
  999. package/src/actions/flashloan/DyDxFlashLoanPaybackAction.ts +18 -18
  1000. package/src/actions/flashloan/EulerFlashLoanAction.ts +24 -24
  1001. package/src/actions/flashloan/EulerFlashLoanPaybackAction.ts +18 -18
  1002. package/src/actions/flashloan/FLAction.ts +40 -40
  1003. package/src/actions/flashloan/FLPaybackAction.ts +18 -18
  1004. package/src/actions/flashloan/FlashLoanId.ts +3 -3
  1005. package/src/actions/flashloan/GhoFlashLoanAction.ts +27 -27
  1006. package/src/actions/flashloan/GhoFlashLoanPaybackAction.ts +17 -17
  1007. package/src/actions/flashloan/MakerFlashLoanAction.ts +27 -27
  1008. package/src/actions/flashloan/MakerFlashLoanPaybackAction.ts +17 -17
  1009. package/src/actions/flashloan/MorphoBlueFlashLoanAction.ts +28 -28
  1010. package/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.ts +18 -18
  1011. package/src/actions/flashloan/SparkFlashLoanAction.ts +30 -30
  1012. package/src/actions/flashloan/SparkFlashLoanPaybackAction.ts +17 -17
  1013. package/src/actions/flashloan/UniV3FlashLoanAction.ts +31 -31
  1014. package/src/actions/flashloan/UniV3FlashLoanPaybackAction.ts +19 -19
  1015. package/src/actions/flashloan/index.ts +25 -25
  1016. package/src/actions/guni/GUniDeposit.ts +45 -45
  1017. package/src/actions/guni/GUniWithdraw.ts +35 -35
  1018. package/src/actions/guni/index.ts +1 -1
  1019. package/src/actions/index.ts +65 -65
  1020. package/src/actions/insta/InstPullTokensAction.ts +33 -33
  1021. package/src/actions/lido/LidoStakeAction.ts +25 -25
  1022. package/src/actions/lido/LidoUnwrapAction.ts +24 -24
  1023. package/src/actions/lido/LidoWrapAction.ts +34 -34
  1024. package/src/actions/lido/index.ts +3 -3
  1025. package/src/actions/liquity/LiquityAdjustAction.ts +52 -52
  1026. package/src/actions/liquity/LiquityBorrowAction.ts +32 -32
  1027. package/src/actions/liquity/LiquityClaimAction.ts +25 -25
  1028. package/src/actions/liquity/LiquityClaimSPRewardsAction.ts +19 -19
  1029. package/src/actions/liquity/LiquityClaimStakingRewardsAction.ts +19 -19
  1030. package/src/actions/liquity/LiquityCloseAction.ts +33 -33
  1031. package/src/actions/liquity/LiquityEthGainToTroveAction.ts +27 -27
  1032. package/src/actions/liquity/LiquityOpenAction.ts +42 -42
  1033. package/src/actions/liquity/LiquityPaybackAction.ts +35 -35
  1034. package/src/actions/liquity/LiquityRedeemAction.ts +53 -53
  1035. package/src/actions/liquity/LiquitySPDepositAction.ts +37 -37
  1036. package/src/actions/liquity/LiquitySPWithdrawAction.ts +33 -33
  1037. package/src/actions/liquity/LiquityStakeAction.ts +38 -38
  1038. package/src/actions/liquity/LiquitySupplyAction.ts +35 -35
  1039. package/src/actions/liquity/LiquityUnstakeAction.ts +33 -33
  1040. package/src/actions/liquity/LiquityWithdrawAction.ts +30 -30
  1041. package/src/actions/liquity/index.ts +15 -15
  1042. package/src/actions/llamalend/LlamaLendBoostAction.ts +25 -25
  1043. package/src/actions/llamalend/LlamaLendBorrowAction.ts +33 -33
  1044. package/src/actions/llamalend/LlamaLendCreateAction.ts +49 -49
  1045. package/src/actions/llamalend/LlamaLendGetDebtAction.ts +20 -20
  1046. package/src/actions/llamalend/LlamaLendLevCreateAction.ts +38 -38
  1047. package/src/actions/llamalend/LlamaLendPaybackAction.ts +40 -40
  1048. package/src/actions/llamalend/LlamaLendRepayAction.ts +27 -27
  1049. package/src/actions/llamalend/LlamaLendSelfLiquidateAction.ts +42 -42
  1050. package/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.ts +32 -32
  1051. package/src/actions/llamalend/LlamaLendSupplyAction.ts +43 -43
  1052. package/src/actions/llamalend/LlamaLendWithdrawAction.ts +34 -34
  1053. package/src/actions/llamalend/index.ts +10 -10
  1054. package/src/actions/lsv/LSVBorrowAction.ts +20 -20
  1055. package/src/actions/lsv/LSVPaybackAction.ts +19 -19
  1056. package/src/actions/lsv/LSVSupplyAction.ts +22 -22
  1057. package/src/actions/lsv/LSVWithdrawAction.ts +22 -22
  1058. package/src/actions/lsv/index.ts +3 -3
  1059. package/src/actions/maker/MakerBoostCompositeAction.ts +54 -54
  1060. package/src/actions/maker/MakerClaimAction.ts +26 -26
  1061. package/src/actions/maker/MakerDsrDepositAction.ts +22 -22
  1062. package/src/actions/maker/MakerDsrWithdrawAction.ts +21 -21
  1063. package/src/actions/maker/MakerGenerateAction.ts +21 -21
  1064. package/src/actions/maker/MakerGiveAction.ts +28 -28
  1065. package/src/actions/maker/MakerMergeAction.ts +18 -18
  1066. package/src/actions/maker/MakerOpenVaultAction.ts +17 -17
  1067. package/src/actions/maker/MakerPaybackAction.ts +24 -24
  1068. package/src/actions/maker/MakerRatioAction.ts +16 -16
  1069. package/src/actions/maker/MakerRepayCompositeAction.ts +54 -54
  1070. package/src/actions/maker/MakerSupplyAction.ts +27 -27
  1071. package/src/actions/maker/MakerWithdrawAction.ts +22 -22
  1072. package/src/actions/maker/index.ts +13 -13
  1073. package/src/actions/merkl/MerklClaimAction.ts +36 -36
  1074. package/src/actions/morpho/MorphoAaveV2BorrowAction.ts +36 -36
  1075. package/src/actions/morpho/MorphoAaveV2PaybackAction.ts +34 -34
  1076. package/src/actions/morpho/MorphoAaveV2SupplyAction.ts +46 -46
  1077. package/src/actions/morpho/MorphoAaveV2WithdrawAction.ts +25 -25
  1078. package/src/actions/morpho/MorphoClaimAction.ts +23 -23
  1079. package/src/actions/morpho/aaveV3/MorphoAaveV3BorrowAction.ts +41 -41
  1080. package/src/actions/morpho/aaveV3/MorphoAaveV3PaybackAction.ts +46 -46
  1081. package/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.ts +31 -31
  1082. package/src/actions/morpho/aaveV3/MorphoAaveV3SupplyAction.ts +52 -52
  1083. package/src/actions/morpho/aaveV3/MorphoAaveV3WithdrawAction.ts +44 -44
  1084. package/src/actions/morpho/index.ts +9 -9
  1085. package/src/actions/morpho-blue/MorphoBlueBorrowAction.ts +54 -54
  1086. package/src/actions/morpho-blue/MorphoBluePaybackAction.ts +54 -54
  1087. package/src/actions/morpho-blue/MorphoBlueSetAuthAction.ts +24 -24
  1088. package/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.ts +38 -38
  1089. package/src/actions/morpho-blue/MorphoBlueSupplyAction.ts +54 -54
  1090. package/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.ts +54 -54
  1091. package/src/actions/morpho-blue/MorphoBlueWithdrawAction.ts +54 -54
  1092. package/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.ts +54 -54
  1093. package/src/actions/morpho-blue/index.ts +7 -7
  1094. package/src/actions/mstable/MStableClaimAction.ts +38 -38
  1095. package/src/actions/mstable/MStableDepositAction.ts +83 -83
  1096. package/src/actions/mstable/MStableWithdrawAction.ts +82 -82
  1097. package/src/actions/mstable/index.ts +2 -2
  1098. package/src/actions/rari/RariDepositAction.ts +32 -32
  1099. package/src/actions/rari/RariWithdrawAction.ts +34 -34
  1100. package/src/actions/rari/index.ts +1 -1
  1101. package/src/actions/reflexer/ReflexerGenerateAction.ts +20 -20
  1102. package/src/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.ts +28 -28
  1103. package/src/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.ts +22 -22
  1104. package/src/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.ts +24 -24
  1105. package/src/actions/reflexer/ReflexerOpenSafeAction.ts +16 -16
  1106. package/src/actions/reflexer/ReflexerPaybackAction.ts +23 -23
  1107. package/src/actions/reflexer/ReflexerSupplyAction.ts +32 -32
  1108. package/src/actions/reflexer/ReflexerWithdrawAction.ts +21 -21
  1109. package/src/actions/reflexer/ReflexerWithdrawStuckFunds.ts +20 -20
  1110. package/src/actions/reflexer/index.ts +9 -9
  1111. package/src/actions/spark/SparkBorrowAction.ts +68 -68
  1112. package/src/actions/spark/SparkClaimRewardsAction.ts +50 -50
  1113. package/src/actions/spark/SparkCollateralSwitchAction.ts +46 -46
  1114. package/src/actions/spark/SparkDelegateCredit.ts +56 -56
  1115. package/src/actions/spark/SparkDelegateWithSigAction.ts +42 -42
  1116. package/src/actions/spark/SparkPaybackAction.ts +77 -77
  1117. package/src/actions/spark/SparkSetEModeAction.ts +40 -40
  1118. package/src/actions/spark/SparkSpTokenPaybackAction.ts +64 -64
  1119. package/src/actions/spark/SparkSupplyAction.ts +75 -75
  1120. package/src/actions/spark/SparkSwapBorrowRateModeAction.ts +46 -46
  1121. package/src/actions/spark/SparkWithdrawAction.ts +53 -53
  1122. package/src/actions/spark/index.ts +10 -10
  1123. package/src/actions/uniswap/UniswapSupplyAction.ts +63 -63
  1124. package/src/actions/uniswap/UniswapWithdrawAction.ts +53 -53
  1125. package/src/actions/uniswap/index.ts +1 -1
  1126. package/src/actions/uniswapV3/UniswapV3CollectAction.ts +47 -47
  1127. package/src/actions/uniswapV3/UniswapV3CreatePoolAction.ts +69 -69
  1128. package/src/actions/uniswapV3/UniswapV3MintAction.ts +68 -68
  1129. package/src/actions/uniswapV3/UniswapV3SupplyAction.ts +58 -58
  1130. package/src/actions/uniswapV3/UniswapV3WithdrawAction.ts +58 -58
  1131. package/src/actions/uniswapV3/index.ts +4 -4
  1132. package/src/actions/yearn/YearnSupplyAction.ts +33 -33
  1133. package/src/actions/yearn/YearnWithdrawAction.ts +33 -33
  1134. package/src/actions/yearn/index.ts +1 -1
  1135. package/src/addresses.ts +545 -549
  1136. package/src/config.ts +111 -84
  1137. package/src/index.ts +67 -65
  1138. package/src/triggers/AaveV2RatioTrigger.ts +13 -13
  1139. package/src/triggers/AaveV3QuotePriceTrigger.ts +13 -13
  1140. package/src/triggers/AaveV3RatioTrigger.ts +13 -13
  1141. package/src/triggers/CBRebondTrigger.ts +13 -13
  1142. package/src/triggers/ChainLinkPriceTrigger.ts +13 -13
  1143. package/src/triggers/CompV3RatioTrigger.ts +13 -13
  1144. package/src/triggers/CompoundRatioTrigger.ts +13 -13
  1145. package/src/triggers/CurveUsdCollRatioTrigger.ts +13 -13
  1146. package/src/triggers/CurveUsdHealthRatioTrigger.ts +14 -14
  1147. package/src/triggers/GasPriceTrigger.ts +13 -13
  1148. package/src/triggers/LiquityDebtInFrontWithLimitTrigger.ts +18 -18
  1149. package/src/triggers/LiquityRatioTrigger.ts +18 -18
  1150. package/src/triggers/MakerRatioTrigger.ts +14 -14
  1151. package/src/triggers/MorphoAaveV2RatioTrigger.ts +14 -14
  1152. package/src/triggers/MorphoBlueRatioTrigger.ts +24 -24
  1153. package/src/triggers/OffchainPriceTrigger.ts +13 -13
  1154. package/src/triggers/ReflexerRatioTrigger.ts +13 -13
  1155. package/src/triggers/SparkQuotePriceTrigger.ts +13 -13
  1156. package/src/triggers/SparkRatioTrigger.ts +13 -13
  1157. package/src/triggers/TimestampTrigger.ts +13 -13
  1158. package/src/triggers/TrailingStopTrigger.ts +13 -13
  1159. package/src/triggers/UniV3CurrentTickTrigger.ts +13 -13
  1160. package/src/triggers/index.ts +22 -22
  1161. package/src/types.ts +80 -52
  1162. package/src/utils/basic-utils.ts +5 -5
  1163. package/src/utils/convex-utils.ts +21 -21
  1164. package/src/utils/convexPoolInfo.json +1057 -1057
  1165. package/src/utils/curve-utils.ts +15 -15
  1166. package/src/utils/curvePoolInfo.json +299 -299
  1167. package/src/utils/curveusd-utils.ts +19 -19
  1168. package/src/utils/general.ts +37 -37
  1169. package/src/utils/index.ts +19 -19
  1170. package/src/utils/mstableAssetPairs.ts +8 -8
  1171. package/src/utils/uniswapLP.ts +44 -44
  1172. package/src/utils/uniswapV3LP.ts +16 -16
  1173. package/src/utils/zeroExExchange.ts +206 -206
  1174. package/test/Action.js +62 -62
  1175. package/test/ActionWithL2.js +27 -27
  1176. package/test/DfsWeb3.js +65 -65
  1177. package/test/Recipe.js +95 -95
  1178. package/test/Strategy.js +44 -44
  1179. package/test/_actionUtils.js +17 -17
  1180. package/test/_recipeUtils.js +12 -12
  1181. package/test/accessLists/MockAccessLists.json +1410 -1410
  1182. package/test/accessLists/Recipe.js +124 -124
  1183. package/test/accessLists/access-lists.js +107 -107
  1184. package/test/actions/aave/AaveBorrowAction.js +70 -70
  1185. package/test/actions/aave/AaveClaimStkAaveAction.js +21 -21
  1186. package/test/actions/aave/AaveCollateralSwitchAction.js +20 -20
  1187. package/test/actions/aave/AavePaybackAction.js +84 -84
  1188. package/test/actions/aave/AaveSupplyAction.js +81 -81
  1189. package/test/actions/aave/AaveWithdrawAction.js +42 -42
  1190. package/test/actions/balancer/BalancerV2ClaimAction.js +101 -101
  1191. package/test/actions/balancer/BalancerV2SupplyAction.js +36 -36
  1192. package/test/actions/balancer/BalancerV2WithdrawAction.js +33 -33
  1193. package/test/actions/basic/ChangeProxyOwnerAction.js +21 -21
  1194. package/test/actions/basic/CreateSubAction.js +29 -29
  1195. package/test/actions/basic/SellAction.js +79 -79
  1196. package/test/actions/basic/SendTokenAction.js +49 -49
  1197. package/test/actions/basic/TokenBalanceAction.js +20 -20
  1198. package/test/actions/compound/CompoundBorrowAction.js +63 -63
  1199. package/test/actions/compound/CompoundCollateralSwitchAction.js +19 -19
  1200. package/test/actions/compound/CompoundGetDebtAction.js +20 -20
  1201. package/test/actions/compound/CompoundPaybackAction.js +53 -53
  1202. package/test/actions/compound/CompoundSupplyAction.js +54 -54
  1203. package/test/actions/compound/CompoundWithdrawAction.js +40 -40
  1204. package/test/actions/dydx/DyDxWithdrawAction.js +40 -40
  1205. package/test/actions/flashloan/DyDxFlashLoanAction.js +84 -84
  1206. package/test/actions/insta/InstPullTokensAction.js +30 -30
  1207. package/test/actions/lido/LidoStakeAction.js +30 -30
  1208. package/test/actions/liquity/LiquityBorrowAction.js +28 -28
  1209. package/test/actions/liquity/LiquityClaimAction.js +28 -28
  1210. package/test/actions/liquity/LiquityClaimSPRewardsAction.js +28 -28
  1211. package/test/actions/liquity/LiquityClaimStakingRewardsAction.js +28 -28
  1212. package/test/actions/liquity/LiquityCloseAction.js +30 -30
  1213. package/test/actions/liquity/LiquityEthGainToTroveAction.js +28 -28
  1214. package/test/actions/liquity/LiquityOpenAction.js +30 -30
  1215. package/test/actions/liquity/LiquityPaybackAction.js +30 -30
  1216. package/test/actions/liquity/LiquityRedeemAction.js +38 -38
  1217. package/test/actions/liquity/LiquitySPDepositAction.js +31 -31
  1218. package/test/actions/liquity/LiquitySPWithdrawAction.js +29 -29
  1219. package/test/actions/liquity/LiquityStakeAction.js +30 -30
  1220. package/test/actions/liquity/LiquitySupplyAction.js +30 -30
  1221. package/test/actions/liquity/LiquityUnstakeAction.js +28 -28
  1222. package/test/actions/liquity/LiquityWithdrawAction.js +28 -28
  1223. package/test/actions/maker/MakerGenerateAction.js +63 -63
  1224. package/test/actions/maker/MakerGiveAction.js +63 -63
  1225. package/test/actions/maker/MakerMergeAction.js +49 -49
  1226. package/test/actions/maker/MakerOpenVaultAction.js +56 -56
  1227. package/test/actions/maker/MakerPaybackAction.js +55 -55
  1228. package/test/actions/maker/MakerSupplyAction.js +103 -103
  1229. package/test/actions/maker/MakerWithdrawAction.js +66 -66
  1230. package/test/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.js +30 -30
  1231. package/test/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.js +26 -26
  1232. package/test/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.js +28 -28
  1233. package/test/actions/uniswap/UniswapSupplyAction.js +68 -68
  1234. package/test/actions/uniswap/UniswapWithdrawAction.js +35 -35
  1235. package/test/actions/uniswapV3/UniswapV3CollectAction.js +35 -35
  1236. package/test/actions/uniswapV3/UniswapV3CreatePoolAction.js +42 -42
  1237. package/test/actions/uniswapV3/UniswapV3MintAction.js +74 -74
  1238. package/test/actions/uniswapV3/UniswapV3SupplyAction.js +68 -68
  1239. package/test/actions/uniswapV3/UniswapV3WithdrawAction.js +39 -39
  1240. package/test/actions/yearn/YearnSupplyAction.js +35 -35
  1241. package/test/actions/yearn/YearnWithdrawAction.js +36 -36
  1242. package/test/index.js +11 -11
  1243. package/test/utils/uniswapLP.js +40 -40
  1244. package/test/utils/zeroExExchange.js +86 -86
  1245. package/tsconfig.json +79 -79
  1246. package/umd/index.js +2483 -2389
  1247. package/webpack.umd.js +52 -52
package/ACTIONS.md CHANGED
@@ -1,1765 +1,1765 @@
1
- ## Classes
2
-
3
- <dl>
4
- <dt><a href="#AaveBorrowAction">AaveBorrowAction</a></dt>
5
- <dd><p>AaveBorrowAction - Borrow tokens from Aave</p>
6
- </dd>
7
- <dt><a href="#AaveClaimStkAaveAction">AaveClaimStkAaveAction</a></dt>
8
- <dd><p>AaveClaimStkAaveAction - Claims stkAave from incentives controller</p>
9
- </dd>
10
- <dt><a href="#AaveCollateralSwitchAction">AaveCollateralSwitchAction</a></dt>
11
- <dd><p>AaveCollateralSwitchAction - Aave enable/disable token usage as collateral</p>
12
- </dd>
13
- <dt><a href="#AavePaybackAction">AavePaybackAction</a></dt>
14
- <dd><p>AavePaybackAction - Payback borrowed tokens from Aave</p>
15
- </dd>
16
- <dt><a href="#AaveSupplyAction">AaveSupplyAction</a></dt>
17
- <dd><p>AaveSupplyAction - Supply token to an aave position</p>
18
- </dd>
19
- <dt><a href="#AaveWithdrawAction">AaveWithdrawAction</a></dt>
20
- <dd><p>AaveWithdrawAction - Withdraw token from an aave position</p>
21
- </dd>
22
- <dt><a href="#BalancerV2ClaimAction">BalancerV2ClaimAction</a></dt>
23
- <dd></dd>
24
- <dt><a href="#BalancerV2SupplyAction">BalancerV2SupplyAction</a></dt>
25
- <dd></dd>
26
- <dt><a href="#BalancerV2WithdrawAction">BalancerV2WithdrawAction</a></dt>
27
- <dd><p>BalancerV2WithdrawAction - Withdraw tokens from Balancer pool</p>
28
- </dd>
29
- <dt><a href="#ChangeProxyOwnerAction">ChangeProxyOwnerAction</a></dt>
30
- <dd><p>ChangeProxyOwnerAction - Changes EOA which owns the proxy that is being called</p>
31
- </dd>
32
- <dt><a href="#GasFeeAction">GasFeeAction</a></dt>
33
- <dd></dd>
34
- <dt><a href="#PullTokenAction">PullTokenAction</a></dt>
35
- <dd><p>Transfers specified token from a specified address to DSProxy (recipe)</p>
36
- </dd>
37
- <dt><a href="#SellAction">SellAction</a></dt>
38
- <dd><p>Sells token on DeFi Saver exchange aggregator</p>
39
- </dd>
40
- <dt><a href="#SendTokenAction">SendTokenAction</a></dt>
41
- <dd><p>Transfers specified token from recipe (DsProxy) to specified address</p>
42
- </dd>
43
- <dt><a href="#SendTokenAndUnwrapAction">SendTokenAndUnwrapAction</a></dt>
44
- <dd><p>Transfers specified token from recipe (DsProxy) to specified address unwraps if Weth address</p>
45
- </dd>
46
- <dt><a href="#SubInputsAction">SubInputsAction</a></dt>
47
- <dd><p>Subs 2 inputs/return values</p>
48
- </dd>
49
- <dt><a href="#SumInputsAction">SumInputsAction</a></dt>
50
- <dd><p>Sums up 2 inputs/return values</p>
51
- </dd>
52
- <dt><a href="#ToggleSubAction">ToggleSubAction</a></dt>
53
- <dd><p>Sets the state of the sub to active or deactivated</p>
54
- </dd>
55
- <dt><a href="#UnwrapEthAction">UnwrapEthAction</a></dt>
56
- <dd><p>Unwraps a specified amount of WETH from the proxy</p>
57
- </dd>
58
- <dt><a href="#UpdateSubAction">UpdateSubAction</a></dt>
59
- <dd><p>Action for updating sub data</p>
60
- </dd>
61
- <dt><a href="#WrapEthAction">WrapEthAction</a></dt>
62
- <dd><p>Wraps a specified amount of ETH from the wallet to WETH on the recipe</p>
63
- </dd>
64
- <dt><a href="#MakerRatioCheckAction">MakerRatioCheckAction</a></dt>
65
- <dd><p>MakerRatioCheckAction - Checks mcd ratio at end of all actions</p>
66
- </dd>
67
- <dt><a href="#CompoundBorrowAction">CompoundBorrowAction</a></dt>
68
- <dd><p>CompoundBorrowAction - Borrow tokens from Compound</p>
69
- </dd>
70
- <dt><a href="#CompoundClaimAction">CompoundClaimAction</a></dt>
71
- <dd><p>CompoundClaimAction - Claims Comp tokens for the specified address</p>
72
- </dd>
73
- <dt><a href="#CompoundCollateralSwitchAction">CompoundCollateralSwitchAction</a></dt>
74
- <dd><p>CompoundCollateralSwitchAction - Compound enable/disable cToken usage as collateral</p>
75
- </dd>
76
- <dt><a href="#CompoundPaybackAction">CompoundPaybackAction</a></dt>
77
- <dd><p>CompoundPaybackAction - Payback borrowed tokens from Compound</p>
78
- </dd>
79
- <dt><a href="#CompoundSupplyAction">CompoundSupplyAction</a></dt>
80
- <dd><p>CompoundSupplyAction - Supply token to an Compound position</p>
81
- </dd>
82
- <dt><a href="#CompoundWithdrawAction">CompoundWithdrawAction</a></dt>
83
- <dd><p>CompoundWithdrawAction - Withdraw token from an Compound position</p>
84
- </dd>
85
- <dt><a href="#CurveClaimFeesAction">CurveClaimFeesAction</a></dt>
86
- <dd></dd>
87
- <dt><a href="#CurveDepositAction">CurveDepositAction</a></dt>
88
- <dd></dd>
89
- <dt><a href="#CurveGaugeDepositAction">CurveGaugeDepositAction</a></dt>
90
- <dd></dd>
91
- <dt><a href="#CurveGaugeWithdrawAction">CurveGaugeWithdrawAction</a></dt>
92
- <dd></dd>
93
- <dt><a href="#CurveMintCrvAction">CurveMintCrvAction</a></dt>
94
- <dd></dd>
95
- <dt><a href="#CurveStethPoolDepositAction">CurveStethPoolDepositAction</a></dt>
96
- <dd><p>CurveStethPoolDepositAction - Deposits tokens into curve steth pool</p>
97
- </dd>
98
- <dt><a href="#CurveStethPoolWithdrawAction">CurveStethPoolWithdrawAction</a></dt>
99
- <dd><p>CurveStethPoolWithdrawAction - Withdraws tokens from curve steth pool</p>
100
- </dd>
101
- <dt><a href="#CurveSwapAction">CurveSwapAction</a></dt>
102
- <dd></dd>
103
- <dt><a href="#CurveWithdrawAction">CurveWithdrawAction</a></dt>
104
- <dd></dd>
105
- <dt><a href="#DyDxWithdrawAction">DyDxWithdrawAction</a></dt>
106
- <dd><p>DyDxWithdrawAction - Withdraw token from an DyDx position</p>
107
- </dd>
108
- <dt><a href="#AaveV2FlashLoanAction">AaveV2FlashLoanAction</a></dt>
109
- <dd><p>Gets a flashloan from Aave v2</p>
110
- </dd>
111
- <dt><a href="#AaveV2FlashLoanPaybackAction">AaveV2FlashLoanPaybackAction</a></dt>
112
- <dd><p>Pays back a single flashloan from Aave v2</p>
113
- </dd>
114
- <dt><a href="#BalancerFlashLoanAction">BalancerFlashLoanAction</a></dt>
115
- <dd><p>Gets a flashloan from Balancer</p>
116
- </dd>
117
- <dt><a href="#BalancerFlashLoanPaybackAction">BalancerFlashLoanPaybackAction</a></dt>
118
- <dd><p>Pays back a flashloan from Balancer</p>
119
- </dd>
120
- <dt><a href="#DyDxFlashLoanAction">DyDxFlashLoanAction</a></dt>
121
- <dd><p>Gets a flashloan from DyDx</p>
122
- </dd>
123
- <dt><a href="#DyDxFlashLoanPaybackAction">DyDxFlashLoanPaybackAction</a></dt>
124
- <dd><p>Pays back a flashloan from DyDx</p>
125
- </dd>
126
- <dt><a href="#MakerFlashLoanAction">MakerFlashLoanAction</a></dt>
127
- <dd><p>Gets a flashloan from Maker</p>
128
- </dd>
129
- <dt><a href="#MakerFlashLoanPaybackAction">MakerFlashLoanPaybackAction</a></dt>
130
- <dd><p>Pays back a flashloan from Maker</p>
131
- </dd>
132
- <dt><a href="#GUniDeposit">GUniDeposit</a></dt>
133
- <dd><p>Action that adds liquidity to G-UNI pool of interest (mints G-UNI LP tokens)</p>
134
- </dd>
135
- <dt><a href="#GUniWithdraw">GUniWithdraw</a></dt>
136
- <dd><p>Action that removes liquidity from a G-UNI pool and burns G-UNI LP tokens</p>
137
- </dd>
138
- <dt><a href="#LidoStakeAction">LidoStakeAction</a></dt>
139
- <dd><p>LidoStakeAction - Receives WETH, transforms it to ETH then sends it to Lido staking contract receiving stETH in return</p>
140
- </dd>
141
- <dt><a href="#LidoUnwrapAction">LidoUnwrapAction</a></dt>
142
- <dd><p>LidoUnwrapAction - Unwraps WStEth into StEth</p>
143
- </dd>
144
- <dt><a href="#LidoWrapAction">LidoWrapAction</a></dt>
145
- <dd><p>LidoWrapAction - Turns WETH or StEth into WStEth</p>
146
- </dd>
147
- <dt><a href="#LiquityBorrowAction">LiquityBorrowAction</a></dt>
148
- <dd><p>LiquityBorrowAction - Borrows LUSD from the trove</p>
149
- </dd>
150
- <dt><a href="#LiquityClaimAction">LiquityClaimAction</a></dt>
151
- <dd><p>LiquityClaimAction - Claims collateral from the closed trove</p>
152
- </dd>
153
- <dt><a href="#LiquityClaimSPRewardsAction">LiquityClaimSPRewardsAction</a></dt>
154
- <dd><p>LiquityClaimSPRewardsAction - Claims rewards from LUSD Stability Pool</p>
155
- </dd>
156
- <dt><a href="#LiquityClaimStakingRewardsAction">LiquityClaimStakingRewardsAction</a></dt>
157
- <dd><p>LiquityClaimStakingRewardsAction - Claims rewards from LQTYStaking</p>
158
- </dd>
159
- <dt><a href="#LiquityCloseAction">LiquityCloseAction</a></dt>
160
- <dd><p>LiquityCloseAction - Closes trove</p>
161
- </dd>
162
- <dt><a href="#LiquityEthGainToTroveAction">LiquityEthGainToTroveAction</a></dt>
163
- <dd><p>LiquityEthGainToTroveAction - Withdraws earned ETH gains to the users Trove</p>
164
- </dd>
165
- <dt><a href="#LiquityOpenAction">LiquityOpenAction</a></dt>
166
- <dd><p>LiquityOpenAction - Opens up a trove</p>
167
- </dd>
168
- <dt><a href="#LiquityPaybackAction">LiquityPaybackAction</a></dt>
169
- <dd><p>LiquityPaybackAction - Repays LUSD to the trove</p>
170
- </dd>
171
- <dt><a href="#LiquityRedeemAction">LiquityRedeemAction</a></dt>
172
- <dd><p>LiquityRedeemAction - Redeems collateral from the liquity protocol</p>
173
- </dd>
174
- <dt><a href="#LiquitySPDepositAction">LiquitySPDepositAction</a></dt>
175
- <dd><p>LiquitySPDepositAction - Deposits LUSD to the stability pool</p>
176
- </dd>
177
- <dt><a href="#LiquitySPWithdrawAction">LiquitySPWithdrawAction</a></dt>
178
- <dd><p>LiquitySPWithdrawAction - Withdraws a portion of deposited LUSD from the stability pool</p>
179
- </dd>
180
- <dt><a href="#LiquityStakeAction">LiquityStakeAction</a></dt>
181
- <dd><p>LiquityStakeAction - Stakes LQTY tokens</p>
182
- </dd>
183
- <dt><a href="#LiquitySupplyAction">LiquitySupplyAction</a></dt>
184
- <dd><p>LiquitySupplyAction - Supplies collateral to the trove</p>
185
- </dd>
186
- <dt><a href="#LiquityUnstakeAction">LiquityUnstakeAction</a></dt>
187
- <dd><p>LiquityUnstakeAction - Unstakes LQTY tokens</p>
188
- </dd>
189
- <dt><a href="#LiquityWithdrawAction">LiquityWithdrawAction</a></dt>
190
- <dd><p>LiquityWithdrawAction - Withdraws collateral from the trove</p>
191
- </dd>
192
- <dt><a href="#MakerClaimAction">MakerClaimAction</a></dt>
193
- <dd><p>MakerClaimAction - Claim bonus tokens in CropJoin types</p>
194
- </dd>
195
- <dt><a href="#MakerGenerateAction">MakerGenerateAction</a></dt>
196
- <dd><p>MakerGenerateAction - Generated Dai from a Vault</p>
197
- </dd>
198
- <dt><a href="#MakerGiveAction">MakerGiveAction</a></dt>
199
- <dd><p>MakerGiveAction - gives a vault to a selected address</p>
200
- </dd>
201
- <dt><a href="#MakerMergeAction">MakerMergeAction</a></dt>
202
- <dd><p>MakerMergeAction - merged two vaults of the same type</p>
203
- </dd>
204
- <dt><a href="#MakerOpenVaultAction">MakerOpenVaultAction</a></dt>
205
- <dd><p>MakerOpenVaultAction</p>
206
- </dd>
207
- <dt><a href="#MakerPaybackAction">MakerPaybackAction</a></dt>
208
- <dd><p>MakerPaybackAction - Payback dai to a Vault</p>
209
- </dd>
210
- <dt><a href="#MakerRatioAction">MakerRatioAction</a></dt>
211
- <dd><p>MakerRatioAction</p>
212
- </dd>
213
- <dt><a href="#MakerSupplyAction">MakerSupplyAction</a></dt>
214
- <dd><p>MakerSupplyAction - Supply token to a Vault</p>
215
- </dd>
216
- <dt><a href="#MakerWithdrawAction">MakerWithdrawAction</a></dt>
217
- <dd><p>MakerWithdrawAction - Withdraw token from a Vault</p>
218
- </dd>
219
- <dt><a href="#MStableClaimAction">MStableClaimAction</a></dt>
220
- <dd><p>MStableClaimAction</p>
221
- </dd>
222
- <dt><a href="#MStableDepositAction">MStableDepositAction</a></dt>
223
- <dd><p>MStableDepositAction</p>
224
- </dd>
225
- <dt><a href="#MStableWithdrawAction">MStableWithdrawAction</a></dt>
226
- <dd><p>MStableWithdrawAction</p>
227
- </dd>
228
- <dt><a href="#RariDepositAction">RariDepositAction</a></dt>
229
- <dd><p>RariDepositAction - action that deposits one stablecoin (DAI, USDC, USDT, TUSD, BUSD, and sUSD) and receives RSPT back</p>
230
- </dd>
231
- <dt><a href="#RariWithdrawAction">RariWithdrawAction</a></dt>
232
- <dd><p>RariWithdrawAction - Send pool tokens to fund manager which burns them, receive underlying stablecoin back</p>
233
- </dd>
234
- <dt><a href="#ReflexerGenerateAction">ReflexerGenerateAction</a></dt>
235
- <dd><p>ReflexerGenerateAction - Generated Dai from a Safe</p>
236
- </dd>
237
- <dt><a href="#ReflexerNativeUniV2SaviourDepositAction">ReflexerNativeUniV2SaviourDepositAction</a></dt>
238
- <dd><p>ReflexerNativeUniV2SaviourDepositAction - Deposit lpToken in the contract in order to provide cover for a specific SAFE managed by the SAFE Manager</p>
239
- </dd>
240
- <dt><a href="#ReflexerNativeUniV2SaviourGetReservesAction">ReflexerNativeUniV2SaviourGetReservesAction</a></dt>
241
- <dd><p>ReflexerNativeUniV2SaviourGetReservesAction - Get back system coins or collateral tokens that were withdrawn from Uniswap and not used to save a specific SAFE</p>
242
- </dd>
243
- <dt><a href="#ReflexerNativeUniV2SaviourWithdrawAction">ReflexerNativeUniV2SaviourWithdrawAction</a></dt>
244
- <dd><p>ReflexerNativeUniV2SaviourWithdrawAction - Withdraw lpToken from the contract and provide less cover for a SAFE</p>
245
- </dd>
246
- <dt><a href="#ReflexerOpenSafeAction">ReflexerOpenSafeAction</a></dt>
247
- <dd><p>ReflexerOpenSafeAction</p>
248
- </dd>
249
- <dt><a href="#ReflexerPaybackAction">ReflexerPaybackAction</a></dt>
250
- <dd><p>ReflexerPaybackAction - Payback RAI to a Safe</p>
251
- </dd>
252
- <dt><a href="#ReflexerSupplyAction">ReflexerSupplyAction</a></dt>
253
- <dd><p>ReflexerSupplyAction - Supply token to a Safe</p>
254
- </dd>
255
- <dt><a href="#ReflexerWithdrawAction">ReflexerWithdrawAction</a></dt>
256
- <dd><p>ReflexerWithdrawAction - Withdraw token from a Safe</p>
257
- </dd>
258
- <dt><a href="#UniswapSupplyAction">UniswapSupplyAction</a></dt>
259
- <dd><p>Supplies a pair tokens to uniswap pool</p>
260
- </dd>
261
- <dt><a href="#UniswapWithdrawAction">UniswapWithdrawAction</a></dt>
262
- <dd><p>Withdraws liquidity from uniswap pool</p>
263
- </dd>
264
- <dt><a href="#UniswapV3CollectAction">UniswapV3CollectAction</a></dt>
265
- <dd><p>Collects fees earned by user on position identified by tokenId</p>
266
- </dd>
267
- <dt><a href="#UniswapV3CreatePoolAction">UniswapV3CreatePoolAction</a></dt>
268
- <dd><p>Create a uniswap v3 pool</p>
269
- </dd>
270
- <dt><a href="#UniswapV3MintAction">UniswapV3MintAction</a></dt>
271
- <dd><p>Creates a new Uniswap v3 LP supply position</p>
272
- </dd>
273
- <dt><a href="#UniswapV3SupplyAction">UniswapV3SupplyAction</a></dt>
274
- <dd><p>Supplies a pair of tokens to an existing Uniswap v3 position identified by tokenId</p>
275
- </dd>
276
- <dt><a href="#UniswapV3WithdrawAction">UniswapV3WithdrawAction</a></dt>
277
- <dd><p>Burns liquidity, and returns underlying tokens to recipient</p>
278
- </dd>
279
- <dt><a href="#YearnSupplyAction">YearnSupplyAction</a></dt>
280
- <dd><p>YearnSupplyAction - Supply token to a Yearn vault</p>
281
- </dd>
282
- <dt><a href="#YearnWithdrawAction">YearnWithdrawAction</a></dt>
283
- <dd><p>YearnWithdrawAction - Burns yTokens and receive underlying tokens in return</p>
284
- </dd>
285
- </dl>
286
-
287
- <a name="AaveBorrowAction"></a>
288
-
289
- ## AaveBorrowAction
290
- AaveBorrowAction - Borrow tokens from Aave
291
-
292
- **Kind**: global class
293
- <a name="new_AaveBorrowAction_new"></a>
294
-
295
- ### new AaveBorrowAction(market, tokenAddr, amount, rateMode, to, onBehalf)
296
- **Params**
297
-
298
- - market <code>EthAddress</code>
299
- - tokenAddr <code>EthAddress</code>
300
- - amount <code>string</code>
301
- - rateMode <code>number</code> - Borrow rate mode: Stable: 1, Variable: 2
302
- - to <code>EthAddress</code> - Borrowed tokens will be sent to this address
303
- - onBehalf <code>EthAddress</code>
304
-
305
- <a name="AaveClaimStkAaveAction"></a>
306
-
307
- ## AaveClaimStkAaveAction
308
- AaveClaimStkAaveAction - Claims stkAave from incentives controller
309
-
310
- **Kind**: global class
311
- <a name="AaveCollateralSwitchAction"></a>
312
-
313
- ## AaveCollateralSwitchAction
314
- AaveCollateralSwitchAction - Aave enable/disable token usage as collateral
315
-
316
- **Kind**: global class
317
- <a name="AavePaybackAction"></a>
318
-
319
- ## AavePaybackAction
320
- AavePaybackAction - Payback borrowed tokens from Aave
321
-
322
- **Kind**: global class
323
- <a name="new_AavePaybackAction_new"></a>
324
-
325
- ### new AavePaybackAction(market, tokenAddr, amount, rateMode, from, onBehalf)
326
- **Params**
327
-
328
- - market <code>EthAddress</code>
329
- - tokenAddr <code>EthAddress</code>
330
- - amount <code>string</code>
331
- - rateMode <code>number</code> - Borrow rate mode: Stable: 1, Variable: 2
332
- - from <code>EthAddress</code> - Tokens will be sent from this address
333
- - onBehalf <code>EthAddress</code>
334
-
335
- <a name="AaveSupplyAction"></a>
336
-
337
- ## AaveSupplyAction
338
- AaveSupplyAction - Supply token to an aave position
339
-
340
- **Kind**: global class
341
- <a name="new_AaveSupplyAction_new"></a>
342
-
343
- ### new AaveSupplyAction(market, tokenAddr, amount, from, onBehalf, enableAsColl)
344
- **Params**
345
-
346
- - market <code>EthAddress</code>
347
- - tokenAddr <code>EthAddress</code>
348
- - amount <code>string</code>
349
- - from <code>EthAddress</code> - Tokens will be supplied from this address
350
- - onBehalf <code>EthAddress</code> - Tokens will be supplied to this address' position (defaults to sender's proxy)
351
- - enableAsColl <code>boolean</code> - If we need to enable asset as collateral
352
-
353
- <a name="AaveWithdrawAction"></a>
354
-
355
- ## AaveWithdrawAction
356
- AaveWithdrawAction - Withdraw token from an aave position
357
-
358
- **Kind**: global class
359
- <a name="new_AaveWithdrawAction_new"></a>
360
-
361
- ### new AaveWithdrawAction(market, tokenAddr, amount, to)
362
- **Params**
363
-
364
- - market <code>EthAddress</code>
365
- - tokenAddr <code>EthAddress</code>
366
- - amount <code>string</code>
367
- - to <code>EthAddress</code> - Tokens will be withdrawn to this address
368
-
369
- <a name="BalancerV2ClaimAction"></a>
370
-
371
- ## BalancerV2ClaimAction
372
- **Kind**: global class
373
- <a name="new_BalancerV2ClaimAction_new"></a>
374
-
375
- ### new BalancerV2ClaimAction(liquidityProvider, to, weeks, balances, merkleProofs)
376
- **Params**
377
-
378
- - liquidityProvider <code>EthAddress</code>
379
- - to <code>EthAddress</code>
380
- - weeks <code>Array.&lt;uint256&gt;</code>
381
- - balances <code>uint256</code>
382
- - merkleProofs <code>Array.&lt;Array.&lt;bytes32&gt;&gt;</code>
383
-
384
- <a name="BalancerV2SupplyAction"></a>
385
-
386
- ## BalancerV2SupplyAction
387
- **Kind**: global class
388
- <a name="new_BalancerV2SupplyAction_new"></a>
389
-
390
- ### new BalancerV2SupplyAction(poolId, from, to, tokens, maxAmountsIn, userData)
391
- **Params**
392
-
393
- - poolId <code>bytes32</code>
394
- - from <code>EthAddress</code>
395
- - to <code>EthAddress</code>
396
- - tokens <code>Array.&lt;address&gt;</code>
397
- - maxAmountsIn <code>Array.&lt;uint256&gt;</code>
398
- - userData <code>bytes</code>
399
-
400
- <a name="BalancerV2WithdrawAction"></a>
401
-
402
- ## BalancerV2WithdrawAction
403
- BalancerV2WithdrawAction - Withdraw tokens from Balancer pool
404
-
405
- **Kind**: global class
406
- <a name="new_BalancerV2WithdrawAction_new"></a>
407
-
408
- ### new BalancerV2WithdrawAction(poolId, from, to, lpTokenAmount;, tokens, minAmountsOut, userData)
409
- **Params**
410
-
411
- - poolId <code>bytes32</code>
412
- - from <code>EthAddress</code>
413
- - to <code>EthAddress</code>
414
- - lpTokenAmount; <code>string</code>
415
- - tokens <code>Array.&lt;address&gt;</code>
416
- - minAmountsOut <code>Array.&lt;uint256&gt;</code>
417
- - userData <code>bytes</code>
418
-
419
- <a name="ChangeProxyOwnerAction"></a>
420
-
421
- ## ChangeProxyOwnerAction
422
- ChangeProxyOwnerAction - Changes EOA which owns the proxy that is being called
423
-
424
- **Kind**: global class
425
- <a name="new_ChangeProxyOwnerAction_new"></a>
426
-
427
- ### new ChangeProxyOwnerAction(newOwner)
428
- **Params**
429
-
430
- - newOwner <code>Address</code> - Address of new owner
431
-
432
- <a name="GasFeeAction"></a>
433
-
434
- ## GasFeeAction
435
- **Kind**: global class
436
- <a name="new_GasFeeAction_new"></a>
437
-
438
- ### new GasFeeAction(gasStart, feeToken, availableAmount, dfsFeeDivider)
439
- **Params**
440
-
441
- - gasStart <code>string</code> - Always 0 will be inject value
442
- - feeToken <code>string</code> - Address of the token we are taken the fee in
443
- - availableAmount - Amount we have available to pay the gas fee
444
- - dfsFeeDivider <code> = 2000</code> - Additional fee for DFS, default is 5bps
445
-
446
- <a name="PullTokenAction"></a>
447
-
448
- ## PullTokenAction
449
- Transfers specified token from a specified address to DSProxy (recipe)
450
-
451
- **Kind**: global class
452
- <a name="new_PullTokenAction_new"></a>
453
-
454
- ### new PullTokenAction(token, from, amount)
455
- **Params**
456
-
457
- - token <code>string</code> - Token address
458
- - from <code>string</code> - Transfer sender
459
- - amount <code>string</code> - Transfer amount (-1 for whole sender balance)
460
-
461
- <a name="SellAction"></a>
462
-
463
- ## SellAction
464
- Sells token on DeFi Saver exchange aggregator
465
-
466
- **Kind**: global class
467
- <a name="new_SellAction_new"></a>
468
-
469
- ### new SellAction(exchangeOrder, from, to, protocolFee)
470
- **Params**
471
-
472
- - exchangeOrder <code>Array</code> - Standard DFS Exchange data
473
- - from <code>string</code> - Order sender
474
- - to <code>string</code> - Order recipient
475
- - protocolFee <code>string</code> <code> = &quot;0&quot;</code> - 0x fee (amount of ETH in Wei)
476
-
477
- <a name="SendTokenAction"></a>
478
-
479
- ## SendTokenAction
480
- Transfers specified token from recipe (DsProxy) to specified address
481
-
482
- **Kind**: global class
483
- <a name="new_SendTokenAction_new"></a>
484
-
485
- ### new SendTokenAction(token, to, amount)
486
- **Params**
487
-
488
- - token <code>string</code> - Token address
489
- - to <code>string</code> - Transfer recipient
490
- - amount <code>string</code> - Transfer amount (-1 for whole Recipe (DsProxy) balance)
491
-
492
- <a name="SendTokenAndUnwrapAction"></a>
493
-
494
- ## SendTokenAndUnwrapAction
495
- Transfers specified token from recipe (DsProxy) to specified address unwraps if Weth address
496
-
497
- **Kind**: global class
498
- <a name="new_SendTokenAndUnwrapAction_new"></a>
499
-
500
- ### new SendTokenAndUnwrapAction(token, to, amount)
501
- **Params**
502
-
503
- - token <code>string</code> - Token address
504
- - to <code>string</code> - Transfer recipient
505
- - amount <code>string</code> - Transfer amount (-1 for whole Recipe (DsProxy) balance)
506
-
507
- <a name="SubInputsAction"></a>
508
-
509
- ## SubInputsAction
510
- Subs 2 inputs/return values
511
-
512
- **Kind**: global class
513
- <a name="SumInputsAction"></a>
514
-
515
- ## SumInputsAction
516
- Sums up 2 inputs/return values
517
-
518
- **Kind**: global class
519
- <a name="ToggleSubAction"></a>
520
-
521
- ## ToggleSubAction
522
- Sets the state of the sub to active or deactivated
523
-
524
- **Kind**: global class
525
- <a name="new_ToggleSubAction_new"></a>
526
-
527
- ### new ToggleSubAction(subId, active)
528
- **Params**
529
-
530
- - subId - Id of the subscription in the SubStorage contract
531
- - active - Set to true to activate action, to false to deactivate
532
-
533
- <a name="UnwrapEthAction"></a>
534
-
535
- ## UnwrapEthAction
536
- Unwraps a specified amount of WETH from the proxy
537
-
538
- **Kind**: global class
539
- <a name="new_UnwrapEthAction_new"></a>
540
-
541
- ### new UnwrapEthAction(amount, to)
542
- **Params**
543
-
544
- - amount <code>string</code> - Token address
545
- - to <code>string</code> - Transfer recipient
546
-
547
- <a name="UpdateSubAction"></a>
548
-
549
- ## UpdateSubAction
550
- Action for updating sub data
551
-
552
- **Kind**: global class
553
- <a name="new_UpdateSubAction_new"></a>
554
-
555
- ### new UpdateSubAction(subId, sub)
556
- **Params**
557
-
558
- - subId - id of the subscription in the SubStorage contract
559
- - sub - object that contains new sub information
560
-
561
- <a name="WrapEthAction"></a>
562
-
563
- ## WrapEthAction
564
- Wraps a specified amount of ETH from the wallet to WETH on the recipe
565
-
566
- **Kind**: global class
567
- <a name="new_WrapEthAction_new"></a>
568
-
569
- ### new WrapEthAction(amount)
570
- **Params**
571
-
572
- - amount <code>string</code> - Transfer amount
573
-
574
- <a name="MakerRatioCheckAction"></a>
575
-
576
- ## MakerRatioCheckAction
577
- MakerRatioCheckAction - Checks mcd ratio at end of all actions
578
-
579
- **Kind**: global class
580
- <a name="new_MakerRatioCheckAction_new"></a>
581
-
582
- ### new MakerRatioCheckAction(ratioState, checkTarget, targetRatio, vaultId, startRatioIndex)
583
- **Params**
584
-
585
- - ratioState <code>uint8</code> - If it should lower/higher
586
- - checkTarget
587
- - targetRatio <code>string</code> - The ratio user want to be at
588
- - vaultId <code>string</code> - Id of the vault
589
- - startRatioIndex <code>uint256</code> - Index in returnValues where ratio before actions is stored
590
-
591
- <a name="CompoundBorrowAction"></a>
592
-
593
- ## CompoundBorrowAction
594
- CompoundBorrowAction - Borrow tokens from Compound
595
-
596
- **Kind**: global class
597
- <a name="new_CompoundBorrowAction_new"></a>
598
-
599
- ### new CompoundBorrowAction(cTokenAddr, amount, to)
600
- **Params**
601
-
602
- - cTokenAddr <code>EthAddress</code>
603
- - amount <code>string</code> - Wei amount in underlying asset decimals (not cAsset) - ie. 18 dec for cETH, not 8
604
- - to <code>EthAddress</code>
605
-
606
- <a name="CompoundClaimAction"></a>
607
-
608
- ## CompoundClaimAction
609
- CompoundClaimAction - Claims Comp tokens for the specified address
610
-
611
- **Kind**: global class
612
- <a name="new_CompoundClaimAction_new"></a>
613
-
614
- ### new CompoundClaimAction(cSupplyAddresses, cBorrowAddresses, from, to)
615
- **Params**
616
-
617
- - cSupplyAddresses <code>Array.&lt;EthAddress&gt;</code>
618
- - cBorrowAddresses <code>Array.&lt;EthAddress&gt;</code>
619
- - from <code>EthAddress</code>
620
- - to <code>EthAddress</code>
621
-
622
- <a name="CompoundCollateralSwitchAction"></a>
623
-
624
- ## CompoundCollateralSwitchAction
625
- CompoundCollateralSwitchAction - Compound enable/disable cToken usage as collateral
626
-
627
- **Kind**: global class
628
- <a name="CompoundPaybackAction"></a>
629
-
630
- ## CompoundPaybackAction
631
- CompoundPaybackAction - Payback borrowed tokens from Compound
632
-
633
- **Kind**: global class
634
- <a name="new_CompoundPaybackAction_new"></a>
635
-
636
- ### new CompoundPaybackAction(cTokenAddr, amount, from, onBehalf)
637
- **Params**
638
-
639
- - cTokenAddr <code>EthAddress</code>
640
- - amount <code>string</code> - Wei amount in underlying asset decimals (not cAsset) - ie. 18 dec for cETH, not 8
641
- - from <code>EthAddress</code>
642
- - onBehalf <code>EthAddress</code> - Defaults to DsProxy address if 0x0
643
-
644
- <a name="CompoundSupplyAction"></a>
645
-
646
- ## CompoundSupplyAction
647
- CompoundSupplyAction - Supply token to an Compound position
648
-
649
- **Kind**: global class
650
- <a name="new_CompoundSupplyAction_new"></a>
651
-
652
- ### new CompoundSupplyAction(cTokenAddr, amount, from, enableAsColl)
653
- **Params**
654
-
655
- - cTokenAddr <code>EthAddress</code>
656
- - amount <code>string</code> - Wei amount in underlying asset decimals (not cAsset) - ie. 18 dec for cETH, not 8
657
- - from <code>EthAddress</code>
658
- - enableAsColl <code>boolean</code> <code> = true</code> - If we need to enable asset as collateral
659
-
660
- <a name="CompoundWithdrawAction"></a>
661
-
662
- ## CompoundWithdrawAction
663
- CompoundWithdrawAction - Withdraw token from an Compound position
664
-
665
- **Kind**: global class
666
- <a name="new_CompoundWithdrawAction_new"></a>
667
-
668
- ### new CompoundWithdrawAction(cTokenAddr, amount, to)
669
- **Params**
670
-
671
- - cTokenAddr <code>EthAddress</code>
672
- - amount <code>string</code> - Wei amount in underlying asset decimals (not cAsset) - ie. 18 dec for cETH, not 8
673
- - to <code>EthAddress</code>
674
-
675
- <a name="CurveClaimFeesAction"></a>
676
-
677
- ## CurveClaimFeesAction
678
- **Kind**: global class
679
- <a name="new_CurveClaimFeesAction_new"></a>
680
-
681
- ### new CurveClaimFeesAction(claimFor, receiver)
682
- **Params**
683
-
684
- - claimFor <code>EthAddress</code>
685
- - receiver <code>EthAddress</code>
686
-
687
- <a name="CurveDepositAction"></a>
688
-
689
- ## CurveDepositAction
690
- **Kind**: global class
691
- <a name="new_CurveDepositAction_new"></a>
692
-
693
- ### new CurveDepositAction(sender, receiver, depositTarget, lpToken, sig, minMintAmount, amounts, tokens, useUnderlying)
694
- **Params**
695
-
696
- - sender <code>EthAddress</code>
697
- - receiver <code>EthAddress</code>
698
- - depositTarget <code>EthAddress</code>
699
- - lpToken <code>EthAddress</code>
700
- - sig <code>bytes4</code>
701
- - minMintAmount <code>string</code>
702
- - amounts <code>Array.&lt;string&gt;</code>
703
- - tokens <code>Array.&lt;EthAddress&gt;</code>
704
- - useUnderlying <code>boolean</code>
705
-
706
- <a name="CurveGaugeDepositAction"></a>
707
-
708
- ## CurveGaugeDepositAction
709
- **Kind**: global class
710
- <a name="new_CurveGaugeDepositAction_new"></a>
711
-
712
- ### new CurveGaugeDepositAction(gaugeAddr, lpToken, sender, onBehalfOf, amount)
713
- **Params**
714
-
715
- - gaugeAddr <code>EthAddress</code>
716
- - lpToken <code>EthAddress</code>
717
- - sender <code>EthAddress</code>
718
- - onBehalfOf <code>EthAddress</code>
719
- - amount <code>string</code>
720
-
721
- <a name="CurveGaugeWithdrawAction"></a>
722
-
723
- ## CurveGaugeWithdrawAction
724
- **Kind**: global class
725
- <a name="new_CurveGaugeWithdrawAction_new"></a>
726
-
727
- ### new CurveGaugeWithdrawAction(gaugeAddr, lpToken, receiver, amount)
728
- **Params**
729
-
730
- - gaugeAddr <code>EthAddress</code>
731
- - lpToken <code>EthAddress</code>
732
- - receiver <code>EthAddress</code>
733
- - amount <code>string</code>
734
-
735
- <a name="CurveMintCrvAction"></a>
736
-
737
- ## CurveMintCrvAction
738
- **Kind**: global class
739
- <a name="new_CurveMintCrvAction_new"></a>
740
-
741
- ### new CurveMintCrvAction(gaugeAddrs, receiver)
742
- **Params**
743
-
744
- - gaugeAddrs <code>Array.&lt;EthAddress&gt;</code>
745
- - receiver <code>EthAddress</code>
746
-
747
- <a name="CurveStethPoolDepositAction"></a>
748
-
749
- ## CurveStethPoolDepositAction
750
- CurveStethPoolDepositAction - Deposits tokens into curve steth pool
751
-
752
- **Kind**: global class
753
- <a name="new_CurveStethPoolDepositAction_new"></a>
754
-
755
- ### new CurveStethPoolDepositAction(from, to, amounts, minMintAmount)
756
- **Params**
757
-
758
- - from <code>address</code>
759
- - to <code>address</code>
760
- - amounts <code>Array.&lt;string&gt;</code>
761
- - minMintAmount <code>string</code>
762
-
763
- <a name="CurveStethPoolWithdrawAction"></a>
764
-
765
- ## CurveStethPoolWithdrawAction
766
- CurveStethPoolWithdrawAction - Withdraws tokens from curve steth pool
767
-
768
- **Kind**: global class
769
- <a name="new_CurveStethPoolWithdrawAction_new"></a>
770
-
771
- ### new CurveStethPoolWithdrawAction(from, to, amounts, maxBurnAmount, returnValue)
772
- **Params**
773
-
774
- - from <code>address</code>
775
- - to <code>address</code>
776
- - amounts <code>Array.&lt;string&gt;</code>
777
- - maxBurnAmount <code>string</code>
778
- - returnValue <code>string</code>
779
-
780
- <a name="CurveSwapAction"></a>
781
-
782
- ## CurveSwapAction
783
- **Kind**: global class
784
- <a name="new_CurveSwapAction_new"></a>
785
-
786
- ### new CurveSwapAction(sender, receiver, pool, tokenA, tokenB, amount, expected)
787
- **Params**
788
-
789
- - sender <code>EthAddress</code>
790
- - receiver <code>EthAddress</code>
791
- - pool <code>EthAddress</code>
792
- - tokenA <code>EthAddress</code>
793
- - tokenB <code>EthAddress</code>
794
- - amount <code>string</code>
795
- - expected <code>string</code>
796
-
797
- <a name="CurveWithdrawAction"></a>
798
-
799
- ## CurveWithdrawAction
800
- **Kind**: global class
801
- <a name="new_CurveWithdrawAction_new"></a>
802
-
803
- ### new CurveWithdrawAction(sender, receiver, depositTarget, lpToken, sig, burnAmount, minAmounts, tokens, withdrawExact, useUnderlying)
804
- **Params**
805
-
806
- - sender <code>EthAddress</code>
807
- - receiver <code>EthAddress</code>
808
- - depositTarget <code>EthAddress</code>
809
- - lpToken <code>EthAddress</code>
810
- - sig <code>bytes4</code>
811
- - burnAmount <code>string</code>
812
- - minAmounts <code>Array.&lt;string&gt;</code>
813
- - tokens <code>Array.&lt;EthAddress&gt;</code>
814
- - withdrawExact <code>boolean</code>
815
- - useUnderlying <code>boolean</code>
816
-
817
- <a name="DyDxWithdrawAction"></a>
818
-
819
- ## DyDxWithdrawAction
820
- DyDxWithdrawAction - Withdraw token from an DyDx position
821
-
822
- **Kind**: global class
823
- <a name="new_DyDxWithdrawAction_new"></a>
824
-
825
- ### new DyDxWithdrawAction(tokenAddr, amount, to)
826
- **Params**
827
-
828
- - tokenAddr <code>EthAddress</code>
829
- - amount <code>string</code>
830
- - to <code>EthAddress</code> - Tokens will be withdrawn to this address
831
-
832
- <a name="AaveV2FlashLoanAction"></a>
833
-
834
- ## AaveV2FlashLoanAction
835
- Gets a flashloan from Aave v2
836
-
837
- **Kind**: global class
838
- <a name="new_AaveV2FlashLoanAction_new"></a>
839
-
840
- ### new AaveV2FlashLoanAction(loanAmounts, tokens, modes, loanPayer, flParamGetterAddr, flParamGetterData)
841
- **Params**
842
-
843
- - loanAmounts <code>Array.&lt;string&gt;</code>
844
- - tokens <code>Array.&lt;EthAddress&gt;</code>
845
- - modes <code>Array.&lt;number&gt;</code>
846
- - loanPayer <code>EthAddress</code>
847
- - flParamGetterAddr <code>EthAddress</code>
848
- - flParamGetterData <code>bytes</code>
849
-
850
- <a name="AaveV2FlashLoanPaybackAction"></a>
851
-
852
- ## AaveV2FlashLoanPaybackAction
853
- Pays back a single flashloan from Aave v2
854
-
855
- **Kind**: global class
856
- <a name="new_AaveV2FlashLoanPaybackAction_new"></a>
857
-
858
- ### new AaveV2FlashLoanPaybackAction(loanAmount, tokenAddr)
859
- **Params**
860
-
861
- - loanAmount <code>string</code>
862
- - tokenAddr <code>EthAddress</code>
863
-
864
- <a name="BalancerFlashLoanAction"></a>
865
-
866
- ## BalancerFlashLoanAction
867
- Gets a flashloan from Balancer
868
-
869
- **Kind**: global class
870
- <a name="new_BalancerFlashLoanAction_new"></a>
871
-
872
- ### new BalancerFlashLoanAction(tokens, amounts, flParamGetterAddr, flParamGetterData)
873
- **Params**
874
-
875
- - tokens <code>Array.&lt;EthAddress&gt;</code>
876
- - amounts <code>Array.&lt;string&gt;</code>
877
- - flParamGetterAddr <code>EthAddress</code>
878
- - flParamGetterData <code>bytes</code>
879
-
880
- <a name="BalancerFlashLoanPaybackAction"></a>
881
-
882
- ## BalancerFlashLoanPaybackAction
883
- Pays back a flashloan from Balancer
884
-
885
- **Kind**: global class
886
- <a name="new_BalancerFlashLoanPaybackAction_new"></a>
887
-
888
- ### new BalancerFlashLoanPaybackAction(loanAmount, tokenAddr)
889
- **Params**
890
-
891
- - loanAmount <code>string</code>
892
- - tokenAddr <code>EthAddress</code>
893
-
894
- <a name="DyDxFlashLoanAction"></a>
895
-
896
- ## DyDxFlashLoanAction
897
- Gets a flashloan from DyDx
898
-
899
- **Kind**: global class
900
- <a name="new_DyDxFlashLoanAction_new"></a>
901
-
902
- ### new DyDxFlashLoanAction(loanAmount, tokenAddr, flParamGetterAddr, flParamGetterData)
903
- **Params**
904
-
905
- - loanAmount <code>string</code>
906
- - tokenAddr <code>EthAddress</code>
907
- - flParamGetterAddr <code>EthAddress</code>
908
- - flParamGetterData <code>bytes</code>
909
-
910
- <a name="DyDxFlashLoanPaybackAction"></a>
911
-
912
- ## DyDxFlashLoanPaybackAction
913
- Pays back a flashloan from DyDx
914
-
915
- **Kind**: global class
916
- <a name="new_DyDxFlashLoanPaybackAction_new"></a>
917
-
918
- ### new DyDxFlashLoanPaybackAction(loanAmount, tokenAddr)
919
- **Params**
920
-
921
- - loanAmount <code>string</code>
922
- - tokenAddr <code>EthAddress</code>
923
-
924
- <a name="MakerFlashLoanAction"></a>
925
-
926
- ## MakerFlashLoanAction
927
- Gets a flashloan from Maker
928
-
929
- **Kind**: global class
930
- <a name="new_MakerFlashLoanAction_new"></a>
931
-
932
- ### new MakerFlashLoanAction(amount, flParamGetterAddr, flParamGetterData)
933
- **Params**
934
-
935
- - amount <code>string</code>
936
- - flParamGetterAddr <code>EthAddress</code>
937
- - flParamGetterData <code>bytes</code>
938
-
939
- <a name="MakerFlashLoanPaybackAction"></a>
940
-
941
- ## MakerFlashLoanPaybackAction
942
- Pays back a flashloan from Maker
943
-
944
- **Kind**: global class
945
- <a name="new_MakerFlashLoanPaybackAction_new"></a>
946
-
947
- ### new MakerFlashLoanPaybackAction(loanAmount)
948
- **Params**
949
-
950
- - loanAmount <code>string</code>
951
-
952
- <a name="GUniDeposit"></a>
953
-
954
- ## GUniDeposit
955
- Action that adds liquidity to G-UNI pool of interest (mints G-UNI LP tokens)
956
-
957
- **Kind**: global class
958
- <a name="GUniWithdraw"></a>
959
-
960
- ## GUniWithdraw
961
- Action that removes liquidity from a G-UNI pool and burns G-UNI LP tokens
962
-
963
- **Kind**: global class
964
- <a name="LidoStakeAction"></a>
965
-
966
- ## LidoStakeAction
967
- LidoStakeAction - Receives WETH, transforms it to ETH then sends it to Lido staking contract receiving stETH in return
968
-
969
- **Kind**: global class
970
- <a name="new_LidoStakeAction_new"></a>
971
-
972
- ### new LidoStakeAction(amount, from, to)
973
- **Params**
974
-
975
- - amount <code>string</code> - amount of WETH to pull and stake
976
- - from <code>EthAddress</code> - WETH will be taken from this address
977
- - to <code>EthAddress</code> - stETH will be sent to this address
978
-
979
- <a name="LidoUnwrapAction"></a>
980
-
981
- ## LidoUnwrapAction
982
- LidoUnwrapAction - Unwraps WStEth into StEth
983
-
984
- **Kind**: global class
985
- <a name="new_LidoUnwrapAction_new"></a>
986
-
987
- ### new LidoUnwrapAction(amount, from, to)
988
- **Params**
989
-
990
- - amount <code>string</code> - amount of WStEth to pull and Unwrap
991
- - from <code>EthAddress</code> - WstEth will be taken from this address
992
- - to <code>EthAddress</code> - stETH will be sent to this address
993
-
994
- <a name="LidoWrapAction"></a>
995
-
996
- ## LidoWrapAction
997
- LidoWrapAction - Turns WETH or StEth into WStEth
998
-
999
- **Kind**: global class
1000
- <a name="new_LidoWrapAction_new"></a>
1001
-
1002
- ### new LidoWrapAction(amount, from, to, useEth)
1003
- **Params**
1004
-
1005
- - amount <code>string</code> - amount to pull and stake
1006
- - from <code>EthAddress</code> - tokens will be taken from this address
1007
- - to <code>EthAddress</code> - WStEth will be sent to this address
1008
- - useEth <code>boolean</code> - true for using WETH, false for using stEth
1009
-
1010
- <a name="LiquityBorrowAction"></a>
1011
-
1012
- ## LiquityBorrowAction
1013
- LiquityBorrowAction - Borrows LUSD from the trove
1014
-
1015
- **Kind**: global class
1016
- <a name="new_LiquityBorrowAction_new"></a>
1017
-
1018
- ### new LiquityBorrowAction(maxFeePercentage, lusdAmount, to)
1019
- **Params**
1020
-
1021
- - maxFeePercentage - Highest borrowing fee to accept
1022
- - lusdAmount - Amount of LUSD tokens to borrow
1023
- - to - Address that will receive the borrowed tokens
1024
-
1025
- <a name="LiquityClaimAction"></a>
1026
-
1027
- ## LiquityClaimAction
1028
- LiquityClaimAction - Claims collateral from the closed trove
1029
-
1030
- **Kind**: global class
1031
- <a name="new_LiquityClaimAction_new"></a>
1032
-
1033
- ### new LiquityClaimAction(to)
1034
- **Params**
1035
-
1036
- - to - Address that will receive the collateral
1037
-
1038
- <a name="LiquityClaimSPRewardsAction"></a>
1039
-
1040
- ## LiquityClaimSPRewardsAction
1041
- LiquityClaimSPRewardsAction - Claims rewards from LUSD Stability Pool
1042
-
1043
- **Kind**: global class
1044
- <a name="new_LiquityClaimSPRewardsAction_new"></a>
1045
-
1046
- ### new LiquityClaimSPRewardsAction(wethTo, lqtyTo)
1047
- **Params**
1048
-
1049
- - wethTo - Address that will receive ETH gains
1050
- - lqtyTo - Address that will receive LQTY gains
1051
-
1052
- <a name="LiquityClaimStakingRewardsAction"></a>
1053
-
1054
- ## LiquityClaimStakingRewardsAction
1055
- LiquityClaimStakingRewardsAction - Claims rewards from LQTYStaking
1056
-
1057
- **Kind**: global class
1058
- <a name="new_LiquityClaimStakingRewardsAction_new"></a>
1059
-
1060
- ### new LiquityClaimStakingRewardsAction(wethTo, lusdTo)
1061
- **Params**
1062
-
1063
- - wethTo - Address that will receive ETH gains
1064
- - lusdTo - Address that will receive LUSD gains
1065
-
1066
- <a name="LiquityCloseAction"></a>
1067
-
1068
- ## LiquityCloseAction
1069
- LiquityCloseAction - Closes trove
1070
-
1071
- **Kind**: global class
1072
- <a name="new_LiquityCloseAction_new"></a>
1073
-
1074
- ### new LiquityCloseAction(from, to)
1075
- **Params**
1076
-
1077
- - from - Address that will supply the LUSD needed to repay the debt
1078
- - to - Address that will receive the freed collateral
1079
-
1080
- <a name="LiquityEthGainToTroveAction"></a>
1081
-
1082
- ## LiquityEthGainToTroveAction
1083
- LiquityEthGainToTroveAction - Withdraws earned ETH gains to the users Trove
1084
-
1085
- **Kind**: global class
1086
- <a name="new_LiquityEthGainToTroveAction_new"></a>
1087
-
1088
- ### new LiquityEthGainToTroveAction(lqtyTo)
1089
- **Params**
1090
-
1091
- - lqtyTo - Address that will receive LQTY gains
1092
-
1093
- <a name="LiquityOpenAction"></a>
1094
-
1095
- ## LiquityOpenAction
1096
- LiquityOpenAction - Opens up a trove
1097
-
1098
- **Kind**: global class
1099
- <a name="new_LiquityOpenAction_new"></a>
1100
-
1101
- ### new LiquityOpenAction(maxFeePercentage, collAmount, lusdAmount, from, to)
1102
- **Params**
1103
-
1104
- - maxFeePercentage - Highest borrowing fee to accept
1105
- - collAmount - Amount of WETH tokens to deposit as collateral
1106
- - lusdAmount - Amount of LUSD tokens to borrow
1107
- - from - Address where the tokens are pulled from
1108
- - to - Address that will receive borrowed tokens
1109
-
1110
- <a name="LiquityPaybackAction"></a>
1111
-
1112
- ## LiquityPaybackAction
1113
- LiquityPaybackAction - Repays LUSD to the trove
1114
-
1115
- **Kind**: global class
1116
- <a name="new_LiquityPaybackAction_new"></a>
1117
-
1118
- ### new LiquityPaybackAction(lusdAmount, from)
1119
- **Params**
1120
-
1121
- - lusdAmount - Amount of LUSD tokens to repay
1122
- - from - Address where the tokens are pulled from
1123
-
1124
- <a name="LiquityRedeemAction"></a>
1125
-
1126
- ## LiquityRedeemAction
1127
- LiquityRedeemAction - Redeems collateral from the liquity protocol
1128
-
1129
- **Kind**: global class
1130
- <a name="new_LiquityRedeemAction_new"></a>
1131
-
1132
- ### new LiquityRedeemAction(lusdAmount, from, to, maxFeePercentage)
1133
- **Params**
1134
-
1135
- - lusdAmount - Amount of LUSD tokens to send
1136
- - from - Address where the tokens are pulled from
1137
- - to - Address that will receive redeemed collateral
1138
- - maxFeePercentage - Highest redemption fee to accept
1139
-
1140
- <a name="LiquitySPDepositAction"></a>
1141
-
1142
- ## LiquitySPDepositAction
1143
- LiquitySPDepositAction - Deposits LUSD to the stability pool
1144
-
1145
- **Kind**: global class
1146
- <a name="new_LiquitySPDepositAction_new"></a>
1147
-
1148
- ### new LiquitySPDepositAction(lusdAmount, from, wethTo, lqtyTo)
1149
- **Params**
1150
-
1151
- - lusdAmount - Amount of LUSD tokens to deposit
1152
- - from - Address where the tokens are being pulled from
1153
- - wethTo - Address that will receive ETH gains
1154
- - lqtyTo - Address that will receive LQTY gains
1155
-
1156
- <a name="LiquitySPWithdrawAction"></a>
1157
-
1158
- ## LiquitySPWithdrawAction
1159
- LiquitySPWithdrawAction - Withdraws a portion of deposited LUSD from the stability pool
1160
-
1161
- **Kind**: global class
1162
- <a name="new_LiquitySPWithdrawAction_new"></a>
1163
-
1164
- ### new LiquitySPWithdrawAction(lusdAmount, to, wethTo, lqtyTo)
1165
- **Params**
1166
-
1167
- - lusdAmount - Amount of LUSD tokens to withdraw
1168
- - to - Address that will receive the LUSD tokens
1169
- - wethTo - Address that will receive ETH gains
1170
- - lqtyTo - Address that will receive LQTY gains
1171
-
1172
- <a name="LiquityStakeAction"></a>
1173
-
1174
- ## LiquityStakeAction
1175
- LiquityStakeAction - Stakes LQTY tokens
1176
-
1177
- **Kind**: global class
1178
- <a name="new_LiquityStakeAction_new"></a>
1179
-
1180
- ### new LiquityStakeAction(lqtyAmount, from, wethTo, lusdTo)
1181
- **Params**
1182
-
1183
- - lqtyAmount - Amount of LQTY tokens that will be staked
1184
- - from - Address where the tokens are being pulled from
1185
- - wethTo - Address that will receive ETH gains
1186
- - lusdTo - Address that will receive LUSD gains
1187
-
1188
- <a name="LiquitySupplyAction"></a>
1189
-
1190
- ## LiquitySupplyAction
1191
- LiquitySupplyAction - Supplies collateral to the trove
1192
-
1193
- **Kind**: global class
1194
- <a name="new_LiquitySupplyAction_new"></a>
1195
-
1196
- ### new LiquitySupplyAction(collAmount, from)
1197
- **Params**
1198
-
1199
- - collAmount - Amount of WETH tokens to supply
1200
- - from - Address where the tokens are pulled from
1201
-
1202
- <a name="LiquityUnstakeAction"></a>
1203
-
1204
- ## LiquityUnstakeAction
1205
- LiquityUnstakeAction - Unstakes LQTY tokens
1206
-
1207
- **Kind**: global class
1208
- <a name="new_LiquityUnstakeAction_new"></a>
1209
-
1210
- ### new LiquityUnstakeAction(lqtyAmount, to, wethTo, lusdTo)
1211
- **Params**
1212
-
1213
- - lqtyAmount - Amount of LQTY tokens that will be unstaked
1214
- - to - Address that will receive the tokens
1215
- - wethTo - Address that will receive ETH gains
1216
- - lusdTo - Address that will receive LUSD gains
1217
-
1218
- <a name="LiquityWithdrawAction"></a>
1219
-
1220
- ## LiquityWithdrawAction
1221
- LiquityWithdrawAction - Withdraws collateral from the trove
1222
-
1223
- **Kind**: global class
1224
- <a name="new_LiquityWithdrawAction_new"></a>
1225
-
1226
- ### new LiquityWithdrawAction(collAmount, to)
1227
- **Params**
1228
-
1229
- - collAmount - Amount of WETH tokens to withdraw
1230
- - to - Address that will receive the withdrawn tokens
1231
-
1232
- <a name="MakerClaimAction"></a>
1233
-
1234
- ## MakerClaimAction
1235
- MakerClaimAction - Claim bonus tokens in CropJoin types
1236
-
1237
- **Kind**: global class
1238
- <a name="new_MakerClaimAction_new"></a>
1239
-
1240
- ### new MakerClaimAction(vaultId, joinAddr, to)
1241
- **Params**
1242
-
1243
- - vaultId <code>VaultId</code>
1244
- - joinAddr <code>EthAddress</code>
1245
- - to <code>EthAddress</code> - Tokens will be sent to this address
1246
-
1247
- <a name="MakerGenerateAction"></a>
1248
-
1249
- ## MakerGenerateAction
1250
- MakerGenerateAction - Generated Dai from a Vault
1251
-
1252
- **Kind**: global class
1253
- <a name="new_MakerGenerateAction_new"></a>
1254
-
1255
- ### new MakerGenerateAction(vaultId, amount, to, mcdManager)
1256
- **Params**
1257
-
1258
- - vaultId <code>VaultId</code>
1259
- - amount <code>string</code> - Amount of DAI to generate in wei
1260
- - to <code>EthAddress</code> - Generated DAI will be sent to this address
1261
- - mcdManager <code>EthAddress</code>
1262
-
1263
- <a name="MakerGiveAction"></a>
1264
-
1265
- ## MakerGiveAction
1266
- MakerGiveAction - gives a vault to a selected address
1267
-
1268
- **Kind**: global class
1269
- <a name="new_MakerGiveAction_new"></a>
1270
-
1271
- ### new MakerGiveAction(vaultId, newOwner, createProxy, mcdManager)
1272
- **Params**
1273
-
1274
- - vaultId <code>VaultId</code>
1275
- - newOwner <code>EthAddress</code>
1276
- - createProxy <code>boolean</code>
1277
- - mcdManager <code>EthAddress</code>
1278
-
1279
- <a name="MakerMergeAction"></a>
1280
-
1281
- ## MakerMergeAction
1282
- MakerMergeAction - merged two vaults of the same type
1283
-
1284
- **Kind**: global class
1285
- <a name="new_MakerMergeAction_new"></a>
1286
-
1287
- ### new MakerMergeAction(srcVaultId, destVaultId, mcdManager)
1288
- **Params**
1289
-
1290
- - srcVaultId <code>VaultId</code>
1291
- - destVaultId <code>VaultId</code>
1292
- - mcdManager <code>EthAddress</code>
1293
-
1294
- <a name="MakerOpenVaultAction"></a>
1295
-
1296
- ## MakerOpenVaultAction
1297
- MakerOpenVaultAction
1298
-
1299
- **Kind**: global class
1300
- <a name="new_MakerOpenVaultAction_new"></a>
1301
-
1302
- ### new MakerOpenVaultAction(joinAddr, mcdManager)
1303
- **Params**
1304
-
1305
- - joinAddr <code>EthAddress</code>
1306
- - mcdManager <code>EthAddress</code>
1307
-
1308
- <a name="MakerPaybackAction"></a>
1309
-
1310
- ## MakerPaybackAction
1311
- MakerPaybackAction - Payback dai to a Vault
1312
-
1313
- **Kind**: global class
1314
- <a name="new_MakerPaybackAction_new"></a>
1315
-
1316
- ### new MakerPaybackAction(vaultId, amount, from, mcdManager)
1317
- **Params**
1318
-
1319
- - vaultId <code>VaultId</code>
1320
- - amount <code>string</code>
1321
- - from <code>EthAddress</code> - DAI will be sent from this address
1322
- - mcdManager <code>EthAddress</code>
1323
-
1324
- <a name="MakerRatioAction"></a>
1325
-
1326
- ## MakerRatioAction
1327
- MakerRatioAction
1328
-
1329
- **Kind**: global class
1330
- <a name="new_MakerRatioAction_new"></a>
1331
-
1332
- ### new MakerRatioAction(vaultId)
1333
- **Params**
1334
-
1335
- - vaultId <code>uint256</code>
1336
-
1337
- <a name="MakerSupplyAction"></a>
1338
-
1339
- ## MakerSupplyAction
1340
- MakerSupplyAction - Supply token to a Vault
1341
-
1342
- **Kind**: global class
1343
- <a name="new_MakerSupplyAction_new"></a>
1344
-
1345
- ### new MakerSupplyAction(vaultId, amount, joinAddr, from, mcdManager)
1346
- **Params**
1347
-
1348
- - vaultId <code>VaultId</code>
1349
- - amount <code>string</code>
1350
- - joinAddr <code>EthAddress</code>
1351
- - from <code>EthAddress</code> - Tokens will be supplied from this address
1352
- - mcdManager <code>EthAddress</code>
1353
-
1354
- <a name="MakerWithdrawAction"></a>
1355
-
1356
- ## MakerWithdrawAction
1357
- MakerWithdrawAction - Withdraw token from a Vault
1358
-
1359
- **Kind**: global class
1360
- <a name="new_MakerWithdrawAction_new"></a>
1361
-
1362
- ### new MakerWithdrawAction(vaultId, amount, joinAddr, to, mcdManager)
1363
- **Params**
1364
-
1365
- - vaultId <code>VaultId</code>
1366
- - amount <code>string</code>
1367
- - joinAddr <code>EthAddress</code>
1368
- - to <code>string</code>
1369
- - mcdManager <code>EthAddress</code>
1370
-
1371
- <a name="MStableClaimAction"></a>
1372
-
1373
- ## MStableClaimAction
1374
- MStableClaimAction
1375
-
1376
- **Kind**: global class
1377
- <a name="new_MStableClaimAction_new"></a>
1378
-
1379
- ### new MStableClaimAction(vaultAddress, to, first, last)
1380
- **Params**
1381
-
1382
- - vaultAddress
1383
- - to
1384
- - first
1385
- - last
1386
-
1387
- <a name="MStableDepositAction"></a>
1388
-
1389
- ## MStableDepositAction
1390
- MStableDepositAction
1391
-
1392
- **Kind**: global class
1393
- <a name="new_MStableDepositAction_new"></a>
1394
-
1395
- ### new MStableDepositAction(bAsset, mAsset, saveAddress, vaultAddress, from, to, amount, minOut, assetPair)
1396
- **Params**
1397
-
1398
- - bAsset
1399
- - mAsset
1400
- - saveAddress
1401
- - vaultAddress
1402
- - from
1403
- - to
1404
- - amount
1405
- - minOut
1406
- - assetPair
1407
-
1408
- <a name="MStableWithdrawAction"></a>
1409
-
1410
- ## MStableWithdrawAction
1411
- MStableWithdrawAction
1412
-
1413
- **Kind**: global class
1414
- <a name="new_MStableWithdrawAction_new"></a>
1415
-
1416
- ### new MStableWithdrawAction(bAsset, mAsset, saveAddress, vaultAddress, from, to, amount, minOut, assetPair)
1417
- **Params**
1418
-
1419
- - bAsset
1420
- - mAsset
1421
- - saveAddress
1422
- - vaultAddress
1423
- - from
1424
- - to
1425
- - amount
1426
- - minOut
1427
- - assetPair
1428
-
1429
- <a name="RariDepositAction"></a>
1430
-
1431
- ## RariDepositAction
1432
- RariDepositAction - action that deposits one stablecoin (DAI, USDC, USDT, TUSD, BUSD, and sUSD) and receives RSPT back
1433
-
1434
- **Kind**: global class
1435
- <a name="new_RariDepositAction_new"></a>
1436
-
1437
- ### new RariDepositAction(fundManager, stablecoinAddress, poolTokenAddress, amount, from, to)
1438
- **Params**
1439
-
1440
- - fundManager <code>EthAddress</code> - fundManager for the pool which we want to deposit into
1441
- - stablecoinAddress <code>EthAddress</code> - stablecoin token address
1442
- - poolTokenAddress <code>EthAddress</code> - poolTokenAddress
1443
- - amount <code>string</code> - amount of stablecoin to pull and deposit
1444
- - from <code>EthAddress</code> - stablecoins will be taken from this address
1445
- - to <code>EthAddress</code> - RSPT will be sent to this address
1446
-
1447
- <a name="RariWithdrawAction"></a>
1448
-
1449
- ## RariWithdrawAction
1450
- RariWithdrawAction - Send pool tokens to fund manager which burns them, receive underlying stablecoin back
1451
-
1452
- **Kind**: global class
1453
- <a name="new_RariWithdrawAction_new"></a>
1454
-
1455
- ### new RariWithdrawAction(fundManager, poolTokenAddress, poolTokensAmountToPull, from, stablecoinAddress, stablecoinAmountToWithdraw, to)
1456
- **Params**
1457
-
1458
- - fundManager <code>EthAddress</code> - fundManager for the pool which we want to withdraw from
1459
- - poolTokenAddress <code>EthAddress</code> - poolToken address
1460
- - poolTokensAmountToPull <code>string</code> - amount of tokens to pull to proxy
1461
- - from <code>EthAddress</code> - poolTokens will be taken from this address
1462
- - stablecoinAddress <code>EthAddress</code> - stablecoin token address
1463
- - stablecoinAmountToWithdraw <code>string</code> - amount of stablecoin to withdraw from Rari
1464
- - to <code>EthAddress</code> - stablecoins withdrawn will be sent to this address
1465
-
1466
- <a name="ReflexerGenerateAction"></a>
1467
-
1468
- ## ReflexerGenerateAction
1469
- ReflexerGenerateAction - Generated Dai from a Safe
1470
-
1471
- **Kind**: global class
1472
- <a name="new_ReflexerGenerateAction_new"></a>
1473
-
1474
- ### new ReflexerGenerateAction(safeId, amount, to)
1475
- **Params**
1476
-
1477
- - safeId <code>SafeId</code>
1478
- - amount <code>string</code> - Amount of Rai to generate in wei
1479
- - to <code>EthAddress</code> - Generated Rai will be sent to this address
1480
-
1481
- <a name="ReflexerNativeUniV2SaviourDepositAction"></a>
1482
-
1483
- ## ReflexerNativeUniV2SaviourDepositAction
1484
- ReflexerNativeUniV2SaviourDepositAction - Deposit lpToken in the contract in order to provide cover for a specific SAFE managed by the SAFE Manager
1485
-
1486
- **Kind**: global class
1487
- <a name="new_ReflexerNativeUniV2SaviourDepositAction_new"></a>
1488
-
1489
- ### new ReflexerNativeUniV2SaviourDepositAction(from, safeId, lpTokenAmount)
1490
- **Params**
1491
-
1492
- - from <code>EthAddress</code>
1493
- - safeId <code>SafeId</code>
1494
- - lpTokenAmount <code>string</code>
1495
-
1496
- <a name="ReflexerNativeUniV2SaviourGetReservesAction"></a>
1497
-
1498
- ## ReflexerNativeUniV2SaviourGetReservesAction
1499
- ReflexerNativeUniV2SaviourGetReservesAction - Get back system coins or collateral tokens that were withdrawn from Uniswap and not used to save a specific SAFE
1500
-
1501
- **Kind**: global class
1502
- <a name="new_ReflexerNativeUniV2SaviourGetReservesAction_new"></a>
1503
-
1504
- ### new ReflexerNativeUniV2SaviourGetReservesAction(to, safeId)
1505
- **Params**
1506
-
1507
- - to <code>EthAddress</code>
1508
- - safeId <code>SafeId</code>
1509
-
1510
- <a name="ReflexerNativeUniV2SaviourWithdrawAction"></a>
1511
-
1512
- ## ReflexerNativeUniV2SaviourWithdrawAction
1513
- ReflexerNativeUniV2SaviourWithdrawAction - Withdraw lpToken from the contract and provide less cover for a SAFE
1514
-
1515
- **Kind**: global class
1516
- <a name="new_ReflexerNativeUniV2SaviourWithdrawAction_new"></a>
1517
-
1518
- ### new ReflexerNativeUniV2SaviourWithdrawAction(to, safeId, lpTokenAmount)
1519
- **Params**
1520
-
1521
- - to <code>EthAddress</code>
1522
- - safeId <code>SafeId</code>
1523
- - lpTokenAmount <code>string</code>
1524
-
1525
- <a name="ReflexerOpenSafeAction"></a>
1526
-
1527
- ## ReflexerOpenSafeAction
1528
- ReflexerOpenSafeAction
1529
-
1530
- **Kind**: global class
1531
- <a name="new_ReflexerOpenSafeAction_new"></a>
1532
-
1533
- ### new ReflexerOpenSafeAction(adapterAddr)
1534
- **Params**
1535
-
1536
- - adapterAddr <code>EthAddress</code>
1537
-
1538
- <a name="ReflexerPaybackAction"></a>
1539
-
1540
- ## ReflexerPaybackAction
1541
- ReflexerPaybackAction - Payback RAI to a Safe
1542
-
1543
- **Kind**: global class
1544
- <a name="new_ReflexerPaybackAction_new"></a>
1545
-
1546
- ### new ReflexerPaybackAction(safeId, amount, from)
1547
- **Params**
1548
-
1549
- - safeId <code>SafeId</code>
1550
- - amount <code>string</code> - Amount of RAI to be payed back in wei
1551
- - from <code>EthAddress</code> - RAI will be sent from this address
1552
-
1553
- <a name="ReflexerSupplyAction"></a>
1554
-
1555
- ## ReflexerSupplyAction
1556
- ReflexerSupplyAction - Supply token to a Safe
1557
-
1558
- **Kind**: global class
1559
- <a name="new_ReflexerSupplyAction_new"></a>
1560
-
1561
- ### new ReflexerSupplyAction(safeId, amount, adapterAddr, from)
1562
- **Params**
1563
-
1564
- - safeId <code>SafeId</code>
1565
- - amount <code>string</code>
1566
- - adapterAddr <code>EthAddress</code>
1567
- - from <code>EthAddress</code> - Tokens will be supplied from this address
1568
-
1569
- <a name="ReflexerWithdrawAction"></a>
1570
-
1571
- ## ReflexerWithdrawAction
1572
- ReflexerWithdrawAction - Withdraw token from a Safe
1573
-
1574
- **Kind**: global class
1575
- <a name="new_ReflexerWithdrawAction_new"></a>
1576
-
1577
- ### new ReflexerWithdrawAction(vaultId, amount, adapterAddr, to)
1578
- **Params**
1579
-
1580
- - vaultId <code>SafeId</code>
1581
- - amount <code>string</code>
1582
- - adapterAddr <code>EthAddress</code>
1583
- - to <code>EthAddress</code>
1584
-
1585
- <a name="UniswapSupplyAction"></a>
1586
-
1587
- ## UniswapSupplyAction
1588
- Supplies a pair tokens to uniswap pool
1589
-
1590
- **Kind**: global class
1591
- <a name="new_UniswapSupplyAction_new"></a>
1592
-
1593
- ### new UniswapSupplyAction(tokenA, tokenB, from, to, amountADesired, amountBDesired, amountAMin, amountBMin, deadline)
1594
- **Params**
1595
-
1596
- - tokenA <code>EthAddress</code>
1597
- - tokenB <code>EthAddress</code>
1598
- - from <code>EthAddress</code>
1599
- - to <code>EthAddress</code>
1600
- - amountADesired <code>string</code>
1601
- - amountBDesired <code>string</code>
1602
- - amountAMin <code>string</code>
1603
- - amountBMin <code>string</code>
1604
- - deadline <code>number</code>
1605
-
1606
- <a name="UniswapWithdrawAction"></a>
1607
-
1608
- ## UniswapWithdrawAction
1609
- Withdraws liquidity from uniswap pool
1610
-
1611
- **Kind**: global class
1612
- <a name="new_UniswapWithdrawAction_new"></a>
1613
-
1614
- ### new UniswapWithdrawAction(tokenA, tokenB, liquidity, to, from, amountAMin, amountBMin, deadline)
1615
- **Params**
1616
-
1617
- - tokenA <code>EthAddress</code>
1618
- - tokenB <code>EthAddress</code>
1619
- - liquidity <code>string</code>
1620
- - to <code>EthAddress</code>
1621
- - from <code>EthAddress</code>
1622
- - amountAMin <code>string</code>
1623
- - amountBMin <code>string</code>
1624
- - deadline <code>number</code>
1625
-
1626
- <a name="UniswapV3CollectAction"></a>
1627
-
1628
- ## UniswapV3CollectAction
1629
- Collects fees earned by user on position identified by tokenId
1630
-
1631
- **Kind**: global class
1632
- <a name="new_UniswapV3CollectAction_new"></a>
1633
-
1634
- ### new UniswapV3CollectAction(tokenId, recipient, amount0Max, amount1Max, from)
1635
- **Params**
1636
-
1637
- - tokenId <code>string</code>
1638
- - recipient <code>EthAddress</code>
1639
- - amount0Max <code>string</code>
1640
- - amount1Max <code>string</code>
1641
- - from <code>EthAddress</code>
1642
-
1643
- <a name="UniswapV3CreatePoolAction"></a>
1644
-
1645
- ## UniswapV3CreatePoolAction
1646
- Create a uniswap v3 pool
1647
-
1648
- **Kind**: global class
1649
- <a name="new_UniswapV3CreatePoolAction_new"></a>
1650
-
1651
- ### new UniswapV3CreatePoolAction(token0, token1, fee, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min, recipient, deadline, from, sqrtPriceX96)
1652
- **Params**
1653
-
1654
- - token0 <code>EthAddress</code>
1655
- - token1 <code>EthAddress</code>
1656
- - fee <code>number</code>
1657
- - tickLower <code>number</code>
1658
- - tickUpper <code>number</code>
1659
- - amount0Desired <code>string</code>
1660
- - amount1Desired <code>string</code>
1661
- - amount0Min <code>string</code>
1662
- - amount1Min <code>string</code>
1663
- - recipient <code>EthAddress</code>
1664
- - deadline <code>number</code>
1665
- - from <code>EthAddress</code>
1666
- - sqrtPriceX96 <code>string</code>
1667
-
1668
- <a name="UniswapV3MintAction"></a>
1669
-
1670
- ## UniswapV3MintAction
1671
- Creates a new Uniswap v3 LP supply position
1672
-
1673
- **Kind**: global class
1674
- <a name="new_UniswapV3MintAction_new"></a>
1675
-
1676
- ### new UniswapV3MintAction(token0, token1, fee, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min, recipient, deadline, from)
1677
- **Params**
1678
-
1679
- - token0 <code>EthAddress</code>
1680
- - token1 <code>EthAddress</code>
1681
- - fee <code>number</code>
1682
- - tickLower <code>number</code>
1683
- - tickUpper <code>number</code>
1684
- - amount0Desired <code>string</code>
1685
- - amount1Desired <code>string</code>
1686
- - amount0Min <code>string</code>
1687
- - amount1Min <code>string</code>
1688
- - recipient <code>EthAddress</code>
1689
- - deadline <code>number</code>
1690
- - from <code>EthAddress</code>
1691
-
1692
- <a name="UniswapV3SupplyAction"></a>
1693
-
1694
- ## UniswapV3SupplyAction
1695
- Supplies a pair of tokens to an existing Uniswap v3 position identified by tokenId
1696
-
1697
- **Kind**: global class
1698
- <a name="new_UniswapV3SupplyAction_new"></a>
1699
-
1700
- ### new UniswapV3SupplyAction(tokenId, amount0Desired, amount1Desired, amount0Min, amount1Min, deadline, from, token0, token1)
1701
- **Params**
1702
-
1703
- - tokenId <code>string</code>
1704
- - amount0Desired <code>string</code>
1705
- - amount1Desired <code>string</code>
1706
- - amount0Min <code>string</code>
1707
- - amount1Min <code>string</code>
1708
- - deadline <code>number</code>
1709
- - from <code>EthAddress</code>
1710
- - token0 <code>EthAddress</code>
1711
- - token1 <code>EthAddress</code>
1712
-
1713
- <a name="UniswapV3WithdrawAction"></a>
1714
-
1715
- ## UniswapV3WithdrawAction
1716
- Burns liquidity, and returns underlying tokens to recipient
1717
-
1718
- **Kind**: global class
1719
- <a name="new_UniswapV3WithdrawAction_new"></a>
1720
-
1721
- ### new UniswapV3WithdrawAction(tokenId, liquidity, amount0Min, amount1Min, deadline, recipient, amount0Max, amount1Max, from)
1722
- **Params**
1723
-
1724
- - tokenId <code>string</code>
1725
- - liquidity <code>string</code>
1726
- - amount0Min <code>string</code>
1727
- - amount1Min <code>string</code>
1728
- - deadline <code>number</code>
1729
- - recipient <code>EthAddress</code>
1730
- - amount0Max <code>string</code>
1731
- - amount1Max <code>string</code>
1732
- - from <code>EthAddress</code>
1733
-
1734
- <a name="YearnSupplyAction"></a>
1735
-
1736
- ## YearnSupplyAction
1737
- YearnSupplyAction - Supply token to a Yearn vault
1738
-
1739
- **Kind**: global class
1740
- <a name="new_YearnSupplyAction_new"></a>
1741
-
1742
- ### new YearnSupplyAction(tokenAddr, amount, from, to)
1743
- **Params**
1744
-
1745
- - tokenAddr <code>EthAddress</code> - token address
1746
- - amount <code>string</code> - amount of tokens to supply
1747
- - from <code>EthAddress</code> - Tokens will be supplied from this address
1748
- - to <code>ETHAddress</code> - yTokens will be sent to this address
1749
-
1750
- <a name="YearnWithdrawAction"></a>
1751
-
1752
- ## YearnWithdrawAction
1753
- YearnWithdrawAction - Burns yTokens and receive underlying tokens in return
1754
-
1755
- **Kind**: global class
1756
- <a name="new_YearnWithdrawAction_new"></a>
1757
-
1758
- ### new YearnWithdrawAction(tokenAddr, amount, from, to)
1759
- **Params**
1760
-
1761
- - tokenAddr <code>EthAddress</code> - yToken address
1762
- - amount <code>string</code> - amount of yTokens to burn
1763
- - from <code>EthAddress</code> - yTokens will be taken from this address
1764
- - to <code>ETHAddress</code> - underlying tokens will be sent to this address
1765
-
1
+ ## Classes
2
+
3
+ <dl>
4
+ <dt><a href="#AaveBorrowAction">AaveBorrowAction</a></dt>
5
+ <dd><p>AaveBorrowAction - Borrow tokens from Aave</p>
6
+ </dd>
7
+ <dt><a href="#AaveClaimStkAaveAction">AaveClaimStkAaveAction</a></dt>
8
+ <dd><p>AaveClaimStkAaveAction - Claims stkAave from incentives controller</p>
9
+ </dd>
10
+ <dt><a href="#AaveCollateralSwitchAction">AaveCollateralSwitchAction</a></dt>
11
+ <dd><p>AaveCollateralSwitchAction - Aave enable/disable token usage as collateral</p>
12
+ </dd>
13
+ <dt><a href="#AavePaybackAction">AavePaybackAction</a></dt>
14
+ <dd><p>AavePaybackAction - Payback borrowed tokens from Aave</p>
15
+ </dd>
16
+ <dt><a href="#AaveSupplyAction">AaveSupplyAction</a></dt>
17
+ <dd><p>AaveSupplyAction - Supply token to an aave position</p>
18
+ </dd>
19
+ <dt><a href="#AaveWithdrawAction">AaveWithdrawAction</a></dt>
20
+ <dd><p>AaveWithdrawAction - Withdraw token from an aave position</p>
21
+ </dd>
22
+ <dt><a href="#BalancerV2ClaimAction">BalancerV2ClaimAction</a></dt>
23
+ <dd></dd>
24
+ <dt><a href="#BalancerV2SupplyAction">BalancerV2SupplyAction</a></dt>
25
+ <dd></dd>
26
+ <dt><a href="#BalancerV2WithdrawAction">BalancerV2WithdrawAction</a></dt>
27
+ <dd><p>BalancerV2WithdrawAction - Withdraw tokens from Balancer pool</p>
28
+ </dd>
29
+ <dt><a href="#ChangeProxyOwnerAction">ChangeProxyOwnerAction</a></dt>
30
+ <dd><p>ChangeProxyOwnerAction - Changes EOA which owns the proxy that is being called</p>
31
+ </dd>
32
+ <dt><a href="#GasFeeAction">GasFeeAction</a></dt>
33
+ <dd></dd>
34
+ <dt><a href="#PullTokenAction">PullTokenAction</a></dt>
35
+ <dd><p>Transfers specified token from a specified address to DSProxy (recipe)</p>
36
+ </dd>
37
+ <dt><a href="#SellAction">SellAction</a></dt>
38
+ <dd><p>Sells token on DeFi Saver exchange aggregator</p>
39
+ </dd>
40
+ <dt><a href="#SendTokenAction">SendTokenAction</a></dt>
41
+ <dd><p>Transfers specified token from recipe (DsProxy) to specified address</p>
42
+ </dd>
43
+ <dt><a href="#SendTokenAndUnwrapAction">SendTokenAndUnwrapAction</a></dt>
44
+ <dd><p>Transfers specified token from recipe (DsProxy) to specified address unwraps if Weth address</p>
45
+ </dd>
46
+ <dt><a href="#SubInputsAction">SubInputsAction</a></dt>
47
+ <dd><p>Subs 2 inputs/return values</p>
48
+ </dd>
49
+ <dt><a href="#SumInputsAction">SumInputsAction</a></dt>
50
+ <dd><p>Sums up 2 inputs/return values</p>
51
+ </dd>
52
+ <dt><a href="#ToggleSubAction">ToggleSubAction</a></dt>
53
+ <dd><p>Sets the state of the sub to active or deactivated</p>
54
+ </dd>
55
+ <dt><a href="#UnwrapEthAction">UnwrapEthAction</a></dt>
56
+ <dd><p>Unwraps a specified amount of WETH from the proxy</p>
57
+ </dd>
58
+ <dt><a href="#UpdateSubAction">UpdateSubAction</a></dt>
59
+ <dd><p>Action for updating sub data</p>
60
+ </dd>
61
+ <dt><a href="#WrapEthAction">WrapEthAction</a></dt>
62
+ <dd><p>Wraps a specified amount of ETH from the wallet to WETH on the recipe</p>
63
+ </dd>
64
+ <dt><a href="#MakerRatioCheckAction">MakerRatioCheckAction</a></dt>
65
+ <dd><p>MakerRatioCheckAction - Checks mcd ratio at end of all actions</p>
66
+ </dd>
67
+ <dt><a href="#CompoundBorrowAction">CompoundBorrowAction</a></dt>
68
+ <dd><p>CompoundBorrowAction - Borrow tokens from Compound</p>
69
+ </dd>
70
+ <dt><a href="#CompoundClaimAction">CompoundClaimAction</a></dt>
71
+ <dd><p>CompoundClaimAction - Claims Comp tokens for the specified address</p>
72
+ </dd>
73
+ <dt><a href="#CompoundCollateralSwitchAction">CompoundCollateralSwitchAction</a></dt>
74
+ <dd><p>CompoundCollateralSwitchAction - Compound enable/disable cToken usage as collateral</p>
75
+ </dd>
76
+ <dt><a href="#CompoundPaybackAction">CompoundPaybackAction</a></dt>
77
+ <dd><p>CompoundPaybackAction - Payback borrowed tokens from Compound</p>
78
+ </dd>
79
+ <dt><a href="#CompoundSupplyAction">CompoundSupplyAction</a></dt>
80
+ <dd><p>CompoundSupplyAction - Supply token to an Compound position</p>
81
+ </dd>
82
+ <dt><a href="#CompoundWithdrawAction">CompoundWithdrawAction</a></dt>
83
+ <dd><p>CompoundWithdrawAction - Withdraw token from an Compound position</p>
84
+ </dd>
85
+ <dt><a href="#CurveClaimFeesAction">CurveClaimFeesAction</a></dt>
86
+ <dd></dd>
87
+ <dt><a href="#CurveDepositAction">CurveDepositAction</a></dt>
88
+ <dd></dd>
89
+ <dt><a href="#CurveGaugeDepositAction">CurveGaugeDepositAction</a></dt>
90
+ <dd></dd>
91
+ <dt><a href="#CurveGaugeWithdrawAction">CurveGaugeWithdrawAction</a></dt>
92
+ <dd></dd>
93
+ <dt><a href="#CurveMintCrvAction">CurveMintCrvAction</a></dt>
94
+ <dd></dd>
95
+ <dt><a href="#CurveStethPoolDepositAction">CurveStethPoolDepositAction</a></dt>
96
+ <dd><p>CurveStethPoolDepositAction - Deposits tokens into curve steth pool</p>
97
+ </dd>
98
+ <dt><a href="#CurveStethPoolWithdrawAction">CurveStethPoolWithdrawAction</a></dt>
99
+ <dd><p>CurveStethPoolWithdrawAction - Withdraws tokens from curve steth pool</p>
100
+ </dd>
101
+ <dt><a href="#CurveSwapAction">CurveSwapAction</a></dt>
102
+ <dd></dd>
103
+ <dt><a href="#CurveWithdrawAction">CurveWithdrawAction</a></dt>
104
+ <dd></dd>
105
+ <dt><a href="#DyDxWithdrawAction">DyDxWithdrawAction</a></dt>
106
+ <dd><p>DyDxWithdrawAction - Withdraw token from an DyDx position</p>
107
+ </dd>
108
+ <dt><a href="#AaveV2FlashLoanAction">AaveV2FlashLoanAction</a></dt>
109
+ <dd><p>Gets a flashloan from Aave v2</p>
110
+ </dd>
111
+ <dt><a href="#AaveV2FlashLoanPaybackAction">AaveV2FlashLoanPaybackAction</a></dt>
112
+ <dd><p>Pays back a single flashloan from Aave v2</p>
113
+ </dd>
114
+ <dt><a href="#BalancerFlashLoanAction">BalancerFlashLoanAction</a></dt>
115
+ <dd><p>Gets a flashloan from Balancer</p>
116
+ </dd>
117
+ <dt><a href="#BalancerFlashLoanPaybackAction">BalancerFlashLoanPaybackAction</a></dt>
118
+ <dd><p>Pays back a flashloan from Balancer</p>
119
+ </dd>
120
+ <dt><a href="#DyDxFlashLoanAction">DyDxFlashLoanAction</a></dt>
121
+ <dd><p>Gets a flashloan from DyDx</p>
122
+ </dd>
123
+ <dt><a href="#DyDxFlashLoanPaybackAction">DyDxFlashLoanPaybackAction</a></dt>
124
+ <dd><p>Pays back a flashloan from DyDx</p>
125
+ </dd>
126
+ <dt><a href="#MakerFlashLoanAction">MakerFlashLoanAction</a></dt>
127
+ <dd><p>Gets a flashloan from Maker</p>
128
+ </dd>
129
+ <dt><a href="#MakerFlashLoanPaybackAction">MakerFlashLoanPaybackAction</a></dt>
130
+ <dd><p>Pays back a flashloan from Maker</p>
131
+ </dd>
132
+ <dt><a href="#GUniDeposit">GUniDeposit</a></dt>
133
+ <dd><p>Action that adds liquidity to G-UNI pool of interest (mints G-UNI LP tokens)</p>
134
+ </dd>
135
+ <dt><a href="#GUniWithdraw">GUniWithdraw</a></dt>
136
+ <dd><p>Action that removes liquidity from a G-UNI pool and burns G-UNI LP tokens</p>
137
+ </dd>
138
+ <dt><a href="#LidoStakeAction">LidoStakeAction</a></dt>
139
+ <dd><p>LidoStakeAction - Receives WETH, transforms it to ETH then sends it to Lido staking contract receiving stETH in return</p>
140
+ </dd>
141
+ <dt><a href="#LidoUnwrapAction">LidoUnwrapAction</a></dt>
142
+ <dd><p>LidoUnwrapAction - Unwraps WStEth into StEth</p>
143
+ </dd>
144
+ <dt><a href="#LidoWrapAction">LidoWrapAction</a></dt>
145
+ <dd><p>LidoWrapAction - Turns WETH or StEth into WStEth</p>
146
+ </dd>
147
+ <dt><a href="#LiquityBorrowAction">LiquityBorrowAction</a></dt>
148
+ <dd><p>LiquityBorrowAction - Borrows LUSD from the trove</p>
149
+ </dd>
150
+ <dt><a href="#LiquityClaimAction">LiquityClaimAction</a></dt>
151
+ <dd><p>LiquityClaimAction - Claims collateral from the closed trove</p>
152
+ </dd>
153
+ <dt><a href="#LiquityClaimSPRewardsAction">LiquityClaimSPRewardsAction</a></dt>
154
+ <dd><p>LiquityClaimSPRewardsAction - Claims rewards from LUSD Stability Pool</p>
155
+ </dd>
156
+ <dt><a href="#LiquityClaimStakingRewardsAction">LiquityClaimStakingRewardsAction</a></dt>
157
+ <dd><p>LiquityClaimStakingRewardsAction - Claims rewards from LQTYStaking</p>
158
+ </dd>
159
+ <dt><a href="#LiquityCloseAction">LiquityCloseAction</a></dt>
160
+ <dd><p>LiquityCloseAction - Closes trove</p>
161
+ </dd>
162
+ <dt><a href="#LiquityEthGainToTroveAction">LiquityEthGainToTroveAction</a></dt>
163
+ <dd><p>LiquityEthGainToTroveAction - Withdraws earned ETH gains to the users Trove</p>
164
+ </dd>
165
+ <dt><a href="#LiquityOpenAction">LiquityOpenAction</a></dt>
166
+ <dd><p>LiquityOpenAction - Opens up a trove</p>
167
+ </dd>
168
+ <dt><a href="#LiquityPaybackAction">LiquityPaybackAction</a></dt>
169
+ <dd><p>LiquityPaybackAction - Repays LUSD to the trove</p>
170
+ </dd>
171
+ <dt><a href="#LiquityRedeemAction">LiquityRedeemAction</a></dt>
172
+ <dd><p>LiquityRedeemAction - Redeems collateral from the liquity protocol</p>
173
+ </dd>
174
+ <dt><a href="#LiquitySPDepositAction">LiquitySPDepositAction</a></dt>
175
+ <dd><p>LiquitySPDepositAction - Deposits LUSD to the stability pool</p>
176
+ </dd>
177
+ <dt><a href="#LiquitySPWithdrawAction">LiquitySPWithdrawAction</a></dt>
178
+ <dd><p>LiquitySPWithdrawAction - Withdraws a portion of deposited LUSD from the stability pool</p>
179
+ </dd>
180
+ <dt><a href="#LiquityStakeAction">LiquityStakeAction</a></dt>
181
+ <dd><p>LiquityStakeAction - Stakes LQTY tokens</p>
182
+ </dd>
183
+ <dt><a href="#LiquitySupplyAction">LiquitySupplyAction</a></dt>
184
+ <dd><p>LiquitySupplyAction - Supplies collateral to the trove</p>
185
+ </dd>
186
+ <dt><a href="#LiquityUnstakeAction">LiquityUnstakeAction</a></dt>
187
+ <dd><p>LiquityUnstakeAction - Unstakes LQTY tokens</p>
188
+ </dd>
189
+ <dt><a href="#LiquityWithdrawAction">LiquityWithdrawAction</a></dt>
190
+ <dd><p>LiquityWithdrawAction - Withdraws collateral from the trove</p>
191
+ </dd>
192
+ <dt><a href="#MakerClaimAction">MakerClaimAction</a></dt>
193
+ <dd><p>MakerClaimAction - Claim bonus tokens in CropJoin types</p>
194
+ </dd>
195
+ <dt><a href="#MakerGenerateAction">MakerGenerateAction</a></dt>
196
+ <dd><p>MakerGenerateAction - Generated Dai from a Vault</p>
197
+ </dd>
198
+ <dt><a href="#MakerGiveAction">MakerGiveAction</a></dt>
199
+ <dd><p>MakerGiveAction - gives a vault to a selected address</p>
200
+ </dd>
201
+ <dt><a href="#MakerMergeAction">MakerMergeAction</a></dt>
202
+ <dd><p>MakerMergeAction - merged two vaults of the same type</p>
203
+ </dd>
204
+ <dt><a href="#MakerOpenVaultAction">MakerOpenVaultAction</a></dt>
205
+ <dd><p>MakerOpenVaultAction</p>
206
+ </dd>
207
+ <dt><a href="#MakerPaybackAction">MakerPaybackAction</a></dt>
208
+ <dd><p>MakerPaybackAction - Payback dai to a Vault</p>
209
+ </dd>
210
+ <dt><a href="#MakerRatioAction">MakerRatioAction</a></dt>
211
+ <dd><p>MakerRatioAction</p>
212
+ </dd>
213
+ <dt><a href="#MakerSupplyAction">MakerSupplyAction</a></dt>
214
+ <dd><p>MakerSupplyAction - Supply token to a Vault</p>
215
+ </dd>
216
+ <dt><a href="#MakerWithdrawAction">MakerWithdrawAction</a></dt>
217
+ <dd><p>MakerWithdrawAction - Withdraw token from a Vault</p>
218
+ </dd>
219
+ <dt><a href="#MStableClaimAction">MStableClaimAction</a></dt>
220
+ <dd><p>MStableClaimAction</p>
221
+ </dd>
222
+ <dt><a href="#MStableDepositAction">MStableDepositAction</a></dt>
223
+ <dd><p>MStableDepositAction</p>
224
+ </dd>
225
+ <dt><a href="#MStableWithdrawAction">MStableWithdrawAction</a></dt>
226
+ <dd><p>MStableWithdrawAction</p>
227
+ </dd>
228
+ <dt><a href="#RariDepositAction">RariDepositAction</a></dt>
229
+ <dd><p>RariDepositAction - action that deposits one stablecoin (DAI, USDC, USDT, TUSD, BUSD, and sUSD) and receives RSPT back</p>
230
+ </dd>
231
+ <dt><a href="#RariWithdrawAction">RariWithdrawAction</a></dt>
232
+ <dd><p>RariWithdrawAction - Send pool tokens to fund manager which burns them, receive underlying stablecoin back</p>
233
+ </dd>
234
+ <dt><a href="#ReflexerGenerateAction">ReflexerGenerateAction</a></dt>
235
+ <dd><p>ReflexerGenerateAction - Generated Dai from a Safe</p>
236
+ </dd>
237
+ <dt><a href="#ReflexerNativeUniV2SaviourDepositAction">ReflexerNativeUniV2SaviourDepositAction</a></dt>
238
+ <dd><p>ReflexerNativeUniV2SaviourDepositAction - Deposit lpToken in the contract in order to provide cover for a specific SAFE managed by the SAFE Manager</p>
239
+ </dd>
240
+ <dt><a href="#ReflexerNativeUniV2SaviourGetReservesAction">ReflexerNativeUniV2SaviourGetReservesAction</a></dt>
241
+ <dd><p>ReflexerNativeUniV2SaviourGetReservesAction - Get back system coins or collateral tokens that were withdrawn from Uniswap and not used to save a specific SAFE</p>
242
+ </dd>
243
+ <dt><a href="#ReflexerNativeUniV2SaviourWithdrawAction">ReflexerNativeUniV2SaviourWithdrawAction</a></dt>
244
+ <dd><p>ReflexerNativeUniV2SaviourWithdrawAction - Withdraw lpToken from the contract and provide less cover for a SAFE</p>
245
+ </dd>
246
+ <dt><a href="#ReflexerOpenSafeAction">ReflexerOpenSafeAction</a></dt>
247
+ <dd><p>ReflexerOpenSafeAction</p>
248
+ </dd>
249
+ <dt><a href="#ReflexerPaybackAction">ReflexerPaybackAction</a></dt>
250
+ <dd><p>ReflexerPaybackAction - Payback RAI to a Safe</p>
251
+ </dd>
252
+ <dt><a href="#ReflexerSupplyAction">ReflexerSupplyAction</a></dt>
253
+ <dd><p>ReflexerSupplyAction - Supply token to a Safe</p>
254
+ </dd>
255
+ <dt><a href="#ReflexerWithdrawAction">ReflexerWithdrawAction</a></dt>
256
+ <dd><p>ReflexerWithdrawAction - Withdraw token from a Safe</p>
257
+ </dd>
258
+ <dt><a href="#UniswapSupplyAction">UniswapSupplyAction</a></dt>
259
+ <dd><p>Supplies a pair tokens to uniswap pool</p>
260
+ </dd>
261
+ <dt><a href="#UniswapWithdrawAction">UniswapWithdrawAction</a></dt>
262
+ <dd><p>Withdraws liquidity from uniswap pool</p>
263
+ </dd>
264
+ <dt><a href="#UniswapV3CollectAction">UniswapV3CollectAction</a></dt>
265
+ <dd><p>Collects fees earned by user on position identified by tokenId</p>
266
+ </dd>
267
+ <dt><a href="#UniswapV3CreatePoolAction">UniswapV3CreatePoolAction</a></dt>
268
+ <dd><p>Create a uniswap v3 pool</p>
269
+ </dd>
270
+ <dt><a href="#UniswapV3MintAction">UniswapV3MintAction</a></dt>
271
+ <dd><p>Creates a new Uniswap v3 LP supply position</p>
272
+ </dd>
273
+ <dt><a href="#UniswapV3SupplyAction">UniswapV3SupplyAction</a></dt>
274
+ <dd><p>Supplies a pair of tokens to an existing Uniswap v3 position identified by tokenId</p>
275
+ </dd>
276
+ <dt><a href="#UniswapV3WithdrawAction">UniswapV3WithdrawAction</a></dt>
277
+ <dd><p>Burns liquidity, and returns underlying tokens to recipient</p>
278
+ </dd>
279
+ <dt><a href="#YearnSupplyAction">YearnSupplyAction</a></dt>
280
+ <dd><p>YearnSupplyAction - Supply token to a Yearn vault</p>
281
+ </dd>
282
+ <dt><a href="#YearnWithdrawAction">YearnWithdrawAction</a></dt>
283
+ <dd><p>YearnWithdrawAction - Burns yTokens and receive underlying tokens in return</p>
284
+ </dd>
285
+ </dl>
286
+
287
+ <a name="AaveBorrowAction"></a>
288
+
289
+ ## AaveBorrowAction
290
+ AaveBorrowAction - Borrow tokens from Aave
291
+
292
+ **Kind**: global class
293
+ <a name="new_AaveBorrowAction_new"></a>
294
+
295
+ ### new AaveBorrowAction(market, tokenAddr, amount, rateMode, to, onBehalf)
296
+ **Params**
297
+
298
+ - market <code>EthAddress</code>
299
+ - tokenAddr <code>EthAddress</code>
300
+ - amount <code>string</code>
301
+ - rateMode <code>number</code> - Borrow rate mode: Stable: 1, Variable: 2
302
+ - to <code>EthAddress</code> - Borrowed tokens will be sent to this address
303
+ - onBehalf <code>EthAddress</code>
304
+
305
+ <a name="AaveClaimStkAaveAction"></a>
306
+
307
+ ## AaveClaimStkAaveAction
308
+ AaveClaimStkAaveAction - Claims stkAave from incentives controller
309
+
310
+ **Kind**: global class
311
+ <a name="AaveCollateralSwitchAction"></a>
312
+
313
+ ## AaveCollateralSwitchAction
314
+ AaveCollateralSwitchAction - Aave enable/disable token usage as collateral
315
+
316
+ **Kind**: global class
317
+ <a name="AavePaybackAction"></a>
318
+
319
+ ## AavePaybackAction
320
+ AavePaybackAction - Payback borrowed tokens from Aave
321
+
322
+ **Kind**: global class
323
+ <a name="new_AavePaybackAction_new"></a>
324
+
325
+ ### new AavePaybackAction(market, tokenAddr, amount, rateMode, from, onBehalf)
326
+ **Params**
327
+
328
+ - market <code>EthAddress</code>
329
+ - tokenAddr <code>EthAddress</code>
330
+ - amount <code>string</code>
331
+ - rateMode <code>number</code> - Borrow rate mode: Stable: 1, Variable: 2
332
+ - from <code>EthAddress</code> - Tokens will be sent from this address
333
+ - onBehalf <code>EthAddress</code>
334
+
335
+ <a name="AaveSupplyAction"></a>
336
+
337
+ ## AaveSupplyAction
338
+ AaveSupplyAction - Supply token to an aave position
339
+
340
+ **Kind**: global class
341
+ <a name="new_AaveSupplyAction_new"></a>
342
+
343
+ ### new AaveSupplyAction(market, tokenAddr, amount, from, onBehalf, enableAsColl)
344
+ **Params**
345
+
346
+ - market <code>EthAddress</code>
347
+ - tokenAddr <code>EthAddress</code>
348
+ - amount <code>string</code>
349
+ - from <code>EthAddress</code> - Tokens will be supplied from this address
350
+ - onBehalf <code>EthAddress</code> - Tokens will be supplied to this address' position (defaults to sender's proxy)
351
+ - enableAsColl <code>boolean</code> - If we need to enable asset as collateral
352
+
353
+ <a name="AaveWithdrawAction"></a>
354
+
355
+ ## AaveWithdrawAction
356
+ AaveWithdrawAction - Withdraw token from an aave position
357
+
358
+ **Kind**: global class
359
+ <a name="new_AaveWithdrawAction_new"></a>
360
+
361
+ ### new AaveWithdrawAction(market, tokenAddr, amount, to)
362
+ **Params**
363
+
364
+ - market <code>EthAddress</code>
365
+ - tokenAddr <code>EthAddress</code>
366
+ - amount <code>string</code>
367
+ - to <code>EthAddress</code> - Tokens will be withdrawn to this address
368
+
369
+ <a name="BalancerV2ClaimAction"></a>
370
+
371
+ ## BalancerV2ClaimAction
372
+ **Kind**: global class
373
+ <a name="new_BalancerV2ClaimAction_new"></a>
374
+
375
+ ### new BalancerV2ClaimAction(liquidityProvider, to, weeks, balances, merkleProofs)
376
+ **Params**
377
+
378
+ - liquidityProvider <code>EthAddress</code>
379
+ - to <code>EthAddress</code>
380
+ - weeks <code>Array.&lt;uint256&gt;</code>
381
+ - balances <code>uint256</code>
382
+ - merkleProofs <code>Array.&lt;Array.&lt;bytes32&gt;&gt;</code>
383
+
384
+ <a name="BalancerV2SupplyAction"></a>
385
+
386
+ ## BalancerV2SupplyAction
387
+ **Kind**: global class
388
+ <a name="new_BalancerV2SupplyAction_new"></a>
389
+
390
+ ### new BalancerV2SupplyAction(poolId, from, to, tokens, maxAmountsIn, userData)
391
+ **Params**
392
+
393
+ - poolId <code>bytes32</code>
394
+ - from <code>EthAddress</code>
395
+ - to <code>EthAddress</code>
396
+ - tokens <code>Array.&lt;address&gt;</code>
397
+ - maxAmountsIn <code>Array.&lt;uint256&gt;</code>
398
+ - userData <code>bytes</code>
399
+
400
+ <a name="BalancerV2WithdrawAction"></a>
401
+
402
+ ## BalancerV2WithdrawAction
403
+ BalancerV2WithdrawAction - Withdraw tokens from Balancer pool
404
+
405
+ **Kind**: global class
406
+ <a name="new_BalancerV2WithdrawAction_new"></a>
407
+
408
+ ### new BalancerV2WithdrawAction(poolId, from, to, lpTokenAmount;, tokens, minAmountsOut, userData)
409
+ **Params**
410
+
411
+ - poolId <code>bytes32</code>
412
+ - from <code>EthAddress</code>
413
+ - to <code>EthAddress</code>
414
+ - lpTokenAmount; <code>string</code>
415
+ - tokens <code>Array.&lt;address&gt;</code>
416
+ - minAmountsOut <code>Array.&lt;uint256&gt;</code>
417
+ - userData <code>bytes</code>
418
+
419
+ <a name="ChangeProxyOwnerAction"></a>
420
+
421
+ ## ChangeProxyOwnerAction
422
+ ChangeProxyOwnerAction - Changes EOA which owns the proxy that is being called
423
+
424
+ **Kind**: global class
425
+ <a name="new_ChangeProxyOwnerAction_new"></a>
426
+
427
+ ### new ChangeProxyOwnerAction(newOwner)
428
+ **Params**
429
+
430
+ - newOwner <code>Address</code> - Address of new owner
431
+
432
+ <a name="GasFeeAction"></a>
433
+
434
+ ## GasFeeAction
435
+ **Kind**: global class
436
+ <a name="new_GasFeeAction_new"></a>
437
+
438
+ ### new GasFeeAction(gasStart, feeToken, availableAmount, dfsFeeDivider)
439
+ **Params**
440
+
441
+ - gasStart <code>string</code> - Always 0 will be inject value
442
+ - feeToken <code>string</code> - Address of the token we are taken the fee in
443
+ - availableAmount - Amount we have available to pay the gas fee
444
+ - dfsFeeDivider <code> = 2000</code> - Additional fee for DFS, default is 5bps
445
+
446
+ <a name="PullTokenAction"></a>
447
+
448
+ ## PullTokenAction
449
+ Transfers specified token from a specified address to DSProxy (recipe)
450
+
451
+ **Kind**: global class
452
+ <a name="new_PullTokenAction_new"></a>
453
+
454
+ ### new PullTokenAction(token, from, amount)
455
+ **Params**
456
+
457
+ - token <code>string</code> - Token address
458
+ - from <code>string</code> - Transfer sender
459
+ - amount <code>string</code> - Transfer amount (-1 for whole sender balance)
460
+
461
+ <a name="SellAction"></a>
462
+
463
+ ## SellAction
464
+ Sells token on DeFi Saver exchange aggregator
465
+
466
+ **Kind**: global class
467
+ <a name="new_SellAction_new"></a>
468
+
469
+ ### new SellAction(exchangeOrder, from, to, protocolFee)
470
+ **Params**
471
+
472
+ - exchangeOrder <code>Array</code> - Standard DFS Exchange data
473
+ - from <code>string</code> - Order sender
474
+ - to <code>string</code> - Order recipient
475
+ - protocolFee <code>string</code> <code> = &quot;0&quot;</code> - 0x fee (amount of ETH in Wei)
476
+
477
+ <a name="SendTokenAction"></a>
478
+
479
+ ## SendTokenAction
480
+ Transfers specified token from recipe (DsProxy) to specified address
481
+
482
+ **Kind**: global class
483
+ <a name="new_SendTokenAction_new"></a>
484
+
485
+ ### new SendTokenAction(token, to, amount)
486
+ **Params**
487
+
488
+ - token <code>string</code> - Token address
489
+ - to <code>string</code> - Transfer recipient
490
+ - amount <code>string</code> - Transfer amount (-1 for whole Recipe (DsProxy) balance)
491
+
492
+ <a name="SendTokenAndUnwrapAction"></a>
493
+
494
+ ## SendTokenAndUnwrapAction
495
+ Transfers specified token from recipe (DsProxy) to specified address unwraps if Weth address
496
+
497
+ **Kind**: global class
498
+ <a name="new_SendTokenAndUnwrapAction_new"></a>
499
+
500
+ ### new SendTokenAndUnwrapAction(token, to, amount)
501
+ **Params**
502
+
503
+ - token <code>string</code> - Token address
504
+ - to <code>string</code> - Transfer recipient
505
+ - amount <code>string</code> - Transfer amount (-1 for whole Recipe (DsProxy) balance)
506
+
507
+ <a name="SubInputsAction"></a>
508
+
509
+ ## SubInputsAction
510
+ Subs 2 inputs/return values
511
+
512
+ **Kind**: global class
513
+ <a name="SumInputsAction"></a>
514
+
515
+ ## SumInputsAction
516
+ Sums up 2 inputs/return values
517
+
518
+ **Kind**: global class
519
+ <a name="ToggleSubAction"></a>
520
+
521
+ ## ToggleSubAction
522
+ Sets the state of the sub to active or deactivated
523
+
524
+ **Kind**: global class
525
+ <a name="new_ToggleSubAction_new"></a>
526
+
527
+ ### new ToggleSubAction(subId, active)
528
+ **Params**
529
+
530
+ - subId - Id of the subscription in the SubStorage contract
531
+ - active - Set to true to activate action, to false to deactivate
532
+
533
+ <a name="UnwrapEthAction"></a>
534
+
535
+ ## UnwrapEthAction
536
+ Unwraps a specified amount of WETH from the proxy
537
+
538
+ **Kind**: global class
539
+ <a name="new_UnwrapEthAction_new"></a>
540
+
541
+ ### new UnwrapEthAction(amount, to)
542
+ **Params**
543
+
544
+ - amount <code>string</code> - Token address
545
+ - to <code>string</code> - Transfer recipient
546
+
547
+ <a name="UpdateSubAction"></a>
548
+
549
+ ## UpdateSubAction
550
+ Action for updating sub data
551
+
552
+ **Kind**: global class
553
+ <a name="new_UpdateSubAction_new"></a>
554
+
555
+ ### new UpdateSubAction(subId, sub)
556
+ **Params**
557
+
558
+ - subId - id of the subscription in the SubStorage contract
559
+ - sub - object that contains new sub information
560
+
561
+ <a name="WrapEthAction"></a>
562
+
563
+ ## WrapEthAction
564
+ Wraps a specified amount of ETH from the wallet to WETH on the recipe
565
+
566
+ **Kind**: global class
567
+ <a name="new_WrapEthAction_new"></a>
568
+
569
+ ### new WrapEthAction(amount)
570
+ **Params**
571
+
572
+ - amount <code>string</code> - Transfer amount
573
+
574
+ <a name="MakerRatioCheckAction"></a>
575
+
576
+ ## MakerRatioCheckAction
577
+ MakerRatioCheckAction - Checks mcd ratio at end of all actions
578
+
579
+ **Kind**: global class
580
+ <a name="new_MakerRatioCheckAction_new"></a>
581
+
582
+ ### new MakerRatioCheckAction(ratioState, checkTarget, targetRatio, vaultId, startRatioIndex)
583
+ **Params**
584
+
585
+ - ratioState <code>uint8</code> - If it should lower/higher
586
+ - checkTarget
587
+ - targetRatio <code>string</code> - The ratio user want to be at
588
+ - vaultId <code>string</code> - Id of the vault
589
+ - startRatioIndex <code>uint256</code> - Index in returnValues where ratio before actions is stored
590
+
591
+ <a name="CompoundBorrowAction"></a>
592
+
593
+ ## CompoundBorrowAction
594
+ CompoundBorrowAction - Borrow tokens from Compound
595
+
596
+ **Kind**: global class
597
+ <a name="new_CompoundBorrowAction_new"></a>
598
+
599
+ ### new CompoundBorrowAction(cTokenAddr, amount, to)
600
+ **Params**
601
+
602
+ - cTokenAddr <code>EthAddress</code>
603
+ - amount <code>string</code> - Wei amount in underlying asset decimals (not cAsset) - ie. 18 dec for cETH, not 8
604
+ - to <code>EthAddress</code>
605
+
606
+ <a name="CompoundClaimAction"></a>
607
+
608
+ ## CompoundClaimAction
609
+ CompoundClaimAction - Claims Comp tokens for the specified address
610
+
611
+ **Kind**: global class
612
+ <a name="new_CompoundClaimAction_new"></a>
613
+
614
+ ### new CompoundClaimAction(cSupplyAddresses, cBorrowAddresses, from, to)
615
+ **Params**
616
+
617
+ - cSupplyAddresses <code>Array.&lt;EthAddress&gt;</code>
618
+ - cBorrowAddresses <code>Array.&lt;EthAddress&gt;</code>
619
+ - from <code>EthAddress</code>
620
+ - to <code>EthAddress</code>
621
+
622
+ <a name="CompoundCollateralSwitchAction"></a>
623
+
624
+ ## CompoundCollateralSwitchAction
625
+ CompoundCollateralSwitchAction - Compound enable/disable cToken usage as collateral
626
+
627
+ **Kind**: global class
628
+ <a name="CompoundPaybackAction"></a>
629
+
630
+ ## CompoundPaybackAction
631
+ CompoundPaybackAction - Payback borrowed tokens from Compound
632
+
633
+ **Kind**: global class
634
+ <a name="new_CompoundPaybackAction_new"></a>
635
+
636
+ ### new CompoundPaybackAction(cTokenAddr, amount, from, onBehalf)
637
+ **Params**
638
+
639
+ - cTokenAddr <code>EthAddress</code>
640
+ - amount <code>string</code> - Wei amount in underlying asset decimals (not cAsset) - ie. 18 dec for cETH, not 8
641
+ - from <code>EthAddress</code>
642
+ - onBehalf <code>EthAddress</code> - Defaults to DsProxy address if 0x0
643
+
644
+ <a name="CompoundSupplyAction"></a>
645
+
646
+ ## CompoundSupplyAction
647
+ CompoundSupplyAction - Supply token to an Compound position
648
+
649
+ **Kind**: global class
650
+ <a name="new_CompoundSupplyAction_new"></a>
651
+
652
+ ### new CompoundSupplyAction(cTokenAddr, amount, from, enableAsColl)
653
+ **Params**
654
+
655
+ - cTokenAddr <code>EthAddress</code>
656
+ - amount <code>string</code> - Wei amount in underlying asset decimals (not cAsset) - ie. 18 dec for cETH, not 8
657
+ - from <code>EthAddress</code>
658
+ - enableAsColl <code>boolean</code> <code> = true</code> - If we need to enable asset as collateral
659
+
660
+ <a name="CompoundWithdrawAction"></a>
661
+
662
+ ## CompoundWithdrawAction
663
+ CompoundWithdrawAction - Withdraw token from an Compound position
664
+
665
+ **Kind**: global class
666
+ <a name="new_CompoundWithdrawAction_new"></a>
667
+
668
+ ### new CompoundWithdrawAction(cTokenAddr, amount, to)
669
+ **Params**
670
+
671
+ - cTokenAddr <code>EthAddress</code>
672
+ - amount <code>string</code> - Wei amount in underlying asset decimals (not cAsset) - ie. 18 dec for cETH, not 8
673
+ - to <code>EthAddress</code>
674
+
675
+ <a name="CurveClaimFeesAction"></a>
676
+
677
+ ## CurveClaimFeesAction
678
+ **Kind**: global class
679
+ <a name="new_CurveClaimFeesAction_new"></a>
680
+
681
+ ### new CurveClaimFeesAction(claimFor, receiver)
682
+ **Params**
683
+
684
+ - claimFor <code>EthAddress</code>
685
+ - receiver <code>EthAddress</code>
686
+
687
+ <a name="CurveDepositAction"></a>
688
+
689
+ ## CurveDepositAction
690
+ **Kind**: global class
691
+ <a name="new_CurveDepositAction_new"></a>
692
+
693
+ ### new CurveDepositAction(sender, receiver, depositTarget, lpToken, sig, minMintAmount, amounts, tokens, useUnderlying)
694
+ **Params**
695
+
696
+ - sender <code>EthAddress</code>
697
+ - receiver <code>EthAddress</code>
698
+ - depositTarget <code>EthAddress</code>
699
+ - lpToken <code>EthAddress</code>
700
+ - sig <code>bytes4</code>
701
+ - minMintAmount <code>string</code>
702
+ - amounts <code>Array.&lt;string&gt;</code>
703
+ - tokens <code>Array.&lt;EthAddress&gt;</code>
704
+ - useUnderlying <code>boolean</code>
705
+
706
+ <a name="CurveGaugeDepositAction"></a>
707
+
708
+ ## CurveGaugeDepositAction
709
+ **Kind**: global class
710
+ <a name="new_CurveGaugeDepositAction_new"></a>
711
+
712
+ ### new CurveGaugeDepositAction(gaugeAddr, lpToken, sender, onBehalfOf, amount)
713
+ **Params**
714
+
715
+ - gaugeAddr <code>EthAddress</code>
716
+ - lpToken <code>EthAddress</code>
717
+ - sender <code>EthAddress</code>
718
+ - onBehalfOf <code>EthAddress</code>
719
+ - amount <code>string</code>
720
+
721
+ <a name="CurveGaugeWithdrawAction"></a>
722
+
723
+ ## CurveGaugeWithdrawAction
724
+ **Kind**: global class
725
+ <a name="new_CurveGaugeWithdrawAction_new"></a>
726
+
727
+ ### new CurveGaugeWithdrawAction(gaugeAddr, lpToken, receiver, amount)
728
+ **Params**
729
+
730
+ - gaugeAddr <code>EthAddress</code>
731
+ - lpToken <code>EthAddress</code>
732
+ - receiver <code>EthAddress</code>
733
+ - amount <code>string</code>
734
+
735
+ <a name="CurveMintCrvAction"></a>
736
+
737
+ ## CurveMintCrvAction
738
+ **Kind**: global class
739
+ <a name="new_CurveMintCrvAction_new"></a>
740
+
741
+ ### new CurveMintCrvAction(gaugeAddrs, receiver)
742
+ **Params**
743
+
744
+ - gaugeAddrs <code>Array.&lt;EthAddress&gt;</code>
745
+ - receiver <code>EthAddress</code>
746
+
747
+ <a name="CurveStethPoolDepositAction"></a>
748
+
749
+ ## CurveStethPoolDepositAction
750
+ CurveStethPoolDepositAction - Deposits tokens into curve steth pool
751
+
752
+ **Kind**: global class
753
+ <a name="new_CurveStethPoolDepositAction_new"></a>
754
+
755
+ ### new CurveStethPoolDepositAction(from, to, amounts, minMintAmount)
756
+ **Params**
757
+
758
+ - from <code>address</code>
759
+ - to <code>address</code>
760
+ - amounts <code>Array.&lt;string&gt;</code>
761
+ - minMintAmount <code>string</code>
762
+
763
+ <a name="CurveStethPoolWithdrawAction"></a>
764
+
765
+ ## CurveStethPoolWithdrawAction
766
+ CurveStethPoolWithdrawAction - Withdraws tokens from curve steth pool
767
+
768
+ **Kind**: global class
769
+ <a name="new_CurveStethPoolWithdrawAction_new"></a>
770
+
771
+ ### new CurveStethPoolWithdrawAction(from, to, amounts, maxBurnAmount, returnValue)
772
+ **Params**
773
+
774
+ - from <code>address</code>
775
+ - to <code>address</code>
776
+ - amounts <code>Array.&lt;string&gt;</code>
777
+ - maxBurnAmount <code>string</code>
778
+ - returnValue <code>string</code>
779
+
780
+ <a name="CurveSwapAction"></a>
781
+
782
+ ## CurveSwapAction
783
+ **Kind**: global class
784
+ <a name="new_CurveSwapAction_new"></a>
785
+
786
+ ### new CurveSwapAction(sender, receiver, pool, tokenA, tokenB, amount, expected)
787
+ **Params**
788
+
789
+ - sender <code>EthAddress</code>
790
+ - receiver <code>EthAddress</code>
791
+ - pool <code>EthAddress</code>
792
+ - tokenA <code>EthAddress</code>
793
+ - tokenB <code>EthAddress</code>
794
+ - amount <code>string</code>
795
+ - expected <code>string</code>
796
+
797
+ <a name="CurveWithdrawAction"></a>
798
+
799
+ ## CurveWithdrawAction
800
+ **Kind**: global class
801
+ <a name="new_CurveWithdrawAction_new"></a>
802
+
803
+ ### new CurveWithdrawAction(sender, receiver, depositTarget, lpToken, sig, burnAmount, minAmounts, tokens, withdrawExact, useUnderlying)
804
+ **Params**
805
+
806
+ - sender <code>EthAddress</code>
807
+ - receiver <code>EthAddress</code>
808
+ - depositTarget <code>EthAddress</code>
809
+ - lpToken <code>EthAddress</code>
810
+ - sig <code>bytes4</code>
811
+ - burnAmount <code>string</code>
812
+ - minAmounts <code>Array.&lt;string&gt;</code>
813
+ - tokens <code>Array.&lt;EthAddress&gt;</code>
814
+ - withdrawExact <code>boolean</code>
815
+ - useUnderlying <code>boolean</code>
816
+
817
+ <a name="DyDxWithdrawAction"></a>
818
+
819
+ ## DyDxWithdrawAction
820
+ DyDxWithdrawAction - Withdraw token from an DyDx position
821
+
822
+ **Kind**: global class
823
+ <a name="new_DyDxWithdrawAction_new"></a>
824
+
825
+ ### new DyDxWithdrawAction(tokenAddr, amount, to)
826
+ **Params**
827
+
828
+ - tokenAddr <code>EthAddress</code>
829
+ - amount <code>string</code>
830
+ - to <code>EthAddress</code> - Tokens will be withdrawn to this address
831
+
832
+ <a name="AaveV2FlashLoanAction"></a>
833
+
834
+ ## AaveV2FlashLoanAction
835
+ Gets a flashloan from Aave v2
836
+
837
+ **Kind**: global class
838
+ <a name="new_AaveV2FlashLoanAction_new"></a>
839
+
840
+ ### new AaveV2FlashLoanAction(loanAmounts, tokens, modes, loanPayer, flParamGetterAddr, flParamGetterData)
841
+ **Params**
842
+
843
+ - loanAmounts <code>Array.&lt;string&gt;</code>
844
+ - tokens <code>Array.&lt;EthAddress&gt;</code>
845
+ - modes <code>Array.&lt;number&gt;</code>
846
+ - loanPayer <code>EthAddress</code>
847
+ - flParamGetterAddr <code>EthAddress</code>
848
+ - flParamGetterData <code>bytes</code>
849
+
850
+ <a name="AaveV2FlashLoanPaybackAction"></a>
851
+
852
+ ## AaveV2FlashLoanPaybackAction
853
+ Pays back a single flashloan from Aave v2
854
+
855
+ **Kind**: global class
856
+ <a name="new_AaveV2FlashLoanPaybackAction_new"></a>
857
+
858
+ ### new AaveV2FlashLoanPaybackAction(loanAmount, tokenAddr)
859
+ **Params**
860
+
861
+ - loanAmount <code>string</code>
862
+ - tokenAddr <code>EthAddress</code>
863
+
864
+ <a name="BalancerFlashLoanAction"></a>
865
+
866
+ ## BalancerFlashLoanAction
867
+ Gets a flashloan from Balancer
868
+
869
+ **Kind**: global class
870
+ <a name="new_BalancerFlashLoanAction_new"></a>
871
+
872
+ ### new BalancerFlashLoanAction(tokens, amounts, flParamGetterAddr, flParamGetterData)
873
+ **Params**
874
+
875
+ - tokens <code>Array.&lt;EthAddress&gt;</code>
876
+ - amounts <code>Array.&lt;string&gt;</code>
877
+ - flParamGetterAddr <code>EthAddress</code>
878
+ - flParamGetterData <code>bytes</code>
879
+
880
+ <a name="BalancerFlashLoanPaybackAction"></a>
881
+
882
+ ## BalancerFlashLoanPaybackAction
883
+ Pays back a flashloan from Balancer
884
+
885
+ **Kind**: global class
886
+ <a name="new_BalancerFlashLoanPaybackAction_new"></a>
887
+
888
+ ### new BalancerFlashLoanPaybackAction(loanAmount, tokenAddr)
889
+ **Params**
890
+
891
+ - loanAmount <code>string</code>
892
+ - tokenAddr <code>EthAddress</code>
893
+
894
+ <a name="DyDxFlashLoanAction"></a>
895
+
896
+ ## DyDxFlashLoanAction
897
+ Gets a flashloan from DyDx
898
+
899
+ **Kind**: global class
900
+ <a name="new_DyDxFlashLoanAction_new"></a>
901
+
902
+ ### new DyDxFlashLoanAction(loanAmount, tokenAddr, flParamGetterAddr, flParamGetterData)
903
+ **Params**
904
+
905
+ - loanAmount <code>string</code>
906
+ - tokenAddr <code>EthAddress</code>
907
+ - flParamGetterAddr <code>EthAddress</code>
908
+ - flParamGetterData <code>bytes</code>
909
+
910
+ <a name="DyDxFlashLoanPaybackAction"></a>
911
+
912
+ ## DyDxFlashLoanPaybackAction
913
+ Pays back a flashloan from DyDx
914
+
915
+ **Kind**: global class
916
+ <a name="new_DyDxFlashLoanPaybackAction_new"></a>
917
+
918
+ ### new DyDxFlashLoanPaybackAction(loanAmount, tokenAddr)
919
+ **Params**
920
+
921
+ - loanAmount <code>string</code>
922
+ - tokenAddr <code>EthAddress</code>
923
+
924
+ <a name="MakerFlashLoanAction"></a>
925
+
926
+ ## MakerFlashLoanAction
927
+ Gets a flashloan from Maker
928
+
929
+ **Kind**: global class
930
+ <a name="new_MakerFlashLoanAction_new"></a>
931
+
932
+ ### new MakerFlashLoanAction(amount, flParamGetterAddr, flParamGetterData)
933
+ **Params**
934
+
935
+ - amount <code>string</code>
936
+ - flParamGetterAddr <code>EthAddress</code>
937
+ - flParamGetterData <code>bytes</code>
938
+
939
+ <a name="MakerFlashLoanPaybackAction"></a>
940
+
941
+ ## MakerFlashLoanPaybackAction
942
+ Pays back a flashloan from Maker
943
+
944
+ **Kind**: global class
945
+ <a name="new_MakerFlashLoanPaybackAction_new"></a>
946
+
947
+ ### new MakerFlashLoanPaybackAction(loanAmount)
948
+ **Params**
949
+
950
+ - loanAmount <code>string</code>
951
+
952
+ <a name="GUniDeposit"></a>
953
+
954
+ ## GUniDeposit
955
+ Action that adds liquidity to G-UNI pool of interest (mints G-UNI LP tokens)
956
+
957
+ **Kind**: global class
958
+ <a name="GUniWithdraw"></a>
959
+
960
+ ## GUniWithdraw
961
+ Action that removes liquidity from a G-UNI pool and burns G-UNI LP tokens
962
+
963
+ **Kind**: global class
964
+ <a name="LidoStakeAction"></a>
965
+
966
+ ## LidoStakeAction
967
+ LidoStakeAction - Receives WETH, transforms it to ETH then sends it to Lido staking contract receiving stETH in return
968
+
969
+ **Kind**: global class
970
+ <a name="new_LidoStakeAction_new"></a>
971
+
972
+ ### new LidoStakeAction(amount, from, to)
973
+ **Params**
974
+
975
+ - amount <code>string</code> - amount of WETH to pull and stake
976
+ - from <code>EthAddress</code> - WETH will be taken from this address
977
+ - to <code>EthAddress</code> - stETH will be sent to this address
978
+
979
+ <a name="LidoUnwrapAction"></a>
980
+
981
+ ## LidoUnwrapAction
982
+ LidoUnwrapAction - Unwraps WStEth into StEth
983
+
984
+ **Kind**: global class
985
+ <a name="new_LidoUnwrapAction_new"></a>
986
+
987
+ ### new LidoUnwrapAction(amount, from, to)
988
+ **Params**
989
+
990
+ - amount <code>string</code> - amount of WStEth to pull and Unwrap
991
+ - from <code>EthAddress</code> - WstEth will be taken from this address
992
+ - to <code>EthAddress</code> - stETH will be sent to this address
993
+
994
+ <a name="LidoWrapAction"></a>
995
+
996
+ ## LidoWrapAction
997
+ LidoWrapAction - Turns WETH or StEth into WStEth
998
+
999
+ **Kind**: global class
1000
+ <a name="new_LidoWrapAction_new"></a>
1001
+
1002
+ ### new LidoWrapAction(amount, from, to, useEth)
1003
+ **Params**
1004
+
1005
+ - amount <code>string</code> - amount to pull and stake
1006
+ - from <code>EthAddress</code> - tokens will be taken from this address
1007
+ - to <code>EthAddress</code> - WStEth will be sent to this address
1008
+ - useEth <code>boolean</code> - true for using WETH, false for using stEth
1009
+
1010
+ <a name="LiquityBorrowAction"></a>
1011
+
1012
+ ## LiquityBorrowAction
1013
+ LiquityBorrowAction - Borrows LUSD from the trove
1014
+
1015
+ **Kind**: global class
1016
+ <a name="new_LiquityBorrowAction_new"></a>
1017
+
1018
+ ### new LiquityBorrowAction(maxFeePercentage, lusdAmount, to)
1019
+ **Params**
1020
+
1021
+ - maxFeePercentage - Highest borrowing fee to accept
1022
+ - lusdAmount - Amount of LUSD tokens to borrow
1023
+ - to - Address that will receive the borrowed tokens
1024
+
1025
+ <a name="LiquityClaimAction"></a>
1026
+
1027
+ ## LiquityClaimAction
1028
+ LiquityClaimAction - Claims collateral from the closed trove
1029
+
1030
+ **Kind**: global class
1031
+ <a name="new_LiquityClaimAction_new"></a>
1032
+
1033
+ ### new LiquityClaimAction(to)
1034
+ **Params**
1035
+
1036
+ - to - Address that will receive the collateral
1037
+
1038
+ <a name="LiquityClaimSPRewardsAction"></a>
1039
+
1040
+ ## LiquityClaimSPRewardsAction
1041
+ LiquityClaimSPRewardsAction - Claims rewards from LUSD Stability Pool
1042
+
1043
+ **Kind**: global class
1044
+ <a name="new_LiquityClaimSPRewardsAction_new"></a>
1045
+
1046
+ ### new LiquityClaimSPRewardsAction(wethTo, lqtyTo)
1047
+ **Params**
1048
+
1049
+ - wethTo - Address that will receive ETH gains
1050
+ - lqtyTo - Address that will receive LQTY gains
1051
+
1052
+ <a name="LiquityClaimStakingRewardsAction"></a>
1053
+
1054
+ ## LiquityClaimStakingRewardsAction
1055
+ LiquityClaimStakingRewardsAction - Claims rewards from LQTYStaking
1056
+
1057
+ **Kind**: global class
1058
+ <a name="new_LiquityClaimStakingRewardsAction_new"></a>
1059
+
1060
+ ### new LiquityClaimStakingRewardsAction(wethTo, lusdTo)
1061
+ **Params**
1062
+
1063
+ - wethTo - Address that will receive ETH gains
1064
+ - lusdTo - Address that will receive LUSD gains
1065
+
1066
+ <a name="LiquityCloseAction"></a>
1067
+
1068
+ ## LiquityCloseAction
1069
+ LiquityCloseAction - Closes trove
1070
+
1071
+ **Kind**: global class
1072
+ <a name="new_LiquityCloseAction_new"></a>
1073
+
1074
+ ### new LiquityCloseAction(from, to)
1075
+ **Params**
1076
+
1077
+ - from - Address that will supply the LUSD needed to repay the debt
1078
+ - to - Address that will receive the freed collateral
1079
+
1080
+ <a name="LiquityEthGainToTroveAction"></a>
1081
+
1082
+ ## LiquityEthGainToTroveAction
1083
+ LiquityEthGainToTroveAction - Withdraws earned ETH gains to the users Trove
1084
+
1085
+ **Kind**: global class
1086
+ <a name="new_LiquityEthGainToTroveAction_new"></a>
1087
+
1088
+ ### new LiquityEthGainToTroveAction(lqtyTo)
1089
+ **Params**
1090
+
1091
+ - lqtyTo - Address that will receive LQTY gains
1092
+
1093
+ <a name="LiquityOpenAction"></a>
1094
+
1095
+ ## LiquityOpenAction
1096
+ LiquityOpenAction - Opens up a trove
1097
+
1098
+ **Kind**: global class
1099
+ <a name="new_LiquityOpenAction_new"></a>
1100
+
1101
+ ### new LiquityOpenAction(maxFeePercentage, collAmount, lusdAmount, from, to)
1102
+ **Params**
1103
+
1104
+ - maxFeePercentage - Highest borrowing fee to accept
1105
+ - collAmount - Amount of WETH tokens to deposit as collateral
1106
+ - lusdAmount - Amount of LUSD tokens to borrow
1107
+ - from - Address where the tokens are pulled from
1108
+ - to - Address that will receive borrowed tokens
1109
+
1110
+ <a name="LiquityPaybackAction"></a>
1111
+
1112
+ ## LiquityPaybackAction
1113
+ LiquityPaybackAction - Repays LUSD to the trove
1114
+
1115
+ **Kind**: global class
1116
+ <a name="new_LiquityPaybackAction_new"></a>
1117
+
1118
+ ### new LiquityPaybackAction(lusdAmount, from)
1119
+ **Params**
1120
+
1121
+ - lusdAmount - Amount of LUSD tokens to repay
1122
+ - from - Address where the tokens are pulled from
1123
+
1124
+ <a name="LiquityRedeemAction"></a>
1125
+
1126
+ ## LiquityRedeemAction
1127
+ LiquityRedeemAction - Redeems collateral from the liquity protocol
1128
+
1129
+ **Kind**: global class
1130
+ <a name="new_LiquityRedeemAction_new"></a>
1131
+
1132
+ ### new LiquityRedeemAction(lusdAmount, from, to, maxFeePercentage)
1133
+ **Params**
1134
+
1135
+ - lusdAmount - Amount of LUSD tokens to send
1136
+ - from - Address where the tokens are pulled from
1137
+ - to - Address that will receive redeemed collateral
1138
+ - maxFeePercentage - Highest redemption fee to accept
1139
+
1140
+ <a name="LiquitySPDepositAction"></a>
1141
+
1142
+ ## LiquitySPDepositAction
1143
+ LiquitySPDepositAction - Deposits LUSD to the stability pool
1144
+
1145
+ **Kind**: global class
1146
+ <a name="new_LiquitySPDepositAction_new"></a>
1147
+
1148
+ ### new LiquitySPDepositAction(lusdAmount, from, wethTo, lqtyTo)
1149
+ **Params**
1150
+
1151
+ - lusdAmount - Amount of LUSD tokens to deposit
1152
+ - from - Address where the tokens are being pulled from
1153
+ - wethTo - Address that will receive ETH gains
1154
+ - lqtyTo - Address that will receive LQTY gains
1155
+
1156
+ <a name="LiquitySPWithdrawAction"></a>
1157
+
1158
+ ## LiquitySPWithdrawAction
1159
+ LiquitySPWithdrawAction - Withdraws a portion of deposited LUSD from the stability pool
1160
+
1161
+ **Kind**: global class
1162
+ <a name="new_LiquitySPWithdrawAction_new"></a>
1163
+
1164
+ ### new LiquitySPWithdrawAction(lusdAmount, to, wethTo, lqtyTo)
1165
+ **Params**
1166
+
1167
+ - lusdAmount - Amount of LUSD tokens to withdraw
1168
+ - to - Address that will receive the LUSD tokens
1169
+ - wethTo - Address that will receive ETH gains
1170
+ - lqtyTo - Address that will receive LQTY gains
1171
+
1172
+ <a name="LiquityStakeAction"></a>
1173
+
1174
+ ## LiquityStakeAction
1175
+ LiquityStakeAction - Stakes LQTY tokens
1176
+
1177
+ **Kind**: global class
1178
+ <a name="new_LiquityStakeAction_new"></a>
1179
+
1180
+ ### new LiquityStakeAction(lqtyAmount, from, wethTo, lusdTo)
1181
+ **Params**
1182
+
1183
+ - lqtyAmount - Amount of LQTY tokens that will be staked
1184
+ - from - Address where the tokens are being pulled from
1185
+ - wethTo - Address that will receive ETH gains
1186
+ - lusdTo - Address that will receive LUSD gains
1187
+
1188
+ <a name="LiquitySupplyAction"></a>
1189
+
1190
+ ## LiquitySupplyAction
1191
+ LiquitySupplyAction - Supplies collateral to the trove
1192
+
1193
+ **Kind**: global class
1194
+ <a name="new_LiquitySupplyAction_new"></a>
1195
+
1196
+ ### new LiquitySupplyAction(collAmount, from)
1197
+ **Params**
1198
+
1199
+ - collAmount - Amount of WETH tokens to supply
1200
+ - from - Address where the tokens are pulled from
1201
+
1202
+ <a name="LiquityUnstakeAction"></a>
1203
+
1204
+ ## LiquityUnstakeAction
1205
+ LiquityUnstakeAction - Unstakes LQTY tokens
1206
+
1207
+ **Kind**: global class
1208
+ <a name="new_LiquityUnstakeAction_new"></a>
1209
+
1210
+ ### new LiquityUnstakeAction(lqtyAmount, to, wethTo, lusdTo)
1211
+ **Params**
1212
+
1213
+ - lqtyAmount - Amount of LQTY tokens that will be unstaked
1214
+ - to - Address that will receive the tokens
1215
+ - wethTo - Address that will receive ETH gains
1216
+ - lusdTo - Address that will receive LUSD gains
1217
+
1218
+ <a name="LiquityWithdrawAction"></a>
1219
+
1220
+ ## LiquityWithdrawAction
1221
+ LiquityWithdrawAction - Withdraws collateral from the trove
1222
+
1223
+ **Kind**: global class
1224
+ <a name="new_LiquityWithdrawAction_new"></a>
1225
+
1226
+ ### new LiquityWithdrawAction(collAmount, to)
1227
+ **Params**
1228
+
1229
+ - collAmount - Amount of WETH tokens to withdraw
1230
+ - to - Address that will receive the withdrawn tokens
1231
+
1232
+ <a name="MakerClaimAction"></a>
1233
+
1234
+ ## MakerClaimAction
1235
+ MakerClaimAction - Claim bonus tokens in CropJoin types
1236
+
1237
+ **Kind**: global class
1238
+ <a name="new_MakerClaimAction_new"></a>
1239
+
1240
+ ### new MakerClaimAction(vaultId, joinAddr, to)
1241
+ **Params**
1242
+
1243
+ - vaultId <code>VaultId</code>
1244
+ - joinAddr <code>EthAddress</code>
1245
+ - to <code>EthAddress</code> - Tokens will be sent to this address
1246
+
1247
+ <a name="MakerGenerateAction"></a>
1248
+
1249
+ ## MakerGenerateAction
1250
+ MakerGenerateAction - Generated Dai from a Vault
1251
+
1252
+ **Kind**: global class
1253
+ <a name="new_MakerGenerateAction_new"></a>
1254
+
1255
+ ### new MakerGenerateAction(vaultId, amount, to, mcdManager)
1256
+ **Params**
1257
+
1258
+ - vaultId <code>VaultId</code>
1259
+ - amount <code>string</code> - Amount of DAI to generate in wei
1260
+ - to <code>EthAddress</code> - Generated DAI will be sent to this address
1261
+ - mcdManager <code>EthAddress</code>
1262
+
1263
+ <a name="MakerGiveAction"></a>
1264
+
1265
+ ## MakerGiveAction
1266
+ MakerGiveAction - gives a vault to a selected address
1267
+
1268
+ **Kind**: global class
1269
+ <a name="new_MakerGiveAction_new"></a>
1270
+
1271
+ ### new MakerGiveAction(vaultId, newOwner, createProxy, mcdManager)
1272
+ **Params**
1273
+
1274
+ - vaultId <code>VaultId</code>
1275
+ - newOwner <code>EthAddress</code>
1276
+ - createProxy <code>boolean</code>
1277
+ - mcdManager <code>EthAddress</code>
1278
+
1279
+ <a name="MakerMergeAction"></a>
1280
+
1281
+ ## MakerMergeAction
1282
+ MakerMergeAction - merged two vaults of the same type
1283
+
1284
+ **Kind**: global class
1285
+ <a name="new_MakerMergeAction_new"></a>
1286
+
1287
+ ### new MakerMergeAction(srcVaultId, destVaultId, mcdManager)
1288
+ **Params**
1289
+
1290
+ - srcVaultId <code>VaultId</code>
1291
+ - destVaultId <code>VaultId</code>
1292
+ - mcdManager <code>EthAddress</code>
1293
+
1294
+ <a name="MakerOpenVaultAction"></a>
1295
+
1296
+ ## MakerOpenVaultAction
1297
+ MakerOpenVaultAction
1298
+
1299
+ **Kind**: global class
1300
+ <a name="new_MakerOpenVaultAction_new"></a>
1301
+
1302
+ ### new MakerOpenVaultAction(joinAddr, mcdManager)
1303
+ **Params**
1304
+
1305
+ - joinAddr <code>EthAddress</code>
1306
+ - mcdManager <code>EthAddress</code>
1307
+
1308
+ <a name="MakerPaybackAction"></a>
1309
+
1310
+ ## MakerPaybackAction
1311
+ MakerPaybackAction - Payback dai to a Vault
1312
+
1313
+ **Kind**: global class
1314
+ <a name="new_MakerPaybackAction_new"></a>
1315
+
1316
+ ### new MakerPaybackAction(vaultId, amount, from, mcdManager)
1317
+ **Params**
1318
+
1319
+ - vaultId <code>VaultId</code>
1320
+ - amount <code>string</code>
1321
+ - from <code>EthAddress</code> - DAI will be sent from this address
1322
+ - mcdManager <code>EthAddress</code>
1323
+
1324
+ <a name="MakerRatioAction"></a>
1325
+
1326
+ ## MakerRatioAction
1327
+ MakerRatioAction
1328
+
1329
+ **Kind**: global class
1330
+ <a name="new_MakerRatioAction_new"></a>
1331
+
1332
+ ### new MakerRatioAction(vaultId)
1333
+ **Params**
1334
+
1335
+ - vaultId <code>uint256</code>
1336
+
1337
+ <a name="MakerSupplyAction"></a>
1338
+
1339
+ ## MakerSupplyAction
1340
+ MakerSupplyAction - Supply token to a Vault
1341
+
1342
+ **Kind**: global class
1343
+ <a name="new_MakerSupplyAction_new"></a>
1344
+
1345
+ ### new MakerSupplyAction(vaultId, amount, joinAddr, from, mcdManager)
1346
+ **Params**
1347
+
1348
+ - vaultId <code>VaultId</code>
1349
+ - amount <code>string</code>
1350
+ - joinAddr <code>EthAddress</code>
1351
+ - from <code>EthAddress</code> - Tokens will be supplied from this address
1352
+ - mcdManager <code>EthAddress</code>
1353
+
1354
+ <a name="MakerWithdrawAction"></a>
1355
+
1356
+ ## MakerWithdrawAction
1357
+ MakerWithdrawAction - Withdraw token from a Vault
1358
+
1359
+ **Kind**: global class
1360
+ <a name="new_MakerWithdrawAction_new"></a>
1361
+
1362
+ ### new MakerWithdrawAction(vaultId, amount, joinAddr, to, mcdManager)
1363
+ **Params**
1364
+
1365
+ - vaultId <code>VaultId</code>
1366
+ - amount <code>string</code>
1367
+ - joinAddr <code>EthAddress</code>
1368
+ - to <code>string</code>
1369
+ - mcdManager <code>EthAddress</code>
1370
+
1371
+ <a name="MStableClaimAction"></a>
1372
+
1373
+ ## MStableClaimAction
1374
+ MStableClaimAction
1375
+
1376
+ **Kind**: global class
1377
+ <a name="new_MStableClaimAction_new"></a>
1378
+
1379
+ ### new MStableClaimAction(vaultAddress, to, first, last)
1380
+ **Params**
1381
+
1382
+ - vaultAddress
1383
+ - to
1384
+ - first
1385
+ - last
1386
+
1387
+ <a name="MStableDepositAction"></a>
1388
+
1389
+ ## MStableDepositAction
1390
+ MStableDepositAction
1391
+
1392
+ **Kind**: global class
1393
+ <a name="new_MStableDepositAction_new"></a>
1394
+
1395
+ ### new MStableDepositAction(bAsset, mAsset, saveAddress, vaultAddress, from, to, amount, minOut, assetPair)
1396
+ **Params**
1397
+
1398
+ - bAsset
1399
+ - mAsset
1400
+ - saveAddress
1401
+ - vaultAddress
1402
+ - from
1403
+ - to
1404
+ - amount
1405
+ - minOut
1406
+ - assetPair
1407
+
1408
+ <a name="MStableWithdrawAction"></a>
1409
+
1410
+ ## MStableWithdrawAction
1411
+ MStableWithdrawAction
1412
+
1413
+ **Kind**: global class
1414
+ <a name="new_MStableWithdrawAction_new"></a>
1415
+
1416
+ ### new MStableWithdrawAction(bAsset, mAsset, saveAddress, vaultAddress, from, to, amount, minOut, assetPair)
1417
+ **Params**
1418
+
1419
+ - bAsset
1420
+ - mAsset
1421
+ - saveAddress
1422
+ - vaultAddress
1423
+ - from
1424
+ - to
1425
+ - amount
1426
+ - minOut
1427
+ - assetPair
1428
+
1429
+ <a name="RariDepositAction"></a>
1430
+
1431
+ ## RariDepositAction
1432
+ RariDepositAction - action that deposits one stablecoin (DAI, USDC, USDT, TUSD, BUSD, and sUSD) and receives RSPT back
1433
+
1434
+ **Kind**: global class
1435
+ <a name="new_RariDepositAction_new"></a>
1436
+
1437
+ ### new RariDepositAction(fundManager, stablecoinAddress, poolTokenAddress, amount, from, to)
1438
+ **Params**
1439
+
1440
+ - fundManager <code>EthAddress</code> - fundManager for the pool which we want to deposit into
1441
+ - stablecoinAddress <code>EthAddress</code> - stablecoin token address
1442
+ - poolTokenAddress <code>EthAddress</code> - poolTokenAddress
1443
+ - amount <code>string</code> - amount of stablecoin to pull and deposit
1444
+ - from <code>EthAddress</code> - stablecoins will be taken from this address
1445
+ - to <code>EthAddress</code> - RSPT will be sent to this address
1446
+
1447
+ <a name="RariWithdrawAction"></a>
1448
+
1449
+ ## RariWithdrawAction
1450
+ RariWithdrawAction - Send pool tokens to fund manager which burns them, receive underlying stablecoin back
1451
+
1452
+ **Kind**: global class
1453
+ <a name="new_RariWithdrawAction_new"></a>
1454
+
1455
+ ### new RariWithdrawAction(fundManager, poolTokenAddress, poolTokensAmountToPull, from, stablecoinAddress, stablecoinAmountToWithdraw, to)
1456
+ **Params**
1457
+
1458
+ - fundManager <code>EthAddress</code> - fundManager for the pool which we want to withdraw from
1459
+ - poolTokenAddress <code>EthAddress</code> - poolToken address
1460
+ - poolTokensAmountToPull <code>string</code> - amount of tokens to pull to proxy
1461
+ - from <code>EthAddress</code> - poolTokens will be taken from this address
1462
+ - stablecoinAddress <code>EthAddress</code> - stablecoin token address
1463
+ - stablecoinAmountToWithdraw <code>string</code> - amount of stablecoin to withdraw from Rari
1464
+ - to <code>EthAddress</code> - stablecoins withdrawn will be sent to this address
1465
+
1466
+ <a name="ReflexerGenerateAction"></a>
1467
+
1468
+ ## ReflexerGenerateAction
1469
+ ReflexerGenerateAction - Generated Dai from a Safe
1470
+
1471
+ **Kind**: global class
1472
+ <a name="new_ReflexerGenerateAction_new"></a>
1473
+
1474
+ ### new ReflexerGenerateAction(safeId, amount, to)
1475
+ **Params**
1476
+
1477
+ - safeId <code>SafeId</code>
1478
+ - amount <code>string</code> - Amount of Rai to generate in wei
1479
+ - to <code>EthAddress</code> - Generated Rai will be sent to this address
1480
+
1481
+ <a name="ReflexerNativeUniV2SaviourDepositAction"></a>
1482
+
1483
+ ## ReflexerNativeUniV2SaviourDepositAction
1484
+ ReflexerNativeUniV2SaviourDepositAction - Deposit lpToken in the contract in order to provide cover for a specific SAFE managed by the SAFE Manager
1485
+
1486
+ **Kind**: global class
1487
+ <a name="new_ReflexerNativeUniV2SaviourDepositAction_new"></a>
1488
+
1489
+ ### new ReflexerNativeUniV2SaviourDepositAction(from, safeId, lpTokenAmount)
1490
+ **Params**
1491
+
1492
+ - from <code>EthAddress</code>
1493
+ - safeId <code>SafeId</code>
1494
+ - lpTokenAmount <code>string</code>
1495
+
1496
+ <a name="ReflexerNativeUniV2SaviourGetReservesAction"></a>
1497
+
1498
+ ## ReflexerNativeUniV2SaviourGetReservesAction
1499
+ ReflexerNativeUniV2SaviourGetReservesAction - Get back system coins or collateral tokens that were withdrawn from Uniswap and not used to save a specific SAFE
1500
+
1501
+ **Kind**: global class
1502
+ <a name="new_ReflexerNativeUniV2SaviourGetReservesAction_new"></a>
1503
+
1504
+ ### new ReflexerNativeUniV2SaviourGetReservesAction(to, safeId)
1505
+ **Params**
1506
+
1507
+ - to <code>EthAddress</code>
1508
+ - safeId <code>SafeId</code>
1509
+
1510
+ <a name="ReflexerNativeUniV2SaviourWithdrawAction"></a>
1511
+
1512
+ ## ReflexerNativeUniV2SaviourWithdrawAction
1513
+ ReflexerNativeUniV2SaviourWithdrawAction - Withdraw lpToken from the contract and provide less cover for a SAFE
1514
+
1515
+ **Kind**: global class
1516
+ <a name="new_ReflexerNativeUniV2SaviourWithdrawAction_new"></a>
1517
+
1518
+ ### new ReflexerNativeUniV2SaviourWithdrawAction(to, safeId, lpTokenAmount)
1519
+ **Params**
1520
+
1521
+ - to <code>EthAddress</code>
1522
+ - safeId <code>SafeId</code>
1523
+ - lpTokenAmount <code>string</code>
1524
+
1525
+ <a name="ReflexerOpenSafeAction"></a>
1526
+
1527
+ ## ReflexerOpenSafeAction
1528
+ ReflexerOpenSafeAction
1529
+
1530
+ **Kind**: global class
1531
+ <a name="new_ReflexerOpenSafeAction_new"></a>
1532
+
1533
+ ### new ReflexerOpenSafeAction(adapterAddr)
1534
+ **Params**
1535
+
1536
+ - adapterAddr <code>EthAddress</code>
1537
+
1538
+ <a name="ReflexerPaybackAction"></a>
1539
+
1540
+ ## ReflexerPaybackAction
1541
+ ReflexerPaybackAction - Payback RAI to a Safe
1542
+
1543
+ **Kind**: global class
1544
+ <a name="new_ReflexerPaybackAction_new"></a>
1545
+
1546
+ ### new ReflexerPaybackAction(safeId, amount, from)
1547
+ **Params**
1548
+
1549
+ - safeId <code>SafeId</code>
1550
+ - amount <code>string</code> - Amount of RAI to be payed back in wei
1551
+ - from <code>EthAddress</code> - RAI will be sent from this address
1552
+
1553
+ <a name="ReflexerSupplyAction"></a>
1554
+
1555
+ ## ReflexerSupplyAction
1556
+ ReflexerSupplyAction - Supply token to a Safe
1557
+
1558
+ **Kind**: global class
1559
+ <a name="new_ReflexerSupplyAction_new"></a>
1560
+
1561
+ ### new ReflexerSupplyAction(safeId, amount, adapterAddr, from)
1562
+ **Params**
1563
+
1564
+ - safeId <code>SafeId</code>
1565
+ - amount <code>string</code>
1566
+ - adapterAddr <code>EthAddress</code>
1567
+ - from <code>EthAddress</code> - Tokens will be supplied from this address
1568
+
1569
+ <a name="ReflexerWithdrawAction"></a>
1570
+
1571
+ ## ReflexerWithdrawAction
1572
+ ReflexerWithdrawAction - Withdraw token from a Safe
1573
+
1574
+ **Kind**: global class
1575
+ <a name="new_ReflexerWithdrawAction_new"></a>
1576
+
1577
+ ### new ReflexerWithdrawAction(vaultId, amount, adapterAddr, to)
1578
+ **Params**
1579
+
1580
+ - vaultId <code>SafeId</code>
1581
+ - amount <code>string</code>
1582
+ - adapterAddr <code>EthAddress</code>
1583
+ - to <code>EthAddress</code>
1584
+
1585
+ <a name="UniswapSupplyAction"></a>
1586
+
1587
+ ## UniswapSupplyAction
1588
+ Supplies a pair tokens to uniswap pool
1589
+
1590
+ **Kind**: global class
1591
+ <a name="new_UniswapSupplyAction_new"></a>
1592
+
1593
+ ### new UniswapSupplyAction(tokenA, tokenB, from, to, amountADesired, amountBDesired, amountAMin, amountBMin, deadline)
1594
+ **Params**
1595
+
1596
+ - tokenA <code>EthAddress</code>
1597
+ - tokenB <code>EthAddress</code>
1598
+ - from <code>EthAddress</code>
1599
+ - to <code>EthAddress</code>
1600
+ - amountADesired <code>string</code>
1601
+ - amountBDesired <code>string</code>
1602
+ - amountAMin <code>string</code>
1603
+ - amountBMin <code>string</code>
1604
+ - deadline <code>number</code>
1605
+
1606
+ <a name="UniswapWithdrawAction"></a>
1607
+
1608
+ ## UniswapWithdrawAction
1609
+ Withdraws liquidity from uniswap pool
1610
+
1611
+ **Kind**: global class
1612
+ <a name="new_UniswapWithdrawAction_new"></a>
1613
+
1614
+ ### new UniswapWithdrawAction(tokenA, tokenB, liquidity, to, from, amountAMin, amountBMin, deadline)
1615
+ **Params**
1616
+
1617
+ - tokenA <code>EthAddress</code>
1618
+ - tokenB <code>EthAddress</code>
1619
+ - liquidity <code>string</code>
1620
+ - to <code>EthAddress</code>
1621
+ - from <code>EthAddress</code>
1622
+ - amountAMin <code>string</code>
1623
+ - amountBMin <code>string</code>
1624
+ - deadline <code>number</code>
1625
+
1626
+ <a name="UniswapV3CollectAction"></a>
1627
+
1628
+ ## UniswapV3CollectAction
1629
+ Collects fees earned by user on position identified by tokenId
1630
+
1631
+ **Kind**: global class
1632
+ <a name="new_UniswapV3CollectAction_new"></a>
1633
+
1634
+ ### new UniswapV3CollectAction(tokenId, recipient, amount0Max, amount1Max, from)
1635
+ **Params**
1636
+
1637
+ - tokenId <code>string</code>
1638
+ - recipient <code>EthAddress</code>
1639
+ - amount0Max <code>string</code>
1640
+ - amount1Max <code>string</code>
1641
+ - from <code>EthAddress</code>
1642
+
1643
+ <a name="UniswapV3CreatePoolAction"></a>
1644
+
1645
+ ## UniswapV3CreatePoolAction
1646
+ Create a uniswap v3 pool
1647
+
1648
+ **Kind**: global class
1649
+ <a name="new_UniswapV3CreatePoolAction_new"></a>
1650
+
1651
+ ### new UniswapV3CreatePoolAction(token0, token1, fee, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min, recipient, deadline, from, sqrtPriceX96)
1652
+ **Params**
1653
+
1654
+ - token0 <code>EthAddress</code>
1655
+ - token1 <code>EthAddress</code>
1656
+ - fee <code>number</code>
1657
+ - tickLower <code>number</code>
1658
+ - tickUpper <code>number</code>
1659
+ - amount0Desired <code>string</code>
1660
+ - amount1Desired <code>string</code>
1661
+ - amount0Min <code>string</code>
1662
+ - amount1Min <code>string</code>
1663
+ - recipient <code>EthAddress</code>
1664
+ - deadline <code>number</code>
1665
+ - from <code>EthAddress</code>
1666
+ - sqrtPriceX96 <code>string</code>
1667
+
1668
+ <a name="UniswapV3MintAction"></a>
1669
+
1670
+ ## UniswapV3MintAction
1671
+ Creates a new Uniswap v3 LP supply position
1672
+
1673
+ **Kind**: global class
1674
+ <a name="new_UniswapV3MintAction_new"></a>
1675
+
1676
+ ### new UniswapV3MintAction(token0, token1, fee, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min, recipient, deadline, from)
1677
+ **Params**
1678
+
1679
+ - token0 <code>EthAddress</code>
1680
+ - token1 <code>EthAddress</code>
1681
+ - fee <code>number</code>
1682
+ - tickLower <code>number</code>
1683
+ - tickUpper <code>number</code>
1684
+ - amount0Desired <code>string</code>
1685
+ - amount1Desired <code>string</code>
1686
+ - amount0Min <code>string</code>
1687
+ - amount1Min <code>string</code>
1688
+ - recipient <code>EthAddress</code>
1689
+ - deadline <code>number</code>
1690
+ - from <code>EthAddress</code>
1691
+
1692
+ <a name="UniswapV3SupplyAction"></a>
1693
+
1694
+ ## UniswapV3SupplyAction
1695
+ Supplies a pair of tokens to an existing Uniswap v3 position identified by tokenId
1696
+
1697
+ **Kind**: global class
1698
+ <a name="new_UniswapV3SupplyAction_new"></a>
1699
+
1700
+ ### new UniswapV3SupplyAction(tokenId, amount0Desired, amount1Desired, amount0Min, amount1Min, deadline, from, token0, token1)
1701
+ **Params**
1702
+
1703
+ - tokenId <code>string</code>
1704
+ - amount0Desired <code>string</code>
1705
+ - amount1Desired <code>string</code>
1706
+ - amount0Min <code>string</code>
1707
+ - amount1Min <code>string</code>
1708
+ - deadline <code>number</code>
1709
+ - from <code>EthAddress</code>
1710
+ - token0 <code>EthAddress</code>
1711
+ - token1 <code>EthAddress</code>
1712
+
1713
+ <a name="UniswapV3WithdrawAction"></a>
1714
+
1715
+ ## UniswapV3WithdrawAction
1716
+ Burns liquidity, and returns underlying tokens to recipient
1717
+
1718
+ **Kind**: global class
1719
+ <a name="new_UniswapV3WithdrawAction_new"></a>
1720
+
1721
+ ### new UniswapV3WithdrawAction(tokenId, liquidity, amount0Min, amount1Min, deadline, recipient, amount0Max, amount1Max, from)
1722
+ **Params**
1723
+
1724
+ - tokenId <code>string</code>
1725
+ - liquidity <code>string</code>
1726
+ - amount0Min <code>string</code>
1727
+ - amount1Min <code>string</code>
1728
+ - deadline <code>number</code>
1729
+ - recipient <code>EthAddress</code>
1730
+ - amount0Max <code>string</code>
1731
+ - amount1Max <code>string</code>
1732
+ - from <code>EthAddress</code>
1733
+
1734
+ <a name="YearnSupplyAction"></a>
1735
+
1736
+ ## YearnSupplyAction
1737
+ YearnSupplyAction - Supply token to a Yearn vault
1738
+
1739
+ **Kind**: global class
1740
+ <a name="new_YearnSupplyAction_new"></a>
1741
+
1742
+ ### new YearnSupplyAction(tokenAddr, amount, from, to)
1743
+ **Params**
1744
+
1745
+ - tokenAddr <code>EthAddress</code> - token address
1746
+ - amount <code>string</code> - amount of tokens to supply
1747
+ - from <code>EthAddress</code> - Tokens will be supplied from this address
1748
+ - to <code>ETHAddress</code> - yTokens will be sent to this address
1749
+
1750
+ <a name="YearnWithdrawAction"></a>
1751
+
1752
+ ## YearnWithdrawAction
1753
+ YearnWithdrawAction - Burns yTokens and receive underlying tokens in return
1754
+
1755
+ **Kind**: global class
1756
+ <a name="new_YearnWithdrawAction_new"></a>
1757
+
1758
+ ### new YearnWithdrawAction(tokenAddr, amount, from, to)
1759
+ **Params**
1760
+
1761
+ - tokenAddr <code>EthAddress</code> - yToken address
1762
+ - amount <code>string</code> - amount of yTokens to burn
1763
+ - from <code>EthAddress</code> - yTokens will be taken from this address
1764
+ - to <code>ETHAddress</code> - underlying tokens will be sent to this address
1765
+