| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Shared.DRepId
Description
DRep identifier
Documentation
newtype DRepIdBech32 Source #
Constructors
| DRepIdBech32 Text |
Instances
mkDRepIdBech32 :: Text -> DRepIdBech32 Source #
unDRepIdBech32 :: DRepIdBech32 -> Text Source #
Instances
| FromJSON DRepIdHex Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId | |||||
| ToJSON DRepIdHex Source # | |||||
| IsString DRepIdHex Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId Methods fromString :: String -> DRepIdHex # | |||||
| Generic DRepIdHex Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId Associated Types
| |||||
| Show DRepIdHex Source # | |||||
| Eq DRepIdHex Source # | |||||
| FromHttpApiData DRepIdHex Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId Methods parseUrlPiece :: Text -> Either Text DRepIdHex # parseHeader :: ByteString -> Either Text DRepIdHex # | |||||
| ToHttpApiData DRepIdHex Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId Methods toUrlPiece :: DRepIdHex -> Text # toEncodedUrlPiece :: DRepIdHex -> Builder # toHeader :: DRepIdHex -> ByteString # toQueryParam :: DRepIdHex -> Text # toEncodedQueryParam :: DRepIdHex -> Builder # | |||||
| ToSample DRepIdHex Source # | |||||
| HasHex DRep DRepIdHex Source # | |||||
| HasHex DRepInfo DRepIdHex Source # | |||||
| HasHex DRepMeta DRepIdHex Source # | |||||
| type Rep DRepIdHex Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId | |||||
mkDRepIdHex :: Text -> DRepIdHex Source #
unDRepIdHex :: DRepIdHex -> Text Source #
Constructors
| DRepId_Bech32 DRepIdBech32 | |
| DRepId_Hex DRepIdHex |
Instances
| FromJSON DRepId Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId | |||||
| ToJSON DRepId Source # | |||||
| Generic DRepId Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId Associated Types
| |||||
| Show DRepId Source # | |||||
| Eq DRepId Source # | |||||
| FromHttpApiData DRepId Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId Methods parseUrlPiece :: Text -> Either Text DRepId # parseHeader :: ByteString -> Either Text DRepId # | |||||
| ToHttpApiData DRepId Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId Methods toUrlPiece :: DRepId -> Text # toEncodedUrlPiece :: DRepId -> Builder # toHeader :: DRepId -> ByteString # toQueryParam :: DRepId -> Text # toEncodedQueryParam :: DRepId -> Builder # | |||||
| ToSample DRepId Source # | |||||
| HasVoter ProposalVote DRepId Source # | |||||
Defined in Blockfrost.Lens | |||||
| ToCapture (Capture "drep_id" DRepId) Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId | |||||
| type Rep DRepId Source # | |||||
Defined in Blockfrost.Types.Shared.DRepId type Rep DRepId = D1 ('MetaData "DRepId" "Blockfrost.Types.Shared.DRepId" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "DRepId_Bech32" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepIdBech32)) :+: C1 ('MetaCons "DRepId_Hex" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepIdHex))) | |||||