Let me take that back. I was the developer lead for a company from 2016-2018 and we found this 2 person SaaS with a product that we needed. We were going to be 65% of his revenue if we signed the deal.
I spoke to my CTO and lawyers. We made the guy offer us a self hosted version and escrow his code with a third party that we would have the rights to depending on certain events.