| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Cardano.Epochs
Description
Responses for Cardano epoch quries
Synopsis
- data EpochInfo = EpochInfo {
- _epochInfoEpoch :: Epoch
- _epochInfoStartTime :: POSIXTime
- _epochInfoEndTime :: POSIXTime
- _epochInfoFirstBlockTime :: POSIXTime
- _epochInfoLastBlockTime :: POSIXTime
- _epochInfoBlockCount :: Integer
- _epochInfoTxCount :: Integer
- _epochInfoOutput :: Lovelaces
- _epochInfoFees :: Lovelaces
- _epochInfoActiveStake :: Maybe Lovelaces
- data PoolStakeDistribution = PoolStakeDistribution {}
- data ProtocolParams = ProtocolParams {
- _protocolParamsEpoch :: Epoch
- _protocolParamsMinFeeA :: Integer
- _protocolParamsMinFeeB :: Integer
- _protocolParamsMaxBlockSize :: Integer
- _protocolParamsMaxTxSize :: Integer
- _protocolParamsMaxBlockHeaderSize :: Integer
- _protocolParamsKeyDeposit :: Lovelaces
- _protocolParamsPoolDeposit :: Lovelaces
- _protocolParamsEMax :: Integer
- _protocolParamsNOpt :: Integer
- _protocolParamsA0 :: Rational
- _protocolParamsRho :: Rational
- _protocolParamsTau :: Rational
- _protocolParamsDecentralisationParam :: Rational
- _protocolParamsExtraEntropy :: Maybe Text
- _protocolParamsProtocolMajorVer :: Integer
- _protocolParamsProtocolMinorVer :: Integer
- _protocolParamsMinUtxo :: Lovelaces
- _protocolParamsMinPoolCost :: Lovelaces
- _protocolParamsNonce :: Text
- _protocolParamsCostModels :: CostModels
- _protocolParamsCostModelsRaw :: CostModelsRaw
- _protocolParamsPriceMem :: Rational
- _protocolParamsPriceStep :: Rational
- _protocolParamsMaxTxExMem :: Quantity
- _protocolParamsMaxTxExSteps :: Quantity
- _protocolParamsMaxBlockExMem :: Quantity
- _protocolParamsMaxBlockExSteps :: Quantity
- _protocolParamsMaxValSize :: Quantity
- _protocolParamsCollateralPercent :: Integer
- _protocolParamsMaxCollateralInputs :: Integer
- _protocolParamsCoinsPerUtxoSize :: Lovelaces
- _protocolParamsCoinsPerUtxoWord :: Lovelaces
- _protocolParamsPvtMotionNoConfidence :: Maybe Rational
- _protocolParamsPvtCommitteeNormal :: Maybe Rational
- _protocolParamsPvtCommitteeNoConfidence :: Maybe Rational
- _protocolParamsPvtHardForkInitiation :: Maybe Rational
- _protocolParamsPvtppSecurityGroup :: Maybe Rational
- _protocolParamsDvtMotionNoConfidence :: Maybe Rational
- _protocolParamsDvtCommitteeNormal :: Maybe Rational
- _protocolParamsDvtCommitteeNoConfidence :: Maybe Rational
- _protocolParamsDvtUpdateToConstitution :: Maybe Rational
- _protocolParamsDvtHardForkInitiation :: Maybe Rational
- _protocolParamsDvtPPNetworkGroup :: Maybe Rational
- _protocolParamsDvtPPEconomicGroup :: Maybe Rational
- _protocolParamsDvtPPTechnicalGroup :: Maybe Rational
- _protocolParamsDvtPPGovGroup :: Maybe Rational
- _protocolParamsDvtTreasuryWithdrawal :: Maybe Rational
- _protocolParamsCommitteeMinSize :: Maybe Quantity
- _protocolParamsCommitteeMaxTermLength :: Maybe Quantity
- _protocolParamsGovActionLifetime :: Maybe Quantity
- _protocolParamsGovActionDeposit :: Maybe Lovelaces
- _protocolParamsDrepDeposit :: Maybe Lovelaces
- _protocolParamsDrepActivity :: Maybe Quantity
- _protocolParamsMinFeeRefScriptCostPerByte :: Maybe Rational
- newtype CostModels = CostModels {
- unCostModels :: Map ScriptType (Map Text Integer)
- newtype CostModelsRaw = CostModelsRaw {}
- data StakeDistribution = StakeDistribution {}
Documentation
Information about an epoch
Constructors
| EpochInfo | |
Fields
| |
Instances
data PoolStakeDistribution Source #
Stake distribution for an epoch for specific pool
Constructors
| PoolStakeDistribution | |
Fields
| |
Instances
| FromJSON PoolStakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods parseJSON :: Value -> Parser PoolStakeDistribution # parseJSONList :: Value -> Parser [PoolStakeDistribution] # | |||||
| ToJSON PoolStakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toJSON :: PoolStakeDistribution -> Value # toEncoding :: PoolStakeDistribution -> Encoding # toJSONList :: [PoolStakeDistribution] -> Value # toEncodingList :: [PoolStakeDistribution] -> Encoding # omitField :: PoolStakeDistribution -> Bool # | |||||
| Generic PoolStakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Associated Types
Methods from :: PoolStakeDistribution -> Rep PoolStakeDistribution x # to :: Rep PoolStakeDistribution x -> PoolStakeDistribution # | |||||
| Show PoolStakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods showsPrec :: Int -> PoolStakeDistribution -> ShowS # show :: PoolStakeDistribution -> String # showList :: [PoolStakeDistribution] -> ShowS # | |||||
| Eq PoolStakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods (==) :: PoolStakeDistribution -> PoolStakeDistribution -> Bool # (/=) :: PoolStakeDistribution -> PoolStakeDistribution -> Bool # | |||||
| ToSample PoolStakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toSamples :: Proxy PoolStakeDistribution -> [(Text, PoolStakeDistribution)] # | |||||
| a ~ Lovelaces => HasAmount PoolStakeDistribution a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasStakeAddress PoolStakeDistribution Address Source # | |||||
Defined in Blockfrost.Lens Methods stakeAddress :: Lens' PoolStakeDistribution Address Source # | |||||
| type Rep PoolStakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs type Rep PoolStakeDistribution = D1 ('MetaData "PoolStakeDistribution" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "PoolStakeDistribution" 'PrefixI 'True) (S1 ('MetaSel ('Just "_poolStakeDistributionStakeAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "_poolStakeDistributionAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces))) | |||||
data ProtocolParams Source #
Protocol parameters
Constructors
| ProtocolParams | |
Fields
| |
Instances
| FromJSON ProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods parseJSON :: Value -> Parser ProtocolParams # parseJSONList :: Value -> Parser [ProtocolParams] # | |||||
| ToJSON ProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toJSON :: ProtocolParams -> Value # toEncoding :: ProtocolParams -> Encoding # toJSONList :: [ProtocolParams] -> Value # toEncodingList :: [ProtocolParams] -> Encoding # omitField :: ProtocolParams -> Bool # | |||||
| Generic ProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Associated Types
Methods from :: ProtocolParams -> Rep ProtocolParams x # to :: Rep ProtocolParams x -> ProtocolParams # | |||||
| Show ProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods showsPrec :: Int -> ProtocolParams -> ShowS # show :: ProtocolParams -> String # showList :: [ProtocolParams] -> ShowS # | |||||
| Eq ProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods (==) :: ProtocolParams -> ProtocolParams -> Bool # (/=) :: ProtocolParams -> ProtocolParams -> Bool # | |||||
| ToSample ProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toSamples :: Proxy ProtocolParams -> [(Text, ProtocolParams)] # | |||||
| HasA0 ProtocolParams Rational Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Lovelaces => HasCoinsPerUtxoSize ProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| a ~ Lovelaces => HasCoinsPerUtxoWord ProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasCollateralPercent ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasCostModels ProtocolParams CostModels Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasCostModelsRaw ProtocolParams CostModelsRaw Source # | |||||
Defined in Blockfrost.Lens Methods costModelsRaw :: Lens' ProtocolParams CostModelsRaw Source # | |||||
| HasDecentralisationParam ProtocolParams Rational Source # | |||||
Defined in Blockfrost.Lens Methods decentralisationParam :: Lens' ProtocolParams Rational Source # | |||||
| a ~ Maybe Lovelaces => HasDrepDeposit ProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasEMax ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasEpoch ProtocolParams Epoch Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Maybe Lovelaces => HasGovActionDeposit ProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| a ~ Lovelaces => HasKeyDeposit ProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods keyDeposit :: Lens' ProtocolParams a Source # | |||||
| HasMaxBlockExMem ProtocolParams Quantity Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasMaxBlockExSteps ProtocolParams Quantity Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasMaxBlockHeaderSize ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasMaxBlockSize ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasMaxCollateralInputs ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens Methods maxCollateralInputs :: Lens' ProtocolParams Integer Source # | |||||
| HasMaxTxExMem ProtocolParams Quantity Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasMaxTxExSteps ProtocolParams Quantity Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasMaxTxSize ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasMaxValSize ProtocolParams Quantity Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasMinFeeA ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasMinFeeB ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Lovelaces => HasMinPoolCost ProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| a ~ Lovelaces => HasMinUtxo ProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods minUtxo :: Lens' ProtocolParams a Source # | |||||
| HasNOpt ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasNonce ProtocolParams Text Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Lovelaces => HasPoolDeposit ProtocolParams a Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasPriceMem ProtocolParams Rational Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasPriceStep ProtocolParams Rational Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasProtocolMajorVer ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasProtocolMinorVer ProtocolParams Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasRho ProtocolParams Rational Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasTau ProtocolParams Rational Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasCommitteeMaxTermLength ProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods committeeMaxTermLength :: Lens' ProtocolParams (Maybe Quantity) Source # | |||||
| HasCommitteeMinSize ProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods committeeMinSize :: Lens' ProtocolParams (Maybe Quantity) Source # | |||||
| HasDrepActivity ProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods drepActivity :: Lens' ProtocolParams (Maybe Quantity) Source # | |||||
| HasDvtCommitteeNoConfidence ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtCommitteeNoConfidence :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtCommitteeNormal ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtCommitteeNormal :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtHardForkInitiation ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtHardForkInitiation :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtMotionNoConfidence ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtMotionNoConfidence :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtPPEconomicGroup ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtPPEconomicGroup :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtPPGovGroup ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtPPGovGroup :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtPPNetworkGroup ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtPPNetworkGroup :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtPPTechnicalGroup ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtPPTechnicalGroup :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtTreasuryWithdrawal ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtTreasuryWithdrawal :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasDvtUpdateToConstitution ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods dvtUpdateToConstitution :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasExtraEntropy ProtocolParams (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasGovActionLifetime ProtocolParams (Maybe Quantity) Source # | |||||
Defined in Blockfrost.Lens Methods govActionLifetime :: Lens' ProtocolParams (Maybe Quantity) Source # | |||||
| HasMinFeeRefScriptCostPerByte ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods minFeeRefScriptCostPerByte :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasPvtCommitteeNoConfidence ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtCommitteeNoConfidence :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasPvtCommitteeNormal ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtCommitteeNormal :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasPvtHardForkInitiation ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtHardForkInitiation :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasPvtMotionNoConfidence ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtMotionNoConfidence :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| HasPvtppSecurityGroup ProtocolParams (Maybe Rational) Source # | |||||
Defined in Blockfrost.Lens Methods pvtppSecurityGroup :: Lens' ProtocolParams (Maybe Rational) Source # | |||||
| type Rep ProtocolParams Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs type Rep ProtocolParams = D1 ('MetaData "ProtocolParams" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "ProtocolParams" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "_protocolParamsEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch) :*: (S1 ('MetaSel ('Just "_protocolParamsMinFeeA") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_protocolParamsMinFeeB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) :*: (S1 ('MetaSel ('Just "_protocolParamsMaxBlockSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "_protocolParamsMaxTxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_protocolParamsMaxBlockHeaderSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) :*: ((S1 ('MetaSel ('Just "_protocolParamsKeyDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: (S1 ('MetaSel ('Just "_protocolParamsPoolDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_protocolParamsEMax") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) :*: ((S1 ('MetaSel ('Just "_protocolParamsNOpt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_protocolParamsA0") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational)) :*: (S1 ('MetaSel ('Just "_protocolParamsRho") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "_protocolParamsTau") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational))))) :*: (((S1 ('MetaSel ('Just "_protocolParamsDecentralisationParam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: (S1 ('MetaSel ('Just "_protocolParamsExtraEntropy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_protocolParamsProtocolMajorVer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) :*: ((S1 ('MetaSel ('Just "_protocolParamsProtocolMinorVer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_protocolParamsMinUtxo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)) :*: (S1 ('MetaSel ('Just "_protocolParamsMinPoolCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_protocolParamsNonce") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "_protocolParamsCostModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CostModels) :*: (S1 ('MetaSel ('Just "_protocolParamsCostModelsRaw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CostModelsRaw) :*: S1 ('MetaSel ('Just "_protocolParamsPriceMem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational))) :*: ((S1 ('MetaSel ('Just "_protocolParamsPriceStep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational) :*: S1 ('MetaSel ('Just "_protocolParamsMaxTxExMem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity)) :*: (S1 ('MetaSel ('Just "_protocolParamsMaxTxExSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity) :*: S1 ('MetaSel ('Just "_protocolParamsMaxBlockExMem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity)))))) :*: ((((S1 ('MetaSel ('Just "_protocolParamsMaxBlockExSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity) :*: (S1 ('MetaSel ('Just "_protocolParamsMaxValSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity) :*: S1 ('MetaSel ('Just "_protocolParamsCollateralPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) :*: ((S1 ('MetaSel ('Just "_protocolParamsMaxCollateralInputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_protocolParamsCoinsPerUtxoSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)) :*: (S1 ('MetaSel ('Just "_protocolParamsCoinsPerUtxoWord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_protocolParamsPvtMotionNoConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))))) :*: ((S1 ('MetaSel ('Just "_protocolParamsPvtCommitteeNormal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: (S1 ('MetaSel ('Just "_protocolParamsPvtCommitteeNoConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_protocolParamsPvtHardForkInitiation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)))) :*: ((S1 ('MetaSel ('Just "_protocolParamsPvtppSecurityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_protocolParamsDvtMotionNoConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))) :*: (S1 ('MetaSel ('Just "_protocolParamsDvtCommitteeNormal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_protocolParamsDvtCommitteeNoConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)))))) :*: (((S1 ('MetaSel ('Just "_protocolParamsDvtUpdateToConstitution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: (S1 ('MetaSel ('Just "_protocolParamsDvtHardForkInitiation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_protocolParamsDvtPPNetworkGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)))) :*: ((S1 ('MetaSel ('Just "_protocolParamsDvtPPEconomicGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_protocolParamsDvtPPTechnicalGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))) :*: (S1 ('MetaSel ('Just "_protocolParamsDvtPPGovGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational)) :*: S1 ('MetaSel ('Just "_protocolParamsDvtTreasuryWithdrawal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))))) :*: ((S1 ('MetaSel ('Just "_protocolParamsCommitteeMinSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: (S1 ('MetaSel ('Just "_protocolParamsCommitteeMaxTermLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: S1 ('MetaSel ('Just "_protocolParamsGovActionLifetime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)))) :*: ((S1 ('MetaSel ('Just "_protocolParamsGovActionDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)) :*: S1 ('MetaSel ('Just "_protocolParamsDrepDeposit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces))) :*: (S1 ('MetaSel ('Just "_protocolParamsDrepActivity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Quantity)) :*: S1 ('MetaSel ('Just "_protocolParamsMinFeeRefScriptCostPerByte") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Rational))))))))) | |||||
newtype CostModels Source #
Constructors
| CostModels | |
Fields
| |
Instances
| FromJSON CostModels Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs | |||||
| ToJSON CostModels Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toJSON :: CostModels -> Value # toEncoding :: CostModels -> Encoding # toJSONList :: [CostModels] -> Value # toEncodingList :: [CostModels] -> Encoding # omitField :: CostModels -> Bool # | |||||
| Generic CostModels Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Associated Types
| |||||
| Show CostModels Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods showsPrec :: Int -> CostModels -> ShowS # show :: CostModels -> String # showList :: [CostModels] -> ShowS # | |||||
| Eq CostModels Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs | |||||
| ToSample CostModels Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toSamples :: Proxy CostModels -> [(Text, CostModels)] # | |||||
| HasCostModels ProtocolParams CostModels Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasCostModels ProposedProtocolParams (Maybe CostModels) Source # | |||||
Defined in Blockfrost.Lens Methods costModels :: Lens' ProposedProtocolParams (Maybe CostModels) Source # | |||||
| type Rep CostModels Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs type Rep CostModels = D1 ('MetaData "CostModels" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "CostModels" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCostModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ScriptType (Map Text Integer))))) | |||||
newtype CostModelsRaw Source #
Constructors
| CostModelsRaw | |
Fields | |
Instances
| FromJSON CostModelsRaw Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods parseJSON :: Value -> Parser CostModelsRaw # parseJSONList :: Value -> Parser [CostModelsRaw] # | |||||
| ToJSON CostModelsRaw Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toJSON :: CostModelsRaw -> Value # toEncoding :: CostModelsRaw -> Encoding # toJSONList :: [CostModelsRaw] -> Value # toEncodingList :: [CostModelsRaw] -> Encoding # omitField :: CostModelsRaw -> Bool # | |||||
| Generic CostModelsRaw Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Associated Types
| |||||
| Show CostModelsRaw Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods showsPrec :: Int -> CostModelsRaw -> ShowS # show :: CostModelsRaw -> String # showList :: [CostModelsRaw] -> ShowS # | |||||
| Eq CostModelsRaw Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods (==) :: CostModelsRaw -> CostModelsRaw -> Bool # (/=) :: CostModelsRaw -> CostModelsRaw -> Bool # | |||||
| ToSample CostModelsRaw Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toSamples :: Proxy CostModelsRaw -> [(Text, CostModelsRaw)] # | |||||
| HasCostModelsRaw ProtocolParams CostModelsRaw Source # | |||||
Defined in Blockfrost.Lens Methods costModelsRaw :: Lens' ProtocolParams CostModelsRaw Source # | |||||
| HasCostModelsRaw ProposedProtocolParams (Maybe CostModelsRaw) Source # | |||||
Defined in Blockfrost.Lens Methods costModelsRaw :: Lens' ProposedProtocolParams (Maybe CostModelsRaw) Source # | |||||
| type Rep CostModelsRaw Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs type Rep CostModelsRaw = D1 ('MetaData "CostModelsRaw" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "CostModelsRaw" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCostModelsRaw") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ScriptType [Integer])))) | |||||
data StakeDistribution Source #
Active stake distribution for an epoch
Constructors
| StakeDistribution | |
Fields
| |
Instances
| FromJSON StakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods parseJSON :: Value -> Parser StakeDistribution # parseJSONList :: Value -> Parser [StakeDistribution] # | |||||
| ToJSON StakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toJSON :: StakeDistribution -> Value # toEncoding :: StakeDistribution -> Encoding # toJSONList :: [StakeDistribution] -> Value # toEncodingList :: [StakeDistribution] -> Encoding # omitField :: StakeDistribution -> Bool # | |||||
| Generic StakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Associated Types
Methods from :: StakeDistribution -> Rep StakeDistribution x # to :: Rep StakeDistribution x -> StakeDistribution # | |||||
| Show StakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods showsPrec :: Int -> StakeDistribution -> ShowS # show :: StakeDistribution -> String # showList :: [StakeDistribution] -> ShowS # | |||||
| Eq StakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods (==) :: StakeDistribution -> StakeDistribution -> Bool # (/=) :: StakeDistribution -> StakeDistribution -> Bool # | |||||
| ToSample StakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs Methods toSamples :: Proxy StakeDistribution -> [(Text, StakeDistribution)] # | |||||
| a ~ Lovelaces => HasAmount StakeDistribution a Source # | |||||
Defined in Blockfrost.Lens Methods amount :: Lens' StakeDistribution a Source # | |||||
| HasPoolId StakeDistribution PoolId Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasStakeAddress StakeDistribution Address Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| type Rep StakeDistribution Source # | |||||
Defined in Blockfrost.Types.Cardano.Epochs type Rep StakeDistribution = D1 ('MetaData "StakeDistribution" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "StakeDistribution" 'PrefixI 'True) (S1 ('MetaSel ('Just "_stakeDistributionStakeAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: (S1 ('MetaSel ('Just "_stakeDistributionPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolId) :*: S1 ('MetaSel ('Just "_stakeDistributionAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)))) | |||||