LlamaLendPayback
Last updated
/// @param controllerAddress Address of the llamalend market controller
/// @param from Address from which to pull debt asset, will default to user's wallet
/// @param onBehalfOf Address for which we are paying back debt, will default to user's wallet
/// @param to Address that will receive the debt asset and collateral asset if close, will default to user's wallet
/// @param paybackAmount Amount of debt asset to payback
/// @param maxActiveBand Don't allow active band to be higher than this (to prevent front-running the repay)
struct Params {
address controllerAddress;
address from;
address onBehalfOf;
address to;
uint256 paybackAmount;
int256 maxActiveBand;
}return bytes32(paybackAmount);emit ActionEvent("LlamaLendPayback", logData);
logger.logActionDirectEvent("LlamaLendPayback", logData);
bytes memory logData = abi.encode(params);