➰CurveDeposit
Last updated
/// @param from Address where to pull tokens from
/// @param to Address that will receive the LP tokens
/// @param depositTargetOrPool Address of the pool contract or zap deposit contract in which to deposit
/// @param minMintAmount Minimum amount of LP tokens to accept
/// @param flags Flags for the deposit
/// @param amounts Amount of each token to deposit
struct Params {
address from;
address to;
address depositTargetOrPool;
uint256 minMintAmount;
uint8 flags;
uint256[] amounts;
}return bytes32(received);emit ActionEvent("CurveDeposit", logData);
logger.logActionDirectEvent("CurveDeposit", logData);
bytes memory logData = abi.encode(params);