| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Cardano.Pools
Description
Cardano Pools reponses
Synopsis
- data Pool = Pool {}
- data PoolEpoch = PoolEpoch {}
- data PoolInfo = PoolInfo {
- _poolInfoPoolId :: PoolId
- _poolInfoHex :: Text
- _poolInfoVrfKey :: Text
- _poolInfoBlocksMinted :: Integer
- _poolInfoBlocksEpoch :: Integer
- _poolInfoLiveStake :: Lovelaces
- _poolInfoLiveSize :: Double
- _poolInfoLiveSaturation :: Double
- _poolInfoLiveDelegators :: Double
- _poolInfoActiveStake :: Lovelaces
- _poolInfoActiveSize :: Double
- _poolInfoDeclaredPledge :: Lovelaces
- _poolInfoLivePledge :: Lovelaces
- _poolInfoMarginCost :: Rational
- _poolInfoFixedCost :: Lovelaces
- _poolInfoRewardAccount :: Address
- _poolInfoOwners :: [Address]
- _poolInfoRegistration :: [Text]
- _poolInfoRetirement :: [Text]
- data PoolHistory = PoolHistory {}
- data PoolMetadata = PoolMetadata {}
- newtype PoolMetadataResponse = PoolMetadataResponse {}
- data PoolRelay = PoolRelay {}
- data PoolDelegator = PoolDelegator {}
- data PoolUpdate = PoolUpdate {}
- data PoolRegistrationAction
- samplePoolRelay :: PoolRelay
Documentation
Extended pool info
Constructors
| Pool | |
Fields
| |
Instances
Retirement epoch for pool
Constructors
| PoolEpoch | |
Fields
| |
Instances
| FromJSON PoolEpoch Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToJSON PoolEpoch Source # | |||||
| Generic PoolEpoch Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
| |||||
| Show PoolEpoch Source # | |||||
| Eq PoolEpoch Source # | |||||
| ToSample PoolEpoch Source # | |||||
| HasEpoch PoolEpoch Epoch Source # | |||||
| HasPoolId PoolEpoch PoolId Source # | |||||
| type Rep PoolEpoch Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolEpoch = D1 ('MetaData "PoolEpoch" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "PoolEpoch" 'PrefixI 'True) (S1 ('MetaSel ('Just "_poolEpochPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PoolId) :*: S1 ('MetaSel ('Just "_poolEpochEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Epoch))) | |||||
Detailed pool information
Constructors
| PoolInfo | |
Fields
| |
Instances
| FromJSON PoolInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToJSON PoolInfo Source # | |||||
| Generic PoolInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
| |||||
| Show PoolInfo Source # | |||||
| Eq PoolInfo Source # | |||||
| ToSample PoolInfo Source # | |||||
| HasActiveSize PoolInfo Double Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Lovelaces => HasActiveStake PoolInfo a Source # | |||||
Defined in Blockfrost.Lens Methods activeStake :: Lens' PoolInfo a Source # | |||||
| HasBlocksEpoch PoolInfo Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasBlocksMinted PoolInfo Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Lovelaces => HasDeclaredPledge PoolInfo a Source # | |||||
Defined in Blockfrost.Lens Methods declaredPledge :: Lens' PoolInfo a Source # | |||||
| a ~ Lovelaces => HasFixedCost PoolInfo a Source # | |||||
| HasHex PoolInfo Text Source # | |||||
| HasLiveDelegators PoolInfo Double Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Lovelaces => HasLivePledge PoolInfo a Source # | |||||
Defined in Blockfrost.Lens Methods livePledge :: Lens' PoolInfo a Source # | |||||
| HasLiveSaturation PoolInfo Double Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasLiveSize PoolInfo Double Source # | |||||
| a ~ Lovelaces => HasLiveStake PoolInfo a Source # | |||||
| HasMarginCost PoolInfo Rational Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasPoolId PoolInfo PoolId Source # | |||||
| HasRewardAccount PoolInfo Address Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasVrfKey PoolInfo Text Source # | |||||
| HasOwners PoolInfo [Address] Source # | |||||
| HasRegistration PoolInfo [Text] Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasRetirement PoolInfo [Text] Source # | |||||
Defined in Blockfrost.Lens | |||||
| type Rep PoolInfo Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolInfo = D1 ('MetaData "PoolInfo" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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 "_poolInfoBlocksEpoch") '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 Rational)))) :*: ((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
| FromJSON PoolHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToJSON PoolHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toJSON :: PoolHistory -> Value # toEncoding :: PoolHistory -> Encoding # toJSONList :: [PoolHistory] -> Value # toEncodingList :: [PoolHistory] -> Encoding # omitField :: PoolHistory -> Bool # | |||||
| Generic PoolHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
| |||||
| Show PoolHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods showsPrec :: Int -> PoolHistory -> ShowS # show :: PoolHistory -> String # showList :: [PoolHistory] -> ShowS # | |||||
| Eq PoolHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToSample PoolHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toSamples :: Proxy PoolHistory -> [(Text, PoolHistory)] # | |||||
| HasActiveSize PoolHistory Double Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| a ~ Lovelaces => HasActiveStake PoolHistory a Source # | |||||
Defined in Blockfrost.Lens Methods activeStake :: Lens' PoolHistory a Source # | |||||
| HasBlocks PoolHistory Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasDelegatorsCount PoolHistory Integer Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasEpoch PoolHistory Epoch Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Lovelaces => HasFees PoolHistory a Source # | |||||
Defined in Blockfrost.Lens Methods fees :: Lens' PoolHistory a Source # | |||||
| a ~ Lovelaces => HasRewards PoolHistory a Source # | |||||
Defined in Blockfrost.Lens Methods rewards :: Lens' PoolHistory a Source # | |||||
| type Rep PoolHistory Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolHistory = D1 ('MetaData "PoolHistory" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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
| FromJSON PoolMetadata Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToJSON PoolMetadata Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toJSON :: PoolMetadata -> Value # toEncoding :: PoolMetadata -> Encoding # toJSONList :: [PoolMetadata] -> Value # toEncodingList :: [PoolMetadata] -> Encoding # omitField :: PoolMetadata -> Bool # | |||||
| Generic PoolMetadata Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
| |||||
| Show PoolMetadata Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods showsPrec :: Int -> PoolMetadata -> ShowS # show :: PoolMetadata -> String # showList :: [PoolMetadata] -> ShowS # | |||||
| Eq PoolMetadata Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToSample PoolMetadata Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toSamples :: Proxy PoolMetadata -> [(Text, PoolMetadata)] # | |||||
| HasHex PoolMetadata Text Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasPoolId PoolMetadata PoolId Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasDescription PoolMetadata (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens Methods description :: Lens' PoolMetadata (Maybe Text) Source # | |||||
| HasHash PoolMetadata (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasHomepage PoolMetadata (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasName PoolMetadata (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasTicker PoolMetadata (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasUrl PoolMetadata (Maybe Text) Source # | |||||
Defined in Blockfrost.Lens | |||||
| type Rep PoolMetadata Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolMetadata = D1 ('MetaData "PoolMetadata" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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)))))) | |||||
newtype PoolMetadataResponse Source #
Actual response about stake pool metadata.
Constructors
| PoolMetadataResponse | |
Fields | |
Instances
| FromJSON PoolMetadataResponse Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods parseJSON :: Value -> Parser PoolMetadataResponse # parseJSONList :: Value -> Parser [PoolMetadataResponse] # | |||||
| ToJSON PoolMetadataResponse Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toJSON :: PoolMetadataResponse -> Value # toEncoding :: PoolMetadataResponse -> Encoding # toJSONList :: [PoolMetadataResponse] -> Value # toEncodingList :: [PoolMetadataResponse] -> Encoding # omitField :: PoolMetadataResponse -> Bool # | |||||
| Generic PoolMetadataResponse Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
Methods from :: PoolMetadataResponse -> Rep PoolMetadataResponse x # to :: Rep PoolMetadataResponse x -> PoolMetadataResponse # | |||||
| Show PoolMetadataResponse Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods showsPrec :: Int -> PoolMetadataResponse -> ShowS # show :: PoolMetadataResponse -> String # showList :: [PoolMetadataResponse] -> ShowS # | |||||
| Eq PoolMetadataResponse Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods (==) :: PoolMetadataResponse -> PoolMetadataResponse -> Bool # (/=) :: PoolMetadataResponse -> PoolMetadataResponse -> Bool # | |||||
| type Rep PoolMetadataResponse Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolMetadataResponse = D1 ('MetaData "PoolMetadataResponse" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "PoolMetadataResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "getMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PoolMetadata)))) | |||||
Relays of a stake pool
Constructors
| PoolRelay | |
Fields
| |
Instances
| FromJSON PoolRelay Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToJSON PoolRelay Source # | |||||
| Generic PoolRelay Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
| |||||
| Show PoolRelay Source # | |||||
| Eq PoolRelay Source # | |||||
| ToSample PoolRelay Source # | |||||
| HasPort PoolRelay Integer Source # | |||||
| HasDns PoolRelay (Maybe Text) Source # | |||||
| HasDnsSrv PoolRelay (Maybe Text) Source # | |||||
| HasIpv4 PoolRelay (Maybe Text) Source # | |||||
| HasIpv6 PoolRelay (Maybe Text) Source # | |||||
| HasRelays TransactionPoolUpdate [PoolRelay] Source # | |||||
Defined in Blockfrost.Lens | |||||
| type Rep PoolRelay Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolRelay = D1 ('MetaData "PoolRelay" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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
| FromJSON PoolDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods parseJSON :: Value -> Parser PoolDelegator # parseJSONList :: Value -> Parser [PoolDelegator] # | |||||
| ToJSON PoolDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toJSON :: PoolDelegator -> Value # toEncoding :: PoolDelegator -> Encoding # toJSONList :: [PoolDelegator] -> Value # toEncodingList :: [PoolDelegator] -> Encoding # omitField :: PoolDelegator -> Bool # | |||||
| Generic PoolDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
| |||||
| Show PoolDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods showsPrec :: Int -> PoolDelegator -> ShowS # show :: PoolDelegator -> String # showList :: [PoolDelegator] -> ShowS # | |||||
| Eq PoolDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods (==) :: PoolDelegator -> PoolDelegator -> Bool # (/=) :: PoolDelegator -> PoolDelegator -> Bool # | |||||
| ToSample PoolDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toSamples :: Proxy PoolDelegator -> [(Text, PoolDelegator)] # | |||||
| HasAddress PoolDelegator Text Source # | |||||
Defined in Blockfrost.Lens | |||||
| a ~ Lovelaces => HasLiveStake PoolDelegator a Source # | |||||
Defined in Blockfrost.Lens Methods liveStake :: Lens' PoolDelegator a Source # | |||||
| type Rep PoolDelegator Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolDelegator = D1 ('MetaData "PoolDelegator" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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
| FromJSON PoolUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToJSON PoolUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toJSON :: PoolUpdate -> Value # toEncoding :: PoolUpdate -> Encoding # toJSONList :: [PoolUpdate] -> Value # toEncodingList :: [PoolUpdate] -> Encoding # omitField :: PoolUpdate -> Bool # | |||||
| Generic PoolUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
| |||||
| Show PoolUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods showsPrec :: Int -> PoolUpdate -> ShowS # show :: PoolUpdate -> String # showList :: [PoolUpdate] -> ShowS # | |||||
| Eq PoolUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools | |||||
| ToSample PoolUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toSamples :: Proxy PoolUpdate -> [(Text, PoolUpdate)] # | |||||
| HasAction PoolUpdate PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| HasCertIndex PoolUpdate Integer Source # | |||||
Defined in Blockfrost.Lens | |||||
| HasTxHash PoolUpdate TxHash Source # | |||||
Defined in Blockfrost.Lens | |||||
| type Rep PoolUpdate Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolUpdate = D1 ('MetaData "PoolUpdate" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" '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
Constructors
| PoolRegistered | |
| PoolDeregistered |
Instances
| FromJSON PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods parseJSON :: Value -> Parser PoolRegistrationAction # parseJSONList :: Value -> Parser [PoolRegistrationAction] # | |||||
| ToJSON PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toJSON :: PoolRegistrationAction -> Value # toEncoding :: PoolRegistrationAction -> Encoding # toJSONList :: [PoolRegistrationAction] -> Value # toEncodingList :: [PoolRegistrationAction] -> Encoding # omitField :: PoolRegistrationAction -> Bool # | |||||
| Generic PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Associated Types
Methods from :: PoolRegistrationAction -> Rep PoolRegistrationAction x # to :: Rep PoolRegistrationAction x -> PoolRegistrationAction # | |||||
| Show PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods showsPrec :: Int -> PoolRegistrationAction -> ShowS # show :: PoolRegistrationAction -> String # showList :: [PoolRegistrationAction] -> ShowS # | |||||
| Eq PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods (==) :: PoolRegistrationAction -> PoolRegistrationAction -> Bool # (/=) :: PoolRegistrationAction -> PoolRegistrationAction -> Bool # | |||||
| ToSample PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools Methods toSamples :: Proxy PoolRegistrationAction -> [(Text, PoolRegistrationAction)] # | |||||
| HasAction PoolUpdate PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Lens Methods | |||||
| type Rep PoolRegistrationAction Source # | |||||
Defined in Blockfrost.Types.Cardano.Pools type Rep PoolRegistrationAction = D1 ('MetaData "PoolRegistrationAction" "Blockfrost.Types.Cardano.Pools" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "PoolRegistered" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PoolDeregistered" 'PrefixI 'False) (U1 :: Type -> Type)) | |||||
samplePoolRelay :: PoolRelay Source #
Example of PoolRelay