const liquityBorrowAction = new dfs.actions.liquity.LiquityBorrowAction(
maxFeePercentage,
LUSDAmount,
to,
upperHint,
lowerHint,
);
/// @param maxFeePercentage Highest borrowing fee to accept, ranges between 0.5 and 5%
/// @param lusdAmount Amount of LUSD tokens to borrow
/// @param to Address that will receive the tokens
/// @param upperHint
/// @param lowerHint
struct Params {
uint256 maxFeePercentage;
uint256 lusdAmount;
address to;
address upperHint;
address lowerHint;
}
return bytes32(borrowedAmount);
emit ActionEvent("LiquityBorrow", logData);
logger.logActionDirectEvent("LiquityBorrow", logData);
bytes memory logData = abi.encode(params.maxFeePercentage, params.lusdAmount, params.to)