Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Types.Cardano.Governance
Description
Responses for Cardano governance queries
Synopsis
- data DRep = DRep {}
- data DRepInfo = DRepInfo {}
- data DRepDelegator = DRepDelegator {}
- data DRepMeta = DRepMeta {}
- data DRepRegistrationAction
- data DRepUpdate = DRepUpdate {}
- data VotingAction
- data DRepVote = DRepVote {}
- data ProposalAction
- data Proposal = Proposal {}
- data ProposalInfo = ProposalInfo {
- _proposalInfoTxHash :: TxHash
- _proposalInfoCertIndex :: Integer
- _proposalInfoGovernanceType :: ProposalAction
- _proposalInfoDeposit :: Lovelaces
- _proposalInfoReturnAddress :: Address
- _proposalInfoGovernanceDescription :: Maybe Value
- _proposalInfoRatifiedEpoch :: Maybe Epoch
- _proposalInfoEnactedEpoch :: Maybe Epoch
- _proposalInfoDroppedEpoch :: Maybe Epoch
- _proposalInfoExpiredEpoch :: Maybe Epoch
- _proposalInfoExpiration :: Epoch
- data ProposedProtocolParams = ProposedProtocolParams {
- _proposedProtocolParamsEpoch :: Maybe Epoch
- _proposedProtocolParamsMinFeeA :: Maybe Integer
- _proposedProtocolParamsMinFeeB :: Maybe Integer
- _proposedProtocolParamsMaxBlockSize :: Maybe Integer
- _proposedProtocolParamsMaxTxSize :: Maybe Integer
- _proposedProtocolParamsMaxBlockHeaderSize :: Maybe Integer
- _proposedProtocolParamsKeyDeposit :: Maybe Lovelaces
- _proposedProtocolParamsPoolDeposit :: Maybe Lovelaces
- _proposedProtocolParamsEMax :: Maybe Integer
- _proposedProtocolParamsNOpt :: Maybe Integer
- _proposedProtocolParamsA0 :: Maybe Rational
- _proposedProtocolParamsRho :: Maybe Rational
- _proposedProtocolParamsTau :: Maybe Rational
- _proposedProtocolParamsDecentralisationParam :: Maybe Rational
- _proposedProtocolParamsExtraEntropy :: Maybe Text
- _proposedProtocolParamsProtocolMajorVer :: Maybe Integer
- _proposedProtocolParamsProtocolMinorVer :: Maybe Integer
- _proposedProtocolParamsMinUtxo :: Maybe Lovelaces
- _proposedProtocolParamsMinPoolCost :: Maybe Lovelaces
- _proposedProtocolParamsNonce :: Maybe Text
- _proposedProtocolParamsCostModels :: Maybe CostModels
- _proposedProtocolParamsCostModelsRaw :: Maybe CostModelsRaw
- _proposedProtocolParamsPriceMem :: Maybe Rational
- _proposedProtocolParamsPriceStep :: Maybe Rational
- _proposedProtocolParamsMaxTxExMem :: Maybe Quantity
- _proposedProtocolParamsMaxTxExSteps :: Maybe Quantity
- _proposedProtocolParamsMaxBlockExMem :: Maybe Quantity
- _proposedProtocolParamsMaxBlockExSteps :: Maybe Quantity
- _proposedProtocolParamsMaxValSize :: Maybe Quantity
- _proposedProtocolParamsCollateralPercent :: Maybe Integer
- _proposedProtocolParamsMaxCollateralInputs :: Maybe Integer
- _proposedProtocolParamsCoinsPerUtxoSize :: Maybe Lovelaces
- _proposedProtocolParamsCoinsPerUtxoWord :: Maybe Lovelaces
- _proposedProtocolParamsPvtMotionNoConfidence :: Maybe Rational
- _proposedProtocolParamsPvtCommitteeNormal :: Maybe Rational
- _proposedProtocolParamsPvtCommitteeNoConfidence :: Maybe Rational
- _proposedProtocolParamsPvtHardForkInitiation :: Maybe Rational
- _proposedProtocolParamsPvtppSecurityGroup :: Maybe Rational
- _proposedProtocolParamsDvtMotionNoConfidence :: Maybe Rational
- _proposedProtocolParamsDvtCommitteeNormal :: Maybe Rational
- _proposedProtocolParamsDvtCommitteeNoConfidence :: Maybe Rational
- _proposedProtocolParamsDvtUpdateToConstitution :: Maybe Rational
- _proposedProtocolParamsDvtHardForkInitiation :: Maybe Rational
- _proposedProtocolParamsDvtPPNetworkGroup :: Maybe Rational
- _proposedProtocolParamsDvtPPEconomicGroup :: Maybe Rational
- _proposedProtocolParamsDvtPPTechnicalGroup :: Maybe Rational
- _proposedProtocolParamsDvtPPGovGroup :: Maybe Rational
- _proposedProtocolParamsDvtTreasuryWithdrawal :: Maybe Rational
- _proposedProtocolParamsCommitteeMinSize :: Maybe Quantity
- _proposedProtocolParamsCommitteeMaxTermLength :: Maybe Quantity
- _proposedProtocolParamsGovActionLifetime :: Maybe Quantity
- _proposedProtocolParamsGovActionDeposit :: Maybe Lovelaces
- _proposedProtocolParamsDrepDeposit :: Maybe Lovelaces
- _proposedProtocolParamsDrepActivity :: Maybe Quantity
- _proposedProtocolParamsMinFeeRefScriptCostPerByte :: Maybe Rational
- data ParamProposal = ParamProposal {}
- data WithdrawalProposal = WithdrawalProposal {}
- data VoterRole
- data ProposalVote = ProposalVote {}
- data ProposalMeta = ProposalMeta {}
Documentation
DRep index
Constructors
DRep | |
Fields
|
Instances
Information about a DRep
Constructors
DRepInfo | |
Fields
|
Instances
FromJSON DRepInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON DRepInfo Source # | |||||
Generic DRepInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show DRepInfo Source # | |||||
Eq DRepInfo Source # | |||||
ToSample DRepInfo Source # | |||||
a ~ Lovelaces => HasAmount DRepInfo a Source # | |||||
HasDrepId DRepInfo DRepIdBech32 Source # | |||||
Defined in Blockfrost.Lens | |||||
HasExpired DRepInfo Bool Source # | |||||
HasHasScript DRepInfo Bool Source # | |||||
HasHex DRepInfo DRepIdHex Source # | |||||
HasRetired DRepInfo Bool Source # | |||||
HasLastActiveEpoch DRepInfo (Maybe Epoch) Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep DRepInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep DRepInfo = D1 ('MetaData "DRepInfo" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "DRepInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dRepInfoDrepId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepIdBech32) :*: (S1 ('MetaSel ('Just "_dRepInfoHex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepIdHex) :*: S1 ('MetaSel ('Just "_dRepInfoAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces))) :*: ((S1 ('MetaSel ('Just "_dRepInfoHasScript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_dRepInfoRetired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "_dRepInfoExpired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_dRepInfoLastActiveEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Epoch)))))) |
data DRepDelegator Source #
Address delegating to a DRep
Constructors
DRepDelegator | |
Fields
|
Instances
FromJSON DRepDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods parseJSON :: Value -> Parser DRepDelegator # parseJSONList :: Value -> Parser [DRepDelegator] # | |||||
ToJSON DRepDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: DRepDelegator -> Value # toEncoding :: DRepDelegator -> Encoding # toJSONList :: [DRepDelegator] -> Value # toEncodingList :: [DRepDelegator] -> Encoding # omitField :: DRepDelegator -> Bool # | |||||
Generic DRepDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show DRepDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> DRepDelegator -> ShowS # show :: DRepDelegator -> String # showList :: [DRepDelegator] -> ShowS # | |||||
Eq DRepDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods (==) :: DRepDelegator -> DRepDelegator -> Bool # (/=) :: DRepDelegator -> DRepDelegator -> Bool # | |||||
ToSample DRepDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toSamples :: Proxy DRepDelegator -> [(Text, DRepDelegator)] # | |||||
HasAddress DRepDelegator Address Source # | |||||
Defined in Blockfrost.Lens | |||||
a ~ Lovelaces => HasAmount DRepDelegator a Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' DRepDelegator a Source # | |||||
type Rep DRepDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep DRepDelegator = D1 ('MetaData "DRepDelegator" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "DRepDelegator" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dRepDelegatorAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_dRepDelegatorAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces))) |
DRep metadata
Constructors
DRepMeta | |
Fields
|
Instances
FromJSON DRepMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON DRepMeta Source # | |||||
Generic DRepMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show DRepMeta Source # | |||||
Eq DRepMeta Source # | |||||
ToSample DRepMeta Source # | |||||
HasBytes DRepMeta Text Source # | |||||
HasDrepId DRepMeta DRepIdBech32 Source # | |||||
Defined in Blockfrost.Lens | |||||
HasHash DRepMeta Text Source # | |||||
HasHex DRepMeta DRepIdHex Source # | |||||
HasJsonMetadata DRepMeta Value Source # | |||||
Defined in Blockfrost.Lens | |||||
HasUrl DRepMeta Text Source # | |||||
type Rep DRepMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep DRepMeta = D1 ('MetaData "DRepMeta" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "DRepMeta" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dRepMetaDrepId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepIdBech32) :*: (S1 ('MetaSel ('Just "_dRepMetaHex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepIdHex) :*: S1 ('MetaSel ('Just "_dRepMetaUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "_dRepMetaHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_dRepMetaJsonMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value) :*: S1 ('MetaSel ('Just "_dRepMetaBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) |
data DRepRegistrationAction Source #
DRep registration action
Instances
FromJSON DRepRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods parseJSON :: Value -> Parser DRepRegistrationAction # parseJSONList :: Value -> Parser [DRepRegistrationAction] # | |||||
ToJSON DRepRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: DRepRegistrationAction -> Value # toEncoding :: DRepRegistrationAction -> Encoding # toJSONList :: [DRepRegistrationAction] -> Value # toEncodingList :: [DRepRegistrationAction] -> Encoding # omitField :: DRepRegistrationAction -> Bool # | |||||
Generic DRepRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
Methods from :: DRepRegistrationAction -> Rep DRepRegistrationAction x # to :: Rep DRepRegistrationAction x -> DRepRegistrationAction # | |||||
Show DRepRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> DRepRegistrationAction -> ShowS # show :: DRepRegistrationAction -> String # showList :: [DRepRegistrationAction] -> ShowS # | |||||
Eq DRepRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods (==) :: DRepRegistrationAction -> DRepRegistrationAction -> Bool # (/=) :: DRepRegistrationAction -> DRepRegistrationAction -> Bool # | |||||
HasAction DRepUpdate DRepRegistrationAction Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep DRepRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep DRepRegistrationAction = D1 ('MetaData "DRepRegistrationAction" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "DRepRegistrationAction_Registered" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DRepRegistrationAction_Deregistered" 'PrefixI 'False) (U1 :: Type -> Type)) |
data DRepUpdate Source #
DRep registration update
Constructors
DRepUpdate | |
Fields
|
Instances
FromJSON DRepUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON DRepUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: DRepUpdate -> Value # toEncoding :: DRepUpdate -> Encoding # toJSONList :: [DRepUpdate] -> Value # toEncodingList :: [DRepUpdate] -> Encoding # omitField :: DRepUpdate -> Bool # | |||||
Generic DRepUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show DRepUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> DRepUpdate -> ShowS # show :: DRepUpdate -> String # showList :: [DRepUpdate] -> ShowS # | |||||
Eq DRepUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToSample DRepUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toSamples :: Proxy DRepUpdate -> [(Text, DRepUpdate)] # | |||||
HasAction DRepUpdate DRepRegistrationAction Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasCertIndex DRepUpdate Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
HasTxHash DRepUpdate TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep DRepUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep DRepUpdate = D1 ('MetaData "DRepUpdate" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "DRepUpdate" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dRepUpdateTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: (S1 ('MetaSel ('Just "_dRepUpdateCertIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_dRepUpdateAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepRegistrationAction)))) |
data VotingAction Source #
DRep voting action
Constructors
VotingAction_Yes | |
VotingAction_No | |
VotingAction_Abstain |
Instances
FromJSON VotingAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON VotingAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: VotingAction -> Value # toEncoding :: VotingAction -> Encoding # toJSONList :: [VotingAction] -> Value # toEncodingList :: [VotingAction] -> Encoding # omitField :: VotingAction -> Bool # | |||||
Generic VotingAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show VotingAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> VotingAction -> ShowS # show :: VotingAction -> String # showList :: [VotingAction] -> ShowS # | |||||
Eq VotingAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
HasAction DRepVote VotingAction Source # | |||||
Defined in Blockfrost.Lens | |||||
HasAction ProposalVote VotingAction Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep VotingAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep VotingAction = D1 ('MetaData "VotingAction" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "VotingAction_Yes" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VotingAction_No" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VotingAction_Abstain" 'PrefixI 'False) (U1 :: Type -> Type))) |
DRep vote
Constructors
DRepVote | |
Fields
|
Instances
FromJSON DRepVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON DRepVote Source # | |||||
Generic DRepVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show DRepVote Source # | |||||
Eq DRepVote Source # | |||||
ToSample DRepVote Source # | |||||
HasAction DRepVote VotingAction Source # | |||||
Defined in Blockfrost.Lens | |||||
HasCertIndex DRepVote Integer Source # | |||||
HasTxHash DRepVote TxHash Source # | |||||
type Rep DRepVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep DRepVote = D1 ('MetaData "DRepVote" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "DRepVote" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dRepVoteTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: (S1 ('MetaSel ('Just "_dRepVoteCertIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_dRepVoteAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VotingAction)))) |
data ProposalAction Source #
DRep proposal action
Constructors
ProposalAction_HardForkInitiation | |
ProposalAction_NewCommittee | |
ProposalAction_NewConstitution | |
ProposalAction_InfoAction | |
ProposalAction_NoConfidence | |
ProposalAction_ParameterChange | |
ProposalAction_TreasuryWithdrawals |
Instances
FromJSON ProposalAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods parseJSON :: Value -> Parser ProposalAction # parseJSONList :: Value -> Parser [ProposalAction] # | |||||
ToJSON ProposalAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: ProposalAction -> Value # toEncoding :: ProposalAction -> Encoding # toJSONList :: [ProposalAction] -> Value # toEncodingList :: [ProposalAction] -> Encoding # omitField :: ProposalAction -> Bool # | |||||
Generic ProposalAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
Methods from :: ProposalAction -> Rep ProposalAction x # to :: Rep ProposalAction x -> ProposalAction # | |||||
Show ProposalAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> ProposalAction -> ShowS # show :: ProposalAction -> String # showList :: [ProposalAction] -> ShowS # | |||||
Eq ProposalAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods (==) :: ProposalAction -> ProposalAction -> Bool # (/=) :: ProposalAction -> ProposalAction -> Bool # | |||||
HasGovernanceType ProposalInfo ProposalAction Source # | |||||
Defined in Blockfrost.Lens Methods governanceType :: Lens' ProposalInfo ProposalAction Source # | |||||
type Rep ProposalAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep ProposalAction = D1 ('MetaData "ProposalAction" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) ((C1 ('MetaCons "ProposalAction_HardForkInitiation" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ProposalAction_NewCommittee" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProposalAction_NewConstitution" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "ProposalAction_InfoAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProposalAction_NoConfidence" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ProposalAction_ParameterChange" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ProposalAction_TreasuryWithdrawals" 'PrefixI 'False) (U1 :: Type -> Type)))) |
DRep proposal
Constructors
Proposal | |
Fields
|
Instances
FromJSON Proposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON Proposal Source # | |||||
Generic Proposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show Proposal Source # | |||||
Eq Proposal Source # | |||||
ToSample Proposal Source # | |||||
type Rep Proposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep Proposal = D1 ('MetaData "Proposal" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "Proposal" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dRepProposalTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: (S1 ('MetaSel ('Just "_dRepProposalCertIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_dRepProposalAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProposalAction)))) |
data ProposalInfo Source #
Proposal details
Constructors
ProposalInfo | |
Fields
|
Instances
FromJSON ProposalInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON ProposalInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: ProposalInfo -> Value # toEncoding :: ProposalInfo -> Encoding # toJSONList :: [ProposalInfo] -> Value # toEncodingList :: [ProposalInfo] -> Encoding # omitField :: ProposalInfo -> Bool # | |||||
Generic ProposalInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show ProposalInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> ProposalInfo -> ShowS # show :: ProposalInfo -> String # showList :: [ProposalInfo] -> ShowS # | |||||
Eq ProposalInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToSample ProposalInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toSamples :: Proxy ProposalInfo -> [(Text, ProposalInfo)] # | |||||
HasCertIndex ProposalInfo Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
a ~ Lovelaces => HasDeposit ProposalInfo a Source # | |||||
Defined in Blockfrost.Lens Methods deposit :: Lens' ProposalInfo a Source # | |||||
HasExpiration ProposalInfo Epoch Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasGovernanceType ProposalInfo ProposalAction Source # | |||||
Defined in Blockfrost.Lens Methods governanceType :: Lens' ProposalInfo ProposalAction Source # | |||||
HasReturnAddress ProposalInfo Address Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasTxHash ProposalInfo TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
HasDroppedEpoch ProposalInfo (Maybe Epoch) Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasEnactedEpoch ProposalInfo (Maybe Epoch) Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasExpiredEpoch ProposalInfo (Maybe Epoch) Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasGovernanceDescription ProposalInfo (Maybe Value) Source # | |||||
Defined in Blockfrost.Lens Methods governanceDescription :: Lens' ProposalInfo (Maybe Value) Source # | |||||
HasRatifiedEpoch ProposalInfo (Maybe Epoch) Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep ProposalInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep ProposalInfo = D1 ('MetaData "ProposalInfo" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "ProposalInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_proposalInfoTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "_proposalInfoCertIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_proposalInfoGovernanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProposalAction) :*: (S1 ('MetaSel ('Just "_proposalInfoDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_proposalInfoReturnAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address)))) :*: ((S1 ('MetaSel ('Just "_proposalInfoGovernanceDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "_proposalInfoRatifiedEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Epoch)) :*: S1 ('MetaSel ('Just "_proposalInfoEnactedEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Epoch)))) :*: (S1 ('MetaSel ('Just "_proposalInfoDroppedEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Epoch)) :*: (S1 ('MetaSel ('Just "_proposalInfoExpiredEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Epoch)) :*: S1 ('MetaSel ('Just "_proposalInfoExpiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch)))))) |
data ProposedProtocolParams Source #
Proposed protocol parameters
This type is sturcturally similar to ProtocolParams
but every field
is optional.
Constructors
ProposedProtocolParams | |
Fields
|
Instances
FromJSON ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods parseJSON :: Value -> Parser ProposedProtocolParams # parseJSONList :: Value -> Parser [ProposedProtocolParams] # | |||||
ToJSON ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: ProposedProtocolParams -> Value # toEncoding :: ProposedProtocolParams -> Encoding # toJSONList :: [ProposedProtocolParams] -> Value # toEncodingList :: [ProposedProtocolParams] -> Encoding # omitField :: ProposedProtocolParams -> Bool # | |||||
Generic ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
Methods from :: ProposedProtocolParams -> Rep ProposedProtocolParams x # to :: Rep ProposedProtocolParams x -> ProposedProtocolParams # | |||||
Show ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> ProposedProtocolParams -> ShowS # show :: ProposedProtocolParams -> String # showList :: [ProposedProtocolParams] -> ShowS # | |||||
Eq ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods (==) :: ProposedProtocolParams -> ProposedProtocolParams -> Bool # (/=) :: ProposedProtocolParams -> ProposedProtocolParams -> Bool # | |||||
ToSample ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toSamples :: Proxy ProposedProtocolParams -> [(Text, ProposedProtocolParams)] # | |||||
a ~ Maybe Lovelaces => HasCoinsPerUtxoSize ProposedProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
a ~ Maybe Lovelaces => HasCoinsPerUtxoWord ProposedProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
a ~ Maybe Lovelaces => HasDrepDeposit ProposedProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
a ~ Maybe Lovelaces => HasGovActionDeposit ProposedProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
a ~ Maybe Lovelaces => HasKeyDeposit ProposedProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
a ~ Maybe Lovelaces => HasMinPoolCost ProposedProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
a ~ Maybe Lovelaces => HasMinUtxo ProposedProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasParameters ParamProposal ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Lens Methods parameters :: Lens' ParamProposal ProposedProtocolParams Source # | |||||
a ~ Maybe Lovelaces => HasPoolDeposit ProposedProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasA0 ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasCollateralPercent ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens Methods collateralPercent :: Lens' ProposedProtocolParams (Maybe Integer) Source # | |||||
HasCommitteeMaxTermLength ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods committeeMaxTermLength :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasCommitteeMinSize ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods committeeMinSize :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasCostModels ProposedProtocolParams (Maybe CostModels) Source # | |||||
Defined in Blockfrost.Lens Methods costModels :: Lens' ProposedProtocolParams (Maybe CostModels) Source # | |||||
HasCostModelsRaw ProposedProtocolParams (Maybe CostModelsRaw) Source # | |||||
Defined in Blockfrost.Lens Methods costModelsRaw :: Lens' ProposedProtocolParams (Maybe CostModelsRaw) Source # | |||||
HasDecentralisationParam ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods decentralisationParam :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDrepActivity ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods drepActivity :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasDvtCommitteeNoConfidence ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtCommitteeNoConfidence :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtCommitteeNormal ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtCommitteeNormal :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtHardForkInitiation ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtHardForkInitiation :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtMotionNoConfidence ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtMotionNoConfidence :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtPPEconomicGroup ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtPPEconomicGroup :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtPPGovGroup ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtPPGovGroup :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtPPNetworkGroup ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtPPNetworkGroup :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtPPTechnicalGroup ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtPPTechnicalGroup :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtTreasuryWithdrawal ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtTreasuryWithdrawal :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasDvtUpdateToConstitution ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtUpdateToConstitution :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasEMax ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasEpoch ProposedProtocolParams (Maybe Epoch) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasExtraEntropy ProposedProtocolParams (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens Methods extraEntropy :: Lens' ProposedProtocolParams (Maybe Text) Source # | |||||
HasGovActionLifetime ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods govActionLifetime :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasMaxBlockExMem ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods maxBlockExMem :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasMaxBlockExSteps ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods maxBlockExSteps :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasMaxBlockHeaderSize ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens Methods maxBlockHeaderSize :: Lens' ProposedProtocolParams (Maybe Integer) Source # | |||||
HasMaxBlockSize ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens Methods maxBlockSize :: Lens' ProposedProtocolParams (Maybe Integer) Source # | |||||
HasMaxCollateralInputs ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens Methods maxCollateralInputs :: Lens' ProposedProtocolParams (Maybe Integer) Source # | |||||
HasMaxTxExMem ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods maxTxExMem :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasMaxTxExSteps ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods maxTxExSteps :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasMaxTxSize ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasMaxValSize ProposedProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods maxValSize :: Lens' ProposedProtocolParams (Maybe Quantity) Source # | |||||
HasMinFeeA ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasMinFeeB ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasMinFeeRefScriptCostPerByte ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasNOpt ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasNonce ProposedProtocolParams (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasPriceMem ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasPriceStep ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasProtocolMajorVer ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens Methods protocolMajorVer :: Lens' ProposedProtocolParams (Maybe Integer) Source # | |||||
HasProtocolMinorVer ProposedProtocolParams (Maybe Integer) Source # | |||||
Defined in Blockfrost.Lens Methods protocolMinorVer :: Lens' ProposedProtocolParams (Maybe Integer) Source # | |||||
HasPvtCommitteeNoConfidence ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtCommitteeNoConfidence :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasPvtCommitteeNormal ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtCommitteeNormal :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasPvtHardForkInitiation ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtHardForkInitiation :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasPvtMotionNoConfidence ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtMotionNoConfidence :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasPvtppSecurityGroup ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtppSecurityGroup :: Lens' ProposedProtocolParams (Maybe Rational) Source # | |||||
HasRho ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens | |||||
HasTau ProposedProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep ProposedProtocolParams = D1 ('MetaData "ProposedProtocolParams" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "ProposedProtocolParams" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "_proposedProtocolParamsEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Epoch)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsMinFeeA") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsMinFeeB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsMaxBlockSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsMaxTxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsMaxBlockHeaderSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsKeyDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsPoolDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsEMax") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsNOpt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsA0") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsRho") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsTau") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)))))) :*: (((S1 ('MetaSel ('Just "_proposedProtocolParamsDecentralisationParam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsExtraEntropy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsProtocolMajorVer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsProtocolMinorVer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsMinUtxo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces))) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsMinPoolCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsNonce") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsCostModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CostModels)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsCostModelsRaw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CostModelsRaw)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsPriceMem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsPriceStep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsMaxTxExMem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity))) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsMaxTxExSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsMaxBlockExMem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity))))))) :*: ((((S1 ('MetaSel ('Just "_proposedProtocolParamsMaxBlockExSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsMaxValSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsCollateralPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsMaxCollateralInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsCoinsPerUtxoSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces))) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsCoinsPerUtxoWord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsPvtMotionNoConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsPvtCommitteeNormal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsPvtCommitteeNoConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsPvtHardForkInitiation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsPvtppSecurityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsDvtMotionNoConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsDvtCommitteeNormal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsDvtCommitteeNoConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)))))) :*: (((S1 ('MetaSel ('Just "_proposedProtocolParamsDvtUpdateToConstitution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsDvtHardForkInitiation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsDvtPPNetworkGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsDvtPPEconomicGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsDvtPPTechnicalGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsDvtPPGovGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsDvtTreasuryWithdrawal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsCommitteeMinSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsCommitteeMaxTermLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsGovActionLifetime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)))) :*: ((S1 ('MetaSel ('Just "_proposedProtocolParamsGovActionDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsDrepDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces))) :*: (S1 ('MetaSel ('Just "_proposedProtocolParamsDrepActivity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: S1 ('MetaSel ('Just "_proposedProtocolParamsMinFeeRefScriptCostPerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))))))))) |
data ParamProposal Source #
Parameter proposal details
Constructors
ParamProposal | |
Fields
|
Instances
FromJSON ParamProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods parseJSON :: Value -> Parser ParamProposal # parseJSONList :: Value -> Parser [ParamProposal] # | |||||
ToJSON ParamProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: ParamProposal -> Value # toEncoding :: ParamProposal -> Encoding # toJSONList :: [ParamProposal] -> Value # toEncodingList :: [ParamProposal] -> Encoding # omitField :: ParamProposal -> Bool # | |||||
Generic ParamProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show ParamProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> ParamProposal -> ShowS # show :: ParamProposal -> String # showList :: [ParamProposal] -> ShowS # | |||||
Eq ParamProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods (==) :: ParamProposal -> ParamProposal -> Bool # (/=) :: ParamProposal -> ParamProposal -> Bool # | |||||
ToSample ParamProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toSamples :: Proxy ParamProposal -> [(Text, ParamProposal)] # | |||||
HasCertIndex ParamProposal Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
HasParameters ParamProposal ProposedProtocolParams Source # | |||||
Defined in Blockfrost.Lens Methods parameters :: Lens' ParamProposal ProposedProtocolParams Source # | |||||
HasTxHash ParamProposal TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep ParamProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep ParamProposal = D1 ('MetaData "ParamProposal" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "ParamProposal" 'PrefixI 'True) (S1 ('MetaSel ('Just "_paramProposalTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: (S1 ('MetaSel ('Just "_paramProposalCertIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_paramProposalParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProposedProtocolParams)))) |
data WithdrawalProposal Source #
Withdrawal proposal details
Constructors
WithdrawalProposal | |
Fields
|
Instances
FromJSON WithdrawalProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods parseJSON :: Value -> Parser WithdrawalProposal # parseJSONList :: Value -> Parser [WithdrawalProposal] # | |||||
ToJSON WithdrawalProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: WithdrawalProposal -> Value # toEncoding :: WithdrawalProposal -> Encoding # toJSONList :: [WithdrawalProposal] -> Value # toEncodingList :: [WithdrawalProposal] -> Encoding # omitField :: WithdrawalProposal -> Bool # | |||||
Generic WithdrawalProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
Methods from :: WithdrawalProposal -> Rep WithdrawalProposal x # to :: Rep WithdrawalProposal x -> WithdrawalProposal # | |||||
Show WithdrawalProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> WithdrawalProposal -> ShowS # show :: WithdrawalProposal -> String # showList :: [WithdrawalProposal] -> ShowS # | |||||
Eq WithdrawalProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods (==) :: WithdrawalProposal -> WithdrawalProposal -> Bool # (/=) :: WithdrawalProposal -> WithdrawalProposal -> Bool # | |||||
ToSample WithdrawalProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toSamples :: Proxy WithdrawalProposal -> [(Text, WithdrawalProposal)] # | |||||
a ~ Lovelaces => HasAmount WithdrawalProposal a Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' WithdrawalProposal a Source # | |||||
HasStakeAddress WithdrawalProposal Address Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
type Rep WithdrawalProposal Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep WithdrawalProposal = D1 ('MetaData "WithdrawalProposal" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "WithdrawalProposal" 'PrefixI 'True) (S1 ('MetaSel ('Just "_withdrawalProposalStakeAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_withdrawalProposalAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces))) |
Instances
FromJSON VoterRole Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON VoterRole Source # | |||||
Generic VoterRole Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show VoterRole Source # | |||||
Eq VoterRole Source # | |||||
HasVoterRole ProposalVote VoterRole Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep VoterRole Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep VoterRole = D1 ('MetaData "VoterRole" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "VoterRole_ConstitutionalCommittee" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VoterRole_DRep" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VoterRole_SPO" 'PrefixI 'False) (U1 :: Type -> Type))) |
data ProposalVote Source #
Proposal vote
Constructors
ProposalVote | |
Fields
|
Instances
FromJSON ProposalVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON ProposalVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: ProposalVote -> Value # toEncoding :: ProposalVote -> Encoding # toJSONList :: [ProposalVote] -> Value # toEncodingList :: [ProposalVote] -> Encoding # omitField :: ProposalVote -> Bool # | |||||
Generic ProposalVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show ProposalVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> ProposalVote -> ShowS # show :: ProposalVote -> String # showList :: [ProposalVote] -> ShowS # | |||||
Eq ProposalVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToSample ProposalVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toSamples :: Proxy ProposalVote -> [(Text, ProposalVote)] # | |||||
HasAction ProposalVote VotingAction Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasCertIndex ProposalVote Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
HasTxHash ProposalVote TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
HasVoter ProposalVote DRepId Source # | |||||
Defined in Blockfrost.Lens | |||||
HasVoterRole ProposalVote VoterRole Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep ProposalVote Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep ProposalVote = D1 ('MetaData "ProposalVote" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "ProposalVote" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_proposalVoteTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "_proposalVoteCertIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_proposalVoteVoterRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VoterRole) :*: (S1 ('MetaSel ('Just "_proposalVoteVoter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DRepId) :*: S1 ('MetaSel ('Just "_proposalVoteAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VotingAction))))) |
data ProposalMeta Source #
Prposal metadata
Constructors
ProposalMeta | |
Fields
|
Instances
FromJSON ProposalMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToJSON ProposalMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toJSON :: ProposalMeta -> Value # toEncoding :: ProposalMeta -> Encoding # toJSONList :: [ProposalMeta] -> Value # toEncodingList :: [ProposalMeta] -> Encoding # omitField :: ProposalMeta -> Bool # | |||||
Generic ProposalMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Associated Types
| |||||
Show ProposalMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods showsPrec :: Int -> ProposalMeta -> ShowS # show :: ProposalMeta -> String # showList :: [ProposalMeta] -> ShowS # | |||||
Eq ProposalMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance | |||||
ToSample ProposalMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance Methods toSamples :: Proxy ProposalMeta -> [(Text, ProposalMeta)] # | |||||
HasBytes ProposalMeta Text Source # | |||||
Defined in Blockfrost.Lens | |||||
HasCertIndex ProposalMeta Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
HasHash ProposalMeta Text Source # | |||||
Defined in Blockfrost.Lens | |||||
HasJsonMetadata ProposalMeta Value Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
HasTxHash ProposalMeta TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
HasUrl ProposalMeta Text Source # | |||||
Defined in Blockfrost.Lens | |||||
type Rep ProposalMeta Source # | |||||
Defined in Blockfrost.Types.Cardano.Governance type Rep ProposalMeta = D1 ('MetaData "ProposalMeta" "Blockfrost.Types.Cardano.Governance" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "ProposalMeta" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_proposalMetaTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: (S1 ('MetaSel ('Just "_proposalMetaCertIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_proposalMetaUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "_proposalMetaHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_proposalMetaJsonMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value) :*: S1 ('MetaSel ('Just "_proposalMetaBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) |