LiquityV2Borrow
Last updated
/// @param market The address of the LiquityV2 market (collateral branch)
/// @param to The address to send the tokens to
/// @param troveId The ID of the trove to borrow the tokens from
/// @param amount The amount of tokens to borrow
/// @param maxUpfrontFee The maximum upfront fee to pay (see IHintHelpers:predictAdjustTroveUpfrontFee)
struct Params {
address market;
address to;
uint256 troveId;
uint256 amount;
uint256 maxUpfrontFee;
}return bytes32(amount);emit ActionEvent("LiquityV2Borrow", logData);
logger.logActionDirectEvent("LiquityV2Borrow", logData);
bytes memory logData = abi.encode(params);