fun <P : Any> generateIssue(tx: TransactionBuilder, obligor: AbstractParty, issuanceDef: Terms<P>, pennies: Long, beneficiary: AbstractParty, notary: Party): Set<PublicKey>
Puts together an issuance transaction for the specified amount that starts out being owned by the given pubkey.
tx
- transaction builder to add states and commands to.
obligor
- the party who is expected to pay some amount to fulfil the obligation.
issuanceDef
- the terms of the obligation, including which contracts and underlying assets are acceptable
forms of payment.
pennies
- the quantity of the asset (in the smallest normal unit of measurement) owed.