DyDxWithdraw
Last updated
/// @param tokenAddr Address of the token to be withdrawn
/// @param amount Amount of tokens to be withdrawn -> send type(uint).max for whole amount
/// @param to Where the withdrawn tokens will be sent
struct Params {
address tokenAddr;
uint256 amount;
address to;
}return bytes32(withdrawnAmount);emit ActionEvent("DyDxWithdraw", logData);
logger.logActionDirectEvent("DyDxWithdraw", logData);
bytes memory logData = abi.encode(params);