corda / net.corda.finance.contracts.asset / Cash / generateIssue

generateIssue

fun generateIssue(tx: TransactionBuilder, tokenDef: Issued<Currency>, pennies: Long, owner: AbstractParty, notary: Party): Set<PublicKey>

Puts together an issuance transaction from the given template, that starts out being owned by the given pubkey.

fun generateIssue(tx: TransactionBuilder, amount: Amount<Issued<Currency>>, owner: AbstractParty, notary: Party): Set<PublicKey>

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