generateIssue

fun <P : Any> generateIssue(tx: <Error class: unknown class>, obligor: <Error class: unknown class>, issuanceDef: <Error class: unknown class><P>, pennies: Long, beneficiary: <Error class: unknown class>, notary: <Error class: unknown class>): Set<PublicKey>

Puts together an issuance transaction for the specified amount that starts out being owned by the given pubkey.

Parameters

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.

beneficiary

the party the obligor is expected to pay.

notary

the notary for this transaction's outputs.