blockfrost-api-0.4.0.1: API definitions for blockfrost.io
Safe Haskell None
Language Haskell2010

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

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-A9W5au7R2kOUA8M8hTMe9" ' 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

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

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-A9W5au7R2kOUA8M8hTMe9" ' 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

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

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

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

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

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

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

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-A9W5au7R2kOUA8M8hTMe9" ' 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

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

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

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-A9W5au7R2kOUA8M8hTMe9" ' False ) ( C1 (' MetaCons "PoolRegistered" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "PoolDeregistered" ' PrefixI ' False ) ( U1 :: Type -> Type ))