fun generatePledge(tx: TransactionBuilder, campaign: StateAndRef<State>, subscriber: PublicKey): Unit
Updates the given partial transaction with an input/output/command to fund the opportunity.