generateRedeem

fun generateRedeem(tx: <Error class: unknown class>, paper: <Error class: unknown class><<Error class: unknown class>>, services: <Error class: unknown class>, ourIdentity: <Error class: unknown class>)

Intended to be called by the issuer of some commercial paper, when an owner has notified us that they wish to redeem the paper. We must therefore send enough money to the key that owns the paper to satisfy the face value, and then ensure the paper is removed from the ledger.

Throws

InsufficientBalanceException

if the vault doesn't contain enough money to pay the redeemer.