VRFPreOut constructor
Implementation
factory VRFPreOut(List<int> bytes) {
if (bytes.length != SchnorrkelKeyCost.vrfPreOutLength) {
throw ArgumentException.invalidOperationArguments(
"VRFPreOut",
reason: "Incorrect vrf length.",
details: {
"expected": SchnorrkelKeyCost.vrfPreOutLength,
"length": bytes.length,
},
);
}
return VRFPreOut._(output: bytes);
}