drift in continuous time. The difficulty in writing an appropriate financial contract in this setting is that the agent can … long-term contract specifies the agent's wage and can force termination of the project. Using techniques from stochastic … calculus similar to Sannikov (2003), we characterize the optimal contract by a differential equation. We show that this …