AaveV4Payback
Last updated
/// @param spoke Address of the spoke.
/// @param onBehalf Address to payback tokens on behalf of. Defaults to the user's wallet if not provided.
/// @param from Address from which to pull the payback tokens.
/// @param reserveId Reserve id.
/// @param amount Amount of tokens to payback. Send type(uint).max to payback whole amount.
struct Params {
address spoke;
address onBehalf;
address from;
uint256 reserveId;
uint256 amount;
}return bytes32(amount);emit ActionEvent("AaveV4Payback", logData);
logger.logActionDirectEvent("AaveV4Payback", logData);
bytes memory logData = abi.encode(params);