Execute the mine function from the FunctionWrapper object