Used only to upgrade a predecessor issuerKit. Use makeDurableIssuerKit to make a new one.

  • Type Parameters

    Parameters

    • issuerBaggage: Baggage
    • OptionaloptShutdownWithFailure: ShutdownWithFailure = undefined

      If this issuer fails in the middle of an atomic action (which btw should never happen), it potentially leaves its ledger in a corrupted state. If this function was provided, then the failed atomic action will call it, so that some larger unit of computation, like the enclosing vat, can be shutdown before anything else is corrupted by that corrupted state. See https://github.com/Agoric/agoric-sdk/issues/3434

    • OptionalrecoverySetsOption: RecoverySetsOption = undefined

      Added in upgrade, so last and optional. See RecoverySetsOption for defaulting behavior.

    Returns IssuerKit<K>