Function fromCbor

  • Create a Lock instance by decoding CBOR-encoded lock info.

    Returns

    A lock client instance backed by the decoded lock info.

    Parameters

    • grpc: ConcordiumGRPCClient

      The gRPC client associated with the lock.

    • lockInfo: Cbor

      The CBOR-encoded lock info to decode.

    Returns Lock

Generated using TypeDoc