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