maestro-sdk-1.7.3: Maestro Blockchain Indexer SDK
Safe HaskellNone
LanguageHaskell2010

Maestro.Types.V1.Pools

Description

Module to define types for "Pools" category of endpoints defined at docs.gomaestro.org.

Synopsis

Documentation

data PoolListInfo #

Information about a registered stake pool.

Constructors

PoolListInfo 

Fields

Instances

Instances details
Eq PoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Ord PoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Show PoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Generic PoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Associated Types

type Rep PoolListInfoTypeType #

ToJSON PoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Methods

toJSONPoolListInfo → Value

toEncodingPoolListInfo → Encoding

toJSONList ∷ [PoolListInfo] → Value

toEncodingList ∷ [PoolListInfo] → Encoding

omitFieldPoolListInfoBool

FromJSON PoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Methods

parseJSON ∷ Value → Parser PoolListInfo

parseJSONList ∷ Value → Parser [PoolListInfo]

omittedFieldMaybe PoolListInfo

type Rep PoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

type Rep PoolListInfo = D1 ('MetaData "PoolListInfo" "Maestro.Types.V1.Pools" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "PoolListInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "poolListInfoPoolIdBech32") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Bech32StringOf PoolId)) :*: S1 ('MetaSel ('Just "poolListInfoTicker") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (TaggedText "pool-ticker")))))

data PaginatedPoolListInfo #

Paginated list of registered stake pools.

Instances

Instances details
Eq PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Ord PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Show PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Generic PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

Associated Types

type Rep PaginatedPoolListInfoTypeType #

ToJSON PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

FromJSON PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

IsTimestamped PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

HasCursor PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

type Rep PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools

type Rep PaginatedPoolListInfo = D1 ('MetaData "PaginatedPoolListInfo" "Maestro.Types.V1.Pools" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "PaginatedPoolListInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "paginatedPoolListInfoData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [PoolListInfo]) :*: (S1 ('MetaSel ('Just "paginatedPoolListInfoLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated) :*: S1 ('MetaSel ('Just "paginatedPoolListInfoNextCursor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe NextCursor)))))
type TimestampedData PaginatedPoolListInfo # 
Instance details

Defined in Maestro.Types.V1.Pools