@defisaver/sdk 1.3.5-dev.0 → 1.3.5
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.
- package/.babelrc +3 -3
- package/.editorconfig +9 -9
- package/.eslintignore +5 -5
- package/.eslintrc.js +36 -36
- package/.mocharc.json +4 -4
- package/.nvmrc +1 -1
- package/ACTIONS.md +1765 -1765
- package/AccessLists/AaveAccessLists.ts +26 -26
- package/AccessLists/BalancerAccessLists.ts +18 -18
- package/AccessLists/CompoundAccessLists.ts +31 -31
- package/AccessLists/DyDxAccessLists.ts +8 -8
- package/AccessLists/FlashLoanAccessLists.ts +26 -26
- package/AccessLists/GuniAccessLists.ts +14 -14
- package/AccessLists/InstaAccessLists.ts +7 -7
- package/AccessLists/LidoAccessLists.ts +19 -19
- package/AccessLists/LiquityAccessLists.ts +79 -79
- package/AccessLists/MStableAccessLists.ts +16 -16
- package/AccessLists/MakerAccessLists.ts +42 -42
- package/AccessLists/RariAccessLists.ts +10 -10
- package/AccessLists/ReflexerAccessLists.ts +50 -50
- package/AccessLists/UniswapAccessLists.ts +38 -38
- package/AccessLists/UtilsAccessLists.ts +34 -34
- package/AccessLists/YearnAccessLists.ts +12 -12
- package/AccessLists/index.ts +37 -37
- package/DEV.md +43 -43
- package/README.md +16 -16
- package/docs/md/README.md +12 -12
- package/docs/md/classes/AaveBorrowAction.md +458 -458
- package/docs/md/classes/AaveClaimStkAaveAction.md +455 -455
- package/docs/md/classes/AaveCollateralSwitchAction.md +455 -455
- package/docs/md/classes/AavePaybackAction.md +458 -458
- package/docs/md/classes/AaveSupplyAction.md +458 -458
- package/docs/md/classes/AaveV2FlashLoanAction.md +458 -458
- package/docs/md/classes/AaveV2FlashLoanPaybackAction.md +454 -454
- package/docs/md/classes/AaveV3ATokenPaybackAction.md +644 -644
- package/docs/md/classes/AaveV3BorrowAction.md +606 -606
- package/docs/md/classes/AaveV3ClaimRewardsAction.md +603 -603
- package/docs/md/classes/AaveV3CollateralSwitchAction.md +603 -603
- package/docs/md/classes/AaveV3FlashLoanAction.md +604 -604
- package/docs/md/classes/AaveV3FlashLoanPaybackAction.md +454 -454
- package/docs/md/classes/AaveV3PaybackAction.md +618 -618
- package/docs/md/classes/AaveV3RatioCheckAction.md +454 -454
- package/docs/md/classes/AaveV3RatioTrigger.md +454 -454
- package/docs/md/classes/AaveV3SetEModeAction.md +601 -601
- package/docs/md/classes/AaveV3SupplyAction.md +618 -618
- package/docs/md/classes/AaveV3SwapBorrowRateModeAction.md +602 -602
- package/docs/md/classes/AaveV3WithdrawAction.md +603 -603
- package/docs/md/classes/AaveWithdrawAction.md +456 -456
- package/docs/md/classes/Action.md +604 -604
- package/docs/md/classes/ActionWithL2.md +612 -612
- package/docs/md/classes/AutomationV2Unsub.md +452 -452
- package/docs/md/classes/BalancerFlashLoanAction.md +456 -456
- package/docs/md/classes/BalancerFlashLoanPaybackAction.md +454 -454
- package/docs/md/classes/BalancerV2ClaimAction.md +457 -457
- package/docs/md/classes/BalancerV2SupplyAction.md +458 -458
- package/docs/md/classes/BalancerV2WithdrawAction.md +470 -470
- package/docs/md/classes/CBChickenInAction.md +454 -454
- package/docs/md/classes/CBChickenOutAction.md +455 -455
- package/docs/md/classes/CBCreateAction.md +454 -454
- package/docs/md/classes/CBRedeemAction.md +456 -456
- package/docs/md/classes/ChainLinkPriceTrigger.md +453 -453
- package/docs/md/classes/ChangeProxyOwnerAction.md +453 -453
- package/docs/md/classes/CompV3RatioTrigger.md +454 -454
- package/docs/md/classes/CompoundBorrowAction.md +455 -455
- package/docs/md/classes/CompoundClaimAction.md +456 -456
- package/docs/md/classes/CompoundCollateralSwitchAction.md +454 -454
- package/docs/md/classes/CompoundGetDebtAction.md +452 -452
- package/docs/md/classes/CompoundPaybackAction.md +456 -456
- package/docs/md/classes/CompoundRatioTrigger.md +453 -453
- package/docs/md/classes/CompoundSupplyAction.md +456 -456
- package/docs/md/classes/CompoundV3AllowAction.md +455 -455
- package/docs/md/classes/CompoundV3BorrowAction.md +456 -456
- package/docs/md/classes/CompoundV3ClaimAction.md +456 -456
- package/docs/md/classes/CompoundV3PaybackAction.md +468 -468
- package/docs/md/classes/CompoundV3RatioCheckAction.md +456 -456
- package/docs/md/classes/CompoundV3SupplyAction.md +468 -468
- package/docs/md/classes/CompoundV3TransferAction.md +457 -457
- package/docs/md/classes/CompoundV3WithdrawAction.md +457 -457
- package/docs/md/classes/CompoundWithdrawAction.md +455 -455
- package/docs/md/classes/ConvexClaimAction.md +466 -466
- package/docs/md/classes/ConvexDepositAction.md +468 -468
- package/docs/md/classes/ConvexWithdrawAction.md +468 -468
- package/docs/md/classes/CurveClaimFeesAction.md +452 -452
- package/docs/md/classes/CurveDepositAction.md +467 -467
- package/docs/md/classes/CurveGaugeDepositAction.md +455 -455
- package/docs/md/classes/CurveGaugeWithdrawAction.md +454 -454
- package/docs/md/classes/CurveMintCrvAction.md +452 -452
- package/docs/md/classes/CurveStethPoolDepositAction.md +456 -456
- package/docs/md/classes/CurveStethPoolWithdrawAction.md +457 -457
- package/docs/md/classes/CurveSwapAction.md +457 -457
- package/docs/md/classes/CurveWithdrawAction.md +468 -468
- package/docs/md/classes/DfsWeb3.md +212 -212
- package/docs/md/classes/DyDxFlashLoanAction.md +456 -456
- package/docs/md/classes/DyDxFlashLoanPaybackAction.md +454 -454
- package/docs/md/classes/DyDxWithdrawAction.md +455 -455
- package/docs/md/classes/EulerFlashLoanAction.md +456 -456
- package/docs/md/classes/EulerFlashLoanPaybackAction.md +454 -454
- package/docs/md/classes/GUniDeposit.md +461 -461
- package/docs/md/classes/GUniWithdraw.md +458 -458
- package/docs/md/classes/GasFeeAction.md +454 -454
- package/docs/md/classes/GasFeeActionL2.md +455 -455
- package/docs/md/classes/GasPriceTrigger.md +35 -35
- package/docs/md/classes/InstPullTokensAction.md +454 -454
- package/docs/md/classes/LidoStakeAction.md +455 -455
- package/docs/md/classes/LidoUnwrapAction.md +455 -455
- package/docs/md/classes/LidoWrapAction.md +456 -456
- package/docs/md/classes/LiquityBorrowAction.md +457 -457
- package/docs/md/classes/LiquityClaimAction.md +453 -453
- package/docs/md/classes/LiquityClaimSPRewardsAction.md +454 -454
- package/docs/md/classes/LiquityClaimStakingRewardsAction.md +454 -454
- package/docs/md/classes/LiquityCloseAction.md +454 -454
- package/docs/md/classes/LiquityEthGainToTroveAction.md +455 -455
- package/docs/md/classes/LiquityOpenAction.md +459 -459
- package/docs/md/classes/LiquityPaybackAction.md +456 -456
- package/docs/md/classes/LiquityRatioTrigger.md +453 -453
- package/docs/md/classes/LiquityRedeemAction.md +461 -461
- package/docs/md/classes/LiquitySPDepositAction.md +456 -456
- package/docs/md/classes/LiquitySPWithdrawAction.md +458 -458
- package/docs/md/classes/LiquityStakeAction.md +456 -456
- package/docs/md/classes/LiquitySupplyAction.md +456 -456
- package/docs/md/classes/LiquityUnstakeAction.md +458 -458
- package/docs/md/classes/LiquityWithdrawAction.md +456 -456
- package/docs/md/classes/MStableClaimAction.md +456 -456
- package/docs/md/classes/MStableDepositAction.md +461 -461
- package/docs/md/classes/MStableWithdrawAction.md +461 -461
- package/docs/md/classes/MakerClaimAction.md +455 -455
- package/docs/md/classes/MakerFlashLoanAction.md +455 -455
- package/docs/md/classes/MakerFlashLoanPaybackAction.md +454 -454
- package/docs/md/classes/MakerGenerateAction.md +456 -456
- package/docs/md/classes/MakerGiveAction.md +456 -456
- package/docs/md/classes/MakerMergeAction.md +455 -455
- package/docs/md/classes/MakerOpenVaultAction.md +454 -454
- package/docs/md/classes/MakerPaybackAction.md +456 -456
- package/docs/md/classes/MakerRatioAction.md +453 -453
- package/docs/md/classes/MakerRatioCheckAction.md +457 -457
- package/docs/md/classes/MakerRatioTrigger.md +453 -453
- package/docs/md/classes/MakerSupplyAction.md +457 -457
- package/docs/md/classes/MakerWithdrawAction.md +457 -457
- package/docs/md/classes/PullTokenAction.md +455 -455
- package/docs/md/classes/RariDepositAction.md +458 -458
- package/docs/md/classes/RariWithdrawAction.md +459 -459
- package/docs/md/classes/Recipe.md +195 -195
- package/docs/md/classes/ReflexerGenerateAction.md +455 -455
- package/docs/md/classes/ReflexerNativeUniV2SaviourDepositAction.md +455 -455
- package/docs/md/classes/ReflexerNativeUniV2SaviourGetReservesAction.md +454 -454
- package/docs/md/classes/ReflexerNativeUniV2SaviourWithdrawAction.md +455 -455
- package/docs/md/classes/ReflexerOpenSafeAction.md +453 -453
- package/docs/md/classes/ReflexerPaybackAction.md +455 -455
- package/docs/md/classes/ReflexerRatioTrigger.md +453 -453
- package/docs/md/classes/ReflexerSupplyAction.md +456 -456
- package/docs/md/classes/ReflexerWithdrawAction.md +456 -456
- package/docs/md/classes/SellAction.md +613 -613
- package/docs/md/classes/SendTokenAction.md +467 -467
- package/docs/md/classes/SendTokenAndUnwrapAction.md +455 -455
- package/docs/md/classes/Strategy.md +195 -195
- package/docs/md/classes/SubInputsAction.md +454 -454
- package/docs/md/classes/SumInputsAction.md +454 -454
- package/docs/md/classes/TimestampTrigger.md +451 -451
- package/docs/md/classes/ToggleSubAction.md +454 -454
- package/docs/md/classes/TokenBalanceAction.md +452 -452
- package/docs/md/classes/TrailingStopTrigger.md +453 -453
- package/docs/md/classes/TransferNFTAction.md +454 -454
- package/docs/md/classes/UniV3CurrentTickTrigger.md +452 -452
- package/docs/md/classes/UniswapSupplyAction.md +461 -461
- package/docs/md/classes/UniswapV3CollectAction.md +614 -614
- package/docs/md/classes/UniswapV3CreatePoolAction.md +611 -611
- package/docs/md/classes/UniswapV3MintAction.md +610 -610
- package/docs/md/classes/UniswapV3SupplyAction.md +63 -63
- package/docs/md/classes/UniswapV3WithdrawAction.md +618 -618
- package/docs/md/classes/UniswapWithdrawAction.md +460 -460
- package/docs/md/classes/UnwrapEthAction.md +600 -600
- package/docs/md/classes/UpdateSubAction.md +454 -454
- package/docs/md/classes/WrapEthAction.md +599 -599
- package/docs/md/classes/YearnSupplyAction.md +456 -456
- package/docs/md/classes/YearnWithdrawAction.md +456 -456
- package/docs/md/modules.md +814 -814
- package/esm/AccessLists/AaveAccessLists.d.ts +2 -2
- package/esm/AccessLists/AaveAccessLists.js +19 -19
- package/esm/AccessLists/BalancerAccessLists.d.ts +2 -2
- package/esm/AccessLists/BalancerAccessLists.js +14 -14
- package/esm/AccessLists/CompoundAccessLists.d.ts +2 -2
- package/esm/AccessLists/CompoundAccessLists.js +23 -23
- package/esm/AccessLists/DyDxAccessLists.d.ts +2 -2
- package/esm/AccessLists/DyDxAccessLists.js +6 -6
- package/esm/AccessLists/FlashLoanAccessLists.d.ts +2 -2
- package/esm/AccessLists/FlashLoanAccessLists.js +20 -20
- package/esm/AccessLists/GuniAccessLists.d.ts +2 -2
- package/esm/AccessLists/GuniAccessLists.js +10 -10
- package/esm/AccessLists/InstaAccessLists.d.ts +2 -2
- package/esm/AccessLists/InstaAccessLists.js +5 -5
- package/esm/AccessLists/LidoAccessLists.d.ts +2 -2
- package/esm/AccessLists/LidoAccessLists.js +15 -15
- package/esm/AccessLists/LiquityAccessLists.d.ts +2 -2
- package/esm/AccessLists/LiquityAccessLists.js +65 -65
- package/esm/AccessLists/MStableAccessLists.d.ts +2 -2
- package/esm/AccessLists/MStableAccessLists.js +12 -12
- package/esm/AccessLists/MakerAccessLists.d.ts +2 -2
- package/esm/AccessLists/MakerAccessLists.js +34 -34
- package/esm/AccessLists/RariAccessLists.d.ts +2 -2
- package/esm/AccessLists/RariAccessLists.js +8 -8
- package/esm/AccessLists/ReflexerAccessLists.d.ts +2 -2
- package/esm/AccessLists/ReflexerAccessLists.js +42 -42
- package/esm/AccessLists/UniswapAccessLists.d.ts +2 -2
- package/esm/AccessLists/UniswapAccessLists.js +31 -31
- package/esm/AccessLists/UtilsAccessLists.d.ts +2 -2
- package/esm/AccessLists/UtilsAccessLists.js +23 -23
- package/esm/AccessLists/YearnAccessLists.d.ts +2 -2
- package/esm/AccessLists/YearnAccessLists.js +9 -9
- package/esm/AccessLists/index.d.ts +3 -3
- package/esm/AccessLists/index.js +17 -17
- package/esm/src/Action.d.ts +84 -84
- package/esm/src/Action.js +210 -210
- package/esm/src/ActionWithL2.d.ts +20 -20
- package/esm/src/ActionWithL2.js +46 -46
- package/esm/src/DfsWeb3.d.ts +31 -31
- package/esm/src/DfsWeb3.js +117 -117
- package/esm/src/Recipe.d.ts +76 -76
- package/esm/src/Recipe.js +206 -206
- package/esm/src/Strategy.d.ts +19 -19
- package/esm/src/Strategy.js +47 -47
- package/esm/src/abis/Action.json +247 -247
- package/esm/src/abis/DFSProxyRegistry.json +193 -193
- package/esm/src/abis/DsProxy.json +218 -218
- package/esm/src/abis/Erc20.json +222 -222
- package/esm/src/abis/ProxyRegistry.json +65 -65
- package/esm/src/abis/Recipe.json +871 -871
- package/esm/src/abis/UniV3PositionManager.json +65 -65
- package/esm/src/actions/aave/AaveBorrowAction.d.ts +18 -18
- package/esm/src/actions/aave/AaveBorrowAction.js +30 -30
- package/esm/src/actions/aave/AaveClaimAAVEAction.d.ts +14 -14
- package/esm/src/actions/aave/AaveClaimAAVEAction.js +22 -22
- package/esm/src/actions/aave/AaveClaimStkAaveAction.d.ts +15 -15
- package/esm/src/actions/aave/AaveClaimStkAaveAction.js +23 -23
- package/esm/src/actions/aave/AaveCollateralSwitchAction.d.ts +15 -15
- package/esm/src/actions/aave/AaveCollateralSwitchAction.js +18 -18
- package/esm/src/actions/aave/AaveFinalizeUnstakeAction.d.ts +14 -14
- package/esm/src/actions/aave/AaveFinalizeUnstakeAction.js +22 -22
- package/esm/src/actions/aave/AavePaybackAction.d.ts +22 -22
- package/esm/src/actions/aave/AavePaybackAction.js +38 -38
- package/esm/src/actions/aave/AaveStartUnstakeAction.d.ts +9 -9
- package/esm/src/actions/aave/AaveStartUnstakeAction.js +12 -12
- package/esm/src/actions/aave/AaveSupplyAction.d.ts +22 -22
- package/esm/src/actions/aave/AaveSupplyAction.js +46 -46
- package/esm/src/actions/aave/AaveWithdrawAction.d.ts +16 -16
- package/esm/src/actions/aave/AaveWithdrawAction.js +20 -20
- package/esm/src/actions/aave/index.d.ts +9 -9
- package/esm/src/actions/aave/index.js +9 -9
- package/esm/src/actions/aaveV3/AaveV3ATokenPaybackAction.d.ts +25 -25
- package/esm/src/actions/aaveV3/AaveV3ATokenPaybackAction.js +64 -64
- package/esm/src/actions/aaveV3/AaveV3BorrowAction.d.ts +21 -21
- package/esm/src/actions/aaveV3/AaveV3BorrowAction.js +59 -59
- package/esm/src/actions/aaveV3/AaveV3ClaimRewardsAction.d.ts +18 -18
- package/esm/src/actions/aaveV3/AaveV3ClaimRewardsAction.js +40 -40
- package/esm/src/actions/aaveV3/AaveV3CollateralSwitchAction.d.ts +18 -18
- package/esm/src/actions/aaveV3/AaveV3CollateralSwitchAction.js +39 -39
- package/esm/src/actions/aaveV3/AaveV3DelegateCredit.d.ts +19 -19
- package/esm/src/actions/aaveV3/AaveV3DelegateCredit.js +47 -47
- package/esm/src/actions/aaveV3/AaveV3DelegateWithSigAction.d.ts +11 -11
- package/esm/src/actions/aaveV3/AaveV3DelegateWithSigAction.js +33 -33
- package/esm/src/actions/aaveV3/AaveV3PaybackAction.d.ts +27 -27
- package/esm/src/actions/aaveV3/AaveV3PaybackAction.js +77 -77
- package/esm/src/actions/aaveV3/AaveV3SetEModeAction.d.ts +16 -16
- package/esm/src/actions/aaveV3/AaveV3SetEModeAction.js +33 -33
- package/esm/src/actions/aaveV3/AaveV3SupplyAction.d.ts +27 -27
- package/esm/src/actions/aaveV3/AaveV3SupplyAction.js +77 -77
- package/esm/src/actions/aaveV3/AaveV3SwapBorrowRateModeAction.d.ts +18 -18
- package/esm/src/actions/aaveV3/AaveV3SwapBorrowRateModeAction.js +38 -38
- package/esm/src/actions/aaveV3/AaveV3WithdrawAction.d.ts +18 -18
- package/esm/src/actions/aaveV3/AaveV3WithdrawAction.js +45 -45
- package/esm/src/actions/aaveV3/index.d.ts +11 -11
- package/esm/src/actions/aaveV3/index.js +11 -11
- package/esm/src/actions/balancer/BalancerV2ClaimAction.d.ts +20 -20
- package/esm/src/actions/balancer/BalancerV2ClaimAction.js +49 -49
- package/esm/src/actions/balancer/BalancerV2SupplyAction.d.ts +22 -22
- package/esm/src/actions/balancer/BalancerV2SupplyAction.js +52 -52
- package/esm/src/actions/balancer/BalancerV2WithdrawAction.d.ts +24 -24
- package/esm/src/actions/balancer/BalancerV2WithdrawAction.js +56 -56
- package/esm/src/actions/balancer/index.d.ts +3 -3
- package/esm/src/actions/balancer/index.js +3 -3
- package/esm/src/actions/basic/ApproveTokenAction.d.ts +16 -16
- package/esm/src/actions/basic/ApproveTokenAction.js +42 -42
- package/esm/src/actions/basic/AutomationV2Unsub.d.ts +9 -9
- package/esm/src/actions/basic/AutomationV2Unsub.js +11 -11
- package/esm/src/actions/basic/ChangeProxyOwnerAction.d.ts +13 -13
- package/esm/src/actions/basic/ChangeProxyOwnerAction.js +15 -15
- package/esm/src/actions/basic/CreateSubAction.d.ts +13 -13
- package/esm/src/actions/basic/CreateSubAction.js +19 -19
- package/esm/src/actions/basic/ExecuteSafeTxAction.d.ts +23 -23
- package/esm/src/actions/basic/ExecuteSafeTxAction.js +60 -60
- package/esm/src/actions/basic/GasFeeAction.d.ts +14 -14
- package/esm/src/actions/basic/GasFeeAction.js +21 -21
- package/esm/src/actions/basic/GasFeeActionL2.d.ts +15 -15
- package/esm/src/actions/basic/GasFeeActionL2.js +22 -22
- package/esm/src/actions/basic/HandleAuthAction.d.ts +12 -12
- package/esm/src/actions/basic/HandleAuthAction.js +15 -15
- package/esm/src/actions/basic/KingClaimAction.d.ts +16 -16
- package/esm/src/actions/basic/KingClaimAction.js +25 -25
- package/esm/src/actions/basic/LSVSellAction.d.ts +23 -23
- package/esm/src/actions/basic/LSVSellAction.js +61 -61
- package/esm/src/actions/basic/LimitSellAction.d.ts +24 -24
- package/esm/src/actions/basic/LimitSellAction.js +63 -63
- package/esm/src/actions/basic/PermitTokenAction.d.ts +21 -21
- package/esm/src/actions/basic/PermitTokenAction.js +50 -50
- package/esm/src/actions/basic/PullTokenAction.d.ts +19 -19
- package/esm/src/actions/basic/PullTokenAction.js +41 -41
- package/esm/src/actions/basic/RemoveTokenApprovalAction.d.ts +15 -15
- package/esm/src/actions/basic/RemoveTokenApprovalAction.js +42 -42
- package/esm/src/actions/basic/SDaiUnwrapAction.d.ts +19 -19
- package/esm/src/actions/basic/SDaiUnwrapAction.js +39 -39
- package/esm/src/actions/basic/SDaiWrapAction.d.ts +19 -19
- package/esm/src/actions/basic/SDaiWrapAction.js +39 -39
- package/esm/src/actions/basic/SellAction.d.ts +23 -23
- package/esm/src/actions/basic/SellAction.js +61 -61
- package/esm/src/actions/basic/SellNoFeeAction.d.ts +23 -23
- package/esm/src/actions/basic/SellNoFeeAction.js +61 -61
- package/esm/src/actions/basic/SendTokenAction.d.ts +15 -15
- package/esm/src/actions/basic/SendTokenAction.js +23 -23
- package/esm/src/actions/basic/SendTokenAndUnwrapAction.d.ts +15 -15
- package/esm/src/actions/basic/SendTokenAndUnwrapAction.js +23 -23
- package/esm/src/actions/basic/SendTokensAction.d.ts +15 -15
- package/esm/src/actions/basic/SendTokensAction.js +31 -31
- package/esm/src/actions/basic/SendTokensAndUnwrapAction.d.ts +15 -15
- package/esm/src/actions/basic/SendTokensAndUnwrapAction.js +31 -31
- package/esm/src/actions/basic/StarknetClaimAction.d.ts +11 -11
- package/esm/src/actions/basic/StarknetClaimAction.js +30 -30
- package/esm/src/actions/basic/SubInputsAction.d.ts +10 -10
- package/esm/src/actions/basic/SubInputsAction.js +15 -15
- package/esm/src/actions/basic/SumInputsAction.d.ts +10 -10
- package/esm/src/actions/basic/SumInputsAction.js +15 -15
- package/esm/src/actions/basic/ToggleSubAction.d.ts +14 -14
- package/esm/src/actions/basic/ToggleSubAction.js +16 -16
- package/esm/src/actions/basic/TokenBalanceAction.d.ts +8 -8
- package/esm/src/actions/basic/TokenBalanceAction.js +13 -13
- package/esm/src/actions/basic/TokenizedVaultAdapterDepositAction.d.ts +22 -22
- package/esm/src/actions/basic/TokenizedVaultAdapterDepositAction.js +35 -35
- package/esm/src/actions/basic/TokenizedVaultAdapterMintAction.d.ts +22 -22
- package/esm/src/actions/basic/TokenizedVaultAdapterMintAction.js +35 -35
- package/esm/src/actions/basic/TokenizedVaultAdapterRedeemAction.d.ts +20 -20
- package/esm/src/actions/basic/TokenizedVaultAdapterRedeemAction.js +33 -33
- package/esm/src/actions/basic/TokenizedVaultAdapterWithdrawAction.d.ts +20 -20
- package/esm/src/actions/basic/TokenizedVaultAdapterWithdrawAction.js +33 -33
- package/esm/src/actions/basic/TransferNFTAction.d.ts +8 -8
- package/esm/src/actions/basic/TransferNFTAction.js +17 -17
- package/esm/src/actions/basic/UnwrapEthAction.d.ts +15 -15
- package/esm/src/actions/basic/UnwrapEthAction.js +30 -30
- package/esm/src/actions/basic/UpdateSubAction.d.ts +14 -14
- package/esm/src/actions/basic/UpdateSubAction.js +22 -22
- package/esm/src/actions/basic/WrapEthAction.d.ts +16 -16
- package/esm/src/actions/basic/WrapEthAction.js +37 -37
- package/esm/src/actions/basic/index.d.ts +35 -35
- package/esm/src/actions/basic/index.js +35 -35
- package/esm/src/actions/bprotocol/BprotocolLiquitySPDepositAction.d.ts +20 -20
- package/esm/src/actions/bprotocol/BprotocolLiquitySPDepositAction.js +39 -39
- package/esm/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.d.ts +17 -17
- package/esm/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.js +24 -24
- package/esm/src/actions/bprotocol/index.d.ts +2 -2
- package/esm/src/actions/bprotocol/index.js +2 -2
- package/esm/src/actions/checkers/AaveV2RatioCheckAction.d.ts +14 -14
- package/esm/src/actions/checkers/AaveV2RatioCheckAction.js +20 -20
- package/esm/src/actions/checkers/AaveV3OpenRatioCheckAction.d.ts +16 -17
- package/esm/src/actions/checkers/AaveV3OpenRatioCheckAction.js +22 -20
- package/esm/src/actions/checkers/AaveV3RatioCheckAction.d.ts +14 -16
- package/esm/src/actions/checkers/AaveV3RatioCheckAction.js +20 -24
- package/esm/src/actions/checkers/CompoundV2RatioCheckAction.d.ts +14 -14
- package/esm/src/actions/checkers/CompoundV2RatioCheckAction.js +20 -20
- package/esm/src/actions/checkers/CompoundV3RatioCheckAction.d.ts +16 -16
- package/esm/src/actions/checkers/CompoundV3RatioCheckAction.js +24 -24
- package/esm/src/actions/checkers/CurveUsdCollRatioCheck.d.ts +15 -15
- package/esm/src/actions/checkers/CurveUsdCollRatioCheck.js +22 -22
- package/esm/src/actions/checkers/FluidRatioCheckAction.d.ts +15 -15
- package/esm/src/actions/checkers/FluidRatioCheckAction.js +22 -22
- package/esm/src/actions/checkers/LiquityRatioCheckAction.d.ts +14 -14
- package/esm/src/actions/checkers/LiquityRatioCheckAction.js +20 -20
- package/esm/src/actions/checkers/LiquityRatioIncreaseCheckAction.d.ts +13 -13
- package/esm/src/actions/checkers/LiquityRatioIncreaseCheckAction.js +18 -18
- package/esm/src/actions/checkers/LiquityV2NewInterestRateCheckerAction.d.ts +15 -15
- package/esm/src/actions/checkers/LiquityV2NewInterestRateCheckerAction.js +22 -22
- package/esm/src/actions/checkers/LiquityV2RatioCheckAction.d.ts +16 -16
- package/esm/src/actions/checkers/LiquityV2RatioCheckAction.js +24 -24
- package/esm/src/actions/checkers/LiquityV2TargetRatioCheckAction.d.ts +15 -15
- package/esm/src/actions/checkers/LiquityV2TargetRatioCheckAction.js +22 -22
- package/esm/src/actions/checkers/MakerRatioCheckAction.d.ts +17 -17
- package/esm/src/actions/checkers/MakerRatioCheckAction.js +25 -25
- package/esm/src/actions/checkers/MorphoAaveV2RatioCheckAction.d.ts +15 -15
- package/esm/src/actions/checkers/MorphoAaveV2RatioCheckAction.js +22 -22
- package/esm/src/actions/checkers/MorphoBlueRatioCheckAction.d.ts +20 -20
- package/esm/src/actions/checkers/MorphoBlueRatioCheckAction.js +32 -32
- package/esm/src/actions/checkers/MorphoBlueTargetRatioCheckAction.d.ts +19 -19
- package/esm/src/actions/checkers/MorphoBlueTargetRatioCheckAction.js +30 -30
- package/esm/src/actions/checkers/SparkRatioCheckAction.d.ts +14 -14
- package/esm/src/actions/checkers/SparkRatioCheckAction.js +20 -20
- package/esm/src/actions/checkers/index.d.ts +17 -17
- package/esm/src/actions/checkers/index.js +17 -17
- package/esm/src/actions/chickenBonds/CBChickenInAction.d.ts +14 -14
- package/esm/src/actions/chickenBonds/CBChickenInAction.js +18 -18
- package/esm/src/actions/chickenBonds/CBChickenOutAction.d.ts +15 -15
- package/esm/src/actions/chickenBonds/CBChickenOutAction.js +19 -19
- package/esm/src/actions/chickenBonds/CBCreateAction.d.ts +18 -18
- package/esm/src/actions/chickenBonds/CBCreateAction.js +32 -32
- package/esm/src/actions/chickenBonds/CBCreateRebondSubAction.d.ts +13 -13
- package/esm/src/actions/chickenBonds/CBCreateRebondSubAction.js +18 -18
- package/esm/src/actions/chickenBonds/CBRedeemAction.d.ts +20 -20
- package/esm/src/actions/chickenBonds/CBRedeemAction.js +35 -35
- package/esm/src/actions/chickenBonds/CBUpdateRebondSubAction.d.ts +14 -14
- package/esm/src/actions/chickenBonds/CBUpdateRebondSubAction.js +16 -16
- package/esm/src/actions/chickenBonds/FetchBondIdAction.d.ts +15 -15
- package/esm/src/actions/chickenBonds/FetchBondIdAction.js +21 -21
- package/esm/src/actions/chickenBonds/index.d.ts +7 -7
- package/esm/src/actions/chickenBonds/index.js +7 -7
- package/esm/src/actions/compound/CompoundBorrowAction.d.ts +15 -15
- package/esm/src/actions/compound/CompoundBorrowAction.js +19 -19
- package/esm/src/actions/compound/CompoundClaimAction.d.ts +16 -16
- package/esm/src/actions/compound/CompoundClaimAction.js +24 -24
- package/esm/src/actions/compound/CompoundCollateralSwitchAction.d.ts +10 -10
- package/esm/src/actions/compound/CompoundCollateralSwitchAction.js +12 -12
- package/esm/src/actions/compound/CompoundGetDebtAction.d.ts +8 -8
- package/esm/src/actions/compound/CompoundGetDebtAction.js +13 -13
- package/esm/src/actions/compound/CompoundPaybackAction.d.ts +20 -20
- package/esm/src/actions/compound/CompoundPaybackAction.js +36 -36
- package/esm/src/actions/compound/CompoundSupplyAction.d.ts +20 -20
- package/esm/src/actions/compound/CompoundSupplyAction.js +41 -41
- package/esm/src/actions/compound/CompoundWithdrawAction.d.ts +15 -15
- package/esm/src/actions/compound/CompoundWithdrawAction.js +19 -19
- package/esm/src/actions/compound/index.d.ts +7 -7
- package/esm/src/actions/compound/index.js +7 -7
- package/esm/src/actions/compoundV3/CompoundV3AllowAction.d.ts +15 -15
- package/esm/src/actions/compoundV3/CompoundV3AllowAction.js +24 -24
- package/esm/src/actions/compoundV3/CompoundV3BorrowAction.d.ts +16 -16
- package/esm/src/actions/compoundV3/CompoundV3BorrowAction.js +26 -26
- package/esm/src/actions/compoundV3/CompoundV3ClaimAction.d.ts +16 -16
- package/esm/src/actions/compoundV3/CompoundV3ClaimAction.js +27 -27
- package/esm/src/actions/compoundV3/CompoundV3PaybackAction.d.ts +22 -22
- package/esm/src/actions/compoundV3/CompoundV3PaybackAction.js +48 -48
- package/esm/src/actions/compoundV3/CompoundV3SupplyAction.d.ts +22 -22
- package/esm/src/actions/compoundV3/CompoundV3SupplyAction.js +45 -45
- package/esm/src/actions/compoundV3/CompoundV3TransferAction.d.ts +17 -17
- package/esm/src/actions/compoundV3/CompoundV3TransferAction.js +30 -30
- package/esm/src/actions/compoundV3/CompoundV3WithdrawAction.d.ts +17 -17
- package/esm/src/actions/compoundV3/CompoundV3WithdrawAction.js +29 -29
- package/esm/src/actions/compoundV3/index.d.ts +7 -7
- package/esm/src/actions/compoundV3/index.js +7 -7
- package/esm/src/actions/convex/ConvexClaimAction.d.ts +17 -17
- package/esm/src/actions/convex/ConvexClaimAction.js +59 -59
- package/esm/src/actions/convex/ConvexDepositAction.d.ts +22 -22
- package/esm/src/actions/convex/ConvexDepositAction.js +66 -66
- package/esm/src/actions/convex/ConvexWithdrawAction.d.ts +22 -22
- package/esm/src/actions/convex/ConvexWithdrawAction.js +63 -63
- package/esm/src/actions/convex/index.d.ts +3 -3
- package/esm/src/actions/convex/index.js +3 -3
- package/esm/src/actions/curve/CurveClaimFeesAction.d.ts +13 -13
- package/esm/src/actions/curve/CurveClaimFeesAction.js +22 -22
- package/esm/src/actions/curve/CurveDepositAction.d.ts +18 -18
- package/esm/src/actions/curve/CurveDepositAction.js +78 -78
- package/esm/src/actions/curve/CurveGaugeDepositAction.d.ts +20 -20
- package/esm/src/actions/curve/CurveGaugeDepositAction.js +40 -40
- package/esm/src/actions/curve/CurveGaugeWithdrawAction.d.ts +14 -14
- package/esm/src/actions/curve/CurveGaugeWithdrawAction.js +22 -22
- package/esm/src/actions/curve/CurveMintCrvAction.d.ts +12 -12
- package/esm/src/actions/curve/CurveMintCrvAction.js +19 -19
- package/esm/src/actions/curve/CurveStethPoolDepositAction.d.ts +16 -16
- package/esm/src/actions/curve/CurveStethPoolDepositAction.js +27 -27
- package/esm/src/actions/curve/CurveStethPoolWithdrawAction.d.ts +17 -17
- package/esm/src/actions/curve/CurveStethPoolWithdrawAction.js +28 -28
- package/esm/src/actions/curve/CurveSwapAction.d.ts +22 -22
- package/esm/src/actions/curve/CurveSwapAction.js +43 -43
- package/esm/src/actions/curve/CurveWithdrawAction.d.ts +23 -23
- package/esm/src/actions/curve/CurveWithdrawAction.js +73 -73
- package/esm/src/actions/curve/index.d.ts +9 -9
- package/esm/src/actions/curve/index.js +9 -9
- package/esm/src/actions/curveusd/CurveUsdAdjustAction.d.ts +21 -21
- package/esm/src/actions/curveusd/CurveUsdAdjustAction.js +40 -40
- package/esm/src/actions/curveusd/CurveUsdBorrowAction.d.ts +15 -15
- package/esm/src/actions/curveusd/CurveUsdBorrowAction.js +22 -22
- package/esm/src/actions/curveusd/CurveUsdCreateAction.d.ts +22 -22
- package/esm/src/actions/curveusd/CurveUsdCreateAction.js +44 -44
- package/esm/src/actions/curveusd/CurveUsdGetDebtAction.d.ts +8 -8
- package/esm/src/actions/curveusd/CurveUsdGetDebtAction.js +13 -13
- package/esm/src/actions/curveusd/CurveUsdLevCreateAction.d.ts +9 -9
- package/esm/src/actions/curveusd/CurveUsdLevCreateAction.js +16 -16
- package/esm/src/actions/curveusd/CurveUsdLevCreateTransientAction.d.ts +9 -9
- package/esm/src/actions/curveusd/CurveUsdLevCreateTransientAction.js +33 -33
- package/esm/src/actions/curveusd/CurveUsdPaybackAction.d.ts +22 -22
- package/esm/src/actions/curveusd/CurveUsdPaybackAction.js +43 -43
- package/esm/src/actions/curveusd/CurveUsdRepayAction.d.ts +9 -9
- package/esm/src/actions/curveusd/CurveUsdRepayAction.js +14 -14
- package/esm/src/actions/curveusd/CurveUsdRepayTransientAction.d.ts +9 -9
- package/esm/src/actions/curveusd/CurveUsdRepayTransientAction.js +25 -25
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateAction.d.ts +19 -19
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateAction.js +38 -38
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.d.ts +9 -9
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.js +16 -16
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.d.ts +9 -9
- package/esm/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.js +35 -35
- package/esm/src/actions/curveusd/CurveUsdSupplyAction.d.ts +20 -20
- package/esm/src/actions/curveusd/CurveUsdSupplyAction.js +40 -40
- package/esm/src/actions/curveusd/CurveUsdWithdrawAction.d.ts +15 -15
- package/esm/src/actions/curveusd/CurveUsdWithdrawAction.js +22 -22
- package/esm/src/actions/curveusd/index.d.ts +14 -14
- package/esm/src/actions/curveusd/index.js +14 -14
- package/esm/src/actions/dydx/DyDxWithdrawAction.d.ts +15 -15
- package/esm/src/actions/dydx/DyDxWithdrawAction.js +19 -19
- package/esm/src/actions/dydx/index.d.ts +1 -1
- package/esm/src/actions/dydx/index.js +1 -1
- package/esm/src/actions/etherfi/EtherFiStakeAction.d.ts +20 -20
- package/esm/src/actions/etherfi/EtherFiStakeAction.js +41 -41
- package/esm/src/actions/etherfi/EtherFiUnwrapAction.d.ts +19 -19
- package/esm/src/actions/etherfi/EtherFiUnwrapAction.js +39 -39
- package/esm/src/actions/etherfi/EtherFiWrapAction.d.ts +19 -19
- package/esm/src/actions/etherfi/EtherFiWrapAction.js +39 -39
- package/esm/src/actions/etherfi/index.d.ts +3 -3
- package/esm/src/actions/etherfi/index.js +3 -3
- package/esm/src/actions/eulerV2/EulerV2BorrowAction.d.ts +16 -16
- package/esm/src/actions/eulerV2/EulerV2BorrowAction.js +24 -24
- package/esm/src/actions/eulerV2/EulerV2CollateralSwitchAction.d.ts +15 -15
- package/esm/src/actions/eulerV2/EulerV2CollateralSwitchAction.js +22 -22
- package/esm/src/actions/eulerV2/EulerV2PaybackAction.d.ts +22 -22
- package/esm/src/actions/eulerV2/EulerV2PaybackAction.js +40 -40
- package/esm/src/actions/eulerV2/EulerV2PaybackWithSharesAction.d.ts +16 -16
- package/esm/src/actions/eulerV2/EulerV2PaybackWithSharesAction.js +24 -24
- package/esm/src/actions/eulerV2/EulerV2PullDebtAction.d.ts +16 -16
- package/esm/src/actions/eulerV2/EulerV2PullDebtAction.js +24 -24
- package/esm/src/actions/eulerV2/EulerV2ReorderCollateralsAction.d.ts +14 -14
- package/esm/src/actions/eulerV2/EulerV2ReorderCollateralsAction.js +20 -20
- package/esm/src/actions/eulerV2/EulerV2SupplyAction.d.ts +23 -23
- package/esm/src/actions/eulerV2/EulerV2SupplyAction.js +42 -42
- package/esm/src/actions/eulerV2/EulerV2WithdrawAction.d.ts +16 -16
- package/esm/src/actions/eulerV2/EulerV2WithdrawAction.js +24 -24
- package/esm/src/actions/eulerV2/index.d.ts +8 -8
- package/esm/src/actions/eulerV2/index.js +8 -8
- package/esm/src/actions/flashloan/AaveV2FlashLoanAction.d.ts +20 -20
- package/esm/src/actions/flashloan/AaveV2FlashLoanAction.js +21 -21
- package/esm/src/actions/flashloan/AaveV2FlashLoanPaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/AaveV2FlashLoanPaybackAction.js +16 -16
- package/esm/src/actions/flashloan/AaveV3FlashLoanAction.d.ts +20 -20
- package/esm/src/actions/flashloan/AaveV3FlashLoanAction.js +21 -21
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.d.ts +18 -18
- package/esm/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.js +28 -28
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.d.ts +18 -18
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.js +20 -20
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.js +16 -16
- package/esm/src/actions/flashloan/AaveV3FlashLoanPaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/AaveV3FlashLoanPaybackAction.js +16 -16
- package/esm/src/actions/flashloan/BalancerFlashLoanAction.d.ts +18 -18
- package/esm/src/actions/flashloan/BalancerFlashLoanAction.js +19 -19
- package/esm/src/actions/flashloan/BalancerFlashLoanPaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/BalancerFlashLoanPaybackAction.js +16 -16
- package/esm/src/actions/flashloan/CurveUsdFlashLoanAction.d.ts +17 -17
- package/esm/src/actions/flashloan/CurveUsdFlashLoanAction.js +18 -18
- package/esm/src/actions/flashloan/DyDxFlashLoanAction.d.ts +16 -16
- package/esm/src/actions/flashloan/DyDxFlashLoanAction.js +18 -18
- package/esm/src/actions/flashloan/DyDxFlashLoanPaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/DyDxFlashLoanPaybackAction.js +16 -16
- package/esm/src/actions/flashloan/EulerFlashLoanAction.d.ts +16 -16
- package/esm/src/actions/flashloan/EulerFlashLoanAction.js +18 -18
- package/esm/src/actions/flashloan/EulerFlashLoanPaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/EulerFlashLoanPaybackAction.js +16 -16
- package/esm/src/actions/flashloan/FLAction.d.ts +14 -14
- package/esm/src/actions/flashloan/FLAction.js +28 -28
- package/esm/src/actions/flashloan/FLPaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/FLPaybackAction.js +16 -16
- package/esm/src/actions/flashloan/FlashLoanId.d.ts +3 -3
- package/esm/src/actions/flashloan/FlashLoanId.js +1 -1
- package/esm/src/actions/flashloan/GhoFlashLoanAction.d.ts +17 -17
- package/esm/src/actions/flashloan/GhoFlashLoanAction.js +18 -18
- package/esm/src/actions/flashloan/GhoFlashLoanPaybackAction.d.ts +13 -13
- package/esm/src/actions/flashloan/GhoFlashLoanPaybackAction.js +15 -15
- package/esm/src/actions/flashloan/MakerFlashLoanAction.d.ts +17 -17
- package/esm/src/actions/flashloan/MakerFlashLoanAction.js +18 -18
- package/esm/src/actions/flashloan/MakerFlashLoanPaybackAction.d.ts +13 -13
- package/esm/src/actions/flashloan/MakerFlashLoanPaybackAction.js +15 -15
- package/esm/src/actions/flashloan/MorphoBlueFlashLoanAction.d.ts +18 -18
- package/esm/src/actions/flashloan/MorphoBlueFlashLoanAction.js +19 -19
- package/esm/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.js +16 -16
- package/esm/src/actions/flashloan/SparkFlashLoanAction.d.ts +20 -20
- package/esm/src/actions/flashloan/SparkFlashLoanAction.js +21 -21
- package/esm/src/actions/flashloan/SparkFlashLoanPaybackAction.d.ts +14 -14
- package/esm/src/actions/flashloan/SparkFlashLoanPaybackAction.js +16 -16
- package/esm/src/actions/flashloan/UniV3FlashLoanAction.d.ts +21 -21
- package/esm/src/actions/flashloan/UniV3FlashLoanAction.js +22 -22
- package/esm/src/actions/flashloan/UniV3FlashLoanPaybackAction.d.ts +16 -16
- package/esm/src/actions/flashloan/UniV3FlashLoanPaybackAction.js +18 -18
- package/esm/src/actions/flashloan/index.d.ts +26 -26
- package/esm/src/actions/flashloan/index.js +26 -26
- package/esm/src/actions/fluid/FluidClaimAction.d.ts +19 -19
- package/esm/src/actions/fluid/FluidClaimAction.js +37 -37
- package/esm/src/actions/fluid/FluidDexOpenAction.d.ts +20 -20
- package/esm/src/actions/fluid/FluidDexOpenAction.js +45 -45
- package/esm/src/actions/fluid/FluidDexRegularBorrowAction.d.ts +17 -17
- package/esm/src/actions/fluid/FluidDexRegularBorrowAction.js +36 -36
- package/esm/src/actions/fluid/FluidDexRegularPaybackAction.d.ts +16 -16
- package/esm/src/actions/fluid/FluidDexRegularPaybackAction.js +34 -34
- package/esm/src/actions/fluid/FluidDexRegularSupplyAction.d.ts +16 -16
- package/esm/src/actions/fluid/FluidDexRegularSupplyAction.js +33 -33
- package/esm/src/actions/fluid/FluidDexRegularWithdrawAction.d.ts +17 -17
- package/esm/src/actions/fluid/FluidDexRegularWithdrawAction.js +37 -37
- package/esm/src/actions/fluid/FluidDexSmartCollSupplyAction.d.ts +16 -16
- package/esm/src/actions/fluid/FluidDexSmartCollSupplyAction.js +33 -33
- package/esm/src/actions/fluid/FluidDexSmartCollWithdrawAction.d.ts +17 -17
- package/esm/src/actions/fluid/FluidDexSmartCollWithdrawAction.js +37 -37
- package/esm/src/actions/fluid/FluidDexSmartDebtBorrowAction.d.ts +17 -17
- package/esm/src/actions/fluid/FluidDexSmartDebtBorrowAction.js +36 -36
- package/esm/src/actions/fluid/FluidDexSmartDebtPaybackAction.d.ts +16 -16
- package/esm/src/actions/fluid/FluidDexSmartDebtPaybackAction.js +34 -34
- package/esm/src/actions/fluid/FluidVaultT1AdjustAction.d.ts +21 -21
- package/esm/src/actions/fluid/FluidVaultT1AdjustAction.js +34 -34
- package/esm/src/actions/fluid/FluidVaultT1BorrowAction.d.ts +17 -17
- package/esm/src/actions/fluid/FluidVaultT1BorrowAction.js +26 -26
- package/esm/src/actions/fluid/FluidVaultT1OpenAction.d.ts +24 -24
- package/esm/src/actions/fluid/FluidVaultT1OpenAction.js +48 -48
- package/esm/src/actions/fluid/FluidVaultT1PaybackAction.d.ts +22 -22
- package/esm/src/actions/fluid/FluidVaultT1PaybackAction.js +44 -44
- package/esm/src/actions/fluid/FluidVaultT1SupplyAction.d.ts +22 -22
- package/esm/src/actions/fluid/FluidVaultT1SupplyAction.js +44 -44
- package/esm/src/actions/fluid/FluidVaultT1WithdrawAction.d.ts +17 -17
- package/esm/src/actions/fluid/FluidVaultT1WithdrawAction.js +26 -26
- package/esm/src/actions/fluid/index.d.ts +16 -16
- package/esm/src/actions/fluid/index.js +16 -16
- package/esm/src/actions/guni/GUniDeposit.d.ts +24 -24
- package/esm/src/actions/guni/GUniDeposit.js +47 -47
- package/esm/src/actions/guni/GUniWithdraw.d.ts +22 -22
- package/esm/src/actions/guni/GUniWithdraw.js +39 -39
- package/esm/src/actions/guni/index.d.ts +2 -2
- package/esm/src/actions/guni/index.js +2 -2
- package/esm/src/actions/index.d.ts +42 -42
- package/esm/src/actions/index.js +42 -42
- package/esm/src/actions/insta/InstPullTokensAction.d.ts +18 -18
- package/esm/src/actions/insta/InstPullTokensAction.js +36 -36
- package/esm/src/actions/insta/index.d.ts +1 -1
- package/esm/src/actions/insta/index.js +1 -1
- package/esm/src/actions/lido/LidoStakeAction.d.ts +19 -19
- package/esm/src/actions/lido/LidoStakeAction.js +34 -34
- package/esm/src/actions/lido/LidoUnwrapAction.d.ts +19 -19
- package/esm/src/actions/lido/LidoUnwrapAction.js +33 -33
- package/esm/src/actions/lido/LidoWrapAction.d.ts +20 -20
- package/esm/src/actions/lido/LidoWrapAction.js +43 -43
- package/esm/src/actions/lido/index.d.ts +3 -3
- package/esm/src/actions/lido/index.js +3 -3
- package/esm/src/actions/liquity/LiquityAdjustAction.d.ts +21 -21
- package/esm/src/actions/liquity/LiquityAdjustAction.js +34 -34
- package/esm/src/actions/liquity/LiquityBorrowAction.d.ts +17 -17
- package/esm/src/actions/liquity/LiquityBorrowAction.js +26 -26
- package/esm/src/actions/liquity/LiquityClaimAction.d.ts +13 -13
- package/esm/src/actions/liquity/LiquityClaimAction.js +20 -20
- package/esm/src/actions/liquity/LiquityClaimSPRewardsAction.d.ts +14 -14
- package/esm/src/actions/liquity/LiquityClaimSPRewardsAction.js +18 -18
- package/esm/src/actions/liquity/LiquityClaimStakingRewardsAction.d.ts +14 -14
- package/esm/src/actions/liquity/LiquityClaimStakingRewardsAction.js +18 -18
- package/esm/src/actions/liquity/LiquityCloseAction.d.ts +18 -18
- package/esm/src/actions/liquity/LiquityCloseAction.js +38 -38
- package/esm/src/actions/liquity/LiquityEthGainToTroveAction.d.ts +15 -15
- package/esm/src/actions/liquity/LiquityEthGainToTroveAction.js +22 -22
- package/esm/src/actions/liquity/LiquityOpenAction.d.ts +23 -23
- package/esm/src/actions/liquity/LiquityOpenAction.js +46 -46
- package/esm/src/actions/liquity/LiquityPaybackAction.d.ts +20 -20
- package/esm/src/actions/liquity/LiquityPaybackAction.js +39 -39
- package/esm/src/actions/liquity/LiquityRedeemAction.d.ts +25 -25
- package/esm/src/actions/liquity/LiquityRedeemAction.js +47 -47
- package/esm/src/actions/liquity/LiquitySPDepositAction.d.ts +20 -20
- package/esm/src/actions/liquity/LiquitySPDepositAction.js +43 -43
- package/esm/src/actions/liquity/LiquitySPWithdrawAction.d.ts +16 -16
- package/esm/src/actions/liquity/LiquitySPWithdrawAction.js +28 -28
- package/esm/src/actions/liquity/LiquityStakeAction.d.ts +20 -20
- package/esm/src/actions/liquity/LiquityStakeAction.js +43 -43
- package/esm/src/actions/liquity/LiquitySupplyAction.d.ts +20 -20
- package/esm/src/actions/liquity/LiquitySupplyAction.js +39 -39
- package/esm/src/actions/liquity/LiquityUnstakeAction.d.ts +16 -16
- package/esm/src/actions/liquity/LiquityUnstakeAction.js +28 -28
- package/esm/src/actions/liquity/LiquityWithdrawAction.d.ts +16 -16
- package/esm/src/actions/liquity/LiquityWithdrawAction.js +24 -24
- package/esm/src/actions/liquity/index.d.ts +16 -16
- package/esm/src/actions/liquity/index.js +16 -16
- package/esm/src/actions/liquityV2/LiquityV2AdjustAction.d.ts +21 -21
- package/esm/src/actions/liquityV2/LiquityV2AdjustAction.js +54 -54
- package/esm/src/actions/liquityV2/LiquityV2AdjustInterestRateAction.d.ts +18 -18
- package/esm/src/actions/liquityV2/LiquityV2AdjustInterestRateAction.js +42 -42
- package/esm/src/actions/liquityV2/LiquityV2AdjustZombieTroveAction.d.ts +23 -23
- package/esm/src/actions/liquityV2/LiquityV2AdjustZombieTroveAction.js +62 -62
- package/esm/src/actions/liquityV2/LiquityV2BorrowAction.d.ts +17 -17
- package/esm/src/actions/liquityV2/LiquityV2BorrowAction.js +38 -38
- package/esm/src/actions/liquityV2/LiquityV2ClaimAction.d.ts +14 -14
- package/esm/src/actions/liquityV2/LiquityV2ClaimAction.js +26 -26
- package/esm/src/actions/liquityV2/LiquityV2CloseAction.d.ts +20 -20
- package/esm/src/actions/liquityV2/LiquityV2CloseAction.js +49 -49
- package/esm/src/actions/liquityV2/LiquityV2CloseLegacyAction.d.ts +20 -20
- package/esm/src/actions/liquityV2/LiquityV2CloseLegacyAction.js +49 -49
- package/esm/src/actions/liquityV2/LiquityV2OpenAction.d.ts +29 -29
- package/esm/src/actions/liquityV2/LiquityV2OpenAction.js +86 -86
- package/esm/src/actions/liquityV2/LiquityV2PaybackAction.d.ts +20 -20
- package/esm/src/actions/liquityV2/LiquityV2PaybackAction.js +49 -49
- package/esm/src/actions/liquityV2/LiquityV2PaybackLegacyAction.d.ts +20 -20
- package/esm/src/actions/liquityV2/LiquityV2PaybackLegacyAction.js +49 -49
- package/esm/src/actions/liquityV2/LiquityV2SPClaimCollAction.d.ts +14 -14
- package/esm/src/actions/liquityV2/LiquityV2SPClaimCollAction.js +26 -26
- package/esm/src/actions/liquityV2/LiquityV2SPDepositAction.d.ts +22 -22
- package/esm/src/actions/liquityV2/LiquityV2SPDepositAction.js +57 -57
- package/esm/src/actions/liquityV2/LiquityV2SPWithdrawAction.d.ts +17 -17
- package/esm/src/actions/liquityV2/LiquityV2SPWithdrawAction.js +38 -38
- package/esm/src/actions/liquityV2/LiquityV2SupplyAction.d.ts +22 -22
- package/esm/src/actions/liquityV2/LiquityV2SupplyAction.js +50 -50
- package/esm/src/actions/liquityV2/LiquityV2WithdrawAction.d.ts +16 -16
- package/esm/src/actions/liquityV2/LiquityV2WithdrawAction.js +34 -34
- package/esm/src/actions/liquityV2/index.d.ts +15 -15
- package/esm/src/actions/liquityV2/index.js +15 -15
- package/esm/src/actions/llamalend/LlamaLendBoostAction.d.ts +8 -8
- package/esm/src/actions/llamalend/LlamaLendBoostAction.js +18 -18
- package/esm/src/actions/llamalend/LlamaLendBorrowAction.d.ts +15 -15
- package/esm/src/actions/llamalend/LlamaLendBorrowAction.js +22 -22
- package/esm/src/actions/llamalend/LlamaLendCreateAction.d.ts +22 -22
- package/esm/src/actions/llamalend/LlamaLendCreateAction.js +43 -43
- package/esm/src/actions/llamalend/LlamaLendGetDebtAction.d.ts +8 -8
- package/esm/src/actions/llamalend/LlamaLendGetDebtAction.js +13 -13
- package/esm/src/actions/llamalend/LlamaLendLevCreateAction.d.ts +12 -12
- package/esm/src/actions/llamalend/LlamaLendLevCreateAction.js +41 -41
- package/esm/src/actions/llamalend/LlamaLendPaybackAction.d.ts +14 -14
- package/esm/src/actions/llamalend/LlamaLendPaybackAction.js +34 -34
- package/esm/src/actions/llamalend/LlamaLendRepayAction.d.ts +8 -8
- package/esm/src/actions/llamalend/LlamaLendRepayAction.js +20 -20
- package/esm/src/actions/llamalend/LlamaLendSelfLiquidateAction.d.ts +19 -19
- package/esm/src/actions/llamalend/LlamaLendSelfLiquidateAction.js +37 -37
- package/esm/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.d.ts +8 -8
- package/esm/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.js +25 -25
- package/esm/src/actions/llamalend/LlamaLendSupplyAction.d.ts +20 -20
- package/esm/src/actions/llamalend/LlamaLendSupplyAction.js +39 -39
- package/esm/src/actions/llamalend/LlamaLendWithdrawAction.d.ts +15 -15
- package/esm/src/actions/llamalend/LlamaLendWithdrawAction.js +22 -22
- package/esm/src/actions/llamalend/index.d.ts +11 -11
- package/esm/src/actions/llamalend/index.js +11 -11
- package/esm/src/actions/lsv/LSVBorrowAction.d.ts +14 -14
- package/esm/src/actions/lsv/LSVBorrowAction.js +19 -19
- package/esm/src/actions/lsv/LSVPaybackAction.d.ts +13 -13
- package/esm/src/actions/lsv/LSVPaybackAction.js +18 -18
- package/esm/src/actions/lsv/LSVSupplyAction.d.ts +15 -15
- package/esm/src/actions/lsv/LSVSupplyAction.js +21 -21
- package/esm/src/actions/lsv/LSVWithdrawAction.d.ts +15 -15
- package/esm/src/actions/lsv/LSVWithdrawAction.js +21 -21
- package/esm/src/actions/lsv/index.d.ts +4 -4
- package/esm/src/actions/lsv/index.js +4 -4
- package/esm/src/actions/maker/MakerBoostCompositeAction.d.ts +20 -20
- package/esm/src/actions/maker/MakerBoostCompositeAction.js +48 -48
- package/esm/src/actions/maker/MakerClaimAction.d.ts +15 -15
- package/esm/src/actions/maker/MakerClaimAction.js +24 -24
- package/esm/src/actions/maker/MakerDsrDepositAction.d.ts +18 -18
- package/esm/src/actions/maker/MakerDsrDepositAction.js +31 -31
- package/esm/src/actions/maker/MakerDsrWithdrawAction.d.ts +15 -15
- package/esm/src/actions/maker/MakerDsrWithdrawAction.js +30 -30
- package/esm/src/actions/maker/MakerGenerateAction.d.ts +16 -16
- package/esm/src/actions/maker/MakerGenerateAction.js +20 -20
- package/esm/src/actions/maker/MakerGiveAction.d.ts +16 -16
- package/esm/src/actions/maker/MakerGiveAction.js +25 -25
- package/esm/src/actions/maker/MakerMergeAction.d.ts +15 -15
- package/esm/src/actions/maker/MakerMergeAction.js +17 -17
- package/esm/src/actions/maker/MakerOpenVaultAction.d.ts +14 -14
- package/esm/src/actions/maker/MakerOpenVaultAction.js +16 -16
- package/esm/src/actions/maker/MakerPaybackAction.d.ts +20 -20
- package/esm/src/actions/maker/MakerPaybackAction.js +33 -33
- package/esm/src/actions/maker/MakerRatioAction.d.ts +13 -13
- package/esm/src/actions/maker/MakerRatioAction.js +15 -15
- package/esm/src/actions/maker/MakerRepayCompositeAction.d.ts +20 -20
- package/esm/src/actions/maker/MakerRepayCompositeAction.js +48 -48
- package/esm/src/actions/maker/MakerSupplyAction.d.ts +21 -21
- package/esm/src/actions/maker/MakerSupplyAction.js +37 -37
- package/esm/src/actions/maker/MakerTokenConverterAction.d.ts +20 -20
- package/esm/src/actions/maker/MakerTokenConverterAction.js +38 -38
- package/esm/src/actions/maker/MakerWithdrawAction.d.ts +17 -17
- package/esm/src/actions/maker/MakerWithdrawAction.js +21 -21
- package/esm/src/actions/maker/index.d.ts +14 -14
- package/esm/src/actions/maker/index.js +14 -14
- package/esm/src/actions/merkl/MerklClaimAction.d.ts +19 -19
- package/esm/src/actions/merkl/MerklClaimAction.js +21 -21
- package/esm/src/actions/merkl/index.d.ts +1 -1
- package/esm/src/actions/merkl/index.js +1 -1
- package/esm/src/actions/morpho/MorphoAaveV2BorrowAction.d.ts +16 -16
- package/esm/src/actions/morpho/MorphoAaveV2BorrowAction.js +23 -23
- package/esm/src/actions/morpho/MorphoAaveV2PaybackAction.d.ts +20 -20
- package/esm/src/actions/morpho/MorphoAaveV2PaybackAction.js +42 -42
- package/esm/src/actions/morpho/MorphoAaveV2SupplyAction.d.ts +21 -21
- package/esm/src/actions/morpho/MorphoAaveV2SupplyAction.js +43 -43
- package/esm/src/actions/morpho/MorphoAaveV2WithdrawAction.d.ts +15 -15
- package/esm/src/actions/morpho/MorphoAaveV2WithdrawAction.js +22 -22
- package/esm/src/actions/morpho/MorphoClaimAction.d.ts +15 -15
- package/esm/src/actions/morpho/MorphoClaimAction.js +20 -20
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3BorrowAction.d.ts +18 -18
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3BorrowAction.js +27 -27
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3PaybackAction.d.ts +21 -21
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3PaybackAction.js +44 -44
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.d.ts +14 -14
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.js +24 -24
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SupplyAction.d.ts +23 -23
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3SupplyAction.js +47 -47
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3WithdrawAction.d.ts +19 -19
- package/esm/src/actions/morpho/aaveV3/MorphoAaveV3WithdrawAction.js +29 -29
- package/esm/src/actions/morpho/index.d.ts +10 -10
- package/esm/src/actions/morpho/index.js +10 -10
- package/esm/src/actions/morpho-blue/MorphoBlueBorrowAction.d.ts +21 -21
- package/esm/src/actions/morpho-blue/MorphoBlueBorrowAction.js +46 -46
- package/esm/src/actions/morpho-blue/MorphoBlueClaimAction.d.ts +17 -17
- package/esm/src/actions/morpho-blue/MorphoBlueClaimAction.js +19 -19
- package/esm/src/actions/morpho-blue/MorphoBluePaybackAction.d.ts +24 -24
- package/esm/src/actions/morpho-blue/MorphoBluePaybackAction.js +46 -46
- package/esm/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.d.ts +20 -20
- package/esm/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.js +50 -50
- package/esm/src/actions/morpho-blue/MorphoBlueSetAuthAction.d.ts +12 -12
- package/esm/src/actions/morpho-blue/MorphoBlueSetAuthAction.js +18 -18
- package/esm/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.d.ts +12 -12
- package/esm/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.js +21 -21
- package/esm/src/actions/morpho-blue/MorphoBlueSupplyAction.d.ts +24 -24
- package/esm/src/actions/morpho-blue/MorphoBlueSupplyAction.js +46 -46
- package/esm/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.d.ts +24 -24
- package/esm/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.js +46 -46
- package/esm/src/actions/morpho-blue/MorphoBlueWithdrawAction.d.ts +21 -21
- package/esm/src/actions/morpho-blue/MorphoBlueWithdrawAction.js +46 -46
- package/esm/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.d.ts +21 -21
- package/esm/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.js +46 -46
- package/esm/src/actions/morpho-blue/MorphoTokenWrapAction.d.ts +14 -14
- package/esm/src/actions/morpho-blue/MorphoTokenWrapAction.js +20 -20
- package/esm/src/actions/morpho-blue/index.d.ts +11 -11
- package/esm/src/actions/morpho-blue/index.js +11 -11
- package/esm/src/actions/mstable/MStableClaimAction.d.ts +16 -16
- package/esm/src/actions/mstable/MStableClaimAction.js +25 -25
- package/esm/src/actions/mstable/MStableDepositAction.d.ts +25 -25
- package/esm/src/actions/mstable/MStableDepositAction.js +75 -75
- package/esm/src/actions/mstable/MStableWithdrawAction.d.ts +25 -25
- package/esm/src/actions/mstable/MStableWithdrawAction.js +74 -74
- package/esm/src/actions/mstable/index.d.ts +3 -3
- package/esm/src/actions/mstable/index.js +3 -3
- package/esm/src/actions/pendle/PendleTokenRedeemAction.d.ts +24 -24
- package/esm/src/actions/pendle/PendleTokenRedeemAction.js +44 -44
- package/esm/src/actions/pendle/index.d.ts +1 -1
- package/esm/src/actions/pendle/index.js +1 -1
- package/esm/src/actions/rari/RariDepositAction.d.ts +22 -22
- package/esm/src/actions/rari/RariDepositAction.js +41 -41
- package/esm/src/actions/rari/RariWithdrawAction.d.ts +23 -23
- package/esm/src/actions/rari/RariWithdrawAction.js +43 -43
- package/esm/src/actions/rari/index.d.ts +2 -2
- package/esm/src/actions/rari/index.js +2 -2
- package/esm/src/actions/reflexer/ReflexerGenerateAction.d.ts +15 -15
- package/esm/src/actions/reflexer/ReflexerGenerateAction.js +19 -19
- package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.d.ts +19 -19
- package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.js +37 -37
- package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.d.ts +14 -14
- package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.js +21 -21
- package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.d.ts +15 -15
- package/esm/src/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.js +23 -23
- package/esm/src/actions/reflexer/ReflexerOpenSafeAction.d.ts +13 -13
- package/esm/src/actions/reflexer/ReflexerOpenSafeAction.js +15 -15
- package/esm/src/actions/reflexer/ReflexerPaybackAction.d.ts +19 -19
- package/esm/src/actions/reflexer/ReflexerPaybackAction.js +32 -32
- package/esm/src/actions/reflexer/ReflexerSupplyAction.d.ts +21 -21
- package/esm/src/actions/reflexer/ReflexerSupplyAction.js +44 -44
- package/esm/src/actions/reflexer/ReflexerWithdrawAction.d.ts +16 -16
- package/esm/src/actions/reflexer/ReflexerWithdrawAction.js +20 -20
- package/esm/src/actions/reflexer/ReflexerWithdrawStuckFunds.d.ts +14 -14
- package/esm/src/actions/reflexer/ReflexerWithdrawStuckFunds.js +18 -18
- package/esm/src/actions/reflexer/index.d.ts +9 -9
- package/esm/src/actions/reflexer/index.js +9 -9
- package/esm/src/actions/renzo/RenzoStakeAction.d.ts +19 -19
- package/esm/src/actions/renzo/RenzoStakeAction.js +39 -39
- package/esm/src/actions/renzo/index.d.ts +1 -1
- package/esm/src/actions/renzo/index.js +1 -1
- package/esm/src/actions/sky/SkyClaimRewardsAction.d.ts +15 -15
- package/esm/src/actions/sky/SkyClaimRewardsAction.js +22 -22
- package/esm/src/actions/sky/SkyStakeAction.d.ts +20 -20
- package/esm/src/actions/sky/SkyStakeAction.js +38 -38
- package/esm/src/actions/sky/SkyStakingEngineClaimRewards.d.ts +16 -16
- package/esm/src/actions/sky/SkyStakingEngineClaimRewards.js +24 -24
- package/esm/src/actions/sky/SkyStakingEngineOpen.d.ts +13 -13
- package/esm/src/actions/sky/SkyStakingEngineOpen.js +18 -18
- package/esm/src/actions/sky/SkyStakingEngineSelectFarm.d.ts +15 -15
- package/esm/src/actions/sky/SkyStakingEngineSelectFarm.js +22 -22
- package/esm/src/actions/sky/SkyStakingEngineStake.d.ts +16 -16
- package/esm/src/actions/sky/SkyStakingEngineStake.js +24 -24
- package/esm/src/actions/sky/SkyStakingEngineUnstake.d.ts +16 -16
- package/esm/src/actions/sky/SkyStakingEngineUnstake.js +24 -24
- package/esm/src/actions/sky/SkyUnstakeAction.d.ts +16 -16
- package/esm/src/actions/sky/SkyUnstakeAction.js +24 -24
- package/esm/src/actions/sky/index.d.ts +8 -8
- package/esm/src/actions/sky/index.js +9 -9
- package/esm/src/actions/spark/SparkBorrowAction.d.ts +21 -21
- package/esm/src/actions/spark/SparkBorrowAction.js +59 -59
- package/esm/src/actions/spark/SparkClaimRewardsAction.d.ts +18 -18
- package/esm/src/actions/spark/SparkClaimRewardsAction.js +40 -40
- package/esm/src/actions/spark/SparkCollateralSwitchAction.d.ts +18 -18
- package/esm/src/actions/spark/SparkCollateralSwitchAction.js +39 -39
- package/esm/src/actions/spark/SparkDelegateCredit.d.ts +19 -19
- package/esm/src/actions/spark/SparkDelegateCredit.js +47 -47
- package/esm/src/actions/spark/SparkDelegateWithSigAction.d.ts +11 -11
- package/esm/src/actions/spark/SparkDelegateWithSigAction.js +33 -33
- package/esm/src/actions/spark/SparkPaybackAction.d.ts +27 -27
- package/esm/src/actions/spark/SparkPaybackAction.js +77 -77
- package/esm/src/actions/spark/SparkSPKClaimAction.d.ts +20 -20
- package/esm/src/actions/spark/SparkSPKClaimAction.js +25 -25
- package/esm/src/actions/spark/SparkSetEModeAction.d.ts +16 -16
- package/esm/src/actions/spark/SparkSetEModeAction.js +33 -33
- package/esm/src/actions/spark/SparkSpTokenPaybackAction.d.ts +25 -25
- package/esm/src/actions/spark/SparkSpTokenPaybackAction.js +64 -64
- package/esm/src/actions/spark/SparkSupplyAction.d.ts +27 -27
- package/esm/src/actions/spark/SparkSupplyAction.js +77 -77
- package/esm/src/actions/spark/SparkSwapBorrowRateModeAction.d.ts +18 -18
- package/esm/src/actions/spark/SparkSwapBorrowRateModeAction.js +38 -38
- package/esm/src/actions/spark/SparkWithdrawAction.d.ts +18 -18
- package/esm/src/actions/spark/SparkWithdrawAction.js +45 -45
- package/esm/src/actions/spark/index.d.ts +12 -12
- package/esm/src/actions/spark/index.js +12 -12
- package/esm/src/actions/stkgho/GhoClaimAAVEAction.d.ts +14 -14
- package/esm/src/actions/stkgho/GhoClaimAAVEAction.js +22 -22
- package/esm/src/actions/stkgho/GhoFinalizeUnstakeAction.d.ts +14 -14
- package/esm/src/actions/stkgho/GhoFinalizeUnstakeAction.js +22 -22
- package/esm/src/actions/stkgho/GhoStakeAction.d.ts +15 -15
- package/esm/src/actions/stkgho/GhoStakeAction.js +25 -25
- package/esm/src/actions/stkgho/GhoStartUnstakeAction.d.ts +9 -9
- package/esm/src/actions/stkgho/GhoStartUnstakeAction.js +12 -12
- package/esm/src/actions/stkgho/index.d.ts +4 -4
- package/esm/src/actions/stkgho/index.js +4 -4
- package/esm/src/actions/summerfi/SFApproveTokensAction.d.ts +14 -14
- package/esm/src/actions/summerfi/SFApproveTokensAction.js +17 -17
- package/esm/src/actions/summerfi/index.d.ts +1 -1
- package/esm/src/actions/summerfi/index.js +1 -1
- package/esm/src/actions/umbrella/UmbrellaClaimRewardsAction.d.ts +16 -16
- package/esm/src/actions/umbrella/UmbrellaClaimRewardsAction.js +22 -22
- package/esm/src/actions/umbrella/UmbrellaFinalizeUnstakeAction.d.ts +18 -18
- package/esm/src/actions/umbrella/UmbrellaFinalizeUnstakeAction.js +31 -31
- package/esm/src/actions/umbrella/UmbrellaStakeAction.d.ts +19 -19
- package/esm/src/actions/umbrella/UmbrellaStakeAction.js +29 -29
- package/esm/src/actions/umbrella/UmbrellaStartUnstakeAction.d.ts +13 -13
- package/esm/src/actions/umbrella/UmbrellaStartUnstakeAction.js +18 -18
- package/esm/src/actions/umbrella/index.d.ts +4 -4
- package/esm/src/actions/umbrella/index.js +4 -4
- package/esm/src/actions/uniswap/UniswapSupplyAction.d.ts +26 -26
- package/esm/src/actions/uniswap/UniswapSupplyAction.js +65 -65
- package/esm/src/actions/uniswap/UniswapWithdrawAction.d.ts +25 -25
- package/esm/src/actions/uniswap/UniswapWithdrawAction.js +56 -56
- package/esm/src/actions/uniswap/index.d.ts +2 -2
- package/esm/src/actions/uniswap/index.js +2 -2
- package/esm/src/actions/uniswapV3/UniswapV3CollectAction.d.ts +24 -24
- package/esm/src/actions/uniswapV3/UniswapV3CollectAction.js +47 -47
- package/esm/src/actions/uniswapV3/UniswapV3CreatePoolAction.d.ts +30 -30
- package/esm/src/actions/uniswapV3/UniswapV3CreatePoolAction.js +69 -69
- package/esm/src/actions/uniswapV3/UniswapV3MintAction.d.ts +29 -29
- package/esm/src/actions/uniswapV3/UniswapV3MintAction.js +67 -67
- package/esm/src/actions/uniswapV3/UniswapV3SupplyAction.d.ts +26 -26
- package/esm/src/actions/uniswapV3/UniswapV3SupplyAction.js +60 -60
- package/esm/src/actions/uniswapV3/UniswapV3WithdrawAction.d.ts +28 -28
- package/esm/src/actions/uniswapV3/UniswapV3WithdrawAction.js +58 -58
- package/esm/src/actions/uniswapV3/index.d.ts +5 -5
- package/esm/src/actions/uniswapV3/index.js +5 -5
- package/esm/src/actions/yearn/YearnSupplyAction.d.ts +21 -21
- package/esm/src/actions/yearn/YearnSupplyAction.js +43 -43
- package/esm/src/actions/yearn/YearnWithdrawAction.d.ts +21 -21
- package/esm/src/actions/yearn/YearnWithdrawAction.js +43 -43
- package/esm/src/actions/yearn/index.d.ts +2 -2
- package/esm/src/actions/yearn/index.js +2 -2
- package/esm/src/addresses.d.ts +1518 -1497
- package/esm/src/addresses.js +684 -643
- package/esm/src/config.d.ts +28 -28
- package/esm/src/config.js +118 -110
- package/esm/src/index.d.ts +6065 -5981
- package/esm/src/index.js +35 -35
- package/esm/src/triggers/AaveV2RatioTrigger.d.ts +10 -10
- package/esm/src/triggers/AaveV2RatioTrigger.js +12 -12
- package/esm/src/triggers/AaveV3QuotePriceTrigger.d.ts +10 -10
- package/esm/src/triggers/AaveV3QuotePriceTrigger.js +12 -12
- package/esm/src/triggers/AaveV3RatioTrigger.d.ts +10 -10
- package/esm/src/triggers/AaveV3RatioTrigger.js +12 -12
- package/esm/src/triggers/CBRebondTrigger.d.ts +10 -10
- package/esm/src/triggers/CBRebondTrigger.js +12 -12
- package/esm/src/triggers/ChainLinkPriceTrigger.d.ts +10 -10
- package/esm/src/triggers/ChainLinkPriceTrigger.js +12 -12
- package/esm/src/triggers/ClosePriceTrigger.d.ts +10 -10
- package/esm/src/triggers/ClosePriceTrigger.js +12 -12
- package/esm/src/triggers/CompV3PriceRangeTrigger.d.ts +10 -10
- package/esm/src/triggers/CompV3PriceRangeTrigger.js +12 -12
- package/esm/src/triggers/CompV3PriceTrigger.d.ts +10 -10
- package/esm/src/triggers/CompV3PriceTrigger.js +12 -12
- package/esm/src/triggers/CompV3RatioTrigger.d.ts +10 -10
- package/esm/src/triggers/CompV3RatioTrigger.js +12 -12
- package/esm/src/triggers/CompoundRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/CompoundRatioTrigger.js +12 -12
- package/esm/src/triggers/CurveUsdCollRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/CurveUsdCollRatioTrigger.js +12 -12
- package/esm/src/triggers/CurveUsdHealthRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/CurveUsdHealthRatioTrigger.js +12 -12
- package/esm/src/triggers/FluidRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/FluidRatioTrigger.js +12 -12
- package/esm/src/triggers/GasPriceTrigger.d.ts +10 -10
- package/esm/src/triggers/GasPriceTrigger.js +12 -12
- package/esm/src/triggers/LiquityDebtInFrontWithLimitTrigger.d.ts +10 -10
- package/esm/src/triggers/LiquityDebtInFrontWithLimitTrigger.js +12 -12
- package/esm/src/triggers/LiquityRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/LiquityRatioTrigger.js +12 -12
- package/esm/src/triggers/LiquityV2AdjustRateDebtInFrontTrigger.d.ts +8 -8
- package/esm/src/triggers/LiquityV2AdjustRateDebtInFrontTrigger.js +10 -10
- package/esm/src/triggers/LiquityV2QuotePriceTrigger.d.ts +8 -8
- package/esm/src/triggers/LiquityV2QuotePriceTrigger.js +10 -10
- package/esm/src/triggers/LiquityV2RatioTrigger.d.ts +8 -8
- package/esm/src/triggers/LiquityV2RatioTrigger.js +10 -10
- package/esm/src/triggers/MakerRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/MakerRatioTrigger.js +12 -12
- package/esm/src/triggers/MorphoAaveV2RatioTrigger.d.ts +10 -10
- package/esm/src/triggers/MorphoAaveV2RatioTrigger.js +12 -12
- package/esm/src/triggers/MorphoBluePriceTrigger.d.ts +16 -16
- package/esm/src/triggers/MorphoBluePriceTrigger.js +18 -18
- package/esm/src/triggers/MorphoBlueRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/MorphoBlueRatioTrigger.js +12 -12
- package/esm/src/triggers/OffchainPriceTrigger.d.ts +10 -10
- package/esm/src/triggers/OffchainPriceTrigger.js +12 -12
- package/esm/src/triggers/ReflexerRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/ReflexerRatioTrigger.js +12 -12
- package/esm/src/triggers/SparkQuotePriceTrigger.d.ts +10 -10
- package/esm/src/triggers/SparkQuotePriceTrigger.js +12 -12
- package/esm/src/triggers/SparkRatioTrigger.d.ts +10 -10
- package/esm/src/triggers/SparkRatioTrigger.js +12 -12
- package/esm/src/triggers/TimestampTrigger.d.ts +10 -10
- package/esm/src/triggers/TimestampTrigger.js +12 -12
- package/esm/src/triggers/TrailingStopTrigger.d.ts +10 -10
- package/esm/src/triggers/TrailingStopTrigger.js +12 -12
- package/esm/src/triggers/UniV3CurrentTickTrigger.d.ts +10 -10
- package/esm/src/triggers/UniV3CurrentTickTrigger.js +12 -12
- package/esm/src/triggers/index.d.ts +30 -31
- package/esm/src/triggers/index.js +30 -31
- package/esm/src/types.d.ts +55 -54
- package/esm/src/types.js +1 -1
- package/esm/src/utils/basic-utils.d.ts +6 -6
- package/esm/src/utils/basic-utils.js +7 -7
- package/esm/src/utils/convex-utils.d.ts +52 -52
- package/esm/src/utils/convex-utils.js +16 -16
- package/esm/src/utils/convexPoolInfo.json +1057 -1057
- package/esm/src/utils/curve-utils.d.ts +7 -7
- package/esm/src/utils/curve-utils.js +7 -7
- package/esm/src/utils/curvePoolInfo.json +299 -299
- package/esm/src/utils/curveusd-utils.d.ts +30 -30
- package/esm/src/utils/curveusd-utils.js +16 -16
- package/esm/src/utils/general.d.ts +17 -17
- package/esm/src/utils/general.js +39 -39
- package/esm/src/utils/index.d.ts +9 -9
- package/esm/src/utils/index.js +9 -9
- package/esm/src/utils/mstableAssetPairs.d.ts +9 -9
- package/esm/src/utils/mstableAssetPairs.js +8 -8
- package/esm/src/utils/uniswapLP.d.ts +19 -19
- package/esm/src/utils/uniswapLP.js +31 -31
- package/esm/src/utils/uniswapV3LP.d.ts +5 -5
- package/esm/src/utils/uniswapV3LP.js +23 -23
- package/esm/src/utils/zeroExExchange.d.ts +39 -39
- package/esm/src/utils/zeroExExchange.js +169 -169
- package/package.json +58 -58
- package/src/Action.ts +220 -220
- package/src/ActionWithL2.ts +48 -48
- package/src/DfsWeb3.ts +109 -109
- package/src/Recipe.ts +219 -219
- package/src/Strategy.ts +69 -69
- package/src/abis/Action.json +246 -246
- package/src/abis/DFSProxyRegistry.json +193 -193
- package/src/abis/DsProxy.json +218 -218
- package/src/abis/Erc20.json +222 -222
- package/src/abis/ProxyRegistry.json +65 -65
- package/src/abis/Recipe.json +870 -870
- package/src/abis/UniV3PositionManager.json +64 -64
- package/src/actions/aave/AaveBorrowAction.ts +37 -37
- package/src/actions/aave/AaveClaimAAVEAction.ts +29 -29
- package/src/actions/aave/AaveClaimStkAaveAction.ts +30 -30
- package/src/actions/aave/AaveCollateralSwitchAction.ts +25 -25
- package/src/actions/aave/AaveFinalizeUnstakeAction.ts +29 -29
- package/src/actions/aave/AavePaybackAction.ts +32 -32
- package/src/actions/aave/AaveStartUnstakeAction.ts +18 -18
- package/src/actions/aave/AaveSupplyAction.ts +38 -38
- package/src/actions/aave/AaveWithdrawAction.ts +21 -21
- package/src/actions/aave/index.ts +8 -8
- package/src/actions/aaveV3/AaveV3ATokenPaybackAction.ts +64 -64
- package/src/actions/aaveV3/AaveV3BorrowAction.ts +68 -68
- package/src/actions/aaveV3/AaveV3ClaimRewardsAction.ts +50 -50
- package/src/actions/aaveV3/AaveV3CollateralSwitchAction.ts +46 -46
- package/src/actions/aaveV3/AaveV3DelegateCredit.ts +56 -56
- package/src/actions/aaveV3/AaveV3DelegateWithSigAction.ts +42 -42
- package/src/actions/aaveV3/AaveV3PaybackAction.ts +77 -77
- package/src/actions/aaveV3/AaveV3SetEModeAction.ts +40 -40
- package/src/actions/aaveV3/AaveV3SupplyAction.ts +75 -75
- package/src/actions/aaveV3/AaveV3SwapBorrowRateModeAction.ts +46 -46
- package/src/actions/aaveV3/AaveV3WithdrawAction.ts +53 -53
- package/src/actions/aaveV3/index.ts +10 -10
- package/src/actions/balancer/BalancerV2ClaimAction.ts +46 -46
- package/src/actions/balancer/BalancerV2SupplyAction.ts +52 -52
- package/src/actions/balancer/BalancerV2WithdrawAction.ts +60 -60
- package/src/actions/balancer/index.ts +2 -2
- package/src/actions/basic/ApproveTokenAction.ts +38 -38
- package/src/actions/basic/AutomationV2Unsub.ts +18 -18
- package/src/actions/basic/ChangeProxyOwnerAction.ts +16 -16
- package/src/actions/basic/CreateSubAction.ts +23 -23
- package/src/actions/basic/ExecuteSafeTxAction.ts +85 -85
- package/src/actions/basic/GasFeeAction.ts +27 -27
- package/src/actions/basic/GasFeeActionL2.ts +28 -28
- package/src/actions/basic/HandleAuthAction.ts +15 -15
- package/src/actions/basic/KingClaimAction.ts +31 -31
- package/src/actions/basic/LSVSellAction.ts +61 -61
- package/src/actions/basic/LimitSellAction.ts +62 -62
- package/src/actions/basic/PermitTokenAction.ts +49 -49
- package/src/actions/basic/PullTokenAction.ts +36 -36
- package/src/actions/basic/RemoveTokenApprovalAction.ts +39 -39
- package/src/actions/basic/SDaiUnwrapAction.ts +37 -37
- package/src/actions/basic/SDaiWrapAction.ts +37 -37
- package/src/actions/basic/SellAction.ts +61 -61
- package/src/actions/basic/SellNoFeeAction.ts +61 -61
- package/src/actions/basic/SendTokenAction.ts +29 -29
- package/src/actions/basic/SendTokenAndUnwrapAction.ts +29 -29
- package/src/actions/basic/SendTokensAction.ts +38 -38
- package/src/actions/basic/SendTokensAndUnwrapAction.ts +37 -37
- package/src/actions/basic/StarknetClaimAction.ts +26 -26
- package/src/actions/basic/SubInputsAction.ts +21 -21
- package/src/actions/basic/SumInputsAction.ts +21 -21
- package/src/actions/basic/ToggleSubAction.ts +17 -17
- package/src/actions/basic/TokenBalanceAction.ts +19 -19
- package/src/actions/basic/TokenizedVaultAdapterDepositAction.ts +38 -38
- package/src/actions/basic/TokenizedVaultAdapterMintAction.ts +38 -38
- package/src/actions/basic/TokenizedVaultAdapterRedeemAction.ts +36 -36
- package/src/actions/basic/TokenizedVaultAdapterWithdrawAction.ts +36 -36
- package/src/actions/basic/TransferNFTAction.ts +23 -23
- package/src/actions/basic/UnwrapEthAction.ts +38 -38
- package/src/actions/basic/UpdateSubAction.ts +27 -27
- package/src/actions/basic/WrapEthAction.ts +29 -29
- package/src/actions/basic/index.ts +34 -34
- package/src/actions/bprotocol/BprotocolLiquitySPDepositAction.ts +32 -32
- package/src/actions/bprotocol/BprotocolLiquitySPWithdrawAction.ts +27 -27
- package/src/actions/bprotocol/index.ts +2 -2
- package/src/actions/checkers/AaveV2RatioCheckAction.ts +22 -22
- package/src/actions/checkers/AaveV3OpenRatioCheckAction.ts +30 -32
- package/src/actions/checkers/AaveV3RatioCheckAction.ts +23 -37
- package/src/actions/checkers/CompoundV2RatioCheckAction.ts +22 -22
- package/src/actions/checkers/CompoundV3RatioCheckAction.ts +26 -26
- package/src/actions/checkers/CurveUsdCollRatioCheck.ts +24 -24
- package/src/actions/checkers/FluidRatioCheckAction.ts +29 -29
- package/src/actions/checkers/LiquityRatioCheckAction.ts +22 -22
- package/src/actions/checkers/LiquityRatioIncreaseCheckAction.ts +20 -20
- package/src/actions/checkers/LiquityV2NewInterestRateCheckerAction.ts +30 -30
- package/src/actions/checkers/LiquityV2RatioCheckAction.ts +31 -31
- package/src/actions/checkers/LiquityV2TargetRatioCheckAction.ts +29 -29
- package/src/actions/checkers/MakerRatioCheckAction.ts +27 -27
- package/src/actions/checkers/MorphoAaveV2RatioCheckAction.ts +24 -24
- package/src/actions/checkers/MorphoBlueRatioCheckAction.ts +46 -46
- package/src/actions/checkers/MorphoBlueTargetRatioCheckAction.ts +43 -43
- package/src/actions/checkers/SparkRatioCheckAction.ts +22 -22
- package/src/actions/checkers/index.ts +16 -16
- package/src/actions/chickenBonds/CBChickenInAction.ts +19 -19
- package/src/actions/chickenBonds/CBChickenOutAction.ts +21 -21
- package/src/actions/chickenBonds/CBCreateAction.ts +23 -23
- package/src/actions/chickenBonds/CBCreateRebondSubAction.ts +20 -20
- package/src/actions/chickenBonds/CBRedeemAction.ts +26 -26
- package/src/actions/chickenBonds/CBUpdateRebondSubAction.ts +17 -17
- package/src/actions/chickenBonds/FetchBondIdAction.ts +23 -23
- package/src/actions/chickenBonds/index.ts +8 -8
- package/src/actions/compound/CompoundBorrowAction.ts +20 -20
- package/src/actions/compound/CompoundClaimAction.ts +26 -26
- package/src/actions/compound/CompoundCollateralSwitchAction.ts +18 -18
- package/src/actions/compound/CompoundGetDebtAction.ts +20 -20
- package/src/actions/compound/CompoundPaybackAction.ts +27 -27
- package/src/actions/compound/CompoundSupplyAction.ts +33 -33
- package/src/actions/compound/CompoundWithdrawAction.ts +20 -20
- package/src/actions/compound/index.ts +6 -6
- package/src/actions/compoundV3/CompoundV3AllowAction.ts +26 -26
- package/src/actions/compoundV3/CompoundV3BorrowAction.ts +28 -28
- package/src/actions/compoundV3/CompoundV3ClaimAction.ts +34 -34
- package/src/actions/compoundV3/CompoundV3PaybackAction.ts +46 -46
- package/src/actions/compoundV3/CompoundV3SupplyAction.ts +40 -40
- package/src/actions/compoundV3/CompoundV3TransferAction.ts +37 -37
- package/src/actions/compoundV3/CompoundV3WithdrawAction.ts +36 -36
- package/src/actions/compoundV3/index.ts +6 -6
- package/src/actions/convex/ConvexClaimAction.ts +65 -65
- package/src/actions/convex/ConvexDepositAction.ts +71 -71
- package/src/actions/convex/ConvexWithdrawAction.ts +69 -69
- package/src/actions/convex/index.ts +2 -2
- package/src/actions/curve/CurveClaimFeesAction.ts +30 -30
- package/src/actions/curve/CurveDepositAction.ts +84 -84
- package/src/actions/curve/CurveGaugeDepositAction.ts +36 -36
- package/src/actions/curve/CurveGaugeWithdrawAction.ts +28 -28
- package/src/actions/curve/CurveMintCrvAction.ts +25 -25
- package/src/actions/curve/CurveStethPoolDepositAction.ts +40 -40
- package/src/actions/curve/CurveStethPoolWithdrawAction.ts +42 -42
- package/src/actions/curve/CurveSwapAction.ts +38 -38
- package/src/actions/curve/CurveWithdrawAction.ts +82 -82
- package/src/actions/curve/index.ts +8 -8
- package/src/actions/curveusd/CurveUsdAdjustAction.ts +44 -44
- package/src/actions/curveusd/CurveUsdBorrowAction.ts +33 -33
- package/src/actions/curveusd/CurveUsdCreateAction.ts +48 -48
- package/src/actions/curveusd/CurveUsdGetDebtAction.ts +20 -20
- package/src/actions/curveusd/CurveUsdLevCreateAction.ts +39 -39
- package/src/actions/curveusd/CurveUsdLevCreateTransientAction.ts +51 -51
- package/src/actions/curveusd/CurveUsdPaybackAction.ts +48 -48
- package/src/actions/curveusd/CurveUsdRepayAction.ts +35 -35
- package/src/actions/curveusd/CurveUsdRepayTransientAction.ts +35 -35
- package/src/actions/curveusd/CurveUsdSelfLiquidateAction.ts +41 -41
- package/src/actions/curveusd/CurveUsdSelfLiquidateWithCollAction.ts +39 -39
- package/src/actions/curveusd/CurveUsdSelfLiquidateWithCollTransientAction.ts +54 -54
- package/src/actions/curveusd/CurveUsdSupplyAction.ts +43 -43
- package/src/actions/curveusd/CurveUsdWithdrawAction.ts +34 -34
- package/src/actions/curveusd/index.ts +13 -13
- package/src/actions/dydx/DyDxWithdrawAction.ts +20 -20
- package/src/actions/dydx/index.ts +1 -1
- package/src/actions/etherfi/EtherFiStakeAction.ts +37 -37
- package/src/actions/etherfi/EtherFiUnwrapAction.ts +30 -30
- package/src/actions/etherfi/EtherFiWrapAction.ts +35 -35
- package/src/actions/etherfi/index.ts +2 -2
- package/src/actions/eulerV2/EulerV2BorrowAction.ts +37 -37
- package/src/actions/eulerV2/EulerV2CollateralSwitchAction.ts +34 -34
- package/src/actions/eulerV2/EulerV2PaybackAction.ts +47 -47
- package/src/actions/eulerV2/EulerV2PaybackWithSharesAction.ts +37 -37
- package/src/actions/eulerV2/EulerV2PullDebtAction.ts +37 -37
- package/src/actions/eulerV2/EulerV2ReorderCollateralsAction.ts +31 -31
- package/src/actions/eulerV2/EulerV2SupplyAction.ts +49 -49
- package/src/actions/eulerV2/EulerV2WithdrawAction.ts +37 -37
- package/src/actions/eulerV2/index.ts +7 -7
- package/src/actions/flashloan/AaveV2FlashLoanAction.ts +30 -30
- package/src/actions/flashloan/AaveV2FlashLoanPaybackAction.ts +18 -18
- package/src/actions/flashloan/AaveV3FlashLoanAction.ts +30 -30
- package/src/actions/flashloan/AaveV3FlashLoanCarryDebtAction.ts +34 -34
- package/src/actions/flashloan/AaveV3FlashLoanNoFeeAction.ts +26 -26
- package/src/actions/flashloan/AaveV3FlashLoanNoFeePaybackAction.ts +18 -18
- package/src/actions/flashloan/AaveV3FlashLoanPaybackAction.ts +17 -17
- package/src/actions/flashloan/BalancerFlashLoanAction.ts +28 -28
- package/src/actions/flashloan/BalancerFlashLoanPaybackAction.ts +18 -18
- package/src/actions/flashloan/CurveUsdFlashLoanAction.ts +27 -27
- package/src/actions/flashloan/DyDxFlashLoanAction.ts +23 -23
- package/src/actions/flashloan/DyDxFlashLoanPaybackAction.ts +18 -18
- package/src/actions/flashloan/EulerFlashLoanAction.ts +24 -24
- package/src/actions/flashloan/EulerFlashLoanPaybackAction.ts +18 -18
- package/src/actions/flashloan/FLAction.ts +40 -40
- package/src/actions/flashloan/FLPaybackAction.ts +18 -18
- package/src/actions/flashloan/FlashLoanId.ts +3 -3
- package/src/actions/flashloan/GhoFlashLoanAction.ts +27 -27
- package/src/actions/flashloan/GhoFlashLoanPaybackAction.ts +17 -17
- package/src/actions/flashloan/MakerFlashLoanAction.ts +27 -27
- package/src/actions/flashloan/MakerFlashLoanPaybackAction.ts +17 -17
- package/src/actions/flashloan/MorphoBlueFlashLoanAction.ts +28 -28
- package/src/actions/flashloan/MorphoBlueFlashLoanPaybackAction.ts +18 -18
- package/src/actions/flashloan/SparkFlashLoanAction.ts +30 -30
- package/src/actions/flashloan/SparkFlashLoanPaybackAction.ts +17 -17
- package/src/actions/flashloan/UniV3FlashLoanAction.ts +31 -31
- package/src/actions/flashloan/UniV3FlashLoanPaybackAction.ts +19 -19
- package/src/actions/flashloan/index.ts +26 -26
- package/src/actions/fluid/FluidClaimAction.ts +58 -58
- package/src/actions/fluid/FluidDexOpenAction.ts +61 -61
- package/src/actions/fluid/FluidDexRegularBorrowAction.ts +49 -49
- package/src/actions/fluid/FluidDexRegularPaybackAction.ts +46 -46
- package/src/actions/fluid/FluidDexRegularSupplyAction.ts +45 -45
- package/src/actions/fluid/FluidDexRegularWithdrawAction.ts +50 -50
- package/src/actions/fluid/FluidDexSmartCollSupplyAction.ts +45 -45
- package/src/actions/fluid/FluidDexSmartCollWithdrawAction.ts +50 -50
- package/src/actions/fluid/FluidDexSmartDebtBorrowAction.ts +49 -49
- package/src/actions/fluid/FluidDexSmartDebtPaybackAction.ts +46 -46
- package/src/actions/fluid/FluidVaultT1AdjustAction.ts +52 -52
- package/src/actions/fluid/FluidVaultT1BorrowAction.ts +40 -40
- package/src/actions/fluid/FluidVaultT1OpenAction.ts +55 -55
- package/src/actions/fluid/FluidVaultT1PaybackAction.ts +49 -49
- package/src/actions/fluid/FluidVaultT1SupplyAction.ts +49 -49
- package/src/actions/fluid/FluidVaultT1WithdrawAction.ts +40 -40
- package/src/actions/fluid/index.ts +17 -17
- package/src/actions/guni/GUniDeposit.ts +45 -45
- package/src/actions/guni/GUniWithdraw.ts +35 -35
- package/src/actions/guni/index.ts +1 -1
- package/src/actions/index.ts +85 -85
- package/src/actions/insta/InstPullTokensAction.ts +33 -33
- package/src/actions/lido/LidoStakeAction.ts +25 -25
- package/src/actions/lido/LidoUnwrapAction.ts +24 -24
- package/src/actions/lido/LidoWrapAction.ts +34 -34
- package/src/actions/lido/index.ts +3 -3
- package/src/actions/liquity/LiquityAdjustAction.ts +52 -52
- package/src/actions/liquity/LiquityBorrowAction.ts +32 -32
- package/src/actions/liquity/LiquityClaimAction.ts +25 -25
- package/src/actions/liquity/LiquityClaimSPRewardsAction.ts +19 -19
- package/src/actions/liquity/LiquityClaimStakingRewardsAction.ts +19 -19
- package/src/actions/liquity/LiquityCloseAction.ts +33 -33
- package/src/actions/liquity/LiquityEthGainToTroveAction.ts +27 -27
- package/src/actions/liquity/LiquityOpenAction.ts +42 -42
- package/src/actions/liquity/LiquityPaybackAction.ts +35 -35
- package/src/actions/liquity/LiquityRedeemAction.ts +53 -53
- package/src/actions/liquity/LiquitySPDepositAction.ts +37 -37
- package/src/actions/liquity/LiquitySPWithdrawAction.ts +33 -33
- package/src/actions/liquity/LiquityStakeAction.ts +38 -38
- package/src/actions/liquity/LiquitySupplyAction.ts +35 -35
- package/src/actions/liquity/LiquityUnstakeAction.ts +33 -33
- package/src/actions/liquity/LiquityWithdrawAction.ts +30 -30
- package/src/actions/liquity/index.ts +15 -15
- package/src/actions/liquityV2/LiquityV2AdjustAction.ts +73 -73
- package/src/actions/liquityV2/LiquityV2AdjustInterestRateAction.ts +57 -57
- package/src/actions/liquityV2/LiquityV2AdjustZombieTroveAction.ts +82 -82
- package/src/actions/liquityV2/LiquityV2BorrowAction.ts +52 -52
- package/src/actions/liquityV2/LiquityV2ClaimAction.ts +37 -37
- package/src/actions/liquityV2/LiquityV2CloseAction.ts +52 -52
- package/src/actions/liquityV2/LiquityV2CloseLegacyAction.ts +51 -51
- package/src/actions/liquityV2/LiquityV2OpenAction.ts +101 -101
- package/src/actions/liquityV2/LiquityV2PaybackAction.ts +52 -52
- package/src/actions/liquityV2/LiquityV2PaybackLegacyAction.ts +52 -52
- package/src/actions/liquityV2/LiquityV2SPClaimCollAction.ts +37 -37
- package/src/actions/liquityV2/LiquityV2SPDepositAction.ts +62 -62
- package/src/actions/liquityV2/LiquityV2SPWithdrawAction.ts +52 -52
- package/src/actions/liquityV2/LiquityV2SupplyAction.ts +57 -57
- package/src/actions/liquityV2/LiquityV2WithdrawAction.ts +47 -47
- package/src/actions/liquityV2/index.ts +15 -15
- package/src/actions/llamalend/LlamaLendBoostAction.ts +25 -25
- package/src/actions/llamalend/LlamaLendBorrowAction.ts +33 -33
- package/src/actions/llamalend/LlamaLendCreateAction.ts +49 -49
- package/src/actions/llamalend/LlamaLendGetDebtAction.ts +20 -20
- package/src/actions/llamalend/LlamaLendLevCreateAction.ts +38 -38
- package/src/actions/llamalend/LlamaLendPaybackAction.ts +40 -40
- package/src/actions/llamalend/LlamaLendRepayAction.ts +27 -27
- package/src/actions/llamalend/LlamaLendSelfLiquidateAction.ts +42 -42
- package/src/actions/llamalend/LlamaLendSelfLiquidateWithCollAction.ts +32 -32
- package/src/actions/llamalend/LlamaLendSupplyAction.ts +43 -43
- package/src/actions/llamalend/LlamaLendWithdrawAction.ts +34 -34
- package/src/actions/llamalend/index.ts +10 -10
- package/src/actions/lsv/LSVBorrowAction.ts +20 -20
- package/src/actions/lsv/LSVPaybackAction.ts +19 -19
- package/src/actions/lsv/LSVSupplyAction.ts +22 -22
- package/src/actions/lsv/LSVWithdrawAction.ts +22 -22
- package/src/actions/lsv/index.ts +3 -3
- package/src/actions/maker/MakerBoostCompositeAction.ts +54 -54
- package/src/actions/maker/MakerClaimAction.ts +26 -26
- package/src/actions/maker/MakerDsrDepositAction.ts +22 -22
- package/src/actions/maker/MakerDsrWithdrawAction.ts +21 -21
- package/src/actions/maker/MakerGenerateAction.ts +21 -21
- package/src/actions/maker/MakerGiveAction.ts +28 -28
- package/src/actions/maker/MakerMergeAction.ts +18 -18
- package/src/actions/maker/MakerOpenVaultAction.ts +17 -17
- package/src/actions/maker/MakerPaybackAction.ts +24 -24
- package/src/actions/maker/MakerRatioAction.ts +16 -16
- package/src/actions/maker/MakerRepayCompositeAction.ts +54 -54
- package/src/actions/maker/MakerSupplyAction.ts +27 -27
- package/src/actions/maker/MakerTokenConverterAction.ts +29 -29
- package/src/actions/maker/MakerWithdrawAction.ts +22 -22
- package/src/actions/maker/index.ts +13 -13
- package/src/actions/merkl/MerklClaimAction.ts +36 -36
- package/src/actions/morpho/MorphoAaveV2BorrowAction.ts +36 -36
- package/src/actions/morpho/MorphoAaveV2PaybackAction.ts +34 -34
- package/src/actions/morpho/MorphoAaveV2SupplyAction.ts +46 -46
- package/src/actions/morpho/MorphoAaveV2WithdrawAction.ts +25 -25
- package/src/actions/morpho/MorphoClaimAction.ts +23 -23
- package/src/actions/morpho/aaveV3/MorphoAaveV3BorrowAction.ts +41 -41
- package/src/actions/morpho/aaveV3/MorphoAaveV3PaybackAction.ts +46 -46
- package/src/actions/morpho/aaveV3/MorphoAaveV3SetManagerAction.ts +31 -31
- package/src/actions/morpho/aaveV3/MorphoAaveV3SupplyAction.ts +52 -52
- package/src/actions/morpho/aaveV3/MorphoAaveV3WithdrawAction.ts +44 -44
- package/src/actions/morpho/index.ts +9 -9
- package/src/actions/morpho-blue/MorphoBlueBorrowAction.ts +54 -54
- package/src/actions/morpho-blue/MorphoBlueClaimAction.ts +31 -31
- package/src/actions/morpho-blue/MorphoBluePaybackAction.ts +54 -54
- package/src/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.ts +56 -56
- package/src/actions/morpho-blue/MorphoBlueSetAuthAction.ts +24 -24
- package/src/actions/morpho-blue/MorphoBlueSetAuthWithSigAction.ts +38 -38
- package/src/actions/morpho-blue/MorphoBlueSupplyAction.ts +54 -54
- package/src/actions/morpho-blue/MorphoBlueSupplyCollateralAction.ts +54 -54
- package/src/actions/morpho-blue/MorphoBlueWithdrawAction.ts +54 -54
- package/src/actions/morpho-blue/MorphoBlueWithdrawCollateralAction.ts +54 -54
- package/src/actions/morpho-blue/MorphoTokenWrapAction.ts +23 -23
- package/src/actions/morpho-blue/index.ts +10 -10
- package/src/actions/mstable/MStableClaimAction.ts +38 -38
- package/src/actions/mstable/MStableDepositAction.ts +83 -83
- package/src/actions/mstable/MStableWithdrawAction.ts +82 -82
- package/src/actions/mstable/index.ts +2 -2
- package/src/actions/pendle/PendleTokenRedeemAction.ts +51 -51
- package/src/actions/rari/RariDepositAction.ts +32 -32
- package/src/actions/rari/RariWithdrawAction.ts +34 -34
- package/src/actions/rari/index.ts +1 -1
- package/src/actions/reflexer/ReflexerGenerateAction.ts +20 -20
- package/src/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.ts +28 -28
- package/src/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.ts +22 -22
- package/src/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.ts +24 -24
- package/src/actions/reflexer/ReflexerOpenSafeAction.ts +16 -16
- package/src/actions/reflexer/ReflexerPaybackAction.ts +23 -23
- package/src/actions/reflexer/ReflexerSupplyAction.ts +32 -32
- package/src/actions/reflexer/ReflexerWithdrawAction.ts +21 -21
- package/src/actions/reflexer/ReflexerWithdrawStuckFunds.ts +20 -20
- package/src/actions/reflexer/index.ts +9 -9
- package/src/actions/renzo/RenzoStakeAction.ts +32 -32
- package/src/actions/renzo/index.ts +1 -1
- package/src/actions/sky/SkyClaimRewardsAction.ts +23 -23
- package/src/actions/sky/SkyStakeAction.ts +29 -29
- package/src/actions/sky/SkyStakingEngineClaimRewards.ts +36 -36
- package/src/actions/sky/SkyStakingEngineOpen.ts +25 -25
- package/src/actions/sky/SkyStakingEngineSelectFarm.ts +29 -29
- package/src/actions/sky/SkyStakingEngineStake.ts +36 -36
- package/src/actions/sky/SkyStakingEngineUnstake.ts +36 -36
- package/src/actions/sky/SkyUnstakeAction.ts +25 -25
- package/src/actions/sky/index.ts +10 -10
- package/src/actions/spark/SparkBorrowAction.ts +68 -68
- package/src/actions/spark/SparkClaimRewardsAction.ts +50 -50
- package/src/actions/spark/SparkCollateralSwitchAction.ts +46 -46
- package/src/actions/spark/SparkDelegateCredit.ts +56 -56
- package/src/actions/spark/SparkDelegateWithSigAction.ts +42 -42
- package/src/actions/spark/SparkPaybackAction.ts +77 -77
- package/src/actions/spark/SparkSPKClaimAction.ts +34 -34
- package/src/actions/spark/SparkSetEModeAction.ts +40 -40
- package/src/actions/spark/SparkSpTokenPaybackAction.ts +64 -64
- package/src/actions/spark/SparkSupplyAction.ts +75 -75
- package/src/actions/spark/SparkSwapBorrowRateModeAction.ts +46 -46
- package/src/actions/spark/SparkWithdrawAction.ts +53 -53
- package/src/actions/spark/index.ts +11 -11
- package/src/actions/stkgho/GhoClaimAAVEAction.ts +29 -29
- package/src/actions/stkgho/GhoFinalizeUnstakeAction.ts +29 -29
- package/src/actions/stkgho/GhoStakeAction.ts +32 -32
- package/src/actions/stkgho/GhoStartUnstakeAction.ts +17 -17
- package/src/actions/stkgho/index.ts +3 -3
- package/src/actions/summerfi/SFApproveTokensAction.ts +28 -28
- package/src/actions/summerfi/index.ts +1 -1
- package/src/actions/umbrella/UmbrellaClaimRewardsAction.ts +33 -33
- package/src/actions/umbrella/UmbrellaFinalizeUnstakeAction.ts +43 -43
- package/src/actions/umbrella/UmbrellaStakeAction.ts +43 -43
- package/src/actions/umbrella/UmbrellaStartUnstakeAction.ts +28 -28
- package/src/actions/umbrella/index.ts +3 -3
- package/src/actions/uniswap/UniswapSupplyAction.ts +63 -63
- package/src/actions/uniswap/UniswapWithdrawAction.ts +53 -53
- package/src/actions/uniswap/index.ts +1 -1
- package/src/actions/uniswapV3/UniswapV3CollectAction.ts +47 -47
- package/src/actions/uniswapV3/UniswapV3CreatePoolAction.ts +69 -69
- package/src/actions/uniswapV3/UniswapV3MintAction.ts +68 -68
- package/src/actions/uniswapV3/UniswapV3SupplyAction.ts +58 -58
- package/src/actions/uniswapV3/UniswapV3WithdrawAction.ts +58 -58
- package/src/actions/uniswapV3/index.ts +4 -4
- package/src/actions/yearn/YearnSupplyAction.ts +33 -33
- package/src/actions/yearn/YearnWithdrawAction.ts +33 -33
- package/src/actions/yearn/index.ts +1 -1
- package/src/addresses.ts +767 -724
- package/src/config.ts +127 -119
- package/src/index.ts +67 -67
- package/src/triggers/AaveV2RatioTrigger.ts +14 -14
- package/src/triggers/AaveV3QuotePriceTrigger.ts +14 -14
- package/src/triggers/AaveV3RatioTrigger.ts +14 -14
- package/src/triggers/CBRebondTrigger.ts +14 -14
- package/src/triggers/ChainLinkPriceTrigger.ts +14 -14
- package/src/triggers/ClosePriceTrigger.ts +19 -19
- package/src/triggers/CompV3PriceRangeTrigger.ts +19 -19
- package/src/triggers/CompV3PriceTrigger.ts +25 -25
- package/src/triggers/CompV3RatioTrigger.ts +14 -14
- package/src/triggers/CompoundRatioTrigger.ts +14 -14
- package/src/triggers/CurveUsdCollRatioTrigger.ts +14 -14
- package/src/triggers/CurveUsdHealthRatioTrigger.ts +14 -14
- package/src/triggers/FluidRatioTrigger.ts +19 -19
- package/src/triggers/GasPriceTrigger.ts +14 -14
- package/src/triggers/LiquityDebtInFrontWithLimitTrigger.ts +19 -19
- package/src/triggers/LiquityRatioTrigger.ts +19 -19
- package/src/triggers/LiquityV2AdjustRateDebtInFrontTrigger.ts +16 -16
- package/src/triggers/LiquityV2QuotePriceTrigger.ts +16 -16
- package/src/triggers/LiquityV2RatioTrigger.ts +16 -16
- package/src/triggers/MakerRatioTrigger.ts +15 -15
- package/src/triggers/MorphoAaveV2RatioTrigger.ts +15 -15
- package/src/triggers/MorphoBluePriceTrigger.ts +31 -31
- package/src/triggers/MorphoBlueRatioTrigger.ts +25 -25
- package/src/triggers/OffchainPriceTrigger.ts +14 -14
- package/src/triggers/ReflexerRatioTrigger.ts +14 -14
- package/src/triggers/SparkQuotePriceTrigger.ts +14 -14
- package/src/triggers/SparkRatioTrigger.ts +14 -14
- package/src/triggers/TimestampTrigger.ts +14 -14
- package/src/triggers/TrailingStopTrigger.ts +14 -14
- package/src/triggers/UniV3CurrentTickTrigger.ts +14 -14
- package/src/triggers/index.ts +30 -31
- package/src/types.ts +82 -81
- package/src/utils/basic-utils.ts +5 -5
- package/src/utils/convex-utils.ts +21 -21
- package/src/utils/convexPoolInfo.json +1057 -1057
- package/src/utils/curve-utils.ts +15 -15
- package/src/utils/curvePoolInfo.json +299 -299
- package/src/utils/curveusd-utils.ts +19 -19
- package/src/utils/general.ts +37 -37
- package/src/utils/index.ts +19 -19
- package/src/utils/mstableAssetPairs.ts +8 -8
- package/src/utils/uniswapLP.ts +44 -44
- package/src/utils/uniswapV3LP.ts +16 -16
- package/src/utils/zeroExExchange.ts +206 -206
- package/test/Action.js +62 -62
- package/test/ActionWithL2.js +27 -27
- package/test/DfsWeb3.js +65 -65
- package/test/Recipe.js +95 -95
- package/test/Strategy.js +44 -44
- package/test/_actionUtils.js +17 -17
- package/test/_recipeUtils.js +12 -12
- package/test/accessLists/MockAccessLists.json +1410 -1410
- package/test/accessLists/Recipe.js +124 -124
- package/test/accessLists/access-lists.js +107 -107
- package/test/actions/aave/AaveBorrowAction.js +70 -70
- package/test/actions/aave/AaveClaimStkAaveAction.js +21 -21
- package/test/actions/aave/AaveCollateralSwitchAction.js +20 -20
- package/test/actions/aave/AavePaybackAction.js +84 -84
- package/test/actions/aave/AaveSupplyAction.js +81 -81
- package/test/actions/aave/AaveWithdrawAction.js +42 -42
- package/test/actions/balancer/BalancerV2ClaimAction.js +101 -101
- package/test/actions/balancer/BalancerV2SupplyAction.js +36 -36
- package/test/actions/balancer/BalancerV2WithdrawAction.js +33 -33
- package/test/actions/basic/ChangeProxyOwnerAction.js +21 -21
- package/test/actions/basic/CreateSubAction.js +28 -28
- package/test/actions/basic/SellAction.js +79 -79
- package/test/actions/basic/SendTokenAction.js +49 -49
- package/test/actions/basic/SendTokensAndUnwrapAction.js +73 -73
- package/test/actions/basic/TokenBalanceAction.js +20 -20
- package/test/actions/checkers/AaveV3OpenRatioCheckAction.js +22 -22
- package/test/actions/compound/CompoundBorrowAction.js +63 -63
- package/test/actions/compound/CompoundCollateralSwitchAction.js +19 -19
- package/test/actions/compound/CompoundGetDebtAction.js +20 -20
- package/test/actions/compound/CompoundPaybackAction.js +53 -53
- package/test/actions/compound/CompoundSupplyAction.js +54 -54
- package/test/actions/compound/CompoundWithdrawAction.js +40 -40
- package/test/actions/dydx/DyDxWithdrawAction.js +40 -40
- package/test/actions/etherFi/EtherFiStakeAction.js +65 -65
- package/test/actions/etherFi/EtherFiUnwrapAction.js +34 -34
- package/test/actions/etherFi/EtherFiWrapAction.js +34 -34
- package/test/actions/eulerV2/EulerV2BorrowAction.js +30 -30
- package/test/actions/eulerV2/EulerV2CollateralSwitchAction.js +28 -28
- package/test/actions/eulerV2/EulerV2PaybackAction.js +38 -38
- package/test/actions/eulerV2/EulerV2SupplyAction.js +41 -41
- package/test/actions/eulerV2/EulerV2WithdrawAction.js +30 -30
- package/test/actions/flashloan/DyDxFlashLoanAction.js +84 -84
- package/test/actions/insta/InstPullTokensAction.js +30 -30
- package/test/actions/lido/LidoStakeAction.js +30 -30
- package/test/actions/liquity/LiquityBorrowAction.js +28 -28
- package/test/actions/liquity/LiquityClaimAction.js +28 -28
- package/test/actions/liquity/LiquityClaimSPRewardsAction.js +28 -28
- package/test/actions/liquity/LiquityClaimStakingRewardsAction.js +28 -28
- package/test/actions/liquity/LiquityCloseAction.js +30 -30
- package/test/actions/liquity/LiquityEthGainToTroveAction.js +28 -28
- package/test/actions/liquity/LiquityOpenAction.js +30 -30
- package/test/actions/liquity/LiquityPaybackAction.js +30 -30
- package/test/actions/liquity/LiquityRedeemAction.js +38 -38
- package/test/actions/liquity/LiquitySPDepositAction.js +31 -31
- package/test/actions/liquity/LiquitySPWithdrawAction.js +29 -29
- package/test/actions/liquity/LiquityStakeAction.js +30 -30
- package/test/actions/liquity/LiquitySupplyAction.js +30 -30
- package/test/actions/liquity/LiquityUnstakeAction.js +28 -28
- package/test/actions/liquity/LiquityWithdrawAction.js +28 -28
- package/test/actions/maker/MakerGenerateAction.js +63 -63
- package/test/actions/maker/MakerGiveAction.js +63 -63
- package/test/actions/maker/MakerMergeAction.js +49 -49
- package/test/actions/maker/MakerOpenVaultAction.js +56 -56
- package/test/actions/maker/MakerPaybackAction.js +55 -55
- package/test/actions/maker/MakerSupplyAction.js +103 -103
- package/test/actions/maker/MakerWithdrawAction.js +66 -66
- package/test/actions/morpho-blue/MorphoBlueClaimAction.js +45 -45
- package/test/actions/morpho-blue/MorphoBlueReallocateLiquidityAction.js +49 -49
- package/test/actions/morpho-blue/MorphoTokenWrapAction.js +36 -36
- package/test/actions/reflexer/ReflexerNativeUniV2SaviourDepositAction.js +30 -30
- package/test/actions/reflexer/ReflexerNativeUniV2SaviourGetReservesAction.js +26 -26
- package/test/actions/reflexer/ReflexerNativeUniV2SaviourWithdrawAction.js +28 -28
- package/test/actions/renzo/RenzoStakeAction.js +59 -59
- package/test/actions/uniswap/UniswapSupplyAction.js +68 -68
- package/test/actions/uniswap/UniswapWithdrawAction.js +35 -35
- package/test/actions/uniswapV3/UniswapV3CollectAction.js +35 -35
- package/test/actions/uniswapV3/UniswapV3CreatePoolAction.js +42 -42
- package/test/actions/uniswapV3/UniswapV3MintAction.js +74 -74
- package/test/actions/uniswapV3/UniswapV3SupplyAction.js +68 -68
- package/test/actions/uniswapV3/UniswapV3WithdrawAction.js +39 -39
- package/test/actions/yearn/YearnSupplyAction.js +35 -35
- package/test/actions/yearn/YearnWithdrawAction.js +36 -36
- package/test/index.js +11 -11
- package/test/utils/uniswapLP.js +40 -40
- package/test/utils/zeroExExchange.js +87 -87
- package/tsconfig.esm.json +11 -11
- package/tsconfig.json +79 -79
- package/umd/index.js +3220 -3201
- package/webpack.umd.js +52 -52
- package/esm/src/triggers/AaveV3QuotePriceRangeTrigger.d.ts +0 -13
- package/esm/src/triggers/AaveV3QuotePriceRangeTrigger.js +0 -15
- package/src/triggers/AaveV3QuotePriceRangeTrigger.ts +0 -27
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.<uint256></code>
|
|
381
|
-
- balances <code>uint256</code>
|
|
382
|
-
- merkleProofs <code>Array.<Array.<bytes32>></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.<address></code>
|
|
397
|
-
- maxAmountsIn <code>Array.<uint256></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.<address></code>
|
|
416
|
-
- minAmountsOut <code>Array.<uint256></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> = "0"</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.<EthAddress></code>
|
|
618
|
-
- cBorrowAddresses <code>Array.<EthAddress></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.<string></code>
|
|
703
|
-
- tokens <code>Array.<EthAddress></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.<EthAddress></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.<string></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.<string></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.<string></code>
|
|
813
|
-
- tokens <code>Array.<EthAddress></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.<string></code>
|
|
844
|
-
- tokens <code>Array.<EthAddress></code>
|
|
845
|
-
- modes <code>Array.<number></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.<EthAddress></code>
|
|
876
|
-
- amounts <code>Array.<string></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.<uint256></code>
|
|
381
|
+
- balances <code>uint256</code>
|
|
382
|
+
- merkleProofs <code>Array.<Array.<bytes32>></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.<address></code>
|
|
397
|
+
- maxAmountsIn <code>Array.<uint256></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.<address></code>
|
|
416
|
+
- minAmountsOut <code>Array.<uint256></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> = "0"</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.<EthAddress></code>
|
|
618
|
+
- cBorrowAddresses <code>Array.<EthAddress></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.<string></code>
|
|
703
|
+
- tokens <code>Array.<EthAddress></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.<EthAddress></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.<string></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.<string></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.<string></code>
|
|
813
|
+
- tokens <code>Array.<EthAddress></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.<string></code>
|
|
844
|
+
- tokens <code>Array.<EthAddress></code>
|
|
845
|
+
- modes <code>Array.<number></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.<EthAddress></code>
|
|
876
|
+
- amounts <code>Array.<string></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
|
+
|