FluidVaultT1Withdraw
Last updated
/// @param vault The address of the Fluid Vault T1
/// @param nftId ID of the NFT representing the position
/// @param amount Amount to withdraw. Pass type(uint256).max to withdraw all.
/// @param to Address to send the withdrawn assets to
/// @param wrapWithdrawnEth Whether to wrap the withdrawn ETH into WETH if the withdrawn asset is ETH.
struct Params {
address vault;
uint256 nftId;
uint256 amount;
address to;
bool wrapWithdrawnEth;
}return bytes32(amount);emit ActionEvent("FluidVaultT1Withdraw", logData);
logger.logActionDirectEvent("FluidVaultT1Withdraw", logData);
bytes memory logData = abi.encode(params);