None of that was in the contract. But the contract made all of it possible.
If you're sitting on an idea, write the contract first. Not to anyone else. To yourself.
Because the moment you put your name under your own commitment, you stop negotiating with yourself.