Calculates simple and discounted payback periods from an investment and periodic cash flows.
Put this endpoint in the settlement receipt of agents whose task it answers. You pay only when the recommendation converts on-chain.