  Economic theory distinguishes between principal-agent settings in which the
agent has a private type and settings in which the agent takes a hidden action.
Many practical problems, however, involve aspects of both. For example, brand X
may seek to hire an influencer Y to create sponsored content to be posted on
social media platform Z. This problem has a hidden action component (the brand
may not be able or willing to observe the amount of effort exerted by the
influencer), but also a private type component (influencers may have different
costs per unit-of-effort).
  This "effort" and "cost per unit-of-effort" perspective naturally leads to a
principal-agent problem with hidden action and single-dimensional private type,
which generalizes both the classic principal-agent hidden action model of
contract theory \`a la Grossman and Hart [1983] and the (procurement version)
of single-dimensional mechanism design \`a la Myerson [1981]. A natural goal in
this model is to design an incentive-compatible contract, which consist of an
allocation rule that maps types to actions, and a payment rule that maps types
to payments for the stochastic outcomes of the chosen action.
  Our main contribution is a linear programming (LP) duality based
characterization of implementable allocation rules for this model, which
applies to both discrete and continuous types. This characterization shares
important features of Myerson's celebrated characterization result, but also
departs from it in significant ways. We present several applications, including
a polynomial-time algorithm for finding the optimal contract with a constant
number of actions. This is in sharp contrast to recent work on hidden action
problems with multi-dimensional private information, which has shown that the
problem of computing an optimal contract for constant numbers of actions is
APX-hard.
