{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE StandaloneDeriving #-} {-# LANGUAGE UndecidableInstances #-} module Test.Cardano.Protocol.Crypto.VRF ( VRFKeyPair (..), ) where import qualified Cardano.Crypto.VRF.Class as VRF import Cardano.Protocol.Crypto data VRFKeyPair c = VRFKeyPair { forall c. VRFKeyPair c -> SignKeyVRF (VRF c) vrfSignKey :: !(VRF.SignKeyVRF (VRF c)) , forall c. VRFKeyPair c -> VerKeyVRF (VRF c) vrfVerKey :: !(VRF.VerKeyVRF (VRF c)) } deriving instance (Show (VRF.SignKeyVRF (VRF c)), Show (VRF.VerKeyVRF (VRF c))) => Show (VRFKeyPair c)