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

Maestro.Types.V1.General

Description

Module to define types for "General" endpoints defined at docs.gomaestro.org.

Synopsis

Types for /system-start endpoint

data TimestampedSystemStart #

Network start time since genesis.

Instances

Instances details
Eq TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

Ord TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

Show TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

Generic TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep TimestampedSystemStartTypeType #

ToJSON TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

IsTimestamped TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

type Rep TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

type Rep TimestampedSystemStart = D1 ('MetaData "TimestampedSystemStart" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "TimestampedSystemStart" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampedSystemStartData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LocalTime) :*: S1 ('MetaSel ('Just "timestampedSystemStartLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated)))
type TimestampedData TimestampedSystemStart # 
Instance details

Defined in Maestro.Types.V1.General

Types for /era-summaries endpoint

data TimestampedEraSummaries #

Network era summaries.

Instances

Instances details
Eq TimestampedEraSummaries # 
Instance details

Defined in Maestro.Types.V1.General

Show TimestampedEraSummaries # 
Instance details

Defined in Maestro.Types.V1.General

Generic TimestampedEraSummaries # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep TimestampedEraSummariesTypeType #

ToJSON TimestampedEraSummaries # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON TimestampedEraSummaries # 
Instance details

Defined in Maestro.Types.V1.General

IsTimestamped TimestampedEraSummaries # 
Instance details

Defined in Maestro.Types.V1.General

type Rep TimestampedEraSummaries # 
Instance details

Defined in Maestro.Types.V1.General

type Rep TimestampedEraSummaries = D1 ('MetaData "TimestampedEraSummaries" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "TimestampedEraSummaries" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampedEraSummariesData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [EraSummary]) :*: S1 ('MetaSel ('Just "timestampedEraSummariesLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated)))
type TimestampedData TimestampedEraSummaries # 
Instance details

Defined in Maestro.Types.V1.General

data EraSummary #

Network era summary.

Constructors

EraSummary 

Fields

Instances

Instances details
Eq EraSummary # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)EraSummaryEraSummaryBool #

(/=)EraSummaryEraSummaryBool #

Show EraSummary # 
Instance details

Defined in Maestro.Types.V1.General

Generic EraSummary # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep EraSummaryTypeType #

ToJSON EraSummary # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONEraSummary → Value

toEncodingEraSummary → Encoding

toJSONList ∷ [EraSummary] → Value

toEncodingList ∷ [EraSummary] → Encoding

omitFieldEraSummaryBool

FromJSON EraSummary # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser EraSummary

parseJSONList ∷ Value → Parser [EraSummary]

omittedFieldMaybe EraSummary

type Rep EraSummary # 
Instance details

Defined in Maestro.Types.V1.General

type Rep EraSummary = D1 ('MetaData "EraSummary" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "EraSummary" 'PrefixI 'True) (S1 ('MetaSel ('Just "eraSummaryStart") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EraBound) :*: (S1 ('MetaSel ('Just "eraSummaryEnd") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe EraBound)) :*: S1 ('MetaSel ('Just "eraSummaryParameters") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EraParameters))))

data EraParameters #

Parameters for a network era which can vary between hardforks.

Constructors

EraParameters 

Fields

Instances

Instances details
Eq EraParameters # 
Instance details

Defined in Maestro.Types.V1.General

Show EraParameters # 
Instance details

Defined in Maestro.Types.V1.General

Generic EraParameters # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep EraParametersTypeType #

ToJSON EraParameters # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONEraParameters → Value

toEncodingEraParameters → Encoding

toJSONList ∷ [EraParameters] → Value

toEncodingList ∷ [EraParameters] → Encoding

omitFieldEraParametersBool

FromJSON EraParameters # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser EraParameters

parseJSONList ∷ Value → Parser [EraParameters]

omittedFieldMaybe EraParameters

type Rep EraParameters # 
Instance details

Defined in Maestro.Types.V1.General

type Rep EraParameters = D1 ('MetaData "EraParameters" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "EraParameters" 'PrefixI 'True) (S1 ('MetaSel ('Just "eraParametersEpochLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochSize) :*: (S1 ('MetaSel ('Just "eraParametersSlotLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochSlotLength) :*: S1 ('MetaSel ('Just "eraParametersSafeZone") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Word64)))))

data EraBound #

Bounds of an era.

Constructors

EraBound 

Fields

Instances

Instances details
Eq EraBound # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)EraBoundEraBoundBool #

(/=)EraBoundEraBoundBool #

Show EraBound # 
Instance details

Defined in Maestro.Types.V1.General

Methods

showsPrecIntEraBoundShowS #

showEraBoundString #

showList ∷ [EraBound] → ShowS #

Generic EraBound # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep EraBoundTypeType #

Methods

fromEraBoundRep EraBound x #

toRep EraBound x → EraBound #

ToJSON EraBound # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONEraBound → Value

toEncodingEraBound → Encoding

toJSONList ∷ [EraBound] → Value

toEncodingList ∷ [EraBound] → Encoding

omitFieldEraBoundBool

FromJSON EraBound # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser EraBound

parseJSONList ∷ Value → Parser [EraBound]

omittedFieldMaybe EraBound

type Rep EraBound # 
Instance details

Defined in Maestro.Types.V1.General

type Rep EraBound = D1 ('MetaData "EraBound" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "EraBound" 'PrefixI 'True) (S1 ('MetaSel ('Just "eraBoundEpoch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo) :*: (S1 ('MetaSel ('Just "eraBoundSlot") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo) :*: S1 ('MetaSel ('Just "eraBoundTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EraBoundTime))))

newtype EraBoundTime #

Constructors

EraBoundTime 

Fields

Instances

Instances details
Eq EraBoundTime # 
Instance details

Defined in Maestro.Types.V1.General

Show EraBoundTime # 
Instance details

Defined in Maestro.Types.V1.General

Generic EraBoundTime # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep EraBoundTimeTypeType #

ToJSON EraBoundTime # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONEraBoundTime → Value

toEncodingEraBoundTime → Encoding

toJSONList ∷ [EraBoundTime] → Value

toEncodingList ∷ [EraBoundTime] → Encoding

omitFieldEraBoundTimeBool

FromJSON EraBoundTime # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser EraBoundTime

parseJSONList ∷ Value → Parser [EraBoundTime]

omittedFieldMaybe EraBoundTime

type Rep EraBoundTime # 
Instance details

Defined in Maestro.Types.V1.General

type Rep EraBoundTime = D1 ('MetaData "EraBoundTime" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'True) (C1 ('MetaCons "EraBoundTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "eraBoundTimeSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NominalDiffTime)))

newtype EpochSlotLength #

Instances

Instances details
Eq EpochSlotLength # 
Instance details

Defined in Maestro.Types.V1.General

Show EpochSlotLength # 
Instance details

Defined in Maestro.Types.V1.General

Generic EpochSlotLength # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep EpochSlotLengthTypeType #

ToJSON EpochSlotLength # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONEpochSlotLength → Value

toEncodingEpochSlotLength → Encoding

toJSONList ∷ [EpochSlotLength] → Value

toEncodingList ∷ [EpochSlotLength] → Encoding

omitFieldEpochSlotLengthBool

FromJSON EpochSlotLength # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser EpochSlotLength

parseJSONList ∷ Value → Parser [EpochSlotLength]

omittedFieldMaybe EpochSlotLength

type Rep EpochSlotLength # 
Instance details

Defined in Maestro.Types.V1.General

type Rep EpochSlotLength = D1 ('MetaData "EpochSlotLength" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'True) (C1 ('MetaCons "EpochSlotLength" 'PrefixI 'True) (S1 ('MetaSel ('Just "epochSlotLengthMilliseconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NominalDiffTime)))

Types for /protocol-parameters endpoint

newtype AsAda #

Represents lovelaces.

Constructors

AsAda 

Instances

Instances details
Eq AsAda # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)AsAdaAsAdaBool #

(/=)AsAdaAsAdaBool #

Show AsAda # 
Instance details

Defined in Maestro.Types.V1.General

Methods

showsPrecIntAsAdaShowS #

showAsAdaString #

showList ∷ [AsAda] → ShowS #

Generic AsAda # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep AsAdaTypeType #

Methods

fromAsAdaRep AsAda x #

toRep AsAda x → AsAda #

ToJSON AsAda # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONAsAda → Value

toEncodingAsAda → Encoding

toJSONList ∷ [AsAda] → Value

toEncodingList ∷ [AsAda] → Encoding

omitFieldAsAdaBool

FromJSON AsAda # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser AsAda

parseJSONList ∷ Value → Parser [AsAda]

omittedFieldMaybe AsAda

type Rep AsAda # 
Instance details

Defined in Maestro.Types.V1.General

type Rep AsAda = D1 ('MetaData "AsAda" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'True) (C1 ('MetaCons "AsAda" 'PrefixI 'True) (S1 ('MetaSel ('Just "asAdaAda") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AsLovelace)))

newtype AsLovelace #

Lovelaces.

Constructors

AsLovelace 

Fields

Instances

Instances details
Eq AsLovelace # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)AsLovelaceAsLovelaceBool #

(/=)AsLovelaceAsLovelaceBool #

Show AsLovelace # 
Instance details

Defined in Maestro.Types.V1.General

Generic AsLovelace # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep AsLovelaceTypeType #

ToJSON AsLovelace # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONAsLovelace → Value

toEncodingAsLovelace → Encoding

toJSONList ∷ [AsLovelace] → Value

toEncodingList ∷ [AsLovelace] → Encoding

omitFieldAsLovelaceBool

FromJSON AsLovelace # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser AsLovelace

parseJSONList ∷ Value → Parser [AsLovelace]

omittedFieldMaybe AsLovelace

type Rep AsLovelace # 
Instance details

Defined in Maestro.Types.V1.General

type Rep AsLovelace = D1 ('MetaData "AsLovelace" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'True) (C1 ('MetaCons "AsLovelace" 'PrefixI 'True) (S1 ('MetaSel ('Just "asLovelaceLovelace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))

newtype AsBytes #

Number of bytes.

Constructors

AsBytes 

Fields

Instances

Instances details
Eq AsBytes # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)AsBytesAsBytesBool #

(/=)AsBytesAsBytesBool #

Show AsBytes # 
Instance details

Defined in Maestro.Types.V1.General

Methods

showsPrecIntAsBytesShowS #

showAsBytesString #

showList ∷ [AsBytes] → ShowS #

Generic AsBytes # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep AsBytesTypeType #

Methods

fromAsBytesRep AsBytes x #

toRep AsBytes x → AsBytes #

ToJSON AsBytes # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONAsBytes → Value

toEncodingAsBytes → Encoding

toJSONList ∷ [AsBytes] → Value

toEncodingList ∷ [AsBytes] → Encoding

omitFieldAsBytesBool

FromJSON AsBytes # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser AsBytes

parseJSONList ∷ Value → Parser [AsBytes]

omittedFieldMaybe AsBytes

type Rep AsBytes # 
Instance details

Defined in Maestro.Types.V1.General

type Rep AsBytes = D1 ('MetaData "AsBytes" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'True) (C1 ('MetaCons "AsBytes" 'PrefixI 'True) (S1 ('MetaSel ('Just "asBytesBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))

data ProtocolVersion #

Current accepted protocol version. An increase in the major version indicates a hard fork, and the minor version a soft fork (meaning old software can validate but not produce new blocks).

Constructors

ProtocolVersion 

Fields

Instances

Instances details
Eq ProtocolVersion # 
Instance details

Defined in Maestro.Types.V1.General

Show ProtocolVersion # 
Instance details

Defined in Maestro.Types.V1.General

Generic ProtocolVersion # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ProtocolVersionTypeType #

ToJSON ProtocolVersion # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONProtocolVersion → Value

toEncodingProtocolVersion → Encoding

toJSONList ∷ [ProtocolVersion] → Value

toEncodingList ∷ [ProtocolVersion] → Encoding

omitFieldProtocolVersionBool

FromJSON ProtocolVersion # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser ProtocolVersion

parseJSONList ∷ Value → Parser [ProtocolVersion]

omittedFieldMaybe ProtocolVersion

type Rep ProtocolVersion # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ProtocolVersion = D1 ('MetaData "ProtocolVersion" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "ProtocolVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "protocolVersionMajor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolVersionMinor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural)))

data MemoryCpuWith i #

Pair of memory & cpu units for the given type.

Constructors

MemoryCpuWith 

Fields

Instances

Instances details
Eq i ⇒ Eq (MemoryCpuWith i) # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)MemoryCpuWith i → MemoryCpuWith i → Bool #

(/=)MemoryCpuWith i → MemoryCpuWith i → Bool #

Show i ⇒ Show (MemoryCpuWith i) # 
Instance details

Defined in Maestro.Types.V1.General

Generic (MemoryCpuWith i) # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep (MemoryCpuWith i) ∷ TypeType #

Methods

fromMemoryCpuWith i → Rep (MemoryCpuWith i) x #

toRep (MemoryCpuWith i) x → MemoryCpuWith i #

ToJSON i ⇒ ToJSON (MemoryCpuWith i) # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONMemoryCpuWith i → Value

toEncodingMemoryCpuWith i → Encoding

toJSONList ∷ [MemoryCpuWith i] → Value

toEncodingList ∷ [MemoryCpuWith i] → Encoding

omitFieldMemoryCpuWith i → Bool

FromJSON i ⇒ FromJSON (MemoryCpuWith i) # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser (MemoryCpuWith i)

parseJSONList ∷ Value → Parser [MemoryCpuWith i]

omittedFieldMaybe (MemoryCpuWith i)

type Rep (MemoryCpuWith i) # 
Instance details

Defined in Maestro.Types.V1.General

type Rep (MemoryCpuWith i) = D1 ('MetaData "MemoryCpuWith" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "MemoryCpuWith" 'PrefixI 'True) (S1 ('MetaSel ('Just "memoryCpuWithMemory") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 i) :*: S1 ('MetaSel ('Just "memoryCpuWithCpu") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 i)))

newtype CostModel #

A cost model is a vector of coefficients that are used to compute the execution units required to execute a script. Its specifics depend on specific versions of the Plutus interpreter it is used with.

Constructors

CostModel [Int64] 

Instances

Instances details
Eq CostModel # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)CostModelCostModelBool #

(/=)CostModelCostModelBool #

Show CostModel # 
Instance details

Defined in Maestro.Types.V1.General

Methods

showsPrecIntCostModelShowS #

showCostModelString #

showList ∷ [CostModel] → ShowS #

ToJSON CostModel # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONCostModel → Value

toEncodingCostModel → Encoding

toJSONList ∷ [CostModel] → Value

toEncodingList ∷ [CostModel] → Encoding

omitFieldCostModelBool

FromJSON CostModel # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser CostModel

parseJSONList ∷ Value → Parser [CostModel]

omittedFieldMaybe CostModel

data CostModels #

Cost models (see CostModel) for script languages that use them.

Instances

Instances details
Eq CostModels # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)CostModelsCostModelsBool #

(/=)CostModelsCostModelsBool #

Show CostModels # 
Instance details

Defined in Maestro.Types.V1.General

Generic CostModels # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep CostModelsTypeType #

ToJSON CostModels # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONCostModels → Value

toEncodingCostModels → Encoding

toJSONList ∷ [CostModels] → Value

toEncodingList ∷ [CostModels] → Encoding

omitFieldCostModelsBool

FromJSON CostModels # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser CostModels

parseJSONList ∷ Value → Parser [CostModels]

omittedFieldMaybe CostModels

type Rep CostModels # 
Instance details

Defined in Maestro.Types.V1.General

type Rep CostModels = D1 ('MetaData "CostModels" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "CostModels" 'PrefixI 'True) (S1 ('MetaSel ('Just "costModelsPlutusV1") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CostModel) :*: (S1 ('MetaSel ('Just "costModelsPlutusV2") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CostModel) :*: S1 ('MetaSel ('Just "costModelsPlutusV3") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CostModel))))

newtype MaestroRational #

Maestro's represents rational numbers as string with numerator and denominator demarcated by '/', example: "1/3".

Constructors

MaestroRational 

Instances

Instances details
Eq MaestroRational # 
Instance details

Defined in Maestro.Types.V1.General

Show MaestroRational # 
Instance details

Defined in Maestro.Types.V1.General

ToJSON MaestroRational # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONMaestroRational → Value

toEncodingMaestroRational → Encoding

toJSONList ∷ [MaestroRational] → Value

toEncodingList ∷ [MaestroRational] → Encoding

omitFieldMaestroRationalBool

FromJSON MaestroRational # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser MaestroRational

parseJSONList ∷ Value → Parser [MaestroRational]

omittedFieldMaybe MaestroRational

data ConstitutionalCommittee #

Instances

Instances details
Eq ConstitutionalCommittee # 
Instance details

Defined in Maestro.Types.V1.General

Show ConstitutionalCommittee # 
Instance details

Defined in Maestro.Types.V1.General

Generic ConstitutionalCommittee # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ConstitutionalCommitteeTypeType #

ToJSON ConstitutionalCommittee # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON ConstitutionalCommittee # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ConstitutionalCommittee # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ConstitutionalCommittee = D1 ('MetaData "ConstitutionalCommittee" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "ConstitutionalCommittee" 'PrefixI 'True) (S1 ('MetaSel ('Just "constitutionalCommitteeDefault") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational) :*: S1 ('MetaSel ('Just "constitutionalCommitteeStateOfNoConfidence") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational)))

data ProtocolParametersUpdateDRep #

Instances

Instances details
Eq ProtocolParametersUpdateDRep # 
Instance details

Defined in Maestro.Types.V1.General

Show ProtocolParametersUpdateDRep # 
Instance details

Defined in Maestro.Types.V1.General

Generic ProtocolParametersUpdateDRep # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ProtocolParametersUpdateDRepTypeType #

ToJSON ProtocolParametersUpdateDRep # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON ProtocolParametersUpdateDRep # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ProtocolParametersUpdateDRep # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ProtocolParametersUpdateDRep = D1 ('MetaData "ProtocolParametersUpdateDRep" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "ProtocolParametersUpdateDRep" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ppUpdateDrepEconomic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational) :*: S1 ('MetaSel ('Just "ppUpdateDrepGovernance") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational)) :*: (S1 ('MetaSel ('Just "ppUpdateDrepNetwork") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational) :*: S1 ('MetaSel ('Just "ppUpdateDrepTechnical") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational))))

data DRepVotingThresholds #

DRep voting thresholds.

Instances

Instances details
Eq DRepVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

Show DRepVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

Generic DRepVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep DRepVotingThresholdsTypeType #

ToJSON DRepVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON DRepVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

type Rep DRepVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

type Rep DRepVotingThresholds = D1 ('MetaData "DRepVotingThresholds" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "DRepVotingThresholds" 'PrefixI 'True) ((S1 ('MetaSel ('Just "drepVotingThresholdsConstitution") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational) :*: (S1 ('MetaSel ('Just "drepVotingThresholdsConstitutionalCommittee") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ConstitutionalCommittee) :*: S1 ('MetaSel ('Just "drepVotingThresholdsHardForkInitiation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational))) :*: (S1 ('MetaSel ('Just "drepVotingThresholdsNoConfidence") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational) :*: (S1 ('MetaSel ('Just "drepVotingThresholdsProtocolParametersUpdate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParametersUpdateDRep) :*: S1 ('MetaSel ('Just "drepVotingThresholdsTreasuryWithdrawals") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational)))))

newtype ProtocolParametersUpdateStakePool #

Instances

Instances details
Eq ProtocolParametersUpdateStakePool # 
Instance details

Defined in Maestro.Types.V1.General

Show ProtocolParametersUpdateStakePool # 
Instance details

Defined in Maestro.Types.V1.General

Generic ProtocolParametersUpdateStakePool # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ProtocolParametersUpdateStakePoolTypeType #

ToJSON ProtocolParametersUpdateStakePool # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON ProtocolParametersUpdateStakePool # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ProtocolParametersUpdateStakePool # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ProtocolParametersUpdateStakePool = D1 ('MetaData "ProtocolParametersUpdateStakePool" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'True) (C1 ('MetaCons "ProtocolParametersUpdateStakePool" 'PrefixI 'True) (S1 ('MetaSel ('Just "ppUpdateStakePoolSecurity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MaestroRational)))

data StakePoolVotingThresholds #

Stake pool voting thresholds.

Instances

Instances details
Eq StakePoolVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

Show StakePoolVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

Generic StakePoolVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep StakePoolVotingThresholdsTypeType #

ToJSON StakePoolVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON StakePoolVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

type Rep StakePoolVotingThresholds # 
Instance details

Defined in Maestro.Types.V1.General

type Rep StakePoolVotingThresholds = D1 ('MetaData "StakePoolVotingThresholds" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "StakePoolVotingThresholds" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stakePoolVotingThresholdsConstitutionalCommittee") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ConstitutionalCommittee) :*: S1 ('MetaSel ('Just "stakePoolVotingThresholdsHardForkInitiation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational)) :*: (S1 ('MetaSel ('Just "stakePoolVotingThresholdsNoConfidence") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational) :*: S1 ('MetaSel ('Just "stakePoolVotingThresholdsProtocolParametersUpdate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParametersUpdateStakePool))))

data MinFeeReferenceScripts #

Instances

Instances details
Eq MinFeeReferenceScripts # 
Instance details

Defined in Maestro.Types.V1.General

Show MinFeeReferenceScripts # 
Instance details

Defined in Maestro.Types.V1.General

Generic MinFeeReferenceScripts # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep MinFeeReferenceScriptsTypeType #

ToJSON MinFeeReferenceScripts # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON MinFeeReferenceScripts # 
Instance details

Defined in Maestro.Types.V1.General

type Rep MinFeeReferenceScripts # 
Instance details

Defined in Maestro.Types.V1.General

type Rep MinFeeReferenceScripts = D1 ('MetaData "MinFeeReferenceScripts" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "MinFeeReferenceScripts" 'PrefixI 'True) (S1 ('MetaSel ('Just "minFeeReferenceScriptsBase") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Rational) :*: (S1 ('MetaSel ('Just "minFeeReferenceScriptsMultiplier") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Rational) :*: S1 ('MetaSel ('Just "minFeeReferenceScriptsRange") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural))))

data TimestampedProtocolParameters #

Timestamped ProtocolParameters response.

Instances

Instances details
Eq TimestampedProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

Show TimestampedProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

Generic TimestampedProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep TimestampedProtocolParametersTypeType #

ToJSON TimestampedProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON TimestampedProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

IsTimestamped TimestampedProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

type Rep TimestampedProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

type Rep TimestampedProtocolParameters = D1 ('MetaData "TimestampedProtocolParameters" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "TimestampedProtocolParameters" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampedProtocolParametersData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolParameters) :*: S1 ('MetaSel ('Just "timestampedProtocolParametersLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated)))
type TimestampedData TimestampedProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

data ProtocolParameters #

Protocol parameters for the latest epoch.

Constructors

ProtocolParameters 

Fields

Instances

Instances details
Eq ProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

Show ProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

Generic ProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ProtocolParametersTypeType #

ToJSON ProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON ProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ProtocolParameters # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ProtocolParameters = D1 ('MetaData "ProtocolParameters" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "ProtocolParameters" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "protocolParametersCollateralPercentage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParametersConstitutionalCommitteeMaxTermLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "protocolParametersConstitutionalCommitteeMinSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParametersDelegateRepresentativeDeposit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsAda))) :*: ((S1 ('MetaSel ('Just "protocolParametersDelegateRepresentativeMaxIdleTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParametersDelegateRepresentativeVotingThresholds") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DRepVotingThresholds)) :*: (S1 ('MetaSel ('Just "protocolParametersDesiredNumberOfStakePools") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParametersGovernanceActionDeposit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsAda)))) :*: (((S1 ('MetaSel ('Just "protocolParametersGovernanceActionLifetime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "protocolParametersMaxBlockBodySize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsBytes)) :*: (S1 ('MetaSel ('Just "protocolParametersMaxBlockHeaderSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsBytes) :*: S1 ('MetaSel ('Just "protocolParametersMaxCollateralInputs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural))) :*: ((S1 ('MetaSel ('Just "protocolParametersMaxExecutionUnitsPerBlock") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MemoryCpuWith Natural)) :*: S1 ('MetaSel ('Just "protocolParametersMaxExecutionUnitsPerTransaction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MemoryCpuWith Natural))) :*: (S1 ('MetaSel ('Just "protocolParametersMaxReferenceScriptsSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsBytes) :*: S1 ('MetaSel ('Just "protocolParametersMaxTransactionSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsBytes))))) :*: ((((S1 ('MetaSel ('Just "protocolParametersMaxValueSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsBytes) :*: S1 ('MetaSel ('Just "protocolParametersMinFeeCoefficient") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "protocolParametersMinFeeConstant") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsAda) :*: S1 ('MetaSel ('Just "protocolParametersMinFeeReferenceScripts") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MinFeeReferenceScripts))) :*: ((S1 ('MetaSel ('Just "protocolParametersMinStakePoolCost") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsAda) :*: S1 ('MetaSel ('Just "protocolParametersMinUtxoDepositCoefficient") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "protocolParametersMonetaryExpansion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational) :*: S1 ('MetaSel ('Just "protocolParametersPlutusCostModels") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CostModels)))) :*: (((S1 ('MetaSel ('Just "protocolParametersScriptExecutionPrices") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (MemoryCpuWith MaestroRational)) :*: S1 ('MetaSel ('Just "protocolParametersStakeCredentialDeposit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsAda)) :*: (S1 ('MetaSel ('Just "protocolParametersStakePoolDeposit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 AsAda) :*: S1 ('MetaSel ('Just "protocolParametersStakePoolPledgeInfluence") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational))) :*: ((S1 ('MetaSel ('Just "protocolParametersStakePoolRetirementEpochBound") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo) :*: S1 ('MetaSel ('Just "protocolParametersStakePoolVotingThresholds") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 StakePoolVotingThresholds)) :*: (S1 ('MetaSel ('Just "protocolParametersTreasuryExpansion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MaestroRational) :*: S1 ('MetaSel ('Just "protocolParametersVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProtocolVersion)))))))

Types for /chain-tip endpoint

data TimestampedChainTip #

Timestamped ChainTip response.

Instances

Instances details
Eq TimestampedChainTip # 
Instance details

Defined in Maestro.Types.V1.General

Show TimestampedChainTip # 
Instance details

Defined in Maestro.Types.V1.General

Generic TimestampedChainTip # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep TimestampedChainTipTypeType #

ToJSON TimestampedChainTip # 
Instance details

Defined in Maestro.Types.V1.General

FromJSON TimestampedChainTip # 
Instance details

Defined in Maestro.Types.V1.General

IsTimestamped TimestampedChainTip # 
Instance details

Defined in Maestro.Types.V1.General

type Rep TimestampedChainTip # 
Instance details

Defined in Maestro.Types.V1.General

type Rep TimestampedChainTip = D1 ('MetaData "TimestampedChainTip" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "TimestampedChainTip" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestampedChainTipData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ChainTip) :*: S1 ('MetaSel ('Just "timestampedChainTipLastUpdated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LastUpdated)))
type TimestampedData TimestampedChainTip # 
Instance details

Defined in Maestro.Types.V1.General

data ChainTip #

Details about the most recently adopted block.

Constructors

ChainTip 

Fields

Instances

Instances details
Eq ChainTip # 
Instance details

Defined in Maestro.Types.V1.General

Methods

(==)ChainTipChainTipBool #

(/=)ChainTipChainTipBool #

Show ChainTip # 
Instance details

Defined in Maestro.Types.V1.General

Methods

showsPrecIntChainTipShowS #

showChainTipString #

showList ∷ [ChainTip] → ShowS #

Generic ChainTip # 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ChainTipTypeType #

Methods

fromChainTipRep ChainTip x #

toRep ChainTip x → ChainTip #

ToJSON ChainTip # 
Instance details

Defined in Maestro.Types.V1.General

Methods

toJSONChainTip → Value

toEncodingChainTip → Encoding

toJSONList ∷ [ChainTip] → Value

toEncodingList ∷ [ChainTip] → Encoding

omitFieldChainTipBool

FromJSON ChainTip # 
Instance details

Defined in Maestro.Types.V1.General

Methods

parseJSON ∷ Value → Parser ChainTip

parseJSONList ∷ Value → Parser [ChainTip]

omittedFieldMaybe ChainTip

type Rep ChainTip # 
Instance details

Defined in Maestro.Types.V1.General

type Rep ChainTip = D1 ('MetaData "ChainTip" "Maestro.Types.V1.General" "maestro-sdk-1.7.3-inplace" 'False) (C1 ('MetaCons "ChainTip" 'PrefixI 'True) (S1 ('MetaSel ('Just "chainTipBlockHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BlockHash) :*: (S1 ('MetaSel ('Just "chainTipSlot") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo) :*: S1 ('MetaSel ('Just "chainTipHeight") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64))))