{-# 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.Ledger.Crypto import Cardano.Ledger.Keys ( SignKeyVRF, VerKeyVRF, ) data VRFKeyPair c = VRFKeyPair { forall c. VRFKeyPair c -> SignKeyVRF c vrfSignKey :: !(SignKeyVRF c) , forall c. VRFKeyPair c -> VerKeyVRF c vrfVerKey :: !(VerKeyVRF c) } deriving instance (Show (VRF.SignKeyVRF (VRF c)), Show (VRF.VerKeyVRF (VRF c))) => Show (VRFKeyPair c)