Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data GovActionMetadata cip Source #
GovActionMetadata | |
|
Instances
FromJSON (GovActionMetadata CIP119) Source # | |
Defined in Cardano.Api.Governance.Metadata.DrepRegistration parseJSON :: Value -> Parser (GovActionMetadata CIP119) # parseJSONList :: Value -> Parser [GovActionMetadata CIP119] # | |
FromJSON (GovActionMetadata CIP108) Source # | |
Defined in Cardano.Api.Governance.Metadata.GovAction parseJSON :: Value -> Parser (GovActionMetadata CIP108) # parseJSONList :: Value -> Parser [GovActionMetadata CIP108] # |
data family Authors cip Source #
Instances
FromJSON (Authors CIP108) Source # | |
Defined in Cardano.Api.Governance.Metadata.GovAction | |
Generic (Authors CIP108) Source # | |
Show (Authors CIP108) Source # | |
data Authors CIP119 Source # | |
newtype Authors CIP108 Source # | |
Defined in Cardano.Api.Governance.Metadata.GovAction | |
type Rep (Authors CIP108) Source # | |
Defined in Cardano.Api.Governance.Metadata.GovAction |
Instances
FromJSON (Body CIP119) Source # | |
FromJSON (Body CIP108) Source # | |
Defined in Cardano.Api.Governance.Metadata.GovAction | |
Generic (Body CIP119) Source # | |
Generic (Body CIP108) Source # | |
Show (Body CIP119) Source # | |
Show (Body CIP108) Source # | |
data Body CIP119 Source # | |
Defined in Cardano.Api.Governance.Metadata.DrepRegistration data Body CIP119 = Body {
| |
data Body CIP108 Source # | |
Defined in Cardano.Api.Governance.Metadata.GovAction | |
type Rep (Body CIP119) Source # | |
type Rep (Body CIP108) Source # | |
Defined in Cardano.Api.Governance.Metadata.GovAction |
data family HashAlgorithm cip Source #
Instances
validateGovActionAnchorData :: FromJSON (GovActionMetadata cip) => cip -> ByteString -> Either String () Source #