@defisaver/sdk 1.0.2 → 1.0.3

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 (348) hide show
  1. package/AccessLists/AaveAccessLists.ts +18 -18
  2. package/AccessLists/BalancerAccessLists.ts +13 -13
  3. package/AccessLists/CompoundAccessLists.ts +23 -23
  4. package/AccessLists/DyDxAccessLists.ts +5 -5
  5. package/AccessLists/FlashLoanAccessLists.ts +19 -19
  6. package/AccessLists/GuniAccessLists.ts +9 -9
  7. package/AccessLists/InstaAccessLists.ts +4 -4
  8. package/AccessLists/LidoAccessLists.ts +14 -14
  9. package/AccessLists/LiquityAccessLists.ts +64 -64
  10. package/AccessLists/MStableAccessLists.ts +11 -11
  11. package/AccessLists/MakerAccessLists.ts +33 -33
  12. package/AccessLists/RariAccessLists.ts +7 -7
  13. package/AccessLists/ReflexerAccessLists.ts +50 -50
  14. package/AccessLists/UniswapAccessLists.ts +30 -30
  15. package/AccessLists/UtilsAccessLists.ts +22 -22
  16. package/AccessLists/YearnAccessLists.ts +8 -8
  17. package/AccessLists/index.ts +30 -30
  18. package/esm/AccessLists/AaveAccessLists.d.ts +1 -1
  19. package/esm/AccessLists/BalancerAccessLists.d.ts +1 -1
  20. package/esm/AccessLists/CompoundAccessLists.d.ts +1 -1
  21. package/esm/AccessLists/DyDxAccessLists.d.ts +1 -1
  22. package/esm/AccessLists/FlashLoanAccessLists.d.ts +1 -1
  23. package/esm/AccessLists/GuniAccessLists.d.ts +1 -1
  24. package/esm/AccessLists/InstaAccessLists.d.ts +1 -1
  25. package/esm/AccessLists/LidoAccessLists.d.ts +1 -1
  26. package/esm/AccessLists/LiquityAccessLists.d.ts +1 -1
  27. package/esm/AccessLists/MStableAccessLists.d.ts +1 -1
  28. package/esm/AccessLists/MakerAccessLists.d.ts +1 -1
  29. package/esm/AccessLists/RariAccessLists.d.ts +1 -1
  30. package/esm/AccessLists/ReflexerAccessLists.d.ts +1 -1
  31. package/esm/AccessLists/UniswapAccessLists.d.ts +1 -1
  32. package/esm/AccessLists/UtilsAccessLists.d.ts +1 -1
  33. package/esm/AccessLists/YearnAccessLists.d.ts +1 -1
  34. package/esm/src/Action.d.ts +3 -4
  35. package/esm/src/Action.js +10 -8
  36. package/esm/src/ActionWithL2.js +1 -1
  37. package/esm/src/DfsWeb3.d.ts +3 -3
  38. package/esm/src/DfsWeb3.js +5 -12
  39. package/esm/src/Recipe.js +1 -1
  40. package/esm/src/Strategy.js +1 -1
  41. package/esm/src/abis/UniV3PositionManager.json +65 -0
  42. package/esm/src/actions/aave/AaveBorrowAction.d.ts +1 -1
  43. package/esm/src/actions/aave/AaveBorrowAction.js +2 -2
  44. package/esm/src/actions/aave/AaveClaimStkAaveAction.d.ts +1 -1
  45. package/esm/src/actions/aave/AaveClaimStkAaveAction.js +2 -2
  46. package/esm/src/actions/aave/AaveCollateralSwitchAction.d.ts +5 -5
  47. package/esm/src/actions/aave/AaveCollateralSwitchAction.js +5 -5
  48. package/esm/src/actions/aave/AavePaybackAction.d.ts +1 -1
  49. package/esm/src/actions/aave/AavePaybackAction.js +2 -2
  50. package/esm/src/actions/aave/AaveSupplyAction.d.ts +1 -1
  51. package/esm/src/actions/aave/AaveSupplyAction.js +2 -2
  52. package/esm/src/actions/aave/AaveWithdrawAction.d.ts +1 -1
  53. package/esm/src/actions/aave/AaveWithdrawAction.js +2 -2
  54. package/esm/src/actions/aaveV3/AaveV3ATokenPaybackAction.d.ts +1 -1
  55. package/esm/src/actions/aaveV3/AaveV3ATokenPaybackAction.js +3 -3
  56. package/esm/src/actions/aaveV3/AaveV3BorrowAction.d.ts +10 -10
  57. package/esm/src/actions/aaveV3/AaveV3BorrowAction.js +12 -12
  58. package/esm/src/actions/aaveV3/AaveV3ClaimRewardsAction.d.ts +1 -1
  59. package/esm/src/actions/aaveV3/AaveV3ClaimRewardsAction.js +3 -3
  60. package/esm/src/actions/aaveV3/AaveV3CollateralSwitchAction.d.ts +1 -1
  61. package/esm/src/actions/aaveV3/AaveV3CollateralSwitchAction.js +2 -2
  62. package/esm/src/actions/aaveV3/AaveV3PaybackAction.d.ts +1 -1
  63. package/esm/src/actions/aaveV3/AaveV3PaybackAction.js +3 -3
  64. package/esm/src/actions/aaveV3/AaveV3SetEModeAction.d.ts +1 -1
  65. package/esm/src/actions/aaveV3/AaveV3SetEModeAction.js +2 -2
  66. package/esm/src/actions/aaveV3/AaveV3SupplyAction.d.ts +1 -1
  67. package/esm/src/actions/aaveV3/AaveV3SupplyAction.js +3 -3
  68. package/esm/src/actions/aaveV3/AaveV3SwapBorrowRateModeAction.d.ts +1 -1
  69. package/esm/src/actions/aaveV3/AaveV3SwapBorrowRateModeAction.js +2 -2
  70. package/esm/src/actions/aaveV3/AaveV3WithdrawAction.d.ts +3 -3
  71. package/esm/src/actions/aaveV3/AaveV3WithdrawAction.js +5 -5
  72. package/esm/src/actions/balancer/BalancerV2ClaimAction.d.ts +1 -1
  73. package/esm/src/actions/balancer/BalancerV2ClaimAction.js +7 -7
  74. package/esm/src/actions/balancer/BalancerV2SupplyAction.d.ts +1 -1
  75. package/esm/src/actions/balancer/BalancerV2SupplyAction.js +8 -8
  76. package/esm/src/actions/balancer/BalancerV2WithdrawAction.d.ts +1 -1
  77. package/esm/src/actions/balancer/BalancerV2WithdrawAction.js +9 -9
  78. package/esm/src/actions/balancer/index.d.ts +3 -3
  79. package/esm/src/actions/balancer/index.js +3 -3
  80. package/esm/src/actions/basic/AutomationV2Unsub.d.ts +1 -1
  81. package/esm/src/actions/basic/AutomationV2Unsub.js +3 -3
  82. package/esm/src/actions/basic/ChangeProxyOwnerAction.d.ts +1 -1
  83. package/esm/src/actions/basic/ChangeProxyOwnerAction.js +3 -3
  84. package/esm/src/actions/basic/GasFeeAction.d.ts +1 -1
  85. package/esm/src/actions/basic/GasFeeAction.js +3 -3
  86. package/esm/src/actions/basic/GasFeeActionL2.d.ts +1 -1
  87. package/esm/src/actions/basic/GasFeeActionL2.js +3 -3
  88. package/esm/src/actions/basic/PullTokenAction.d.ts +1 -1
  89. package/esm/src/actions/basic/PullTokenAction.js +7 -7
  90. package/esm/src/actions/basic/SellAction.d.ts +1 -1
  91. package/esm/src/actions/basic/SellAction.js +7 -7
  92. package/esm/src/actions/basic/SendTokenAction.d.ts +1 -1
  93. package/esm/src/actions/basic/SendTokenAction.js +5 -5
  94. package/esm/src/actions/basic/SendTokenAndUnwrapAction.d.ts +1 -1
  95. package/esm/src/actions/basic/SendTokenAndUnwrapAction.js +5 -5
  96. package/esm/src/actions/basic/SubInputsAction.d.ts +1 -1
  97. package/esm/src/actions/basic/SubInputsAction.js +3 -3
  98. package/esm/src/actions/basic/SumInputsAction.d.ts +1 -1
  99. package/esm/src/actions/basic/SumInputsAction.js +3 -3
  100. package/esm/src/actions/basic/ToggleSubAction.d.ts +1 -1
  101. package/esm/src/actions/basic/ToggleSubAction.js +3 -3
  102. package/esm/src/actions/basic/TokenBalanceAction.d.ts +1 -1
  103. package/esm/src/actions/basic/TokenBalanceAction.js +3 -3
  104. package/esm/src/actions/basic/TransferNFTAction.d.ts +1 -1
  105. package/esm/src/actions/basic/TransferNFTAction.js +6 -6
  106. package/esm/src/actions/basic/UnwrapEthAction.d.ts +1 -1
  107. package/esm/src/actions/basic/UnwrapEthAction.js +5 -5
  108. package/esm/src/actions/basic/UpdateSubAction.d.ts +1 -1
  109. package/esm/src/actions/basic/UpdateSubAction.js +3 -3
  110. package/esm/src/actions/basic/WrapEthAction.d.ts +1 -1
  111. package/esm/src/actions/basic/WrapEthAction.js +4 -4
  112. package/esm/src/actions/checkers/AaveV3RatioCheckAction.d.ts +1 -1
  113. package/esm/src/actions/checkers/AaveV3RatioCheckAction.js +3 -3
  114. package/esm/src/actions/checkers/CompoundV3RatioCheckAction.d.ts +1 -1
  115. package/esm/src/actions/checkers/CompoundV3RatioCheckAction.js +4 -4
  116. package/esm/src/actions/checkers/MakerRatioCheckAction.d.ts +1 -1
  117. package/esm/src/actions/checkers/MakerRatioCheckAction.js +3 -3
  118. package/esm/src/actions/chickenBonds/CBChickenInAction.d.ts +1 -1
  119. package/esm/src/actions/chickenBonds/CBChickenInAction.js +2 -2
  120. package/esm/src/actions/chickenBonds/CBChickenOutAction.d.ts +2 -2
  121. package/esm/src/actions/chickenBonds/CBChickenOutAction.js +3 -3
  122. package/esm/src/actions/chickenBonds/CBCreateAction.d.ts +1 -1
  123. package/esm/src/actions/chickenBonds/CBCreateAction.js +2 -2
  124. package/esm/src/actions/chickenBonds/CBRedeemAction.d.ts +1 -1
  125. package/esm/src/actions/chickenBonds/CBRedeemAction.js +2 -2
  126. package/esm/src/actions/compound/CompoundBorrowAction.d.ts +1 -1
  127. package/esm/src/actions/compound/CompoundBorrowAction.js +2 -2
  128. package/esm/src/actions/compound/CompoundClaimAction.d.ts +1 -1
  129. package/esm/src/actions/compound/CompoundClaimAction.js +3 -3
  130. package/esm/src/actions/compound/CompoundCollateralSwitchAction.d.ts +1 -1
  131. package/esm/src/actions/compound/CompoundCollateralSwitchAction.js +1 -1
  132. package/esm/src/actions/compound/CompoundGetDebtAction.d.ts +1 -1
  133. package/esm/src/actions/compound/CompoundGetDebtAction.js +3 -3
  134. package/esm/src/actions/compound/CompoundPaybackAction.d.ts +1 -1
  135. package/esm/src/actions/compound/CompoundPaybackAction.js +3 -5
  136. package/esm/src/actions/compound/CompoundSupplyAction.d.ts +1 -1
  137. package/esm/src/actions/compound/CompoundSupplyAction.js +3 -5
  138. package/esm/src/actions/compound/CompoundWithdrawAction.d.ts +1 -1
  139. package/esm/src/actions/compound/CompoundWithdrawAction.js +2 -2
  140. package/esm/src/actions/compoundV3/CompoundV3AllowAction.d.ts +5 -5
  141. package/esm/src/actions/compoundV3/CompoundV3AllowAction.js +6 -6
  142. package/esm/src/actions/compoundV3/CompoundV3BorrowAction.d.ts +6 -6
  143. package/esm/src/actions/compoundV3/CompoundV3BorrowAction.js +7 -7
  144. package/esm/src/actions/compoundV3/CompoundV3ClaimAction.d.ts +1 -1
  145. package/esm/src/actions/compoundV3/CompoundV3ClaimAction.js +4 -4
  146. package/esm/src/actions/compoundV3/CompoundV3PaybackAction.d.ts +7 -7
  147. package/esm/src/actions/compoundV3/CompoundV3PaybackAction.js +9 -9
  148. package/esm/src/actions/compoundV3/CompoundV3SupplyAction.d.ts +7 -7
  149. package/esm/src/actions/compoundV3/CompoundV3SupplyAction.js +9 -9
  150. package/esm/src/actions/compoundV3/CompoundV3TransferAction.d.ts +7 -7
  151. package/esm/src/actions/compoundV3/CompoundV3TransferAction.js +8 -8
  152. package/esm/src/actions/compoundV3/CompoundV3WithdrawAction.d.ts +1 -1
  153. package/esm/src/actions/compoundV3/CompoundV3WithdrawAction.js +4 -4
  154. package/esm/src/actions/convex/ConvexClaimAction.d.ts +4 -4
  155. package/esm/src/actions/convex/ConvexClaimAction.js +4 -4
  156. package/esm/src/actions/convex/ConvexDepositAction.d.ts +6 -6
  157. package/esm/src/actions/convex/ConvexDepositAction.js +6 -6
  158. package/esm/src/actions/convex/ConvexWithdrawAction.d.ts +6 -6
  159. package/esm/src/actions/convex/ConvexWithdrawAction.js +6 -6
  160. package/esm/src/actions/curve/CurveClaimFeesAction.d.ts +4 -4
  161. package/esm/src/actions/curve/CurveClaimFeesAction.js +4 -4
  162. package/esm/src/actions/curve/CurveDepositAction.d.ts +7 -7
  163. package/esm/src/actions/curve/CurveDepositAction.js +7 -7
  164. package/esm/src/actions/curve/CurveGaugeDepositAction.d.ts +7 -7
  165. package/esm/src/actions/curve/CurveGaugeDepositAction.js +7 -7
  166. package/esm/src/actions/curve/CurveGaugeWithdrawAction.d.ts +5 -5
  167. package/esm/src/actions/curve/CurveGaugeWithdrawAction.js +5 -5
  168. package/esm/src/actions/curve/CurveMintCrvAction.d.ts +3 -3
  169. package/esm/src/actions/curve/CurveMintCrvAction.js +3 -3
  170. package/esm/src/actions/curve/CurveStethPoolDepositAction.d.ts +5 -5
  171. package/esm/src/actions/curve/CurveStethPoolDepositAction.js +5 -5
  172. package/esm/src/actions/curve/CurveStethPoolWithdrawAction.d.ts +6 -6
  173. package/esm/src/actions/curve/CurveStethPoolWithdrawAction.js +6 -6
  174. package/esm/src/actions/curve/CurveSwapAction.d.ts +9 -9
  175. package/esm/src/actions/curve/CurveSwapAction.js +9 -9
  176. package/esm/src/actions/curve/CurveWithdrawAction.d.ts +8 -8
  177. package/esm/src/actions/curve/CurveWithdrawAction.js +8 -8
  178. package/esm/src/actions/dydx/DyDxWithdrawAction.d.ts +1 -1
  179. package/esm/src/actions/dydx/DyDxWithdrawAction.js +2 -2
  180. package/esm/src/actions/flashloan/AaveV2FlashLoanAction.d.ts +1 -1
  181. package/esm/src/actions/flashloan/AaveV2FlashLoanAction.js +1 -1
  182. package/esm/src/actions/flashloan/AaveV2FlashLoanPaybackAction.d.ts +1 -1
  183. package/esm/src/actions/flashloan/AaveV2FlashLoanPaybackAction.js +1 -1
  184. package/esm/src/actions/flashloan/AaveV3FlashLoanAction.d.ts +1 -1
  185. package/esm/src/actions/flashloan/AaveV3FlashLoanAction.js +1 -1
  186. package/esm/src/actions/flashloan/AaveV3FlashLoanPaybackAction.d.ts +1 -1
  187. package/esm/src/actions/flashloan/AaveV3FlashLoanPaybackAction.js +1 -1
  188. package/esm/src/actions/flashloan/BalancerFlashLoanAction.d.ts +1 -1
  189. package/esm/src/actions/flashloan/BalancerFlashLoanAction.js +1 -1
  190. package/esm/src/actions/flashloan/BalancerFlashLoanPaybackAction.d.ts +4 -4
  191. package/esm/src/actions/flashloan/BalancerFlashLoanPaybackAction.js +4 -4
  192. package/esm/src/actions/flashloan/DyDxFlashLoanAction.d.ts +1 -1
  193. package/esm/src/actions/flashloan/DyDxFlashLoanAction.js +1 -1
  194. package/esm/src/actions/flashloan/DyDxFlashLoanPaybackAction.d.ts +1 -1
  195. package/esm/src/actions/flashloan/DyDxFlashLoanPaybackAction.js +1 -1
  196. package/esm/src/actions/flashloan/EulerFlashLoanAction.d.ts +1 -1
  197. package/esm/src/actions/flashloan/EulerFlashLoanAction.js +1 -1
  198. package/esm/src/actions/flashloan/EulerFlashLoanPaybackAction.d.ts +2 -1
  199. package/esm/src/actions/flashloan/EulerFlashLoanPaybackAction.js +2 -1
  200. package/esm/src/actions/flashloan/FLAction.d.ts +10 -0
  201. package/esm/src/actions/flashloan/FLAction.js +48 -0
  202. package/esm/src/actions/flashloan/MakerFlashLoanAction.d.ts +1 -1
  203. package/esm/src/actions/flashloan/MakerFlashLoanAction.js +1 -1
  204. package/esm/src/actions/flashloan/MakerFlashLoanPaybackAction.d.ts +1 -1
  205. package/esm/src/actions/flashloan/MakerFlashLoanPaybackAction.js +1 -1
  206. package/esm/src/actions/flashloan/index.d.ts +1 -0
  207. package/esm/src/actions/flashloan/index.js +1 -0
  208. package/esm/src/actions/guni/GUniDeposit.d.ts +10 -10
  209. package/esm/src/actions/guni/GUniDeposit.js +11 -11
  210. package/esm/src/actions/guni/GUniWithdraw.d.ts +8 -8
  211. package/esm/src/actions/guni/GUniWithdraw.js +9 -9
  212. package/esm/src/actions/index.d.ts +24 -24
  213. package/esm/src/actions/index.js +24 -24
  214. package/esm/src/actions/insta/InstPullTokensAction.d.ts +1 -1
  215. package/esm/src/actions/insta/InstPullTokensAction.js +5 -5
  216. package/esm/src/actions/lido/LidoStakeAction.d.ts +1 -1
  217. package/esm/src/actions/lido/LidoStakeAction.js +3 -3
  218. package/esm/src/actions/lido/LidoUnwrapAction.d.ts +1 -1
  219. package/esm/src/actions/lido/LidoUnwrapAction.js +2 -2
  220. package/esm/src/actions/lido/LidoWrapAction.d.ts +1 -1
  221. package/esm/src/actions/lido/LidoWrapAction.js +4 -6
  222. package/esm/src/actions/liquity/LiquityBorrowAction.d.ts +6 -4
  223. package/esm/src/actions/liquity/LiquityBorrowAction.js +6 -4
  224. package/esm/src/actions/liquity/LiquityClaimAction.d.ts +2 -2
  225. package/esm/src/actions/liquity/LiquityClaimAction.js +2 -2
  226. package/esm/src/actions/liquity/LiquityClaimSPRewardsAction.d.ts +3 -3
  227. package/esm/src/actions/liquity/LiquityClaimSPRewardsAction.js +4 -4
  228. package/esm/src/actions/liquity/LiquityClaimStakingRewardsAction.d.ts +3 -3
  229. package/esm/src/actions/liquity/LiquityClaimStakingRewardsAction.js +4 -4
  230. package/esm/src/actions/liquity/LiquityCloseAction.d.ts +3 -3
  231. package/esm/src/actions/liquity/LiquityCloseAction.js +3 -3
  232. package/esm/src/actions/liquity/LiquityEthGainToTroveAction.d.ts +2 -0
  233. package/esm/src/actions/liquity/LiquityEthGainToTroveAction.js +2 -0
  234. package/esm/src/actions/liquity/LiquityOpenAction.d.ts +8 -6
  235. package/esm/src/actions/liquity/LiquityOpenAction.js +8 -6
  236. package/esm/src/actions/liquity/LiquityPaybackAction.d.ts +5 -3
  237. package/esm/src/actions/liquity/LiquityPaybackAction.js +5 -3
  238. package/esm/src/actions/liquity/LiquityRedeemAction.d.ts +9 -4
  239. package/esm/src/actions/liquity/LiquityRedeemAction.js +9 -4
  240. package/esm/src/actions/liquity/LiquitySPDepositAction.d.ts +5 -5
  241. package/esm/src/actions/liquity/LiquitySPDepositAction.js +5 -5
  242. package/esm/src/actions/liquity/LiquitySPWithdrawAction.d.ts +5 -5
  243. package/esm/src/actions/liquity/LiquitySPWithdrawAction.js +5 -5
  244. package/esm/src/actions/liquity/LiquityStakeAction.d.ts +5 -5
  245. package/esm/src/actions/liquity/LiquityStakeAction.js +5 -5
  246. package/esm/src/actions/liquity/LiquitySupplyAction.d.ts +5 -3
  247. package/esm/src/actions/liquity/LiquitySupplyAction.js +5 -3
  248. package/esm/src/actions/liquity/LiquityUnstakeAction.d.ts +5 -5
  249. package/esm/src/actions/liquity/LiquityUnstakeAction.js +5 -5
  250. package/esm/src/actions/liquity/LiquityWithdrawAction.d.ts +5 -3
  251. package/esm/src/actions/liquity/LiquityWithdrawAction.js +5 -3
  252. package/esm/src/actions/maker/MakerClaimAction.d.ts +1 -1
  253. package/esm/src/actions/maker/MakerClaimAction.js +1 -1
  254. package/esm/src/actions/maker/MakerGenerateAction.d.ts +1 -1
  255. package/esm/src/actions/maker/MakerGenerateAction.js +2 -2
  256. package/esm/src/actions/maker/MakerGiveAction.d.ts +1 -1
  257. package/esm/src/actions/maker/MakerGiveAction.js +3 -3
  258. package/esm/src/actions/maker/MakerMergeAction.d.ts +1 -1
  259. package/esm/src/actions/maker/MakerMergeAction.js +1 -1
  260. package/esm/src/actions/maker/MakerOpenVaultAction.d.ts +1 -1
  261. package/esm/src/actions/maker/MakerOpenVaultAction.js +1 -1
  262. package/esm/src/actions/maker/MakerPaybackAction.d.ts +1 -1
  263. package/esm/src/actions/maker/MakerPaybackAction.js +2 -2
  264. package/esm/src/actions/maker/MakerRatioAction.d.ts +1 -1
  265. package/esm/src/actions/maker/MakerRatioAction.js +1 -1
  266. package/esm/src/actions/maker/MakerSupplyAction.d.ts +1 -1
  267. package/esm/src/actions/maker/MakerSupplyAction.js +2 -2
  268. package/esm/src/actions/maker/MakerWithdrawAction.d.ts +1 -1
  269. package/esm/src/actions/maker/MakerWithdrawAction.js +2 -2
  270. package/esm/src/actions/mstable/MStableClaimAction.d.ts +5 -5
  271. package/esm/src/actions/mstable/MStableClaimAction.js +5 -5
  272. package/esm/src/actions/mstable/MStableDepositAction.d.ts +10 -10
  273. package/esm/src/actions/mstable/MStableDepositAction.js +10 -10
  274. package/esm/src/actions/mstable/MStableWithdrawAction.d.ts +10 -10
  275. package/esm/src/actions/mstable/MStableWithdrawAction.js +10 -10
  276. package/esm/src/actions/rari/RariDepositAction.d.ts +1 -1
  277. package/esm/src/actions/rari/RariDepositAction.js +1 -1
  278. package/esm/src/actions/rari/RariWithdrawAction.d.ts +1 -1
  279. package/esm/src/actions/rari/RariWithdrawAction.js +1 -1
  280. package/esm/src/actions/reflexer/ReflexerGenerateAction.d.ts +1 -1
  281. package/esm/src/actions/reflexer/ReflexerGenerateAction.js +2 -2
  282. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.d.ts +1 -1
  283. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.js +1 -1
  284. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.d.ts +1 -1
  285. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.js +2 -2
  286. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.d.ts +1 -1
  287. package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.js +3 -3
  288. package/esm/src/actions/reflexer/ReflexerOpenSafeAction.d.ts +1 -1
  289. package/esm/src/actions/reflexer/ReflexerOpenSafeAction.js +1 -1
  290. package/esm/src/actions/reflexer/ReflexerPaybackAction.d.ts +1 -1
  291. package/esm/src/actions/reflexer/ReflexerPaybackAction.js +2 -2
  292. package/esm/src/actions/reflexer/ReflexerSupplyAction.d.ts +1 -1
  293. package/esm/src/actions/reflexer/ReflexerSupplyAction.js +2 -2
  294. package/esm/src/actions/reflexer/ReflexerWithdrawAction.d.ts +1 -1
  295. package/esm/src/actions/reflexer/ReflexerWithdrawAction.js +2 -2
  296. package/esm/src/actions/uniswap/UniswapSupplyAction.d.ts +1 -1
  297. package/esm/src/actions/uniswap/UniswapSupplyAction.js +13 -13
  298. package/esm/src/actions/uniswap/UniswapWithdrawAction.d.ts +1 -1
  299. package/esm/src/actions/uniswap/UniswapWithdrawAction.js +11 -11
  300. package/esm/src/actions/uniswapV3/UniswapV3CollectAction.js +5 -5
  301. package/esm/src/actions/uniswapV3/UniswapV3CreatePoolAction.js +14 -14
  302. package/esm/src/actions/uniswapV3/UniswapV3MintAction.js +13 -13
  303. package/esm/src/actions/uniswapV3/UniswapV3SupplyAction.js +9 -9
  304. package/esm/src/actions/uniswapV3/UniswapV3WithdrawAction.js +10 -10
  305. package/esm/src/actions/yearn/YearnSupplyAction.d.ts +1 -1
  306. package/esm/src/actions/yearn/YearnSupplyAction.js +3 -3
  307. package/esm/src/actions/yearn/YearnWithdrawAction.d.ts +1 -1
  308. package/esm/src/actions/yearn/YearnWithdrawAction.js +3 -3
  309. package/esm/src/addresses.d.ts +3 -0
  310. package/esm/src/addresses.js +4 -1
  311. package/esm/src/config.js +3 -3
  312. package/esm/src/index.d.ts +98 -2
  313. package/esm/src/index.js +19 -6
  314. package/esm/src/triggers/AaveV3RatioTrigger.d.ts +1 -1
  315. package/esm/src/triggers/AaveV3RatioTrigger.js +3 -3
  316. package/esm/src/triggers/ChainLinkPriceTrigger.d.ts +1 -1
  317. package/esm/src/triggers/ChainLinkPriceTrigger.js +3 -3
  318. package/esm/src/triggers/CompV3RatioTrigger.d.ts +1 -1
  319. package/esm/src/triggers/CompV3RatioTrigger.js +3 -3
  320. package/esm/src/triggers/CompoundRatioTrigger.d.ts +1 -1
  321. package/esm/src/triggers/CompoundRatioTrigger.js +3 -3
  322. package/esm/src/triggers/GasPriceTrigger.d.ts +1 -1
  323. package/esm/src/triggers/GasPriceTrigger.js +3 -3
  324. package/esm/src/triggers/LiquityRatioTrigger.d.ts +1 -1
  325. package/esm/src/triggers/LiquityRatioTrigger.js +3 -3
  326. package/esm/src/triggers/MakerRatioTrigger.d.ts +1 -1
  327. package/esm/src/triggers/MakerRatioTrigger.js +3 -3
  328. package/esm/src/triggers/ReflexerRatioTrigger.d.ts +1 -1
  329. package/esm/src/triggers/ReflexerRatioTrigger.js +3 -3
  330. package/esm/src/triggers/TimestampTrigger.d.ts +1 -1
  331. package/esm/src/triggers/TimestampTrigger.js +3 -3
  332. package/esm/src/triggers/TrailingStopTrigger.d.ts +1 -1
  333. package/esm/src/triggers/TrailingStopTrigger.js +3 -3
  334. package/esm/src/triggers/UniV3CurrentTickTrigger.d.ts +1 -1
  335. package/esm/src/triggers/UniV3CurrentTickTrigger.js +3 -3
  336. package/esm/src/types.d.ts +1 -1
  337. package/esm/src/utils/curve-utils.d.ts +4 -1
  338. package/esm/src/utils/curve-utils.js +5 -4
  339. package/esm/src/utils/index.d.ts +6 -5
  340. package/esm/src/utils/index.js +6 -5
  341. package/esm/src/utils/uniswapLP.js +2 -4
  342. package/esm/src/utils/uniswapV3LP.d.ts +5 -0
  343. package/esm/src/utils/uniswapV3LP.js +23 -0
  344. package/esm/src/utils/zeroExExchange.d.ts +1 -1
  345. package/esm/src/utils/zeroExExchange.js +1 -1
  346. package/package.json +1 -1
  347. package/src/actions/flashloan/FLAction.ts +1 -1
  348. package/umd/index.js +988 -871
@@ -18,10 +18,15 @@ import { getAddr } from '../../addresses';
18
18
  */
19
19
  export class LiquityRedeemAction extends Action {
20
20
  /**
21
- * @param lusdAmount Amount of LUSD tokens to send
22
- * @param from Address where the tokens are pulled from
23
- * @param to Address that will receive redeemed collateral
24
- * @param maxFeePercentage Highest redemption fee to accept
21
+ * @param lusdAmount Amount of LUSD tokens to send
22
+ * @param from Address where the tokens are pulled from
23
+ * @param to Address that will receive redeemed collateral
24
+ * @param firstRedemptionHint Address in the linked list to use as a first hint
25
+ * @param upperPartialRedemptionHint Address in the linked list to use as an upper limit
26
+ * @param lowerPartialRedemptionHint Address in the linked list to use as a lower limit
27
+ * @param partialRedemptionHintNICR
28
+ * @param maxIterations Max number of loops to do when searching for the new position in linked list
29
+ * @param maxFeePercentage Highest redemption fee to accept
25
30
  */
26
31
  constructor(lusdAmount, from, to, firstRedemptionHint, upperPartialRedemptionHint, lowerPartialRedemptionHint, partialRedemptionHintNICR, maxIterations, maxFeePercentage) {
27
32
  requireAddress(from);
@@ -7,11 +7,11 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class LiquitySPDepositAction extends Action {
9
9
  /**
10
- * @param lusdAmount Amount of LUSD tokens to deposit
11
- * @param from Address where the tokens are being pulled from
12
- * @param wethTo Address that will receive ETH gains
13
- * @param lqtyTo Address that will receive LQTY gains
14
- */
10
+ * @param lusdAmount Amount of LUSD tokens to deposit
11
+ * @param from Address where the tokens are being pulled from
12
+ * @param wethTo Address that will receive ETH gains
13
+ * @param lqtyTo Address that will receive LQTY gains
14
+ */
15
15
  constructor(lusdAmount: uint256, from: EthAddress, wethTo: EthAddress, lqtyTo: EthAddress);
16
16
  getAssetsToApprove(): Promise<{
17
17
  asset: string;
@@ -18,11 +18,11 @@ import { getAddr } from '../../addresses';
18
18
  */
19
19
  export class LiquitySPDepositAction extends Action {
20
20
  /**
21
- * @param lusdAmount Amount of LUSD tokens to deposit
22
- * @param from Address where the tokens are being pulled from
23
- * @param wethTo Address that will receive ETH gains
24
- * @param lqtyTo Address that will receive LQTY gains
25
- */
21
+ * @param lusdAmount Amount of LUSD tokens to deposit
22
+ * @param from Address where the tokens are being pulled from
23
+ * @param wethTo Address that will receive ETH gains
24
+ * @param lqtyTo Address that will receive LQTY gains
25
+ */
26
26
  constructor(lusdAmount, from, wethTo, lqtyTo) {
27
27
  requireAddress(from);
28
28
  requireAddress(wethTo);
@@ -7,10 +7,10 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class LiquitySPWithdrawAction extends Action {
9
9
  /**
10
- * @param lusdAmount Amount of LUSD tokens to withdraw
11
- * @param to Address that will receive the LUSD tokens
12
- * @param wethTo Address that will receive ETH gains
13
- * @param lqtyTo Address that will receive LQTY gains
14
- */
10
+ * @param lusdAmount Amount of LUSD tokens to withdraw
11
+ * @param to Address that will receive the LUSD tokens
12
+ * @param wethTo Address that will receive ETH gains
13
+ * @param lqtyTo Address that will receive LQTY gains
14
+ */
15
15
  constructor(lusdAmount: uint256, to: EthAddress, wethTo: EthAddress, lqtyTo: EthAddress);
16
16
  }
@@ -8,11 +8,11 @@ import { getAddr } from '../../addresses';
8
8
  */
9
9
  export class LiquitySPWithdrawAction extends Action {
10
10
  /**
11
- * @param lusdAmount Amount of LUSD tokens to withdraw
12
- * @param to Address that will receive the LUSD tokens
13
- * @param wethTo Address that will receive ETH gains
14
- * @param lqtyTo Address that will receive LQTY gains
15
- */
11
+ * @param lusdAmount Amount of LUSD tokens to withdraw
12
+ * @param to Address that will receive the LUSD tokens
13
+ * @param wethTo Address that will receive ETH gains
14
+ * @param lqtyTo Address that will receive LQTY gains
15
+ */
16
16
  constructor(lusdAmount, to, wethTo, lqtyTo) {
17
17
  requireAddress(to);
18
18
  requireAddress(wethTo);
@@ -7,11 +7,11 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class LiquityStakeAction extends Action {
9
9
  /**
10
- * @param lqtyAmount Amount of LQTY tokens that will be staked
11
- * @param from Address where the tokens are being pulled from
12
- * @param wethTo Address that will receive ETH gains
13
- * @param lusdTo Address that will receive LUSD gains
14
- */
10
+ * @param lqtyAmount Amount of LQTY tokens that will be staked
11
+ * @param from Address where the tokens are being pulled from
12
+ * @param wethTo Address that will receive ETH gains
13
+ * @param lusdTo Address that will receive LUSD gains
14
+ */
15
15
  constructor(lqtyAmount: uint256, from: EthAddress, wethTo: EthAddress, lusdTo: EthAddress);
16
16
  getAssetsToApprove(): Promise<{
17
17
  asset: string;
@@ -18,11 +18,11 @@ import { getAddr } from '../../addresses';
18
18
  */
19
19
  export class LiquityStakeAction extends Action {
20
20
  /**
21
- * @param lqtyAmount Amount of LQTY tokens that will be staked
22
- * @param from Address where the tokens are being pulled from
23
- * @param wethTo Address that will receive ETH gains
24
- * @param lusdTo Address that will receive LUSD gains
25
- */
21
+ * @param lqtyAmount Amount of LQTY tokens that will be staked
22
+ * @param from Address where the tokens are being pulled from
23
+ * @param wethTo Address that will receive ETH gains
24
+ * @param lusdTo Address that will receive LUSD gains
25
+ */
26
26
  constructor(lqtyAmount, from, wethTo, lusdTo) {
27
27
  requireAddress(from);
28
28
  requireAddress(wethTo);
@@ -7,9 +7,11 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class LiquitySupplyAction extends Action {
9
9
  /**
10
- * @param collAmount Amount of WETH tokens to supply
11
- * @param from Address where the tokens are pulled from
12
- */
10
+ * @param collAmount Amount of WETH tokens to supply
11
+ * @param from Address where the tokens are pulled from
12
+ * @param upperHint Address in the linked list to use as an upper limit
13
+ * @param lowerHint Address in the linked list to use as a lower limit
14
+ */
13
15
  constructor(collAmount: uint256, from: EthAddress, upperHint: EthAddress, lowerHint: EthAddress);
14
16
  getAssetsToApprove(): Promise<{
15
17
  asset: string;
@@ -18,9 +18,11 @@ import { getAddr } from '../../addresses';
18
18
  */
19
19
  export class LiquitySupplyAction extends Action {
20
20
  /**
21
- * @param collAmount Amount of WETH tokens to supply
22
- * @param from Address where the tokens are pulled from
23
- */
21
+ * @param collAmount Amount of WETH tokens to supply
22
+ * @param from Address where the tokens are pulled from
23
+ * @param upperHint Address in the linked list to use as an upper limit
24
+ * @param lowerHint Address in the linked list to use as a lower limit
25
+ */
24
26
  constructor(collAmount, from, upperHint, lowerHint) {
25
27
  requireAddress(from);
26
28
  super('LiquitySupply', getAddr('LiquitySupply'), ['uint256', 'address', 'address', 'address'], [collAmount, from, upperHint, lowerHint]);
@@ -7,10 +7,10 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class LiquityUnstakeAction extends Action {
9
9
  /**
10
- * @param lqtyAmount Amount of LQTY tokens that will be unstaked
11
- * @param to Address that will receive the tokens
12
- * @param wethTo Address that will receive ETH gains
13
- * @param lusdTo Address that will receive LUSD gains
14
- */
10
+ * @param lqtyAmount Amount of LQTY tokens that will be unstaked
11
+ * @param to Address that will receive the tokens
12
+ * @param wethTo Address that will receive ETH gains
13
+ * @param lusdTo Address that will receive LUSD gains
14
+ */
15
15
  constructor(lqtyAmount: uint256, to: EthAddress, wethTo: EthAddress, lusdTo: EthAddress);
16
16
  }
@@ -8,11 +8,11 @@ import { getAddr } from '../../addresses';
8
8
  */
9
9
  export class LiquityUnstakeAction extends Action {
10
10
  /**
11
- * @param lqtyAmount Amount of LQTY tokens that will be unstaked
12
- * @param to Address that will receive the tokens
13
- * @param wethTo Address that will receive ETH gains
14
- * @param lusdTo Address that will receive LUSD gains
15
- */
11
+ * @param lqtyAmount Amount of LQTY tokens that will be unstaked
12
+ * @param to Address that will receive the tokens
13
+ * @param wethTo Address that will receive ETH gains
14
+ * @param lusdTo Address that will receive LUSD gains
15
+ */
16
16
  constructor(lqtyAmount, to, wethTo, lusdTo) {
17
17
  requireAddress(to);
18
18
  requireAddress(wethTo);
@@ -7,8 +7,10 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class LiquityWithdrawAction extends Action {
9
9
  /**
10
- * @param collAmount Amount of WETH tokens to withdraw
11
- * @param to Address that will receive the withdrawn tokens
12
- */
10
+ * @param collAmount Amount of WETH tokens to withdraw
11
+ * @param to Address that will receive the withdrawn tokens
12
+ * @param upperHint Address in the linked list to use as an upper limit
13
+ * @param lowerHint Address in the linked list to use as a lower limit
14
+ */
13
15
  constructor(collAmount: uint256, to: EthAddress, upperHint: EthAddress, lowerHint: EthAddress);
14
16
  }
@@ -8,9 +8,11 @@ import { getAddr } from '../../addresses';
8
8
  */
9
9
  export class LiquityWithdrawAction extends Action {
10
10
  /**
11
- * @param collAmount Amount of WETH tokens to withdraw
12
- * @param to Address that will receive the withdrawn tokens
13
- */
11
+ * @param collAmount Amount of WETH tokens to withdraw
12
+ * @param to Address that will receive the withdrawn tokens
13
+ * @param upperHint Address in the linked list to use as an upper limit
14
+ * @param lowerHint Address in the linked list to use as a lower limit
15
+ */
14
16
  constructor(collAmount, to, upperHint, lowerHint) {
15
17
  requireAddress(to);
16
18
  super('LiquityWithdraw', getAddr('LiquityWithdraw'), ['uint256', 'address', 'address', 'address'], [collAmount, to, upperHint, lowerHint]);
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * MakerClaimAction - Claim bonus tokens in CropJoin types
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { getAddr } from '../../addresses';
3
3
  import { requireAddress } from '../../utils/general';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * MakerGenerateAction - Generated Dai from a Vault
@@ -1,5 +1,5 @@
1
- import { Action } from "../../Action";
2
- import { requireAddress } from "../../utils/general";
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
3
  import { getAddr } from '../../addresses';
4
4
  /**
5
5
  * MakerGenerateAction - Generated Dai from a Vault
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * MakerGiveAction - gives a vault to a selected address
@@ -1,5 +1,5 @@
1
- import { Action } from "../../Action";
2
- import { requireAddress } from "../../utils/general";
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
3
  import { getAddr } from '../../addresses';
4
4
  /**
5
5
  * MakerGiveAction - gives a vault to a selected address
@@ -15,7 +15,7 @@ export class MakerGiveAction extends Action {
15
15
  */
16
16
  constructor(vaultId, newOwner, createProxy, mcdManager = getAddr('McdCdpManager')) {
17
17
  requireAddress(newOwner);
18
- super('McdGive', getAddr('McdGive'), ["uint256", "address", "bool", "address"], [vaultId, newOwner, createProxy, mcdManager]);
18
+ super('McdGive', getAddr('McdGive'), ['uint256', 'address', 'bool', 'address'], [vaultId, newOwner, createProxy, mcdManager]);
19
19
  this.mappableArgs = [
20
20
  this.args[0],
21
21
  this.args[1],
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * MakerMergeAction - merged two vaults of the same type
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { getAddr } from '../../addresses';
3
3
  /**
4
4
  * MakerMergeAction - merged two vaults of the same type
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress } from '../../types';
3
3
  /**
4
4
  * MakerOpenVaultAction
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { getAddr } from '../../addresses';
3
3
  /**
4
4
  * MakerOpenVaultAction
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * MakerPaybackAction - Payback dai to a Vault
@@ -7,8 +7,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Action } from "../../Action";
11
- import { getAssetInfo } from "@defisaver/tokens";
10
+ import { getAssetInfo } from '@defisaver/tokens';
11
+ import { Action } from '../../Action';
12
12
  import { getAddr } from '../../addresses';
13
13
  /**
14
14
  * MakerPaybackAction - Payback dai to a Vault
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { uint256 } from '../../types';
3
3
  /**
4
4
  * MakerRatioAction
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { getAddr } from '../../addresses';
3
3
  /**
4
4
  * MakerRatioAction
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { uint256, EthAddress } from '../../types';
3
3
  /**
4
4
  * MakerSupplyAction - Supply token to a Vault
@@ -7,8 +7,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Action } from "../../Action";
11
- import { tokenFromJoin, getAssetInfo } from "@defisaver/tokens";
10
+ import { tokenFromJoin, getAssetInfo } from '@defisaver/tokens';
11
+ import { Action } from '../../Action';
12
12
  import { getAddr } from '../../addresses';
13
13
  /**
14
14
  * MakerSupplyAction - Supply token to a Vault
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { uint256, EthAddress } from '../../types';
3
3
  /**
4
4
  * MakerWithdrawAction - Withdraw token from a Vault
@@ -1,5 +1,5 @@
1
- import { Action } from "../../Action";
2
- import { requireAddress } from "../../utils/general";
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
3
  import { getAddr } from '../../addresses';
4
4
  /**
5
5
  * MakerWithdrawAction - Withdraw token from a Vault
@@ -7,10 +7,10 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class MStableClaimAction extends Action {
9
9
  /**
10
- * @param vaultAddress
11
- * @param to
12
- * @param first
13
- * @param last
14
- */
10
+ * @param vaultAddress
11
+ * @param to
12
+ * @param first
13
+ * @param last
14
+ */
15
15
  constructor(vaultAddress: EthAddress, to: EthAddress, first: uint256, last: uint256);
16
16
  }
@@ -8,11 +8,11 @@ import { getAddr } from '../../addresses';
8
8
  */
9
9
  export class MStableClaimAction extends Action {
10
10
  /**
11
- * @param vaultAddress
12
- * @param to
13
- * @param first
14
- * @param last
15
- */
11
+ * @param vaultAddress
12
+ * @param to
13
+ * @param first
14
+ * @param last
15
+ */
16
16
  constructor(vaultAddress, to, first, last) {
17
17
  requireAddress(vaultAddress);
18
18
  requireAddress(to);
@@ -7,16 +7,16 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class MStableDepositAction extends Action {
9
9
  /**
10
- * @param bAsset
11
- * @param mAsset
12
- * @param saveAddress
13
- * @param vaultAddress
14
- * @param from
15
- * @param to
16
- * @param amount
17
- * @param minOut
18
- * @param assetPair
19
- */
10
+ * @param bAsset
11
+ * @param mAsset
12
+ * @param saveAddress
13
+ * @param vaultAddress
14
+ * @param from
15
+ * @param to
16
+ * @param amount
17
+ * @param minOut
18
+ * @param assetPair
19
+ */
20
20
  constructor(bAsset: EthAddress, mAsset: EthAddress, saveAddress: EthAddress, vaultAddress: EthAddress, from: EthAddress, to: EthAddress, amount: uint256, minOut: uint256, assetPair: uint256);
21
21
  getAssetsToApprove(): Promise<{
22
22
  asset: any;
@@ -18,16 +18,16 @@ import mstableAssetPairs from '../../utils/mstableAssetPairs';
18
18
  */
19
19
  export class MStableDepositAction extends Action {
20
20
  /**
21
- * @param bAsset
22
- * @param mAsset
23
- * @param saveAddress
24
- * @param vaultAddress
25
- * @param from
26
- * @param to
27
- * @param amount
28
- * @param minOut
29
- * @param assetPair
30
- */
21
+ * @param bAsset
22
+ * @param mAsset
23
+ * @param saveAddress
24
+ * @param vaultAddress
25
+ * @param from
26
+ * @param to
27
+ * @param amount
28
+ * @param minOut
29
+ * @param assetPair
30
+ */
31
31
  constructor(bAsset, mAsset, saveAddress, vaultAddress, from, to, amount, minOut, assetPair) {
32
32
  requireAddress(bAsset);
33
33
  requireAddress(mAsset);
@@ -7,16 +7,16 @@ import { EthAddress, uint256 } from '../../types';
7
7
  */
8
8
  export declare class MStableWithdrawAction extends Action {
9
9
  /**
10
- * @param bAsset
11
- * @param mAsset
12
- * @param saveAddress
13
- * @param vaultAddress
14
- * @param from
15
- * @param to
16
- * @param amount
17
- * @param minOut
18
- * @param assetPair
19
- */
10
+ * @param bAsset
11
+ * @param mAsset
12
+ * @param saveAddress
13
+ * @param vaultAddress
14
+ * @param from
15
+ * @param to
16
+ * @param amount
17
+ * @param minOut
18
+ * @param assetPair
19
+ */
20
20
  constructor(bAsset: EthAddress, mAsset: EthAddress, saveAddress: EthAddress, vaultAddress: EthAddress, from: EthAddress, to: EthAddress, amount: uint256, minOut: uint256, assetPair: uint256);
21
21
  getAssetsToApprove(): Promise<{
22
22
  asset: any;
@@ -18,16 +18,16 @@ import mstableAssetPairs from '../../utils/mstableAssetPairs';
18
18
  */
19
19
  export class MStableWithdrawAction extends Action {
20
20
  /**
21
- * @param bAsset
22
- * @param mAsset
23
- * @param saveAddress
24
- * @param vaultAddress
25
- * @param from
26
- * @param to
27
- * @param amount
28
- * @param minOut
29
- * @param assetPair
30
- */
21
+ * @param bAsset
22
+ * @param mAsset
23
+ * @param saveAddress
24
+ * @param vaultAddress
25
+ * @param from
26
+ * @param to
27
+ * @param amount
28
+ * @param minOut
29
+ * @param assetPair
30
+ */
31
31
  constructor(bAsset, mAsset, saveAddress, vaultAddress, from, to, amount, minOut, assetPair) {
32
32
  requireAddress(bAsset);
33
33
  requireAddress(mAsset);
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * RariDepositAction - action that deposits one stablecoin (DAI, USDC, USDT, TUSD, BUSD, and sUSD) and receives RSPT back
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Action } from "../../Action";
10
+ import { Action } from '../../Action';
11
11
  import { getAddr } from '../../addresses';
12
12
  import { requireAddress } from '../../utils/general';
13
13
  /**
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * RariWithdrawAction - Send pool tokens to fund manager which burns them, receive underlying stablecoin back
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Action } from "../../Action";
10
+ import { Action } from '../../Action';
11
11
  import { getAddr } from '../../addresses';
12
12
  import { requireAddress } from '../../utils/general';
13
13
  /**
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * ReflexerGenerateAction - Generated Dai from a Safe
@@ -1,5 +1,5 @@
1
- import { Action } from "../../Action";
2
- import { requireAddress } from "../../utils/general";
1
+ import { Action } from '../../Action';
2
+ import { requireAddress } from '../../utils/general';
3
3
  import { getAddr } from '../../addresses';
4
4
  /**
5
5
  * ReflexerGenerateAction - Generated Dai from a Safe
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * ReflexerNativeUniV2SaviourDepositAction - Deposit lpToken in the contract in order to provide cover for a specific SAFE managed by the SAFE Manager
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Action } from "../../Action";
10
+ import { Action } from '../../Action';
11
11
  import { getAddr } from '../../addresses';
12
12
  /**
13
13
  * ReflexerNativeUniV2SaviourDepositAction - Deposit lpToken in the contract in order to provide cover for a specific SAFE managed by the SAFE Manager
@@ -1,4 +1,4 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { EthAddress, uint256 } from '../../types';
3
3
  /**
4
4
  * ReflexerNativeUniV2SaviourGetReservesAction - Get back system coins or collateral tokens that were withdrawn from Uniswap and not used to save a specific SAFE
@@ -1,6 +1,6 @@
1
- import { Action } from "../../Action";
1
+ import { Action } from '../../Action';
2
2
  import { getAddr } from '../../addresses';
3
- import { requireAddress } from "../../utils/general";
3
+ import { requireAddress } from '../../utils/general';
4
4
  /**
5
5
  * ReflexerNativeUniV2SaviourGetReservesAction - Get back system coins or collateral tokens that were withdrawn from Uniswap and not used to save a specific SAFE
6
6
  *