blockfrost-api-0.4.0.1: API definitions for blockfrost.io
Safe HaskellNone
LanguageHaskell2010

Blockfrost.Types.Cardano.Pools

Description

Cardano Pools reponses

Synopsis

Documentation

data PoolEpoch Source #

Retirement epoch for pool

Constructors

PoolEpoch 

Fields

Instances

Instances details
Eq PoolEpoch Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Show PoolEpoch Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Generic PoolEpoch Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolEpoch :: Type -> Type #

ToJSON PoolEpoch Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolEpoch Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToSample PoolEpoch Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

HasPoolId PoolEpoch PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasEpoch PoolEpoch Epoch Source # 
Instance details

Defined in Blockfrost.Lens

type Rep PoolEpoch Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolEpoch = D1 ('MetaData "PoolEpoch" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "PoolEpoch" 'PrefixI 'True) (S1 ('MetaSel ('Just "_poolEpochPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolId) :*: S1 ('MetaSel ('Just "_poolEpochEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch)))

data PoolInfo Source #

Detailed pool information

Constructors

PoolInfo 

Fields

Instances

Instances details
Eq PoolInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Show PoolInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Generic PoolInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolInfo :: Type -> Type #

Methods

from :: PoolInfo -> Rep PoolInfo x #

to :: Rep PoolInfo x -> PoolInfo #

ToJSON PoolInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToSample PoolInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

HasPoolId PoolInfo PoolId Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasActiveStake PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasVrfKey PoolInfo Text Source # 
Instance details

Defined in Blockfrost.Lens

HasRewardAccount PoolInfo Address Source # 
Instance details

Defined in Blockfrost.Lens

HasMarginCost PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasLiveStake PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasLiveSize PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

HasLiveSaturation PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasLivePledge PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasLiveDelegators PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

HasHex PoolInfo Text Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasFixedCost PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasDeclaredPledge PoolInfo a Source # 
Instance details

Defined in Blockfrost.Lens

HasBlocksMinted PoolInfo Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveSize PoolInfo Double Source # 
Instance details

Defined in Blockfrost.Lens

HasRetirement PoolInfo [Text] Source # 
Instance details

Defined in Blockfrost.Lens

HasRegistration PoolInfo [Text] Source # 
Instance details

Defined in Blockfrost.Lens

HasOwners PoolInfo [Address] Source # 
Instance details

Defined in Blockfrost.Lens

type Rep PoolInfo Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolInfo = D1 ('MetaData "PoolInfo" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "PoolInfo" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "_poolInfoPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolId) :*: S1 ('MetaSel ('Just "_poolInfoHex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_poolInfoVrfKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_poolInfoBlocksMinted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) :*: ((S1 ('MetaSel ('Just "_poolInfoLiveStake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_poolInfoLiveSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "_poolInfoLiveSaturation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Just "_poolInfoLiveDelegators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_poolInfoActiveStake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces))))) :*: (((S1 ('MetaSel ('Just "_poolInfoActiveSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_poolInfoDeclaredPledge") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)) :*: (S1 ('MetaSel ('Just "_poolInfoLivePledge") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_poolInfoMarginCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double))) :*: ((S1 ('MetaSel ('Just "_poolInfoFixedCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_poolInfoRewardAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address)) :*: (S1 ('MetaSel ('Just "_poolInfoOwners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Address]) :*: (S1 ('MetaSel ('Just "_poolInfoRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_poolInfoRetirement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))))))

data PoolHistory Source #

History of a stake pool parameters over epochs

Constructors

PoolHistory 

Fields

Instances

Instances details
Eq PoolHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Show PoolHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Generic PoolHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolHistory :: Type -> Type #

ToJSON PoolHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToSample PoolHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

HasEpoch PoolHistory Epoch Source # 
Instance details

Defined in Blockfrost.Lens

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

Defined in Blockfrost.Lens

a ~ Lovelaces => HasActiveStake PoolHistory a Source # 
Instance details

Defined in Blockfrost.Lens

HasActiveSize PoolHistory Double Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasRewards PoolHistory a Source # 
Instance details

Defined in Blockfrost.Lens

HasDelegatorsCount PoolHistory Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasBlocks PoolHistory Integer Source # 
Instance details

Defined in Blockfrost.Lens

type Rep PoolHistory Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolHistory = D1 ('MetaData "PoolHistory" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "PoolHistory" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_poolHistoryEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch) :*: (S1 ('MetaSel ('Just "_poolHistoryBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_poolHistoryActiveStake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces))) :*: ((S1 ('MetaSel ('Just "_poolHistoryActiveSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_poolHistoryDelegatorsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_poolHistoryRewards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces) :*: S1 ('MetaSel ('Just "_poolHistoryFees") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)))))

data PoolMetadata Source #

Stake pool registration metadata

Constructors

PoolMetadata 

Fields

Instances

Instances details
Eq PoolMetadata Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Show PoolMetadata Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Generic PoolMetadata Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolMetadata :: Type -> Type #

ToJSON PoolMetadata Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolMetadata Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToSample PoolMetadata Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

HasPoolId PoolMetadata PoolId Source # 
Instance details

Defined in Blockfrost.Lens

HasHex PoolMetadata Text Source # 
Instance details

Defined in Blockfrost.Lens

HasUrl PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasName PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasTicker PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasDescription PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasHash PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasHomepage PoolMetadata (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

ToJSON (Maybe PoolMetadata) Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON (Maybe PoolMetadata) Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolMetadata Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolMetadata = D1 ('MetaData "PoolMetadata" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "PoolMetadata" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_poolMetadataPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolId) :*: S1 ('MetaSel ('Just "_poolMetadataHex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_poolMetadataUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_poolMetadataHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "_poolMetadataTicker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_poolMetadataName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_poolMetadataDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_poolMetadataHomepage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))

data PoolRelay Source #

Relays of a stake pool

Constructors

PoolRelay 

Fields

Instances

Instances details
Eq PoolRelay Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Show PoolRelay Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Generic PoolRelay Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolRelay :: Type -> Type #

ToJSON PoolRelay Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolRelay Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToSample PoolRelay Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

HasPort PoolRelay Integer Source # 
Instance details

Defined in Blockfrost.Lens

HasIpv6 PoolRelay (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasIpv4 PoolRelay (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasDnsSrv PoolRelay (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasDns PoolRelay (Maybe Text) Source # 
Instance details

Defined in Blockfrost.Lens

HasRelays TransactionPoolUpdate [PoolRelay] Source # 
Instance details

Defined in Blockfrost.Lens

type Rep PoolRelay Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolRelay = D1 ('MetaData "PoolRelay" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "PoolRelay" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_poolRelayIpv4") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_poolRelayIpv6") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_poolRelayDns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_poolRelayDnsSrv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_poolRelayPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))))

data PoolDelegator Source #

Stake pool delegator

Constructors

PoolDelegator 

Fields

Instances

Instances details
Eq PoolDelegator Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Show PoolDelegator Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Generic PoolDelegator Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolDelegator :: Type -> Type #

ToJSON PoolDelegator Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolDelegator Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToSample PoolDelegator Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

HasAddress PoolDelegator Text Source # 
Instance details

Defined in Blockfrost.Lens

a ~ Lovelaces => HasLiveStake PoolDelegator a Source # 
Instance details

Defined in Blockfrost.Lens

type Rep PoolDelegator Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolDelegator = D1 ('MetaData "PoolDelegator" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "PoolDelegator" 'PrefixI 'True) (S1 ('MetaSel ('Just "_poolDelegatorAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_poolDelegatorLiveStake") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)))

data PoolUpdate Source #

Certificate update to the stake pool

Constructors

PoolUpdate 

Fields

Instances

Instances details
Eq PoolUpdate Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Show PoolUpdate Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Generic PoolUpdate Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolUpdate :: Type -> Type #

ToJSON PoolUpdate Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolUpdate Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToSample PoolUpdate Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

HasTxHash PoolUpdate TxHash Source # 
Instance details

Defined in Blockfrost.Lens

HasAction PoolUpdate PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Lens

HasCertIndex PoolUpdate Integer Source # 
Instance details

Defined in Blockfrost.Lens

type Rep PoolUpdate Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolUpdate = D1 ('MetaData "PoolUpdate" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "PoolUpdate" 'PrefixI 'True) (S1 ('MetaSel ('Just "_poolUpdateTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: (S1 ('MetaSel ('Just "_poolUpdateCertIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "_poolUpdateAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolRegistrationAction))))

data PoolRegistrationAction Source #

Registration action of a pool

Instances

Instances details
Eq PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Show PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Generic PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolRegistrationAction :: Type -> Type #

ToJSON PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToSample PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

HasAction PoolUpdate PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Lens

type Rep PoolRegistrationAction Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

type Rep PoolRegistrationAction = D1 ('MetaData "PoolRegistrationAction" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "PoolRegistered" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PoolDeregistered" 'PrefixI 'False) (U1 :: Type -> Type))