blockfrost-api-0.12.0.0: API definitions for blockfrost.io
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Types.Cardano.Epochs

Description

Responses for Cardano epoch quries

Synopsis

Documentation

data EpochInfo Source #

Information about an epoch

Constructors

EpochInfo 

Fields

Instances

Instances details
FromJSON EpochInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON EpochInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Generic EpochInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep EpochInfo :: Type -> Type #

Show EpochInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Eq EpochInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToSample EpochInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

a ~ Maybe Lovelaces => HasActiveStake EpochInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasBlockCount EpochInfo Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasEndTime EpochInfo POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch EpochInfo Epoch Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasFees EpochInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasFirstBlockTime EpochInfo POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

HasLastBlockTime EpochInfo POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasOutput EpochInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasStartTime EpochInfo POSIXTime Source # 
Instance details

Defined in Blockfrost.Lens

HasTxCount EpochInfo Integer Source # 
Instance details

Defined in Blockfrost.Lens

type Rep EpochInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

type Rep EpochInfo = D1 ('MetaData "EpochInfo" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.12.0.0-47po8LqaOADFy8URMsERQB" 'False) (C1 ('MetaCons "EpochInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_epochInfoEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch) :*: S1 ('MetaSel ('Just "_epochInfoStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime)) :*: (S1 ('MetaSel ('Just "_epochInfoEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: (S1 ('MetaSel ('Just "_epochInfoFirstBlockTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: S1 ('MetaSel ('Just "_epochInfoLastBlockTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime)))) :*: ((S1 ('MetaSel ('Just "_epochInfoBlockCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_epochInfoTxCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_epochInfoOutput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: (S1 ('MetaSel ('Just "_epochInfoFees") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_epochInfoActiveStake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Lovelaces)))))))

data PoolStakeDistribution Source #

Stake distribution for an epoch for specific pool

Constructors

PoolStakeDistribution 

Fields

Instances

Instances details
FromJSON PoolStakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON PoolStakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Generic PoolStakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep PoolStakeDistribution :: Type -> Type #

Show PoolStakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Eq PoolStakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToSample PoolStakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

a ~ Lovelaces => HasAmount PoolStakeDistribution a Source # 
Instance details

Defined in Blockfrost.Lens

HasStakeAddress PoolStakeDistribution Address Source # 
Instance details

Defined in Blockfrost.Lens

type Rep PoolStakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

type Rep PoolStakeDistribution = D1 ('MetaData "PoolStakeDistribution" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.12.0.0-47po8LqaOADFy8URMsERQB" '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

Instances details
FromJSON ProtocolParams Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON ProtocolParams Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Generic ProtocolParams Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep ProtocolParams :: Type -> Type #

Show ProtocolParams Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Eq ProtocolParams Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToSample ProtocolParams Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

HasA0 ProtocolParams Rational Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasCoinsPerUtxoSize ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasCoinsPerUtxoWord ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

HasCollateralPercent ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasCostModels ProtocolParams CostModels Source # 
Instance details

Defined in Blockfrost.Lens

HasCostModelsRaw ProtocolParams CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Lens

HasDecentralisationParam ProtocolParams Rational Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Maybe Lovelaces => HasDrepDeposit ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

HasEMax ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch ProtocolParams Epoch Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Maybe Lovelaces => HasGovActionDeposit ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasKeyDeposit ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxBlockExMem ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxBlockExSteps ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxBlockHeaderSize ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxBlockSize ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxCollateralInputs ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxTxExMem ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxTxExSteps ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxTxSize ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasMaxValSize ProtocolParams Quantity Source # 
Instance details

Defined in Blockfrost.Lens

HasMinFeeA ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasMinFeeB ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasMinPoolCost ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasMinUtxo ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

HasNOpt ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasNonce ProtocolParams Text Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasPoolDeposit ProtocolParams a Source # 
Instance details

Defined in Blockfrost.Lens

HasPriceMem ProtocolParams Rational Source # 
Instance details

Defined in Blockfrost.Lens

HasPriceStep ProtocolParams Rational Source # 
Instance details

Defined in Blockfrost.Lens

HasProtocolMajorVer ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasProtocolMinorVer ProtocolParams Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasRho ProtocolParams Rational Source # 
Instance details

Defined in Blockfrost.Lens

HasTau ProtocolParams Rational Source # 
Instance details

Defined in Blockfrost.Lens

HasCommitteeMaxTermLength ProtocolParams (Maybe Quantity) Source # 
Instance details

Defined in Blockfrost.Lens

HasCommitteeMinSize ProtocolParams (Maybe Quantity) Source # 
Instance details

Defined in Blockfrost.Lens

HasDrepActivity ProtocolParams (Maybe Quantity) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtCommitteeNoConfidence ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtCommitteeNormal ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtHardForkInitiation ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtMotionNoConfidence ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtPPEconomicGroup ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtPPGovGroup ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtPPNetworkGroup ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtPPTechnicalGroup ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtTreasuryWithdrawal ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasDvtUpdateToConstitution ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasExtraEntropy ProtocolParams (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasGovActionLifetime ProtocolParams (Maybe Quantity) Source # 
Instance details

Defined in Blockfrost.Lens

HasMinFeeRefScriptCostPerByte ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasPvtCommitteeNoConfidence ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasPvtCommitteeNormal ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasPvtHardForkInitiation ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasPvtMotionNoConfidence ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

HasPvtppSecurityGroup ProtocolParams (Maybe Rational) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep ProtocolParams Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

type Rep ProtocolParams = D1 ('MetaData "ProtocolParams" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.12.0.0-47po8LqaOADFy8URMsERQB" '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 #

Instances

Instances details
FromJSON CostModels Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON CostModels Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Generic CostModels Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep CostModels :: Type -> Type #

Show CostModels Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Eq CostModels Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToSample CostModels Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

HasCostModels ProtocolParams CostModels Source # 
Instance details

Defined in Blockfrost.Lens

type Rep CostModels Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

type Rep CostModels = D1 ('MetaData "CostModels" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.12.0.0-47po8LqaOADFy8URMsERQB" 'True) (C1 ('MetaCons "CostModels" 'PrefixI 'True) (S1 ('MetaSel ('Just "unCostModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ScriptType (Map Text Integer)))))

newtype CostModelsRaw Source #

Instances

Instances details
FromJSON CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Generic CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep CostModelsRaw :: Type -> Type #

Show CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Eq CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToSample CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

HasCostModelsRaw ProtocolParams CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Lens

type Rep CostModelsRaw Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

type Rep CostModelsRaw = D1 ('MetaData "CostModelsRaw" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.12.0.0-47po8LqaOADFy8URMsERQB" '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

Instances details
FromJSON StakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON StakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Generic StakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep StakeDistribution :: Type -> Type #

Show StakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Eq StakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToSample StakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

a ~ Lovelaces => HasAmount StakeDistribution a Source # 
Instance details

Defined in Blockfrost.Lens

HasPoolId StakeDistribution PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasStakeAddress StakeDistribution Address Source # 
Instance details

Defined in Blockfrost.Lens

type Rep StakeDistribution Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

type Rep StakeDistribution = D1 ('MetaData "StakeDistribution" "Blockfrost.Types.Cardano.Epochs" "blockfrost-api-0.12.0.0-47po8LqaOADFy8URMsERQB" '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))))