Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Types.Cardano.Pools
Description
Cardano Pools reponses
Synopsis
- data PoolEpoch = PoolEpoch { }
-
data
PoolInfo
=
PoolInfo
{
- _poolInfoPoolId :: PoolId
- _poolInfoHex :: Text
- _poolInfoVrfKey :: Text
- _poolInfoBlocksMinted :: Integer
- _poolInfoLiveStake :: Lovelaces
- _poolInfoLiveSize :: Double
- _poolInfoLiveSaturation :: Double
- _poolInfoLiveDelegators :: Double
- _poolInfoActiveStake :: Lovelaces
- _poolInfoActiveSize :: Double
- _poolInfoDeclaredPledge :: Lovelaces
- _poolInfoLivePledge :: Lovelaces
- _poolInfoMarginCost :: Double
- _poolInfoFixedCost :: Lovelaces
- _poolInfoRewardAccount :: Address
- _poolInfoOwners :: [ Address ]
- _poolInfoRegistration :: [ Text ]
- _poolInfoRetirement :: [ Text ]
- data PoolHistory = PoolHistory { }
- data PoolMetadata = PoolMetadata { }
- data PoolRelay = PoolRelay { }
- data PoolDelegator = PoolDelegator { }
- data PoolUpdate = PoolUpdate { }
- data PoolRegistrationAction
- samplePoolRelay :: PoolRelay
Documentation
Retirement epoch for pool
Constructors
PoolEpoch | |
Fields
|
Instances
Eq PoolEpoch Source # | |
Show PoolEpoch Source # | |
Generic PoolEpoch Source # | |
ToJSON PoolEpoch Source # | |
FromJSON PoolEpoch Source # | |
ToSample PoolEpoch Source # | |
HasPoolId PoolEpoch PoolId Source # | |
HasEpoch PoolEpoch Epoch Source # | |
type Rep PoolEpoch Source # | |
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
)))
|
Detailed pool information
Constructors
PoolInfo | |
Fields
|
Instances
data PoolHistory Source #
History of a stake pool parameters over epochs
Constructors
PoolHistory | |
Fields
|
Instances
data PoolMetadata Source #
Stake pool registration metadata
Constructors
PoolMetadata | |
Fields
|
Instances
Relays of a stake pool
Constructors
PoolRelay | |
Fields
|
Instances
data PoolDelegator Source #
Stake pool delegator
Constructors
PoolDelegator | |
Fields
|
Instances
data PoolUpdate Source #
Certificate update to the stake pool
Constructors
PoolUpdate | |
Fields
|
Instances
data PoolRegistrationAction Source #
Registration action of a pool
Constructors
PoolRegistered | |
PoolDeregistered |
Instances
samplePoolRelay :: PoolRelay Source #
Example of
PoolRelay