StakeDeregistration.deserialize constructor
StakeDeregistration.deserialize(
- CborListValue cbor
Deserializes a StakeDeregistration object from its CBOR representation.
Implementation
factory StakeDeregistration.deserialize(CborListValue cbor) {
CertificateType.deserialize(
cbor.getIndex(0),
validate: CertificateType.stakeDeregistration,
);
return StakeDeregistration(StakeCred.deserialize(cbor.getIndex(1)));
}