➿CurveUsdRepayTransient
Last updated
/// @param controllerAddress Address of the curveusd market controller
/// @param to Address which will receive any leftovers if amount received from selling is greater than debt
/// @param exData exchange data for swapping (srcAmount will be amount of coll token sold)
/// @param gasUsed Only used as part of a strategy, estimated gas used for this tx
struct Params {
address controllerAddress;
address to;
DFSExchangeData.ExchangeData exData;
uint32 gasUsed;
}return bytes32(debtTokenReceived);emit ActionEvent("CurveUsdRepayTransient", logData);
logger.logActionDirectEvent("CurveUsdRepayTransient", logData);
bytes memory logData = abi.encode(params);