AaveV4Borrow
Last updated
/// @param spoke Address of the spoke.
/// @param onBehalf Address to borrow tokens on behalf of. Defaults to the user's wallet if not provided.
/// @param to Address that will receive the borrowed tokens.
/// @param reserveId Reserve id.
/// @param amount Amount of tokens to borrow.
struct Params {
address spoke;
address onBehalf;
address to;
uint256 reserveId;
uint256 amount;
}return bytes32(amount);emit ActionEvent("AaveV4Borrow", logData);
logger.logActionDirectEvent("AaveV4Borrow", logData);
bytes memory logData = abi.encode(params);