VoterStakingPoolKeyHash.deserialize constructor
VoterStakingPoolKeyHash.deserialize(
- CborListValue<
CborObject> cbor
Implementation
factory VoterStakingPoolKeyHash.deserialize(CborListValue cbor) {
VoterType.deserialize(cbor.elementAt<CborIntValue>(0).value,
validate: VoterType.stakingPoolKeyHash);
return VoterStakingPoolKeyHash(
Ed25519KeyHash(cbor.elementAt<CborBytesValue>(1).value));
}