StakeCredScript.deserialize constructor

StakeCredScript.deserialize(
  1. CborBytesValue cbor
)

Deserializes a StakeCredScript from CBOR bytes cbor.

Implementation

factory StakeCredScript.deserialize(CborBytesValue cbor) {
  return StakeCredScript(cbor.value);
}