Get desktop application:
View/edit binary Protocol Buffers messages
Service for handling Cellar contract calls
Handles scheduled contract call submission
The hex encoded ID of the scheduled cork
The ID of the chain on which the target Cellar resides
Invalidation scope for the gravity tx, keccak256 of the target contract address and encoded contract call
Service for testing contract call encoding. Simply returns the encoded call data in the response.
Handles contract call encoding
The data from which the desired contract function will be encoded
The encoded contract call
Service for simulating contract calls encoded by Steward using Tenderly
Handles simulated contract call submission
Represents a simulated function call to a particular Cellar
/ Whether to simply encode and return the contract call data, skipping the Tenderly simulation
/ The encoded contract call
/ The response body from the Tenderly simulation
(message has no fields)
Represents call data for the Aave AToken adaptor V1, used to manage lending positions on Aave
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `swap(ERC20 assetIn, ERC20 assetOut, uint256 amountIn, SwapRouter.Exchange exchange, bytes memory params)`
Represents function `oracleSwap(ERC20 assetIn, ERC20 assetOut, uint256 amountIn, SwapRouter.Exchange exchange, bytes memory params, uint64 slippage)`
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Represents function `withdrawFromAave(ERC20 tokenToWithdraw, uint256 amountToWithdraw)`
Allows strategists to lend assets on Aave. Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Used in:
The address of the ERC20 token to deposit
The amount to deposit
Allows strategists to withdraw assets from Aave. Represents function `withdrawFromAave(ERC20 tokenToWithdraw, uint256 amountToWithdraw)`
Used in:
The address of the ERC20 token to withdraw
The amount to withdraw
Used in: , ,
Represents call data for the Aave AToken adaptor V2, used to manage lending positions on Aave
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Represents function `withdrawFromAave(ERC20 tokenToWithdraw, uint256 amountToWithdraw)`
Allows strategists to lend assets on Aave. Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Used in:
The address of the ERC20 token to deposit
The amount to deposit
Allows strategists to withdraw assets from Aave. Represents function `withdrawFromAave(ERC20 tokenToWithdraw, uint256 amountToWithdraw)`
Used in:
The address of the ERC20 token to withdraw
The amount to withdraw
Used in: , ,
Represents call data for the Aave Debt Token adaptor V1, used for borrowing and repaying debt on Aave.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `swap(ERC20 assetIn, ERC20 assetOut, uint256 amountIn, SwapRouter.Exchange exchange, bytes memory params)`
Represents function `oracleSwap(ERC20 assetIn, ERC20 assetOut, uint256 amountIn, SwapRouter.Exchange exchange, bytes memory params, uint64 slippage)`
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `borrowFromAave(ERC20 debtTokenToBorrow, uint256 amountToBorrow)`
Represents function `repayAaveDebt(ERC20 tokenToRepay, uint256 amountToRepay)`
Represents function `swapAndRepay(ERC20 tokenIn, ERC20 tokenToRepay, uint256 amountIn, SwapRouter.Exchange exchange, bytes memory params)`
Allows strategists to borrow assets from Aave. Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Used in:
The address of the ERC20 token to borrow
The amount to borrow
Allows strategists to repay loan debt on Aave. Represents function `repayAaveDebt(ERC20 tokenToRepay, uint256 amountToRepay)`
Used in:
The address of the ERC20 token to repay
The amount to repay
Allows strategists to swap assets and repay loans in one call. Represents function `swapAndRepay(ERC20 tokenIn, ERC20 tokenToRepay, uint256 amountIn, SwapRouter.Exchange exchange, bytes memory params)`
Used in:
The address of the token to swap from
The address of the token to swap to and repay with
The amount to swap
The exchange to make the swap on
The parameters for the swap
Used in: , ,
Represents call data for the Aave Debt Token adaptor V2, used for borrowing and repaying debt on Aave.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `borrowFromAave(ERC20 debtTokenToBorrow, uint256 amountToBorrow)`
Represents function `repayAaveDebt(ERC20 tokenToRepay, uint256 amountToRepay)`
Allows strategists to borrow assets from Aave. Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Used in:
The address of the ERC20 token to borrow
The amount to borrow
Allows strategists to repay loan debt on Aave. Represents function `repayAaveDebt(ERC20 tokenToRepay, uint256 amountToRepay)`
Used in:
The address of the ERC20 token to repay
The amount to repay
Used in: , ,
Represents call data for the Aave AToken adaptor, used to manage lending positions on Aave
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `setUserUseReserveAsCollateral(address asset, bool useAsCollateral)`
Allows a strategist to choose to use an asset as collateral or not. Represents function `setUserUseReserveAsCollateral(address asset, bool useAsCollateral)`
Used in:
The address of the asset to set as collateral
Whether to use the asset as collateral
Used in: , ,
Represents a function call to the Aave V2 Stablecoin cellar
Used in: ,
The function you wish to execute on the target cellar
Represents function `accruePlatformFees()`
Represents function `claimAndUnstake()`
Represents function `enterPosition()`
Represents function `enterPosition(uint256 assets)`
Represents function `exitPosition()`
Represents function `exitPosition(uint256 assets)`
Represents function `rebalance(address newLendingToken, uint256 minNewLendingTokenAmount)`
Represents function `reinvest(uint256 minAssetsOut)`
Represents function `setAccrualPeriod(uint32 newAccrualPeriod)`
Represents function `setDepositLimit(uint256 limit)`
Represents function `setLiquidityLimit(uint256 limit)`
Represents function `transferFees()`
Accrue yield, platform fees, and performance fees.. Represents function `accrue()`
Used in:
(message has no fields)
Claim rewards from Aave and begin cooldown period to unstake them. Represents function `claimAndUnstake()`
Used in:
(message has no fields)
Pushes total assets into the current Aave lending position. Represents function `enterPosition()`
Used in:
(message has no fields)
Pushes assets into the current Aave lending position. Represents function `enterPosition(uint256 assets)`
Used in:
amount of assets to enter into the current position
Pulls total assets from the current Aave lending position. Represents function `enterPosition()`
Used in:
(message has no fields)
Pulls assets from the current Aave lending position. Represents function `exitPosition(uint256 assets)`
Used in:
amount of assets to exit from the current position
Rebalances current assets into a new asset position. Represents function `rebalance(address newLendingToken, uint256 minNewLendingTokenAmount)` This function is based on the Curve Pool Registry exchange_multiple() function: https://github.com/curvefi/curve-pool-registry/blob/16a8664952cf61d7fed06acca79ad5ac696f4b20/contracts/Swaps.vy#L461-L489
Used in:
array of [initial token, pool, token, pool, token, ...] that specifies the swap route on Curve.
An array of up to 4 swap params. Attempting more than four swaps will fail.
Minimum acceptable assets to be received from the swap (slippage parameter). Must be parsable as an unsigned 256-bit integer.
Represents parameters for a single swap. Each swap needs the indeces in Rebalance.route of the in/out token addresses and the swap type. See the Curve contract linked above for more detail.
Used in:
Index in the `route` array of the swap's input token address
Index in the `route` array of the swap's output token address
1 - stableswap `exchange` 2 - stableswap `exchange_underlying` 3 - cryptoswap `exchange` 4 - cryptoswap `exchange_underlying` 5 - Polygon factory metapools `exchange_underlying` See the Curve Pool Registry exchange_multiple() function for more information.
Reinvest rewards back into cellar's current position. Must be called within 2 day unstake period 10 days after `claimAndUnstake` was run. Represents function `reinvest(uint256 minAssetsOut)`
Used in:
Minimum acceptable assets to be received from the swap (slippage parameter). Must be parsable as an unsigned 256-bit integer.
Transfer accrued fees to the Sommelier Chain to distribute. Represents function `sendFees()`
Used in:
(message has no fields)
Set the accrual period over which yield is distributed. Represents function `setAccrualPeriod(uint32 newAccrualPeriod)`
Used in:
Set the per-wallet deposit limit. Uses the same decimals as the current asset. Represents function `setDepositLimit(uint256 limit)`
Used in:
Amount of assets to set as the new limit. Must be parsable as an unsigned 256-bit integer.
Set the maximum liquidity that cellar can manage. Uses the same decimals as the current asset. Represents function `setLiquidityLimit(uint256 limit)`
Used in:
Amount of assets to set as the new limit
Represents a function call initiated by governance
Used in:
The function to call on the target cellar
Represents function `setFeesDistributor(bytes32)`
Represents function `initiateShutdown(bool)`
Represents function `liftShutdown()`
Represents function `setTrust(address, bool)`
Represents function `sweep(address, address)`
Represents function `initiateShutdown(bool)`
Used in:
Whether to empty the position
Represents function `liftShutdown()`
Used in:
(message has no fields)
Represents function `setFeesDistributor(bytes32)`
Used in:
The new fees distributor
Represents function `setTrust(address, bool)`
Used in:
The position to set trust for
Whether to trust the address
Represents function `sweep(address, address)`
Used in:
The address of the ERC20 token to sweep
The recipient of the sweep
Represents call data for the Aave AToken adaptor, used to manage lending positions on Aave
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Represents function `withdrawFromAave(ERC20 tokenToWithdraw, uint256 amountToWithdraw)`
Represents function `adjustIsolationModeAssetAsCollateral(ERC20 asset, bool useAsCollateral)`
Represents function `changeEMode(uint8 categoryId)`
Allows strategists to adjust an asset's isolation mode. Represents function `adjustIsolationModeAssetAsCollateral(ERC20 asset, bool useAsCollateral)`
Used in:
The address of the ERC20 token
Whether to use the asset as collateral
Allows strategists to enter different EModes. Represents function `changeEMode(uint8 categoryId)`
Used in:
The category ID
Allows strategists to lend assets on Aave. Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Used in:
The address of the ERC20 token to deposit
The amount to deposit
Allows strategists to withdraw assets from Aave. Represents function `withdrawFromAave(ERC20 tokenToWithdraw, uint256 amountToWithdraw)`
Used in:
The address of the ERC20 token to withdraw
The amount to withdraw
Used in: , ,
Represents call data for the Aave Debt Token adaptor, used for borrowing and repaying debt on Aave.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `borrowFromAave(ERC20 debtTokenToBorrow, uint256 amountToBorrow)`
Represents function `repayAaveDebt(ERC20 tokenToRepay, uint256 amountToRepay)`
Represents function `repayWithATokens(ERC20 underlying, uint256 amount)`
Allows strategists to borrow assets from Aave. Represents function `depositToAave(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Used in:
The address of the ERC20 token to borrow
The amount to borrow
Allows strategists to repay loan debt on Aave. Represents function `repayAaveDebt(ERC20 tokenToRepay, uint256 amountToRepay)`
Used in:
The address of the ERC20 token to repay
The amount to repay
Allows strategist to use aTokens to repay debt tokens with the same underlying. Represents function `repayWithATokens(ERC20 underlying, uint256 amount)`
Used in:
The address of the underlying ERC20 token to repay
The amount to repay
Used in: , ,
Represents call data for the Aave Debt Token adaptor, used for borrowing and repaying debt on Aave.
Used in:
Represents function `flashLoan(address[] loanToken, uint256[] loanAmount, bytes params)`
Represents a call to adaptor an. The cellar must be authorized to call the target adaptor.
Used in:
Address of the adaptor
The function call data for the adaptor
Represents function calls to the AaveATokenAdaptor V1
Represents function calls to the AavaDebtTokenAdaptor V1
Represents function calls to the CompoundCTokenAdaptor V2
Represents function calls to the AaveATokenV2Adaptor
Represents function calls to the AavaDebtTokenV2Adaptor
Represents function calls to the AaveATokenV1Adaptor
Represents function calls to the OneInchAdaptorV1
Represents function calls to the FeesAndReservesAdaptorV1
Represents functionc alls to the ZeroXAdaptorV1
Represents function calls to the SwapWithUniswapAdaptorV1
Represents function calls to VestingSimpleAdaptor
Represents function calls to the CellarAdaptor
Represents function calls to the UniswapV3Adaptor V2
Represents function calls to the AaveV2EnableAssetAsCollatorAdaptor V1
Represents function calls to the FTokenAdaptor V1
Represents function calls to the MorphoAaveV2AToken V1
Represents function calls to the MorphoAaveV2DebtToken V1
Represents function calls to the MorphoAaveV3ATokenCollateral V1
Represents function calls to the MorphoAaveV3ATokenP2P V1
Represents function calls to the MorphoAaveV3DebtToken V1
Represents function calls to the BalancerPoolAdaptor V1
Represents function calls to the LegacyCellarAdaptor V1
Represents function calls to the DebtFTokenAdaptor V1
Represents function calls to the CollateralFTokenAdaptor V1
Represents function calls for the ConvexCurveAdaptorV1
Represents function calls for the CurveAdaptorV1
Represents function calls for the AuraERC4626AdaptorV1
Represents function calls for the MorphoBlueCollateralAdaptorV1
Represents function calls for the MorphoBlueDebtAdaptorV1
Represents function calls for the MorphoBlueSupplyAdaptorV1
Represents function calls for the ERC4626AdaptorV1
Represents function calls for the StakingAdaptorV1
Represents function calls for the AaveV3DebtTokenAdaptor V1
Represents function calls for the PendleAdaptorV1
Allows strategists to have Cellars take out flash loans Represents function `flashLoan(address[] loanToken, uint256[] loanAmount, bytes params)`
Used in:
The addresses of the ERC20 tokens to borrow
The amounts to borrow
The params to pass to the flash loan callback.
Used in:
Represents a call to adaptor an. The cellar must be authorized to call the target adaptor.
Used in: , , , ,
Address of the adaptor
The function call data for the adaptor
Represents function calls to the AaveATokenAdaptor V1
Represents function calls to the AavaDebtTokenAdaptor V1
Represents function calls to the CompoundCTokenAdaptor V2
Represents function calls to the AaveATokenV2Adaptor
Represents function calls to the AavaDebtTokenV2Adaptor
Represents function calls to the AaveATokenV1Adaptor
Represents function calls to the AavaDebtTokenV1Adaptor
Represents function calls to the OneInchAdaptorV1
Represents function calls to the FeesAndReservesAdaptorV1
Represents functionc alls to the ZeroXAdaptorV1
Represents function calls to the SwapWithUniswapAdaptorV1
Represents function calls to VestingSimpleAdaptor
Represents function calls to the CellarAdaptor
Represents function calls to the UniswapV3Adaptor V2
Represents function calls to the AaveV2EnableAssetAsCollatorAdaptor V1
Represents function calls to the FTokenAdaptor V1
Represents function calls to the MorphoAaveV2AToken V1
Represents function calls to the MorphoAaveV2DebtToken V1
Represents function calls to the MorphoAaveV3ATokenCollateral V1
Represents function calls to the MorphoAaveV3ATokenP2P V1
Represents function calls to the MorphoAaveV3DebtToken V1
Represents function calls to the BalancerPoolAdaptor V1
Represents function calls to the LegacyCellarAdaptor V1
Represents function calls to the DebtFTokenAdaptor V1
Represents function calls to the CollateralFTokenAdaptor V1
Represents function call for the AaveV3DebtTokenAdaptorV1
Represents function call for the BalancerPoolAdaptorV1
Represents function calls for the ConvexCurveAdaptorV1
Represents function calls for the CurveAdaptorV1
Represents function calls for the AuraERC4626AdaptorV1
Represents function calls for the MorphoBlueCollateralAdaptorV1
Represents function calls for the MorphoBlueDebtAdaptorV1
Represents function calls for the MorphoBlueSupplyAdaptorV1
Represents function calls for the ERC4626AdaptorV1
Represents function calls for the StakingAdaptorV1
Represents function calls for the PendleAdaptorV1
Represents call data for the Aura ERC4626 adaptor V1
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `getRewards(IBaseRewardPool _auraPool, bool _claimExtras)`
Allows strategist to get rewards for an Aura pool. Represents function `getRewards(IBaseRewardPool _auraPool, bool _claimExtras)`
Used in:
The address of the Aura pool to get rewards for
Whether to claim extra rewards associated with the pool
Used in: , ,
Represents call data for the Balancer Pool adaptor V1, for managing pool positions on Balancer.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `relayerJoinPool(ERC20[] tokensIn, uint256[] amountsIn, ERC20 btpOut, bytes[] memory callData)`
Represents function `relayerExitPool(ERC20 bptIn, uint256 amountIn, ERC20[] memory tokensOut, bytes[] memory callData)`
Represents function `stakeBPT(ERC20 _bpt, address _liquidityGauge, uint256 _amountIn)`
Represents function `unstakeBPT(ERC20 _bpt, address _liquidityGauge, uint256 _amountOut)`
Represents function `claimRewards(address gauge)`
Claim rewards ($BAL) from LP position Represents `function claimRewards(address gauge)`
Used in:
The gauge to claim rewards from
Call `BalancerRelayer` on mainnet to carry out exit txs Represents function `exitPool(ERC20 targetBpt, IVault.SingleSwap[] memory swapsBeforeJoin, SwapData memory swapData, IVault.ExitPoolRequest request)`
Used in:
The target pool
Swaps to execute after exiting pool
Data for swaps
Used in:
Allows strategists to join Balancer pools using EXACT_TOKENS_IN_FOR_BPT_OUT joins Represents function `joinPool(ERC20 targetBpt, IVault.SingleSwap[] memory swapsBeforeJoin, SwapData memory swapData, uint256 minimumBpt)`
Used in:
The target pool
Swap to execute before joining pool
Data for swaps
The minimum BPT to mint
Data for a single swap executed by `swap`. `amount` is either `amountIn` or `amountOut` depending on the `kind` value. Represents the SingleSwap struct defined here: https://github.com/PeggyJV/cellar-contracts/blob/main/src/interfaces/external/Balancer/IVault.sol
Used in: ,
The pool ID (bytes32)
The swap kind (enum)
The asset in (address)
The asset out (address)
The amount (uint256)
The user data (bytes)
Stake (deposit) BPTs into respective pool gauge Represents `function stakeBPT(ERC20 _bpt, address _liquidityGauge, uint256 _amountIn)``
Used in:
The BPT to stake
The liquidity gauge to stake into
The amount to stake
Stores each swaps min amount, and deadline
Used in: ,
The minimum amounts for swaps
The swap deadlines
Represents the SwapKind enum defined here: https://github.com/PeggyJV/cellar-contracts/blob/main/src/interfaces/external/Balancer/IVault.sol
Used in:
Unstake (withdraw) BPT from respective pool gauge Represents `function unstakeBPT(ERC20 _bpt, address _liquidityGauge, uint256 _amountOut)``
Used in:
The BPT to unstake
The liquidity gauge to unstake from
The amount to unstake
Used in: ,
Represents flash loan call data for the Balancer Pool adaptor V1, for managing pool positions on Balancer.
Used in:
NOTE: Make FlashLoan takes an array of AdaptorCall. cellar_v2.proto defines it, but also imports this file, therefore we can't import cellar_v2.proto in order to use the AdaptorCall message here. To avoid the recursive import, we duplicate the message definition.
Used in:
Address of the adaptor
The function call data for the adaptor
Represents function calls to the AaveATokenAdaptor V1
Represents function calls to the AavaDebtTokenAdaptor V1
Represents function calls to the CompoundCTokenAdaptor V2
Represents function calls to the AaveATokenV2Adaptor
Represents function calls to the AavaDebtTokenV2Adaptor
Represents function calls to the AaveATokenV1Adaptor
Represents function calls to the AavaDebtTokenV1Adaptor
Represents function calls to the OneInchAdaptorV1
Represents function calls to the FeesAndReservesAdaptorV1
Represents functionc alls to the ZeroXAdaptorV1
Represents function calls to the SwapWithUniswapAdaptorV1
Represents function calls to VestingSimpleAdaptor
Represents function calls to the CellarAdaptor
Represents function calls to the UniswapV3Adaptor V2
Represents function calls to the AaveV2EnableAssetAsCollatorAdaptor V1
Represents function calls to the FTokenAdaptor V1
Represents function calls to the MorphoAaveV2AToken V1
Represents function calls to the MorphoAaveV2DebtToken V1
Represents function calls to the MorphoAaveV3ATokenCollateral V1
Represents function calls to the MorphoAaveV3ATokenP2P V1
Represents function calls to the MorphoAaveV3DebtToken V1
Represents function calls to the LegacyCellarAdaptor V1
Represents function calls to the DebtFTokenAdaptor V1
Represents function calls to the CollateralFTokenAdaptor V1
Represents function calls for the ConvexCurveAdaptorV1
Represents function calls for the CurveAdaptorV1
Represents function calls for the AuraERC4626AdaptorV1
Represents function calls for the MorphoBlueCollateralAdaptorV1
Represents function calls for the MorphoBlueDebtAdaptorV1
Represents function calls for the MorphoBlueSupplyAdaptorV1
Represents function calls for the ERC4626AdaptorV1
Represents function calls for the StakingAdaptorV1
Represents function calls for the PendleAdaptorV1
Make a flash loan Represents `function makeFlashLoan(IERC20[] tokens, uint256[] amounts, bytes memory data)`
Used in:
The tokens to flash loan
The amounts to flash loan
The data to flash loan
Used in:
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToCellar(Cellar cellar, uint256 assets)`
Represents function `withdrawFromCellar(Cellar cellar, uint256 assets)`
Allows strategists to deposit into Cellar positions. Represents function `depositToCellar(Cellar cellar, uint256 assets)`
Used in:
Allows strategists to withdraw from Cellar positions. Represents function `withdrawFromCellar(Cellar cellar, uint256 assets)`
Used in:
Used in: , ,
Represents a function call to a cellar that implements Cellar.sol
Used in: ,
The function you wish to execute on the target cellar
Represents function `addPosition(uint256 index, address position)`
Represents function `pushPosition(address position)`
Represents function `removePosition(uint256 index)`
Represents function `setHoldingPosition(address newHoldingPosition)`
Represents function `rebalance(address fromPosition, address toPosition, uint256 assetsFrom, SwapRouter.Exchange exchange, bytes calldata params)`
Represents function `setStrategistPayoutAddress(address payout)`
Represents function `setWithdrawType(WithdrawType newWithdrawType)`
Represents function `swapPositions(uint256 index1, uint256 index2)`
Represents function `setDepositLimit()`
Represents function `setLiquidityLimit()`
Represents function `setShareLockPeriod()`
Represents function `setRebalanceDeviation(uint256)`
Insert a trusted position to the list of positions used by the cellar at a given index. Represents function `addPosition(uint256 index, address position)`
Used in:
Index at which to add the position
Address of the position to add
Push a trusted position to the end of the list of positions used by the cellar. If you know you are going to add a position to the end of the array, this is more efficient then `addPosition`. Represents function `pushPosition(address position)`
Used in:
Address of the position to push
Move assets between positions. To move assets from/to this cellar's holdings, specify the address of this cellar as the `fromPosition`/`toPosition`. Represents function `rebalance(address fromPosition, address toPosition, uint256 assetsFrom, SwapRouter.Exchange exchange, bytes calldata params)
Used in:
Remove the position at a given index from the list of positions used by the cellar. Represents function `removePosition(uint256 index)`
Used in:
Index at which to remove the position
Set the per-wallet deposit limit. Uses the same decimals as the current asset. Represents function `setDepositLimit()`
Used in:
Set the holding position used by the cellar. Represents function `setHoldingPosition(address newHoldingPosition)`
Used in:
Address of the new holding position to use
Set the maximum liquidity that cellar can manage. Uses the same decimals as the current asset. Represents function `setLiquidityLimit()`
Used in:
Represents function `setRebalanceDeviation(uint256)`
Used in:
Allows share lock period to be updated. Represents function `setShareLockPeriod()`
Used in:
Sets the Strategists payout address. Represents function `setStrategistPayoutAddress(address payout)`
Used in:
Set the withdraw type used by the cellar. Represents function `setWithdrawType(WithdrawType newWithdrawType)`
Used in:
The withdraw type to use for the cellar
Swap the positions at two given indeces. Represents function `swapPositions(uint256 index1, uint256 index2)`
Used in:
Index of the first position
Index of the second position
Represents the withdraw type to use for the cellar
Used in:
Represent a function call initiated through a governance proposal
Used in:
The function to call on the target cellar
Represents function `initiateShutdown()`
Represents function `liftShutdown()`
Represents function `resetHighWatermark()`
Represents function `setFeesDistributor(address)`
Represents function `setPerformanceFee(uint256)`
Represents function `setPlatformFee(uint256)`
Represents function `setStrategistPerformanceCut(uint256)`
Represents function `setStrategistPlatformCut(address)`
Represents function `trustPosition(address)`
Represents function `initiateShutdown()`
Used in:
(message has no fields)
Represents function `liftShutdown()`
Used in:
(message has no fields)
Represents function `resetHighWatermark()`
Used in:
(message has no fields)
Represents function `setFeesDistributor(bytes32)`
Used in:
Cosmos address of the new fees distributor
Represents function `setPerformanceFee(uint64)`
Used in:
New performance fee
Represents function `setPlatformFee(uint64)`
Used in:
New platform fee
Represents function `setStrategistPerformanceCut(uint64)`
Used in:
New strategist performance cut
Represents function `setStrategistPlatformCut(uint64)`
Used in:
New strategist platform cut
Represents function `trustPosition(address)`
Used in:
Represents a function call to a cellar that implements Cellar.sol
Used in: ,
The function you wish to execute on the target cellar
Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Represents function `removePosition(uint256 index)`
Represents function `setHoldingPosition(uint32 position_id)`
Represents function `setStrategistPayoutAddress(address payout)`
Represents function `swapPositions(uint256 index1, uint256 index2)`
Represents function `setShareLockPeriod(uint256 newLock)`
Represents function `addPosition(uint256 index, address position)`
Represents function `setupAdaptor(address adaptor)`
Represents function `initiateShutdown()`
Represents function `liftShutdown()`
Represents function `setPlatformFee(uint256)`
Represents function `setStrategistPlatformCut(address)`
Represents function `setRebalanceDeviation(uint256)`
Insert a trusted position to the list of positions used by the cellar at a given index. Represents function `addPosition(uint32 index, uint32 positionId, bytes configurationData, bool inDebtArray)`
Used in:
Index at which to add the position
The position's ID in the cellar registry
Data used to configure how the position behaves
Whether to add position in the debt array, or the credit array.
Allows strategists to manage their Cellar using arbitrary logic calls to adaptors. Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Used in:
Represents function `initiateShutdown()`
Used in:
(message has no fields)
Represents function `liftShutdown()`
Used in:
(message has no fields)
Remove the position at a given index from the list of positions used by the cellar. Represents function `removePosition(uint32 index, bool inDebtArray)`
Used in:
Index at which to remove the position
Whether to remove position from the debt array, or the credit array.
Set the holding position used of the cellar. Represents function `setHoldingIndex(uint8 index)`
Used in:
ID (index) of the new holding position to use
Represents function `setPlatformFee(uint64)`
Used in:
New platform fee
Changes the cellar's allowed rebalance deviation, which is the percent the total assets of a cellar may deviate during a `callOnAdaptor`(rebalance) call. The maximum allowed deviation is 100000000000000000 (0.1e18), or 10%. Represents function `setRebalanceDeviation(uint256)`
Used in:
Allows share lock period to be updated. Represents function `setShareLockPeriod()`
Used in:
Sets the Strategists payout address. Represents function `setStrategistPayoutAddress(address payout)`
Used in:
Represents function `setStrategistPlatformCut(uint64)`
Used in:
New strategist platform cut
Allows owner to add new adaptors for the cellar to use. Represents function `setupAdaptor(address adaptor)`
Used in:
Address of the adaptor
Swap the positions at two given indeces. Represents function `swapPositions(uint32 index1, uint32 index2)`
Used in:
Index of the first position
Index of the second position
Whether to switch positions in the debt array, or the credit array.
Represent a function call initiated through a governance proposal
Used in:
The function to call on the target cellar
Represents function `initiateShutdown()`
Represents function `liftShutdown()`
Represents function `setPlatformFee(uint256)`
Represents function `setStrategistPlatformCut(address)`
Represents function `setupAdaptor(address adaptor)`
Represents function `setRebalanceDeviation(uint256)`
Represents function `initiateShutdown()`
Used in:
(message has no fields)
Represents function `liftShutdown()`
Used in:
(message has no fields)
Represents function `setPlatformFee(uint64)`
Used in:
New platform fee
Changes the cellar's allowed rebalance deviation, which is the percent the total assets of a cellar may deviate during a `callOnAdaptor`(rebalance) call. The maximum allowed deviation is 100000000000000000 (0.1e18), or 10%. Represents function `setRebalanceDeviation(uint256)`
Used in:
Represents function `setStrategistPlatformCut(uint64)`
Used in:
New strategist platform cut
Allows owner to add new adaptors for the cellar to use. Represents function `setupAdaptor(address adaptor)`
Used in:
Address of the adaptor
Used in: ,
Represents a single function call
Represents multiple, ordered function calls
Allows the owner to add an adaptor to the Cellar's adaptor catalogue Represents function `addAdaptorToCatalogue(address adaptor)`
Used in:
Insert a trusted position to the list of positions used by the cellar at a given index. Represents function `addPosition(uint32 index, uint32 positionId, bytes configurationData, bool inDebtArray)`
Used in:
Index at which to add the position
The position's ID in the cellar registry
Data used to configure how the position behaves
Whether to add position in the debt array, or the credit array.
Allows the owner to add a position to the Cellar's position catalogue Represents function `addPositionToCatalogue(uint32 positionId)`
Used in:
Updates the cellar to use the latest price router in the registry. Represents function `cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)`
Used in:
Whether to check the total assets of the cellar
The allowable range of the cellar's total assets to deviate between old and new routers
The expected price router address
Allows strategists to manage their Cellar using arbitrary logic calls to adaptors. Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Used in:
The function you wish to execute on the target cellar
Used in: ,
Represents function `addPosition(uint256 index, address position)`
Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Represents function `removePosition(uint256 index, bool inDebtArray)`
Represents function `removeAdaptorFromCatalogue(address adaptor)`
Represents function `removePositionFromCatalogue(uint32 positionId)`
Represents function `setHoldingPosition(uint32 position_id)`
Represents function `setStrategistPayoutAddress(address payout)`
Represents function `swapPositions(uint256 index1, uint256 index2)`
Represents function `addAdaptorToCatalogue(address adaptor)`
Represents function `addPositionToCatalogue(uint32 positionId)`
Represents function `setRebalanceDeviation(uint256)`
Represents function `setShareLockPeriod(uint256 newLock)`
Represents function `setStrategistPlatformCut(uint64 cut)`
Represents function `initiateShutdown()`
Represents function `liftShutdown()`
Represents function `cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)`
Shutdown the cellar. Used in an emergency or if the cellar has been deprecated. Represents function `initiateShutdown()`
Used in:
(message has no fields)
Allows the owner to restart a shut down Cellar Represents function `liftShutdown()`
Used in:
(message has no fields)
Allows caller to call multiple functions in a single TX. Represents function `multicall(bytes[] data)`
Used in:
Allows callers to remove adaptors from this cellar's catalogue Represents function `removeAdaptorFromCatalogue(address adaptor)`
Used in:
Remove the position at a given index from the list of positions used by the cellar. Represents function `removePosition(uint32 index, bool inDebtArray)`
Used in:
Index at which to remove the position
Whether to remove position from the debt array, or the credit array.
Allows caller to remove positions from this cellar's catalogue Represents function `removePositionFromCatalogue(uint32 positionId)`
Used in:
Set the holding position used of the cellar. Represents function `setHoldingIndex(uint8 index)`
Used in:
ID (index) of the new holding position to use
Changes the cellar's allowed rebalance deviation, which is the percent the total assets of a cellar may deviate during a `callOnAdaptor`(rebalance) call. The maximum allowed deviation is 100000000000000000 (0.1e18), or 10%. Represents function `setRebalanceDeviation(uint256)`
Used in:
Allows share lock period to be updated. Represents function `setShareLockPeriod()`
Used in:
Sets the Strategists payout address. Represents function `setStrategistPayoutAddress(address payout)`
Used in:
Allows strategist to set the platform cut for the cellar. Represents function `setStrategistPlatformCut(uint64 cut)`
Used in:
The new strategist platform cut
Swap the positions at two given indeces. Represents function `swapPositions(uint32 index1, uint32 index2)`
Used in:
Index of the first position
Index of the second position
Whether to switch positions in the debt array, or the credit array.
Represent a function call initiated through a governance proposal
Used in:
Represents a single function call
Represents multiple, ordered function calls
Allows the owner to add an adaptor to the Cellar's adaptor catalogue Represents function `addAdaptorToCatalogue(address adaptor)`
Used in:
Insert a trusted position to the list of positions used by the cellar at a given index. Represents function `addPosition(uint32 index, uint32 positionId, bytes configurationData, bool inDebtArray)`
Used in:
Index at which to add the position
The position's ID in the cellar registry
Data used to configure how the position behaves
Whether to add position in the debt array, or the credit array.
Allows the owner to add a position to the Cellar's position catalogue Represents function `addPositionToCatalogue(uint32 positionId)`
Used in:
Updates the cellar to use the latest price router in the registry. Represents function `cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)`
Used in:
Whether to check the total assets of the cellar
The allowable range of the cellar's total assets to deviate between old and new routers
The expected price router address
Allows strategists to manage their Cellar using arbitrary logic calls to adaptors. Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Used in:
Allows caller to force a position out of the cellar Represents function `forcePositionOut(uint32 index, uint32 positionId, bool inDebtArray)`
Used in:
The function you wish to execute on the target cellar
Used in: ,
Represents function `addAdaptorToCatalogue(address adaptor)`
Represents function `addPositionToCatalogue(uint32 positionId)`
Represents function `setRebalanceDeviation(uint256)`
Represents function `setShareLockPeriod(uint256 newLock)`
Represents function `setStrategistPlatformCut(uint64 cut)`
Represents function `initiateShutdown()`
Represents function `liftShutdown()`
Represents function `forcePositionOut(uint32 index, uint32 positionId, bool inDebtArray)`
Represents function `toggleIgnorePause(bool ignore)`
Represents function `cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)`
Represents function `addPosition(uint256 index, address position)`
Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Represents function `removePosition(uint256 index, bool inDebtArray)`
Represents function `removeAdaptorFromCatalogue(address adaptor)`
Represents function `removePositionFromCatalogue(uint32 positionId)`
Represents function `setHoldingPosition(uint32 position_id)`
Represents function `swapPositions(uint256 index1, uint256 index2)`
Shutdown the cellar. Used in an emergency or if the cellar has been deprecated. Represents function `initiateShutdown()`
Used in:
(message has no fields)
Allows the owner to restart a shut down Cellar Represents function `liftShutdown()`
Used in:
(message has no fields)
Allows caller to call multiple functions in a single TX. Represents function `multicall(bytes[] data)`
Used in:
Allows callers to remove adaptors from this cellar's catalogue Represents function `removeAdaptorFromCatalogue(address adaptor)`
Used in:
Remove the position at a given index from the list of positions used by the cellar. Represents function `removePosition(uint32 index, bool inDebtArray)`
Used in:
Index at which to remove the position
Whether to remove position from the debt array, or the credit array.
Allows caller to remove positions from this cellar's catalogue Represents function `removePositionFromCatalogue(uint32 positionId)`
Used in:
Set the holding position used of the cellar. Represents function `setHoldingIndex(uint8 index)`
Used in:
ID (index) of the new holding position to use
Changes the cellar's allowed rebalance deviation, which is the percent the total assets of a cellar may deviate during a `callOnAdaptor`(rebalance) call. The maximum allowed deviation is 100000000000000000 (0.1e18), or 10%. Represents function `setRebalanceDeviation(uint256)`
Used in:
Allows share lock period to be updated. Represents function `setShareLockPeriod()`
Used in:
Allows strategist to set the platform cut for the cellar. Represents function `setStrategistPlatformCut(uint64 cut)`
Used in:
The new strategist platform cut
Swap the positions at two given indeces. Represents function `swapPositions(uint32 index1, uint32 index2)`
Used in:
Index of the first position
Index of the second position
Whether to switch positions in the debt array, or the credit array.
Allows caller to toggle the ignorePause flag on the cellar Represents function `toggleIgnorePause(bool ignore)`
Used in:
Used in: ,
Represents a single function call
Represents multiple, ordered function calls
Allows the owner to add an adaptor to the Cellar's adaptor catalogue Represents function `addAdaptorToCatalogue(address adaptor)`
Used in:
Insert a trusted position to the list of positions used by the cellar at a given index. Represents function `addPosition(uint32 index, uint32 positionId, bytes configurationData, bool inDebtArray)`
Used in:
Index at which to add the position
The position's ID in the cellar registry
Data used to configure how the position behaves
Whether to add position in the debt array, or the credit array.
Allows the owner to add a position to the Cellar's position catalogue Represents function `addPositionToCatalogue(uint32 positionId)`
Used in:
Updates the cellar to use the latest price router in the registry. Represents function `cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)`
Used in:
Whether to check the total assets of the cellar
The allowable range of the cellar's total assets to deviate between old and new routers
The expected price router address
Allows strategists to manage their Cellar using arbitrary logic calls to adaptors. Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Used in:
Allows strategist to decrease the share supply cap Represents function `decreaseShareSupplyCap(uint192)`
Used in:
Allows the strategist to stop an alternative asset from being deposited. Represents function `dropAlternativeAssetData(ERC20 _alternativeAsset)`
Used in:
The address of the alternative asset
The function you wish to execute on the target cellar
Used in: ,
Represents function `addPosition(uint256 index, address position)`
Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Represents function `removePosition(uint256 index)`
Represents function `setHoldingPosition(uint32 position_id)`
Represents function `setStrategistPayoutAddress(address payout)`
Represents function `swapPositions(uint256 index1, uint256 index2)`
Represents function `setShareLockPeriod(uint256 newLock)`
Represents function `initiateShutdown()`
Represents function `liftShutdown()`
Represents function `removeAdaptorFromCatalogue(address adaptor)`
Represents function `removePositionFromCatalogue(uint32 positionId)`
Represents function `decreaseShareSupplyCap(uint192)
Represents function `setAlternativeAssetData(ERC20 _alternativeAsset, uint32 _alternativeHoldingPosition, uint32 _alternativeAssetFee)`
Represents function `setDropAlternativeAssetData(ERC20 _alternativeAsset)`
Represents function `addAdaptorToCatalogue(address adaptor)`
Represents function `addPositionToCatalogue(uint32 positionId)`
Represents function `setRebalanceDeviation(uint256)`
Represents function `setStrategistPlatformCut(uint64 cut)`
Represents function `setSharePriceOracle(uint256 _registryId, ERC4626SharePriceOracle _sharePriceOracle)`
Represents function `increaseShareSupplyCap(uint192 _newShareSupplyCap)`
Represents function `cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)`
Allows the caller to increase the share supply cap Represents function `increaseShareSupplyCap(uint192 _newShareSupplyCap)`
Used in:
Shutdown the cellar. Used in an emergency or if the cellar has been deprecated. Represents function `initiateShutdown()`
Used in:
(message has no fields)
Allows the owner to restart a shut down Cellar Represents function `liftShutdown()`
Used in:
(message has no fields)
Allows caller to call multiple functions in a single TX. Represents function `multicall(bytes[] data)`
Used in:
Allows callers to remove adaptors from this cellar's catalogue Represents function `removeAdaptorFromCatalogue(address adaptor)`
Used in:
Remove the position at a given index from the list of positions used by the cellar. Represents function `removePosition(uint32 index, bool inDebtArray)`
Used in:
Index at which to remove the position
Whether to remove position from the debt array, or the credit array.
Allows caller to remove positions from this cellar's catalogue Represents function `removePositionFromCatalogue(uint32 positionId)`
Used in:
Allows the strategist to add, or update an existing alternative asset deposit. Represents function `setAlternativeAssetData(ERC20 _alternativeAsset, uint32 _alternativeHoldingPosition, uint32 _alternativeAssetFee)`
Used in:
The address of the alternative asset
The holding position to direct alternative asset deposits to
The fee to charge for depositing this alternative asset
Set the holding position used of the cellar. Represents function `setHoldingIndex(uint8 index)`
Used in:
ID (index) of the new holding position to use
Changes the cellar's allowed rebalance deviation, which is the percent the total assets of a cellar may deviate during a `callOnAdaptor`(rebalance) call. The maximum allowed deviation is 100000000000000000 (0.1e18), or 10%. Represents function `setRebalanceDeviation(uint256)`
Used in:
Allows share lock period to be updated. Represents function `setShareLockPeriod()`
Used in:
Allows the caller to set the share price oracle contract Represents function `setSharePriceOracle(uint256 _registryId, ERC4626SharePriceOracle _sharePriceOracle)`
Used in:
The oracle registry ID
The oracle contract address
Sets the Strategists payout address. Represents function `setStrategistPayoutAddress(address payout)`
Used in:
Allows strategist to set the platform cut for the cellar. Represents function `setStrategistPlatformCut(uint64 cut)`
Used in:
The new strategist platform cut
Swap the positions at two given indeces. Represents function `swapPositions(uint32 index1, uint32 index2)`
Used in:
Index of the first position
Index of the second position
Whether to switch positions in the debt array, or the credit array.
Represent a function call initiated through a governance proposal
Used in:
Represents a single function call
Represents multiple, ordered function calls
Allows the owner to add an adaptor to the Cellar's adaptor catalogue Represents function `addAdaptorToCatalogue(address adaptor)`
Used in:
Insert a trusted position to the list of positions used by the cellar at a given index. Represents function `addPosition(uint32 index, uint32 positionId, bytes configurationData, bool inDebtArray)`
Used in:
Index at which to add the position
The position's ID in the cellar registry
Data used to configure how the position behaves
Whether to add position in the debt array, or the credit array.
Allows the owner to add a position to the Cellar's position catalogue Represents function `addPositionToCatalogue(uint32 positionId)`
Used in:
Updates the cellar to use the latest price router in the registry. Represents function `cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)`
Used in:
Whether to check the total assets of the cellar
The allowable range of the cellar's total assets to deviate between old and new routers
The expected price router address
Allows strategists to manage their Cellar using arbitrary logic calls to adaptors. Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Used in:
Allows strategist to decrease the share supply cap Represents function `decreaseShareSupplyCap(uint192)`
Used in:
Allows caller to force a position out of the cellar Represents function `forcePositionOut(uint32 index, uint32 positionId, bool inDebtArray)`
Used in:
The function you wish to execute on the target cellar
Used in: ,
Represents function `addAdaptorToCatalogue(address adaptor)`
Represents function `addPositionToCatalogue(uint32 positionId)`
Represents function `setRebalanceDeviation(uint256)`
Represents function `setStrategistPlatformCut(uint64 cut)`
Represents function `forcePositionOut(uint32 index, uint32 positionId, bool inDebtArray)`
Represents function `toggleIgnorePause()`
Represents function `setSharePriceOracle(uint256 _registryId, ERC4626SharePriceOracle _sharePriceOracle)`
Represents function `increaseShareSupplyCap(uint192 _newShareSupplyCap)`
Represents function `setAutomatiionActions(uint256 _registryId, address _expectedAutomationActions)`
Represents function `cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)`
Represents function `initiateShutdown()`
Represents function `liftShutdown()`
Represents function `removeAdaptorFromCatalogue(address adaptor)`
Represents function `removePositionFromCatalogue(uint32 positionId)`
Represents function `decreaseShareSupplyCap(uint192)
Represents function `setHoldingPosition(uint32 position_id)`
Represents function `addPosition(uint256 index, address position)`
Represents function `callOnAdaptor(AdaptorCall[] memory data)`
Represents function `removePosition(uint256 index)`
Allows the caller to increase the share supply cap Represents function `increaseShareSupplyCap(uint192 _newShareSupplyCap)`
Used in:
Shutdown the cellar. Used in an emergency or if the cellar has been deprecated. Represents function `initiateShutdown()`
Used in:
(message has no fields)
Allows the owner to restart a shut down Cellar Represents function `liftShutdown()`
Used in:
(message has no fields)
Allows caller to call multiple functions in a single TX. Represents function `multicall(bytes[] data)`
Used in:
Allows callers to remove adaptors from this cellar's catalogue Represents function `removeAdaptorFromCatalogue(address adaptor)`
Used in:
Remove the position at a given index from the list of positions used by the cellar. Represents function `removePosition(uint32 index, bool inDebtArray)`
Used in:
Index at which to remove the position
Whether to remove position from the debt array, or the credit array.
Allows caller to remove positions from this cellar's catalogue Represents function `removePositionFromCatalogue(uint32 positionId)`
Used in:
Allows caller to set automation actions Represents function `setAutomatiionActions(uint256 _registryId, address _expectedAutomationActions)`
Used in:
The oracle registry ID
The automation actions contract address
Set the holding position used of the cellar. Represents function `setHoldingIndex(uint8 index)`
Used in:
ID (index) of the new holding position to use
Changes the cellar's allowed rebalance deviation, which is the percent the total assets of a cellar may deviate during a `callOnAdaptor`(rebalance) call. The maximum allowed deviation is 100000000000000000 (0.1e18), or 10%. Represents function `setRebalanceDeviation(uint256)`
Used in:
Allows the caller to set the share price oracle contract Represents function `setSharePriceOracle(uint256 _registryId, ERC4626SharePriceOracle _sharePriceOracle)`
Used in:
The oracle registry ID
The oracle contract address
Allows strategist to set the platform cut for the cellar. Represents function `setStrategistPlatformCut(uint64 cut)`
Used in:
The new strategist platform cut
Allows caller to toggle the ignorePause flag on the cellar Represents function `toggleIgnorePause()`
Used in:
(message has no fields)
Allows Morpho A Token cellars to claim Morpho Rewards Represents function `claim(uint256 claimable, bytes32[] memory proof)`
Used in: , ,
The amount of the asset to withdraw.
Proof of claim
Represents call data for the Frax Collateral F Token adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `addCollateral(IFToken _fraxlendPair, uint256 _collateralToDeposit)`
Represents function `removeCollateral(uint256 _collateralAmount, IFToken _fraxlendPair)`
Allows strategists to add collateral to the respective cellar position on FraxLend, enabling borrowing. Represents function `addCollateral(IFToken _fraxlendPair, uint256 _collateralToDeposit)`
Used in:
The FraxLend pair to add collateral to.
The amount of collateral to add to the cellar position.
Allows strategists to remove collateral from the respective cellar position on FraxLend. Represents function `removeCollateral(uint256 _collateralAmount, IFToken _fraxlendPair)`
Used in:
The amount of collateral to remove from the cellar position.
The FraxLend pair to remove collateral from.
Used in: , ,
Represents call data for the Compound C Token adaptor V2, managing lending positions on Compound.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToCompound(CErc20 market, uint256 amountToDeposit)`
Represents function `withdrawFromCompound(CErc20 market, uint256 amountToWithdraw)`
Represents function `claimComp()`
Allows strategists to claim COMP rewards. Represents function `claimComp()`
Used in:
(message has no fields)
Allows strategists to lend assets on Compound. Represents function `depositToCompound(CErc20 market, uint256 amountToDeposit)`
Used in:
Allows strategists to withdraw assets from Compound. Represents function `withdrawFromCompound(CErc20 market, uint256 amountToWithdraw)`
Used in:
Used in: , ,
Represents call data for the Convex Curve adaptor V1
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositLPTInConvexAndStake(uint256 _pid, address baseRewardPool, ERC20 _lpt, CurvePool _pool, bytes4 _selector, uint256 _amount)`
Represents function `withdrawFromBaseRewardPoolAsLPTaddress(_baseRewardPool, uint256 _amount, bool _claim)`
Represents function `getRewards(address _baseRewardPool, bool _claimExtras)`
Allows strategists to deposit and stake LPTs into Convex markets via the respective Convex market Booster contract Represents function `depositLPTInConvexAndStake(uint256 _pid, address baseRewardPool, ERC20 _lpt, CurvePool _pool, bytes4 _selector, uint256 _amount)`
Used in:
Allows strategists to get rewards for an Convex Booster without withdrawing/unwrapping from Convex market Represents function `getRewards(address _baseRewardPool, bool _claimExtras)`
Used in:
Allows strategists to withdraw from Convex markets via Booster contract w/ or w/o claiming rewards Represents function `withdrawFromBaseRewardPoolAsLPTaddress(_baseRewardPool, uint256 _amount, bool _claim)`
Used in:
Used in: , ,
Represents call data for the Curve adaptor V1
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `addLiquidity(address pool, ERC20 lpToken, uint256[] orderedUnderlyingTokenAmounts, uint256 minLPAmount, CurveGauge gauge, bytes4 selector)`
Represents function `addLiquidityETH(address pool, ERC20 lpToken, uint256[] orderedMinimumUnderlyingTokenAmountsOut, uint256 minLPAmount, bool useUnderlying, CurveGauge gauge, bytes4 selector)`
Represents function `removeLiquidity(address pool, ERC20 lpToken, uint256 lpTokenAmount, uint256[] orderedMinimumUnderlyingTokenAmountsOut, CurveGauge gauge, bytes4 selector)`
Represents function `removeLiquidityETH(address pool, ERC20 lpToken, uint256 lpTokenAmount, uint256[] orderedMinimumUnderlyingTokenAmountsOut, bool useUnderlying, CurveGauge gauge, bytes4 selector)`
Represents function `stakeInGauge(ERC20 lpToken, CurveGauge gauge, uint256 amount, CurvePool pool, bytes4 selector)`
Represents function `unstakeFromGauge(CurveGauge gauge, uint256 amount)`
Represents function `claimRewards(CurveGauge gauge)`
Allows strategist to add liquidity to Curve pairs that do NOT use the native asset. Represents function `addLiquidity(address pool, ERC20 lpToken, uint256[] orderedUnderlyingTokenAmounts, uint256 minLPAmount, CurveGauge gauge, bytes4 selector)`
Used in:
Address of the Curve pool
Address of the LP token
Minimum amount of each underlying token to receive
Minimum amount of LP tokens to receive
Address of the Curve gauge
Selector of the function to call
Allows strategist to add liquidity to Curve pairs that use the native asset. Represents function `addLiquidityETH(address pool, ERC20 lpToken, uint256[] orderedUnderlyingTokenAmounts, uint256 minLPAmount, bool useUnderlying, CurveGauge gauge, bytes4 selector)`
Used in:
Address of the Curve pool
Address of the LP token
Minimum amount of each underlying token to receive
Minimum amount of LP tokens to receive
Whether to use the underlying asset or the wrapped asset
Address of the Curve gauge
Selector of the function to call
Allows strategist to claim rewards from a gauge. Represents function `claimRewards(CurveGauge gauge)`
Used in:
Address of the Curve gauge
Allows strategist to remove liquidity from Curve pairs that do NOT use the native asset. Represents function `removeLiquidity(address pool, ERC20 lpToken, uint256 lpTokenAmount, uint256[] orderedMinimumUnderlyingTokenAmountsOut, CurveGauge gauge, bytes4 selector)`
Used in:
Address of the Curve pool
Address of the LP token
Amount of LP tokens to remove
Minimum amount of each underlying token to receive
Address of the Curve gauge
Selector of the function to call
Allows strategist to remove liquidity from Curve pairs that use the native asset. Represents function `removeLiquidityETH(address pool, ERC20 lpToken, uint256 lpTokenAmount, uint256[] orderedMinimumUnderlyingTokenAmountsOut, bool useUnderlying, CurveGauge gauge, bytes4 selector)`
Used in:
Address of the Curve pool
Address of the LP token
Amount of LP tokens to remove
Minimum amount of each underlying token to receive
Whether to use the underlying asset or the wrapped asset
Address of the Curve gauge
Selector of the function to call
Allows strategist to stake Curve LP tokens in their gauge. Represents function `stakeInGauge(ERC20 lpToken, CurveGauge gauge, uint256 amount, CurvePool pool, bytes4 selector)`
Used in:
Address of the LP token
Address of the Curve gauge
Amount of LP tokens to stake
Address of the Curve pool
Selector of the function to call
Allows strategist to unstake Curve LP tokens from their gauge. Represents function `unstakeFromGauge(CurveGauge gauge, uint256 amount)`
Used in:
Address of the Curve gauge
Amount of LP tokens to unstake
Used in: , ,
Represents call data for the Frax adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `borrowFromFraxlend(IFToken fraxlendPair, uint256 amountToBorrow)`
Represents function `repayFraxlendDebt(IFToken _fraxlendPair, uint256 _debtTokenRepayAmount)`
Represents function `callAddInterest(IFToken _fraxlendPair)`
Allows a strategist to borrow assets from Fraxlend Represents `function borrowFromFraxlend(IFToken fraxlendPair, uint256 amountToBorrow)`
Used in:
The address of the Frax Pair to borrow from.
The amount of the asset to borrow.
Allows a strategist to call `addInterest` on a Frax Pair they are using Represents `function callAddInterest(IFToken _fraxlendPair)`
Used in:
The address of the pair to call addInterest on.
Allows strategists to repay loan debt on Fraxlend Pair. Make sure to call addInterest() beforehand to ensure we are repaying what is required. Represents `function repayFraxlendDebt(IFToken _fraxlendPair, uint256 _debtTokenRepayAmount)`
Used in:
The address of the Frax Pair to repay debt on.
The amount of the debt token to repay.
Used in: , ,
Represents call data for the ERC4626 adaptor V1
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToVault(ERC4626 erc4626Vault, uint256 assets)`
Represents function `withdrawFromVault(ERC4626 erc4626Vault, uint256 assets)`
Allows strategists to deposit into ERC4626 positions. Represents function `depositToVault(ERC4626 erc4626Vault, uint256 assets)`
Used in:
The address of the ERC4626 vault
The amount of assets to deposit
Allows strategists to withdraw from ERC4626 positions. Represents function `withdrawFromVault(ERC4626 erc4626Vault, uint256 assets)`
Used in:
The address of the ERC4626 vault
The amount of assets to withdraw
Used in: , ,
Exchange selector
Used in: , , ,
Represents Uniswap V2
Represents Uniswap V3
Represents call data for the Frax adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `lendFrax(IFToken fToken, uint256 amountToDeposit)`
Represents function `redeemFraxShare(IFToken fToken, uint256 amountToRedeem)`
Represents function `withdrawFrax(IFToken fToken, uint256 amountToWithdraw)`
Represents function `callAddInterest(IFToken fToken)`
Allows a strategist to call `addInterest` on a Frax Pair they are using Represents `function callAddInterest(IFToken fToken)`
Used in:
The address of the fToken to call `addInterest` on.
Allows strategists to lend FRAX on FraxLend Represents `function lendFrax(IFToken fToken, uint256 amountToDeposit)`
Used in:
The address of the fToken to lend.
The amount of the fToken to lend.
Allows strategists to redeem FRAX shares on FraxLend Represents `function redeemFraxShare(IFToken fToken, uint256 amountToRedeem)`
Used in:
The address of the fToken to redeem.
The amount of the fToken to redeem.
Allows strategists to withdraw FRAX from FraxLend Represents `function withdrawFrax(IFToken fToken, uint256 amountToWithdraw)`
Used in:
The address of the fToken to withdraw.
The amount of the fToken to withdraw.
Used in: , ,
Represents call data for the FeesAndReserves and FeesAndReservesAdaptor contracts.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `updatePerformanceFee(uint32 performanceFee)`
Represents function `updateManagementFee(uint32 managementFee)`
Represents function `changeUpkeepFrequency(uint64 newFrequency)`
Represents function `changeUpkeepMaxGas(uint64 newMaxGas)`
Represents function `setupMetaData(uint32 managementFee, uint32 performanceFee)`
Represents function `addAssetsToReserves(uint256 amount)`
Represents function `withdrawAssetsFromReserves(uint256 amount)`
Represents function `prepareFees(uint256 amount)`
Allows the owner to add assets to the Cellar's reserves Represents function `addAssetsToReserves(uint256 amount)`
Used in:
Allows the owner to update a Cellar's upkeep frequency. Represents function `changeUpkeepFrequency(uint64 newFrequency)`
Used in:
Allows the owner to update a Cellar's upkeep max gas. Represents function `changeUpkeepMaxGas(uint64 newMaxGas)`
Used in:
Allows the owner to prepare fees to be split between the platform, strategist, and protocol Represents function `prepareFees(uint256 amount)`
Used in:
Allows the owner to set the Cellar's fee metadata Represents function `setupMetaData(uint32 managementFee, uint32 performanceFee)`
Used in:
Allows the owner to update a Cellar's management fee. Represents function `updateManagementFee(uint32 managementFee)`
Used in:
Allows the owner to update a Cellar's performance fee. Represents function `updatePerformanceFee(uint32 performanceFee)`
Used in:
Allows the owner to withdraw assets from the Cellar's reserves Represents function `withdrawAssetsFromReserves(uint256 amount)`
Used in:
Used in: , ,
Represents a governance-executed cellar function call. Used for Scheduled Cork Proposals in Sommelier.
The type of Cellar to call
Governance function calls to the AaveV2Stablecoin cellar
Governance function calls to V1 cellars
Governance function calls to V2 cellars
Governance function calls to the V2.2 cellars
Governance function calls to the V2.5 cellars
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToCellar(Cellar cellar, uint256 assets, address oracle)`
Represents function `withdrawFromCellar(Cellar cellar, uint256 assets, address oracle)`
Allows strategists to deposit into Cellar positions. Represents function `depositToCellar(Cellar cellar, uint256 assets, address oracle)`
Used in:
Allows strategists to withdraw from Cellar positions. Represents function `withdrawFromCellar(Cellar cellar, uint256 assets, address oracle)`
Used in:
Used in: , ,
Represents parameters for a Morpho Blue market
Used in: , , , , ,
The address of the loan token
The address of the collateral token
The address of the oracle
The address of the interest rate model
The loan-to-value ratio
Represents call data for the Morpho Aave V2 AToken adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToAaveV2Morpho(IAaveToken aToken, uint256 amountToDeposit)`
Represents function `withdrawFromAaveV2Morpho(IAaveToken aToken, uint256 amountToWithdraw)`
Represents function `claim(uint256 claimable, bytes32[] memory proof)`
Allows strategists to lend assets on Morpho. Represents function `depositToAaveV2Morpho(IAaveToken aToken, uint256 amountToDeposit)`
Used in:
The address of the Aave V2 aToken to deposit to.
The amount of the asset to deposit.
Allows strategists to withdraw assets from Morpho. Represents function `withdrawFromAaveV2Morpho(IAaveToken aToken, uint256 amountToWithdraw)`
Used in:
The address of the Aave V2 aToken to withdraw from.
The amount of the asset to withdraw.
Used in: , ,
Represents call data for the Morpho Aave V2 Debt Token adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `borrowFromAaveV2Morpho(address aToken, uint256 amountToBorrow)`
Represents function `repayAaveV2MorphoDebt(IAaveToken aToken, uint256 amountToRepay)`
Allows strategists to borrow assets from Aave. Represents function `borrowFromAaveV2Morpho(address aToken, uint256 amountToBorrow)`
Used in:
The address of the Aave V2 aToken to borrow.
The amount of the asset to borrow.
Allows strategists to repay loan debt on Aave. Represents function `repayAaveV2MorphoDebt(IAaveToken aToken, uint256 amountToRepay)`
Used in:
The address of the Aave V2 aToken to repay.
The amount of the asset to repay.
Used in: , ,
Represents call data for the Morpho Aave V3 AToken Collateral adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToAaveV3Morpho(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Represents function `withdrawFromAaveV3Morpho(ERC20 tokenToWithdraw, uint256 amountToWithdraw)`
Represents function `claim(uint256 claimable, bytes32[] memory proof)`
Allows strategists to lend assets on Morpho Represents function `depositToAaveV3Morpho(ERC20 tokenToDeposit, uint256 amountToDeposit)`
Used in:
The address of the token to deposit
The amount of tokens to deposit
Allows strategists to withdraw assets from Morpho Represents function `withdrawFromAaveV3Morpho(ERC20 tokenToWithdraw, uint256 amountToWithdraw)`
Used in:
The address of the token to withdraw
The amount of tokens to withdraw
Used in: , ,
Represents call data for the Morpho Aave V3 A Token P2P adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToAaveV3Morpho(ERC20 tokenToDeposit, uint256 amountToDeposit, uint256 maxIterations)`
Represents function `withdrawFromAaveV3Morpho(ERC20 tokenToWithdraw, uint256 amountToWithdraw, uint256 maxIterations)`
Represents function `claim(uint256 claimable, bytes32[] memory proof)`
Allows strategists to lend assets on Morpho Represents function `depositToAaveV3Morpho(ERC20 tokenToDeposit, uint256 amountToDeposit, uint256 maxIterations)`
Used in:
The address of the token to deposit
The amount of tokens to deposit
The maximum number of iterations to run
Allows strategists to withdraw assets from Morpho Represents function `withdrawFromAaveV3Morpho(ERC20 tokenToWithdraw, uint256 amountToWithdraw, uint256 maxIterations)`
Used in:
The address of the token to withdraw
The amount of tokens to withdraw
The maximum number of iterations to run
Used in: , ,
Represents call data for the Morpho Aave V3 Debt Token adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `borrowFromAaveV3Morpho(address underlying, uint256 amountToBorrow, uint256 maxIterations)`
Represents function `repayAaveV3MorphoDebt(ERC20 tokenToRepay, uint256 amountToRepay)`
Allows strategists to borrow assets from Morpho Represents function `borrowFromAaveV3Morpho(address underlying, uint256 amountToBorrow, uint256 maxIterations)`
Used in:
The underlying asset to borrow
The amount of the underlying asset to borrow
The maximum number of iterations to perform
Allows strategists to repay loan debt on Morpho Represents function `repayAaveV3MorphoDebt(ERC20 tokenToRepay, uint256 amountToRepay)`
Used in:
The token to repay
The amount of the token to repay
Used in: , ,
Represents call data for the Morpho Blue Collateral adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `addCollateral(MarketParams memory _market, uint256 _collateralToDeposit)`
Represents function `removeCollateral(MarketParams memory _market, uint256 _collateralAmount)`
Allows strategists to add collateral to the respective cellar position on specified MB Market, enabling borrowing. Represents function `addCollateral(MarketParams memory _market, uint256 _collateralToDeposit)`
Used in:
Identifier of a Morpho Blue Market
The amount of collateral to add
Allows strategists to remove collateral from the respective cellar position on specified MB Market. Represents function `removeCollateral(MarketParams memory _market, uint256 _collateralAmount)`
Used in:
Identifier of a Morpho Blue Market
The amount of collateral to remove
Used in: , ,
Represents call data for the Morpho Blue Debt adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `borrowFromMorphoBlue(MarketParams memory _market, uint256 _amountToBorrow)`
Represents function `repayMorphoBlueDebt(MarketParams memory _market, uint256 _debtTokenRepayAmount)`
Allows strategists borrow a specific amount of an asset on Morpho Blue Represents function `borrowFromMorphoBlue(MarketParams memory _market, uint256 _amountToBorrow)`
Used in:
Identifier of a Morpho Blue Market
The amount of the debt token to borrow
Allows strategists to repay loan debt on Morph Blue Lending Market. Make sure to call addInterest() beforehand to ensure we are repaying what is required. Represents function `repayMorphoBlueDebt(MarketParams memory _market, uint256 _debtTokenRepayAmount)`
Used in:
Identifier of a Morpho Blue Market
The amount of the debt token to repay
Used in: , ,
Represents call data for the Morpho Blue Supply adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `lendToMorphoBlue(MarketParams memory _market, uint256 _assets)`
Represents function `withdrawFromMorphoBlue(MarketParams memory _market, uint256 _assets)`
Allows strategists to lend a specific amount for an asset on Morpho Blue Represents function `lendToMorphoBlue(MarketParams memory _market, uint256 _assets)`
Used in:
Identifier of a Morpho Blue Market
The amount of the loan token to lend
Allows strategists to withdraw the underlying asset plus interest Represents function `withdrawFromMorphoBlue(MarketParams memory _market, uint256 _assets)`
Used in:
Identifier of a Morpho Blue Market
The amount of the loan token to lend
Used in: , ,
Represents call data for the OneInch adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `swapWithOneInch(ERC20 tokenIn, ERC20 tokenOut, uint256 amount, bytes swapCallData)`
Allows strategists to make ERC20 swaps using 1Inch. Represents function `swapWithOneInch(ERC20 tokenIn, ERC20 tokenOut, uint256 amount, bytes swapCallData)`
Used in:
Used in: , ,
Helper function to make safe "blind" Uniswap Swaps by comparing value in vs value out of the swap. Represents function `oracleSwap(ERC20 assetIn, ERC20 assetOut, uint256 amountIn, SwapRouter.Exchange exchange, bytes memory params, uint64 slippage)`
Used in: ,
Asset to swap from
Asset to swap to
Amount to swap
The exchange to make the swap on
The parameters for the swap
The slippage allowed for the swap
Represents swap params for BaseAdaptor.oracleSwap()
Used in:
Represents call data for the Pendle adaptor.
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `mintSyFromToken(IPendleMarket market, uint256 minSyOut, TokenInput memory input)`
Represents function `mintPyFromSy(IPendleMarket market, uint256 netSyIn, uint256 minPyOut)`
Represents function `swapExactPtForYt(IPendleMarket market, uint256 exactPtIn, uint256 minYtOut, ApproxParams calldata guessTotalYtToSwap)`
Represents function `swapExactYtForPt(IPendleMarket market, uint256 exactYtIn, uint256 minPtOut, ApproxParams calldata guessTotalPtToSwap)`
Represents function `addLiquidityDualSyAndPt(IPendleMarket market, uint256 netSyDesired, uint256 netPtDesired, uint256 minLpOut)`
Represents function `removeLiquidityDualSyAndPt(IPendleMarket market, uint256 netLpToRemove, uint256 minSyOut, uint256 minPtOut)`
Represents function `redeemPyToSy(IPendleMarket market, uint256 netPyIn, uint256 minSyOut)`
Represents function `redeemSyToToken(IPendleMarket market, uint256 netSyIn, TokenOutput memory output)`
Allows strategist to add liquidity to a Pendle market. Represents function `addLiquidityDualSyAndPt(IPendleMarket market, uint256 netSyDesired, uint256 netPtDesired, uint256 minLpOut)`
Used in:
The address of the Pendle market to add liquidity to.
The net amount of SY to add to the market.
The net amount of PT to add to the market.
The minimum amount of LP tokens to receive.
All of these fields are uint256
Used in: ,
The minimum guess for the swap.
The maximum guess for the swap.
The offchain guess for the swap.
The maximum number of iterations for the swap. Every iteration, the diff between guessMin and guessMax will be divided by 2.
the max eps between the returned result & the correct result, base 1e18. Normally this number will be set to 1e15 (1e18/1000 = 0.1%)
Allows strategist to exchange an SY for a PY. Represents function `mintPyFromSy(IPendleMarket market, uint256 netSyIn, uint256 minPyOut)`
Used in:
The address of the Pendle market to mint PY from.
The net amount of SY to exchange for PY.
The minimum amount of PY to receive.
Allows strategist to exchange a token for an SY. Represents function `mintSyFromToken(IPendleMarket market, uint256 minSyOut, TokenInput memory input)`
Used in:
The address of the Pendle market to mint SY from.
The minimum amount of SY to receive.
The input token address to exchange for SY.
Allows strategist to redeem PY for SY. Represents function `redeemPyToSy(IPendleMarket market, uint256 netPyIn, uint256 minSyOut)`
Used in:
The address of the Pendle market to redeem PY from.
The net amount of PY to redeem for SY.
The minimum amount of SY to receive.
Allows strategist to redeem SY for a token. Represents function `redeemSyToToken(IPendleMarket market, uint256 netSyIn, TokenOutput memory output)`
Used in:
The address of the Pendle market to redeem SY from.
The net amount of SY to redeem for a token.
The output token address to receive.
Allows strategist to remove liquidity from a Pendle market. Represents function `removeLiquidityDualSyAndPt(IPendleMarket market, uint256 netLpToRemove, uint256 minSyOut, uint256 minPtOut)`
Used in:
The address of the Pendle market to remove liquidity from.
The net amount of LP tokens to remove from the market.
The minimum amount of SY to receive.
The minimum amount of PT to receive.
Used in: ,
The swap type
The external router address.
The external calldata.
Whether or not scaling is needed.
Allows strategist to exchange PT for YT. Represents function `swapExactPtForYt(IPendleMarket market, uint256 exactPtIn, uint256 minYtOut, ApproxParams calldata guessTotalYtToSwap)`
Used in:
The address of the Pendle market to swap PT for YT.
The exact amount of PT to swap for YT.
The minimum amount of YT to receive.
The approximate parameters for the swap.
Allows strategist to exchange YT for PT. Represents function `swapExactYtForPt(IPendleMarket market, uint256 exactYtIn, uint256 minPtOut, ApproxParams calldata guessTotalPtToSwap)`
Used in:
The address of the Pendle market to swap YT for PT.
The exact amount of YT to swap for PT.
The minimum amount of PT to receive.
The approximation parameters for the swap.
Used in:
The input token address.
The net amount of the input token.
The token address to mint SY.
The Pendle swap address.
The swap data.
Used in:
The output token address.
The minimum amount of the output token.
The token address to redeem SY.
The Pendle swap address.
The swap data.
Used in: , ,
Allows strategists to zero out an approval for a given `asset`. Represents function `revokeApproval(ERC20 asset, address spender)`
Used in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
ERC20 Asset to revoke spender's approval for
The spender to revoke approval of asset for
Represents a scheduled function call to a particular Cellar
Used as request type in: ContractCallService.Schedule
Used as field type in:
The ID (currently simply an Ethereum address) of the target Cellar
The block height at which to schedule the contract call
The data from which the desired contract function will be encoded
The ID of the chain on which the target Cellar resides
The unix timestamp deadline for the contract call to be executed
Represents call data for the Staking adaptor V1
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `mint(uint256 amount, uint256 minAmountOut, bytes calldata wildcard)`
Represents function `requestBurn(uint256 amount, bytes calldata wildcard)`
Represents function `completeBurn(uint256 id, uint256 minAmountOut, bytes calldata wildcard)`
Represents function `cancelBurn(uint256 id, bytes calldata wildcard)`
Represents function `wrap(uint256 amount, uint256 minAmountOut, bytes calldata wildcard)`
Represents function `unwrap(uint256 amount, uint256 minAmountOut, bytes calldata wildcard)`
Represents function `mintERC20(ERC20 depositAsset, uint256 amount, uint256 minAmountOut, bytes calldata wildcard)`
Represents function `removeClaimedRequest(uint256, bytes calldata)`
Allows a strategist to cancel an active burn/withdraw request. Represents the function `cancelBurn(uint256 id, bytes calldata wildcard)`
Used in:
The id of the burn request
Arbitrary ABI encoded data that can be used by inheriting adaptors
Allows a strategist to complete a burn/withdraw of a derivative asset for a native asset. Represents the function `completeBurn(uint256 id, uint256 minAmountOut, bytes calldata wildcard)`
Used in:
The id of the burn request
The minimum amount of the asset to receive
Arbitrary ABI encoded data that can be used by inheriting adaptors
Allows a strategist to `mint` a derivative asset using the chains native asset. Represents the function `mint(uint256 amount, uint256 minAmountOut, bytes calldata wildcard)`
Used in:
The amount of the asset to mint
The minimum amount of the asset to receive
Arbitrary ABI encoded data that can be used by inheriting adaptors
Allows a strategist to mint a derivative asset using an ERC20. Represents the function `mintERC20(ERC20 depositAsset, uint256 amount, uint256 minAmountOut, bytes calldata wildcard)`
Used in:
The address of the ERC20 asset to deposit
The amount of the asset to mint
The minimum amount of the asset to receive
Arbitrary ABI encoded data that can be used by inheriting adaptors
Allows strategist to remove a request from `requestIds` if it has already been claimed. Represents the function `removeClaimedRequest(uint256, bytes calldata)`
Used in:
The id of the request to remove
Arbitrary ABI encoded data that can be used by inheriting adaptors
Allows a strategist to request to burn/withdraw a derivative for a chains native asset. Represents the function `requestBurn(uint256 amount, bytes calldata wildcard)`
Used in:
The amount of the asset to burn
Arbitrary ABI encoded data that can be used by inheriting adaptors
Allows a strategist to unwrap a wrapped derivative asset. Represents the function `unwrap(uint256 amount, uint256 minAmountOut, bytes calldata wildcard)`
Used in:
The amount of the asset to unwrap
The minimum amount of the asset to receive
Arbitrary ABI encoded data that can be used by inheriting adaptors
Allows a strategist to wrap a derivative asset. Represents the function `wrap(uint256 amount, uint256 minAmountOut, bytes calldata wildcard)`
Used in:
The amount of the asset to wrap
The minimum amount of the asset to receive
Arbitrary ABI encoded data that can be used by inheriting adaptors
Used in: , ,
Represents a request for Steward's current status
(message has no fields)
Helper function that allows swaps using the Swap Router Represents function `swap(ERC20 assetIn, ERC20 assetOut, uint256 amountIn, SwapRouter.Exchange exchange, bytes memory params)`
Used in: ,
Asset to swap from
Asset to swap to
Amount to swap
The exchange to make the swap on
The parameters for the swap
Represents swap parameters for an exchange
Used in: , ,
Params for a Uniswap V2 swap
Params for a Uniswap V3 swap
Represents call data for the Uniswap V3 adaptor
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `swapWithUniV2(address[] path, uint256 amount, uint256 amountOutMin)`
Represents function `swapWithUniV3(address[] path, uint24[] poolFees, uint256 amount, uint256 amountOutMin)`
Perform a swap using Uniswap V2. Represents function `swapWithUniV2(address[] path, uint256 amount, uint256 amountOutMin)`
Used in:
Perform a swap using Uniswap V3. Represents function `Represents function `swapWithUniV3(address[] path, uint24[] poolFees, uint256 amount, uint256 amountOutMin)``
Used in:
Used in: , ,
Represents oracle swap parameters for UniswapV2
Used in:
Array of addresses dictating what swap path to follow
Represents swap parameters for UniswapV2
Used in:
Array of addresses dictating what swap path to follow
Amount of the first asset in the path to swap
The minimum amount of the last asset in the path to receive
Represents oracle swap parameters for UniswapV3
Used in:
Array of addresses dictating what swap path to follow
Array of pool fees dictating what swap pools to use
Represents swap parameters for UniswapV3
Used in:
Array of addresses dictating what swap path to follow
Array of pool fees dictating what swap pools to use
Amount of the first asset in the path to swap
The minimum amount of the last asset in the path to receive
Represents call data for the Uniswap V3 adaptor
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `openPosition(ERC20 token0, ERC20 token1, uint24 poolFee, uint256 amount0, uint256 amount1, uint256 min0, uint256 min1, int24 tickLower, int24 tickUpper)`
Represents function `closePosition(uint256 positionId, uint256 min0, uint256 min1)`
Represents function `addToPosition(uint256 positionId, uint256 amount0, uint256 amount1, uint256 min0, uint256 min1)`
Represents function `takeFromPosition(uint256 positionId, uint128 liquidity, uint256 min0, uint256 min1, bool collectFees)`
Represents function `collectFees(uint256 positionId, uint128 amount0, uint128 amount1)`
Represents function `purgeAllZeroLiquidityPositions(ERC20 token0, ERC20 token1)`
Represents function `purgeSinglePosition(uint256 tokenId)`
Represents function `removeUnOwnedPositionFromTracker(uint256 tokenId, ERC20 token0, ERC20 token1)`
Allows strategist to add to existing Uniswap V3 positions. Represents function `addToPosition(uint256 tokenId, uint256 amount0, uint256 amount1, uint256 min0, uint256 min1)`
Used in:
Allows strategist to close Uniswap V3 positions. Represents function `closePosition(uint256 tokenId, uint256 min0, uint256 min1)`
Used in:
Allows strategist to collect fees from existing Uniswap V3 positions. Represents function `collectFees(uint256 tokenId, uint128 amount0, uint128 amount1)`
Used in:
Allows strategist to open up arbritray Uniswap V3 positions. Represents function openPosition(ERC20 token0, ERC20 token1, uint24 poolFee, uint256 amount0, uint256 amount1, uint256 min0, uint256 min1, int24 tickLower, int24 tickUpper)
Used in:
Allows strategist to purge zero liquidity LP positions from tracker. Represents function `purgeAllZeroLiquidityPositions(ERC20 token0, ERC20 token1)`
Used in:
Allows strategist to purge a single zero liquidity LP position from tracker. Represents function `purgeSinglePosition(uint256 tokenId)`
Used in:
Allows strategist to remove tracked positions that are not owned by the cellar. Represents function `removeUnOwnedPositionFromTracker(uint256 tokenId, ERC20 token0, ERC20 token1)`
Used in:
Allows strategist to take from existing Uniswap V3 positions. Represents function `takeFromPosition(uint256 tokenId, uint128 liquidity, uint256 min0, uint256 min1, bool takeFees)`
Used in:
Used in: , ,
Represents call data for the Vesting Simple adaptor
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `depositToVesting(VestingSimple vestingContract, uint256 amountToDeposit)`
Represents function `withdrawFromVesting(VestingSimple vestingContract, uint256 depositId, uint256 amountToWithdraw)`
Represents function `withdrawAnyFromVesting(VestingSimple vestingContract, uint256 amountToWithdraw)`
Represents function `withdrawAllFromVesting(VestingSimple vestingContract)`
Allows strategists to deposit tokens to the vesting contract. By passing a max uint256 for amountToDeposit, the cellar will deposit its entire balance (appropriate in most cases). Represents function `depositToVesting(VestingSimple vestingContract, uint256 amountToDeposit)`
Used in:
Withdraw a certain amount of tokens from vesting, from any deposit. This will not affect the cellar's TVL because any deposit must already have vested, and will be reported in balanceOf. Will revert if not enough tokens are available based on amountToWithdraw. Represents function `withdrawAllFromVesting(VestingSimple vestingContract)`
Used in:
Withdraw a single deposit from vesting. This will not affect the cellar's TVL because any deposit must already have vested, and will be reported in balanceOf. Will revert if not enough tokens are available based on amountToWithdraw. Represents function `withdrawAnyFromVesting(VestingSimple vestingContract, uint256 amountToWithdraw)`
Used in:
Allows strategists to deposit tokens to the vesting contract. By passing a max uint256 for amountToDeposit, the cellar will deposit its entire balance (appropriate in most cases). Represents function `withdrawFromVesting(VestingSimple vestingContract, uint256 depositId, uint256 amountToWithdraw)`
Used in:
Used in: , ,
Used in:
**** BASE ADAPTOR FUNCTIONS ****
Represents function `revokeApproval(ERC20 asset, address spender)`
Represents function `swapWith0x(ERC20 tokenIn, ERC20 tokenOut, uint256 amount, bytes memory swapCallData)`
Allows strategists to make ERC20 swaps using 0x. Represents function `swapWith0x(ERC20 tokenIn, ERC20 tokenOut, uint256 amount, bytes memory swapCallData)`
Used in:
Used in: , ,