BootstrapWitness.deserialize constructor

BootstrapWitness.deserialize(
  1. CborListValue cbor
)

Implementation

factory BootstrapWitness.deserialize(CborListValue cbor) {
  return BootstrapWitness(
      vkey: Vkey.deserialize(cbor.getIndex(0)),
      signature: Ed25519Signature.deserialize(cbor.getIndex(1)),
      chainCode: cbor.getIndex(2),
      attributes: cbor.getIndex(3));
}