bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Api.SerialiseJSON

Description

JSON serialisation

Documentation

class ToJSON a where #

Minimal complete definition

Nothing

Methods

toJSON ∷ a → Value #

toEncoding ∷ a → Encoding #

toJSONList ∷ [a] → Value #

toEncodingList ∷ [a] → Encoding #

Instances

Instances details
ToJSON Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONBool → Value #

toEncodingBool → Encoding #

toJSONList ∷ [Bool] → Value #

toEncodingList ∷ [Bool] → Encoding #

ToJSON Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONChar → Value #

toEncodingChar → Encoding #

toJSONList ∷ [Char] → Value #

toEncodingList ∷ [Char] → Encoding #

ToJSON Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDouble → Value #

toEncodingDouble → Encoding #

toJSONList ∷ [Double] → Value #

toEncodingList ∷ [Double] → Encoding #

ToJSON Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFloat → Value #

toEncodingFloat → Encoding #

toJSONList ∷ [Float] → Value #

toEncodingList ∷ [Float] → Encoding #

ToJSON Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt → Value #

toEncodingInt → Encoding #

toJSONList ∷ [Int] → Value #

toEncodingList ∷ [Int] → Encoding #

ToJSON Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt8 → Value #

toEncodingInt8 → Encoding #

toJSONList ∷ [Int8] → Value #

toEncodingList ∷ [Int8] → Encoding #

ToJSON Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt16 → Value #

toEncodingInt16 → Encoding #

toJSONList ∷ [Int16] → Value #

toEncodingList ∷ [Int16] → Encoding #

ToJSON Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt32 → Value #

toEncodingInt32 → Encoding #

toJSONList ∷ [Int32] → Value #

toEncodingList ∷ [Int32] → Encoding #

ToJSON Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInt64 → Value #

toEncodingInt64 → Encoding #

toJSONList ∷ [Int64] → Value #

toEncodingList ∷ [Int64] → Encoding #

ToJSON Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONInteger → Value #

toEncodingInteger → Encoding #

toJSONList ∷ [Integer] → Value #

toEncodingList ∷ [Integer] → Encoding #

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNatural → Value #

toEncodingNatural → Encoding #

toJSONList ∷ [Natural] → Value #

toEncodingList ∷ [Natural] → Encoding #

ToJSON Ordering 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONOrdering → Value #

toEncodingOrdering → Encoding #

toJSONList ∷ [Ordering] → Value #

toEncodingList ∷ [Ordering] → Encoding #

ToJSON Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord → Value #

toEncodingWord → Encoding #

toJSONList ∷ [Word] → Value #

toEncodingList ∷ [Word] → Encoding #

ToJSON Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord8 → Value #

toEncodingWord8 → Encoding #

toJSONList ∷ [Word8] → Value #

toEncodingList ∷ [Word8] → Encoding #

ToJSON Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord16 → Value #

toEncodingWord16 → Encoding #

toJSONList ∷ [Word16] → Value #

toEncodingList ∷ [Word16] → Encoding #

ToJSON Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord32 → Value #

toEncodingWord32 → Encoding #

toJSONList ∷ [Word32] → Value #

toEncodingList ∷ [Word32] → Encoding #

ToJSON Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWord64 → Value #

toEncodingWord64 → Encoding #

toJSONList ∷ [Word64] → Value #

toEncodingList ∷ [Word64] → Encoding #

ToJSON () 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ () → Value #

toEncoding ∷ () → Encoding #

toJSONList ∷ [()] → Value #

toEncodingList ∷ [()] → Encoding #

ToJSON Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVersion → Value #

toEncodingVersion → Encoding #

toJSONList ∷ [Version] → Value #

toEncodingList ∷ [Version] → Encoding #

ToJSON Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVoid → Value #

toEncodingVoid → Encoding #

toJSONList ∷ [Void] → Value #

toEncodingList ∷ [Void] → Encoding #

ToJSON CTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCTime → Value #

toEncodingCTime → Encoding #

toJSONList ∷ [CTime] → Value #

toEncodingList ∷ [CTime] → Encoding #

ToJSON IntSet 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntSet → Value #

toEncodingIntSet → Encoding #

toJSONList ∷ [IntSet] → Value #

toEncodingList ∷ [IntSet] → Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONText → Value #

toEncodingText → Encoding #

toJSONList ∷ [Text] → Value #

toEncodingList ∷ [Text] → Encoding #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONText → Value #

toEncodingText → Encoding #

toJSONList ∷ [Text] → Value #

toEncodingList ∷ [Text] → Encoding #

ToJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONZonedTime → Value #

toEncodingZonedTime → Encoding #

toJSONList ∷ [ZonedTime] → Value #

toEncodingList ∷ [ZonedTime] → Encoding #

ToJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLocalTime → Value #

toEncodingLocalTime → Encoding #

toJSONList ∷ [LocalTime] → Value #

toEncodingList ∷ [LocalTime] → Encoding #

ToJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTimeOfDay → Value #

toEncodingTimeOfDay → Encoding #

toJSONList ∷ [TimeOfDay] → Value #

toEncodingList ∷ [TimeOfDay] → Encoding #

ToJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCalendarDiffTime → Value #

toEncodingCalendarDiffTime → Encoding #

toJSONList ∷ [CalendarDiffTime] → Value #

toEncodingList ∷ [CalendarDiffTime] → Encoding #

ToJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONUTCTime → Value #

toEncodingUTCTime → Encoding #

toJSONList ∷ [UTCTime] → Value #

toEncodingList ∷ [UTCTime] → Encoding #

ToJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSystemTime → Value #

toEncodingSystemTime → Encoding #

toJSONList ∷ [SystemTime] → Value #

toEncodingList ∷ [SystemTime] → Encoding #

ToJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNominalDiffTime → Value #

toEncodingNominalDiffTime → Encoding #

toJSONList ∷ [NominalDiffTime] → Value #

toEncodingList ∷ [NominalDiffTime] → Encoding #

ToJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDiffTime → Value #

toEncodingDiffTime → Encoding #

toJSONList ∷ [DiffTime] → Value #

toEncodingList ∷ [DiffTime] → Encoding #

ToJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDayOfWeek → Value #

toEncodingDayOfWeek → Encoding #

toJSONList ∷ [DayOfWeek] → Value #

toEncodingList ∷ [DayOfWeek] → Encoding #

ToJSON Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDay → Value #

toEncodingDay → Encoding #

toJSONList ∷ [Day] → Value #

toEncodingList ∷ [Day] → Encoding #

ToJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCalendarDiffDays → Value #

toEncodingCalendarDiffDays → Encoding #

toJSONList ∷ [CalendarDiffDays] → Value #

toEncodingList ∷ [CalendarDiffDays] → Encoding #

ToJSON Number 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Number → Value #

toEncoding ∷ Number → Encoding #

toJSONList ∷ [Number] → Value #

toEncodingList ∷ [Number] → Encoding #

ToJSON Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Scientific → Value #

toEncoding ∷ Scientific → Encoding #

toJSONList ∷ [Scientific] → Value #

toEncodingList ∷ [Scientific] → Encoding #

ToJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DotNetTime → Value #

toEncoding ∷ DotNetTime → Encoding #

toJSONList ∷ [DotNetTime] → Value #

toEncodingList ∷ [DotNetTime] → Encoding #

ToJSON Value 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Value → Value #

toEncoding ∷ Value → Encoding #

toJSONList ∷ [Value] → Value #

toEncodingList ∷ [Value] → Encoding #

ToJSON ByteSpan 
Instance details

Defined in Bcc.Binary.Annotated

Methods

toJSON ∷ ByteSpan → Value #

toEncoding ∷ ByteSpan → Encoding #

toJSONList ∷ [ByteSpan] → Value #

toEncodingList ∷ [ByteSpan] → Encoding #

ToJSON EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONEpochNo → Value #

toEncodingEpochNo → Encoding #

toJSONList ∷ [EpochNo] → Value #

toEncodingList ∷ [EpochNo] → Encoding #

ToJSON EpochSize 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONEpochSize → Value #

toEncodingEpochSize → Encoding #

toJSONList ∷ [EpochSize] → Value #

toEncodingList ∷ [EpochSize] → Encoding #

ToJSON SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

toJSONSlotNo → Value #

toEncodingSlotNo → Encoding #

toJSONList ∷ [SlotNo] → Value #

toEncodingList ∷ [SlotNo] → Encoding #

ToJSON UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ UUID → Value #

toEncoding ∷ UUID → Encoding #

toJSONList ∷ [UUID] → Value #

toEncodingList ∷ [UUID] → Encoding #

ToJSON NonNegativeInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ NonNegativeInterval → Value #

toEncoding ∷ NonNegativeInterval → Encoding #

toJSONList ∷ [NonNegativeInterval] → Value #

toEncodingList ∷ [NonNegativeInterval] → Encoding #

ToJSON UnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ UnitInterval → Value #

toEncoding ∷ UnitInterval → Encoding #

toJSONList ∷ [UnitInterval] → Value #

toEncodingList ∷ [UnitInterval] → Encoding #

ToJSON ProtVer 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

toJSON ∷ ProtVer → Value #

toEncoding ∷ ProtVer → Encoding #

toJSONList ∷ [ProtVer] → Value #

toEncodingList ∷ [ProtVer] → Encoding #

ToJSON AurumGenesis Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ AurumGenesis → Value #

toEncoding ∷ AurumGenesis → Encoding #

toJSONList ∷ [AurumGenesis] → Value #

toEncodingList ∷ [AurumGenesis] → Encoding #

ToJSON Coin 
Instance details

Defined in Bcc.Ledger.Coin

Methods

toJSON ∷ Coin → Value #

toEncoding ∷ Coin → Encoding #

toJSONList ∷ [Coin] → Value #

toEncodingList ∷ [Coin] → Encoding #

ToJSON Language Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Language → Value #

toEncoding ∷ Language → Encoding #

toJSONList ∷ [Language] → Value #

toEncodingList ∷ [Language] → Encoding #

ToJSON CostModel Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ CostModel → Value #

toEncoding ∷ CostModel → Encoding #

toJSONList ∷ [CostModel] → Value #

toEncodingList ∷ [CostModel] → Encoding #

ToJSON Prices Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Prices → Value #

toEncoding ∷ Prices → Encoding #

toJSONList ∷ [Prices] → Value #

toEncodingList ∷ [Prices] → Encoding #

ToJSON ExUnits Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ ExUnits → Value #

toEncoding ∷ ExUnits → Encoding #

toJSONList ∷ [ExUnits] → Value #

toEncodingList ∷ [ExUnits] → Encoding #

ToJSON AssetClass 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSON ∷ AssetClass → Value #

toEncoding ∷ AssetClass → Encoding #

toJSONList ∷ [AssetClass] → Value #

toEncodingList ∷ [AssetClass] → Encoding #

ToJSON CurrencySymbol 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSON ∷ CurrencySymbol → Value #

toEncoding ∷ CurrencySymbol → Encoding #

toJSONList ∷ [CurrencySymbol] → Value #

toEncodingList ∷ [CurrencySymbol] → Encoding #

ToJSON TokenName 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSON ∷ TokenName → Value #

toEncoding ∷ TokenName → Encoding #

toJSONList ∷ [TokenName] → Value #

toEncodingList ∷ [TokenName] → Encoding #

ToJSON Value 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSON ∷ Value → Value0 #

toEncoding ∷ Value → Encoding #

toJSONList ∷ [Value] → Value0 #

toEncodingList ∷ [Value] → Encoding #

ToJSON MintingPolicyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ MintingPolicyHash → Value #

toEncoding ∷ MintingPolicyHash → Encoding #

toJSONList ∷ [MintingPolicyHash] → Value #

toEncodingList ∷ [MintingPolicyHash] → Encoding #

ToJSON Context 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Context → Value #

toEncoding ∷ Context → Encoding #

toJSONList ∷ [Context] → Value #

toEncodingList ∷ [Context] → Encoding #

ToJSON Datum 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Datum → Value #

toEncoding ∷ Datum → Encoding #

toJSONList ∷ [Datum] → Value #

toEncodingList ∷ [Datum] → Encoding #

ToJSON DatumHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ DatumHash → Value #

toEncoding ∷ DatumHash → Encoding #

toJSONList ∷ [DatumHash] → Value #

toEncodingList ∷ [DatumHash] → Encoding #

ToJSON MintingPolicy 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ MintingPolicy → Value #

toEncoding ∷ MintingPolicy → Encoding #

toJSONList ∷ [MintingPolicy] → Value #

toEncodingList ∷ [MintingPolicy] → Encoding #

ToJSON Redeemer 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Redeemer → Value #

toEncoding ∷ Redeemer → Encoding #

toJSONList ∷ [Redeemer] → Value #

toEncodingList ∷ [Redeemer] → Encoding #

ToJSON RedeemerHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ RedeemerHash → Value #

toEncoding ∷ RedeemerHash → Encoding #

toJSONList ∷ [RedeemerHash] → Value #

toEncodingList ∷ [RedeemerHash] → Encoding #

ToJSON Script 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Script → Value #

toEncoding ∷ Script → Encoding #

toJSONList ∷ [Script] → Value #

toEncodingList ∷ [Script] → Encoding #

ToJSON ScriptError 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ ScriptError → Value #

toEncoding ∷ ScriptError → Encoding #

toJSONList ∷ [ScriptError] → Value #

toEncodingList ∷ [ScriptError] → Encoding #

ToJSON StakeValidator 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ StakeValidator → Value #

toEncoding ∷ StakeValidator → Encoding #

toJSONList ∷ [StakeValidator] → Value #

toEncodingList ∷ [StakeValidator] → Encoding #

ToJSON StakeValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ StakeValidatorHash → Value #

toEncoding ∷ StakeValidatorHash → Encoding #

toJSONList ∷ [StakeValidatorHash] → Value #

toEncodingList ∷ [StakeValidatorHash] → Encoding #

ToJSON Validator 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ Validator → Value #

toEncoding ∷ Validator → Encoding #

toJSONList ∷ [Validator] → Value #

toEncodingList ∷ [Validator] → Encoding #

ToJSON ValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSON ∷ ValidatorHash → Value #

toEncoding ∷ ValidatorHash → Encoding #

toJSONList ∷ [ValidatorHash] → Value #

toEncodingList ∷ [ValidatorHash] → Encoding #

ToJSON ExBudget 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExBudget

Methods

toJSON ∷ ExBudget → Value #

toEncoding ∷ ExBudget → Encoding #

toJSONList ∷ [ExBudget] → Value #

toEncodingList ∷ [ExBudget] → Encoding #

ToJSON AssetName Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ AssetName → Value #

toEncoding ∷ AssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON Likelihood Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Likelihood → Value #

toEncoding ∷ Likelihood → Encoding #

toJSONList ∷ [Likelihood] → Value #

toEncodingList ∷ [Likelihood] → Encoding #

ToJSON Ptr Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Ptr → Value #

toEncoding ∷ Ptr → Encoding #

toJSONList ∷ [Ptr] → Value #

toEncodingList ∷ [Ptr] → Encoding #

ToJSON Nonce 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ Nonce → Value #

toEncoding ∷ Nonce → Encoding #

toJSONList ∷ [Nonce] → Value #

toEncodingList ∷ [Nonce] → Encoding #

ToJSON Desirability 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ Desirability → Value #

toEncoding ∷ Desirability → Encoding #

toJSONList ∷ [Desirability] → Value #

toEncodingList ∷ [Desirability] → Encoding #

ToJSON StakePoolRelay 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toJSON ∷ StakePoolRelay → Value #

toEncoding ∷ StakePoolRelay → Encoding #

toJSONList ∷ [StakePoolRelay] → Value #

toEncodingList ∷ [StakePoolRelay] → Encoding #

ToJSON PoolMetadata 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toJSON ∷ PoolMetadata → Value #

toEncoding ∷ PoolMetadata → Encoding #

toJSONList ∷ [PoolMetadata] → Value #

toEncodingList ∷ [PoolMetadata] → Encoding #

ToJSON Network 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ Network → Value #

toEncoding ∷ Network → Encoding #

toJSONList ∷ [Network] → Value #

toEncodingList ∷ [Network] → Encoding #

ToJSON AnyBccEra Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

toJSONAnyBccEra → Value #

toEncodingAnyBccEra → Encoding #

toJSONList ∷ [AnyBccEra] → Value #

toEncodingList ∷ [AnyBccEra] → Encoding #

ToJSON Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Month → Value #

toEncoding ∷ Month → Encoding #

toJSONList ∷ [Month] → Value #

toEncodingList ∷ [Month] → Encoding #

ToJSON Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Quarter → Value #

toEncoding ∷ Quarter → Encoding #

toJSONList ∷ [Quarter] → Value #

toEncodingList ∷ [Quarter] → Encoding #

ToJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ QuarterOfYear → Value #

toEncoding ∷ QuarterOfYear → Encoding #

toJSONList ∷ [QuarterOfYear] → Value #

toEncodingList ∷ [QuarterOfYear] → Encoding #

ToJSON PositiveUnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ PositiveUnitInterval → Value #

toEncoding ∷ PositiveUnitInterval → Encoding #

toJSONList ∷ [PositiveUnitInterval] → Value #

toEncodingList ∷ [PositiveUnitInterval] → Encoding #

ToJSON EpochNumber 
Instance details

Defined in Bcc.Chain.Slotting.EpochNumber

Methods

toJSON ∷ EpochNumber → Value #

toEncoding ∷ EpochNumber → Encoding #

toJSONList ∷ [EpochNumber] → Value #

toEncodingList ∷ [EpochNumber] → Encoding #

ToJSON SlotNumber 
Instance details

Defined in Bcc.Chain.Slotting.SlotNumber

Methods

toJSON ∷ SlotNumber → Value #

toEncoding ∷ SlotNumber → Encoding #

toJSONList ∷ [SlotNumber] → Value #

toEncodingList ∷ [SlotNumber] → Encoding #

ToJSON RequiresNetworkMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

toJSON ∷ RequiresNetworkMagic → Value #

toEncoding ∷ RequiresNetworkMagic → Encoding #

toJSONList ∷ [RequiresNetworkMagic] → Value #

toEncodingList ∷ [RequiresNetworkMagic] → Encoding #

ToJSON ProtocolVersion 
Instance details

Defined in Bcc.Chain.Update.ProtocolVersion

Methods

toJSON ∷ ProtocolVersion → Value #

toEncoding ∷ ProtocolVersion → Encoding #

toJSONList ∷ [ProtocolVersion] → Value #

toEncodingList ∷ [ProtocolVersion] → Encoding #

ToJSON ProtocolMagicId 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

toJSON ∷ ProtocolMagicId → Value #

toEncoding ∷ ProtocolMagicId → Encoding #

toJSONList ∷ [ProtocolMagicId] → Value #

toEncodingList ∷ [ProtocolMagicId] → Encoding #

ToJSON SoftwareVersion 
Instance details

Defined in Bcc.Chain.Update.SoftwareVersion

Methods

toJSON ∷ SoftwareVersion → Value #

toEncoding ∷ SoftwareVersion → Encoding #

toJSONList ∷ [SoftwareVersion] → Value #

toEncodingList ∷ [SoftwareVersion] → Encoding #

ToJSON VerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.VerificationKey

Methods

toJSON ∷ VerificationKey → Value #

toEncoding ∷ VerificationKey → Encoding #

toJSONList ∷ [VerificationKey] → Value #

toEncodingList ∷ [VerificationKey] → Encoding #

ToJSON GenesisHash 
Instance details

Defined in Bcc.Chain.Genesis.Hash

Methods

toJSON ∷ GenesisHash → Value #

toEncoding ∷ GenesisHash → Encoding #

toJSONList ∷ [GenesisHash] → Value #

toEncodingList ∷ [GenesisHash] → Encoding #

ToJSON Tx 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toJSON ∷ Tx → Value #

toEncoding ∷ Tx → Encoding #

toJSONList ∷ [Tx] → Value #

toEncodingList ∷ [Tx] → Encoding #

ToJSON ProtocolMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

toJSON ∷ ProtocolMagic → Value #

toEncoding ∷ ProtocolMagic → Encoding #

toJSONList ∷ [ProtocolMagic] → Value #

toEncodingList ∷ [ProtocolMagic] → Encoding #

ToJSON CompactRedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Compact

Methods

toJSON ∷ CompactRedeemVerificationKey → Value #

toEncoding ∷ CompactRedeemVerificationKey → Encoding #

toJSONList ∷ [CompactRedeemVerificationKey] → Value #

toEncodingList ∷ [CompactRedeemVerificationKey] → Encoding #

ToJSON Entropic 
Instance details

Defined in Bcc.Chain.Common.Entropic

Methods

toJSON ∷ Entropic → Value #

toEncoding ∷ Entropic → Encoding #

toJSONList ∷ [Entropic] → Value #

toEncodingList ∷ [Entropic] → Encoding #

ToJSON SystemStart Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSONSystemStart → Value #

toEncodingSystemStart → Encoding #

toJSONList ∷ [SystemStart] → Value #

toEncodingList ∷ [SystemStart] → Encoding #

ToJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

toJSON ∷ ByteString64 → Value #

toEncoding ∷ ByteString64 → Encoding #

toJSONList ∷ [ByteString64] → Value #

toEncodingList ∷ [ByteString64] → Encoding #

ToJSON RedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.VerificationKey

Methods

toJSON ∷ RedeemVerificationKey → Value #

toEncoding ∷ RedeemVerificationKey → Encoding #

toJSONList ∷ [RedeemVerificationKey] → Value #

toEncodingList ∷ [RedeemVerificationKey] → Encoding #

ToJSON StakingCredential 
Instance details

Defined in Zerepoch.V1.Ledger.Credential

Methods

toJSON ∷ StakingCredential → Value #

toEncoding ∷ StakingCredential → Encoding #

toJSONList ∷ [StakingCredential] → Value #

toEncodingList ∷ [StakingCredential] → Encoding #

ToJSON POSIXTime 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

toJSON ∷ POSIXTime → Value #

toEncoding ∷ POSIXTime → Encoding #

toJSONList ∷ [POSIXTime] → Value #

toEncodingList ∷ [POSIXTime] → Encoding #

ToJSON Address 
Instance details

Defined in Zerepoch.V1.Ledger.Address

Methods

toJSON ∷ Address → Value #

toEncoding ∷ Address → Encoding #

toJSONList ∷ [Address] → Value #

toEncodingList ∷ [Address] → Encoding #

ToJSON DCert 
Instance details

Defined in Zerepoch.V1.Ledger.DCert

Methods

toJSON ∷ DCert → Value #

toEncoding ∷ DCert → Encoding #

toJSONList ∷ [DCert] → Value #

toEncodingList ∷ [DCert] → Encoding #

ToJSON Credential 
Instance details

Defined in Zerepoch.V1.Ledger.Credential

Methods

toJSON ∷ Credential → Value #

toEncoding ∷ Credential → Encoding #

toJSONList ∷ [Credential] → Value #

toEncodingList ∷ [Credential] → Encoding #

ToJSON TxOut 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxOut → Value #

toEncoding ∷ TxOut → Encoding #

toJSONList ∷ [TxOut] → Value #

toEncodingList ∷ [TxOut] → Encoding #

ToJSON PubKeyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSON ∷ PubKeyHash → Value #

toEncoding ∷ PubKeyHash → Encoding #

toJSONList ∷ [PubKeyHash] → Value #

toEncodingList ∷ [PubKeyHash] → Encoding #

ToJSON TxId 
Instance details

Defined in Zerepoch.V1.Ledger.TxId

Methods

toJSON ∷ TxId → Value #

toEncoding ∷ TxId → Encoding #

toJSONList ∷ [TxId] → Value #

toEncodingList ∷ [TxId] → Encoding #

ToJSON TxOutRef 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxOutRef → Value #

toEncoding ∷ TxOutRef → Encoding #

toJSONList ∷ [TxOutRef] → Value #

toEncodingList ∷ [TxOutRef] → Encoding #

ToJSON ChainDifficulty 
Instance details

Defined in Bcc.Chain.Common.ChainDifficulty

Methods

toJSON ∷ ChainDifficulty → Value #

toEncoding ∷ ChainDifficulty → Encoding #

toJSONList ∷ [ChainDifficulty] → Value #

toEncodingList ∷ [ChainDifficulty] → Encoding #

ToJSON Proof 
Instance details

Defined in Bcc.Chain.Block.Proof

Methods

toJSON ∷ Proof → Value #

toEncoding ∷ Proof → Encoding #

toJSONList ∷ [Proof] → Value #

toEncodingList ∷ [Proof] → Encoding #

ToJSON SscPayload 
Instance details

Defined in Bcc.Chain.Ssc

Methods

toJSON ∷ SscPayload → Value #

toEncoding ∷ SscPayload → Encoding #

toJSONList ∷ [SscPayload] → Value #

toEncodingList ∷ [SscPayload] → Encoding #

ToJSON ProposalBody 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

toJSON ∷ ProposalBody → Value #

toEncoding ∷ ProposalBody → Encoding #

toJSONList ∷ [ProposalBody] → Value #

toEncodingList ∷ [ProposalBody] → Encoding #

ToJSON TxInWitness 
Instance details

Defined in Bcc.Chain.UTxO.TxWitness

Methods

toJSON ∷ TxInWitness → Value #

toEncoding ∷ TxInWitness → Encoding #

toJSONList ∷ [TxInWitness] → Value #

toEncodingList ∷ [TxInWitness] → Encoding #

ToJSON TxProof 
Instance details

Defined in Bcc.Chain.UTxO.TxProof

Methods

toJSON ∷ TxProof → Value #

toEncoding ∷ TxProof → Encoding #

toJSONList ∷ [TxProof] → Value #

toEncodingList ∷ [TxProof] → Encoding #

ToJSON SscProof 
Instance details

Defined in Bcc.Chain.Ssc

Methods

toJSON ∷ SscProof → Value #

toEncoding ∷ SscProof → Encoding #

toJSONList ∷ [SscProof] → Value #

toEncodingList ∷ [SscProof] → Encoding #

ToJSON ApplicationName 
Instance details

Defined in Bcc.Chain.Update.ApplicationName

Methods

toJSON ∷ ApplicationName → Value #

toEncoding ∷ ApplicationName → Encoding #

toJSONList ∷ [ApplicationName] → Value #

toEncodingList ∷ [ApplicationName] → Encoding #

ToJSON AddrAttributes 
Instance details

Defined in Bcc.Chain.Common.AddrAttributes

Methods

toJSON ∷ AddrAttributes → Value #

toEncoding ∷ AddrAttributes → Encoding #

toJSONList ∷ [AddrAttributes] → Value #

toEncodingList ∷ [AddrAttributes] → Encoding #

ToJSON HDAddressPayload 
Instance details

Defined in Bcc.Chain.Common.AddrAttributes

Methods

toJSON ∷ HDAddressPayload → Value #

toEncoding ∷ HDAddressPayload → Encoding #

toJSONList ∷ [HDAddressPayload] → Value #

toEncodingList ∷ [HDAddressPayload] → Encoding #

ToJSON NetworkMagic 
Instance details

Defined in Bcc.Chain.Common.NetworkMagic

Methods

toJSON ∷ NetworkMagic → Value #

toEncoding ∷ NetworkMagic → Encoding #

toJSONList ∷ [NetworkMagic] → Value #

toEncodingList ∷ [NetworkMagic] → Encoding #

ToJSON UnparsedFields 
Instance details

Defined in Bcc.Chain.Common.Attributes

Methods

toJSON ∷ UnparsedFields → Value #

toEncoding ∷ UnparsedFields → Encoding #

toJSONList ∷ [UnparsedFields] → Value #

toEncodingList ∷ [UnparsedFields] → Encoding #

ToJSON AddrType 
Instance details

Defined in Bcc.Chain.Common.AddrSpendingData

Methods

toJSON ∷ AddrType → Value #

toEncoding ∷ AddrType → Encoding #

toJSONList ∷ [AddrType] → Value #

toEncodingList ∷ [AddrType] → Encoding #

ToJSON Address 
Instance details

Defined in Bcc.Chain.Common.Address

Methods

toJSON ∷ Address → Value #

toEncoding ∷ Address → Encoding #

toJSONList ∷ [Address] → Value #

toEncodingList ∷ [Address] → Encoding #

ToJSON EntropicPortion 
Instance details

Defined in Bcc.Chain.Common.EntropicPortion

Methods

toJSON ∷ EntropicPortion → Value #

toEncoding ∷ EntropicPortion → Encoding #

toJSONList ∷ [EntropicPortion] → Value #

toEncodingList ∷ [EntropicPortion] → Encoding #

ToJSON TxFeePolicy 
Instance details

Defined in Bcc.Chain.Common.TxFeePolicy

Methods

toJSON ∷ TxFeePolicy → Value #

toEncoding ∷ TxFeePolicy → Encoding #

toJSONList ∷ [TxFeePolicy] → Value #

toEncodingList ∷ [TxFeePolicy] → Encoding #

ToJSON TxSizeLinear 
Instance details

Defined in Bcc.Chain.Common.TxSizeLinear

Methods

toJSON ∷ TxSizeLinear → Value #

toEncoding ∷ TxSizeLinear → Encoding #

toJSONList ∷ [TxSizeLinear] → Value #

toEncodingList ∷ [TxSizeLinear] → Encoding #

ToJSON TxIn 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toJSON ∷ TxIn → Value #

toEncoding ∷ TxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxOut 
Instance details

Defined in Bcc.Chain.UTxO.Tx

Methods

toJSON ∷ TxOut → Value #

toEncoding ∷ TxOut → Encoding #

toJSONList ∷ [TxOut] → Value #

toEncodingList ∷ [TxOut] → Encoding #

ToJSON TxSigData 
Instance details

Defined in Bcc.Chain.UTxO.TxWitness

Methods

toJSON ∷ TxSigData → Value #

toEncoding ∷ TxSigData → Encoding #

toJSONList ∷ [TxSigData] → Value #

toEncodingList ∷ [TxSigData] → Encoding #

ToJSON InstallerHash 
Instance details

Defined in Bcc.Chain.Update.InstallerHash

Methods

toJSON ∷ InstallerHash → Value #

toEncoding ∷ InstallerHash → Encoding #

toJSONList ∷ [InstallerHash] → Value #

toEncodingList ∷ [InstallerHash] → Encoding #

ToJSON SystemTag 
Instance details

Defined in Bcc.Chain.Update.SystemTag

Methods

toJSON ∷ SystemTag → Value #

toEncoding ∷ SystemTag → Encoding #

toJSONList ∷ [SystemTag] → Value #

toEncodingList ∷ [SystemTag] → Encoding #

ToJSON ProtocolParametersUpdate 
Instance details

Defined in Bcc.Chain.Update.ProtocolParametersUpdate

Methods

toJSON ∷ ProtocolParametersUpdate → Value #

toEncoding ∷ ProtocolParametersUpdate → Encoding #

toJSONList ∷ [ProtocolParametersUpdate] → Value #

toEncodingList ∷ [ProtocolParametersUpdate] → Encoding #

ToJSON SoftforkRule 
Instance details

Defined in Bcc.Chain.Update.SoftforkRule

Methods

toJSON ∷ SoftforkRule → Value #

toEncoding ∷ SoftforkRule → Encoding #

toJSONList ∷ [SoftforkRule] → Value #

toEncodingList ∷ [SoftforkRule] → Encoding #

ToJSON DnsName 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ DnsName → Value #

toEncoding ∷ DnsName → Encoding #

toJSONList ∷ [DnsName] → Value #

toEncodingList ∷ [DnsName] → Encoding #

ToJSON Port 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ Port → Value #

toEncoding ∷ Port → Encoding #

toJSONList ∷ [Port] → Value #

toEncodingList ∷ [Port] → Encoding #

ToJSON PositiveInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ PositiveInterval → Value #

toEncoding ∷ PositiveInterval → Encoding #

toJSONList ∷ [PositiveInterval] → Value #

toEncodingList ∷ [PositiveInterval] → Encoding #

ToJSON Url 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ Url → Value #

toEncoding ∷ Url → Encoding #

toJSONList ∷ [Url] → Value #

toEncodingList ∷ [Url] → Encoding #

ToJSON DeltaCoin Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ DeltaCoin → Value #

toEncoding ∷ DeltaCoin → Encoding #

toJSONList ∷ [DeltaCoin] → Value #

toEncodingList ∷ [DeltaCoin] → Encoding #

ToJSON AccountState Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ AccountState → Value #

toEncoding ∷ AccountState → Encoding #

toJSONList ∷ [AccountState] → Value #

toEncodingList ∷ [AccountState] → Encoding #

ToJSON RewardType Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ RewardType → Value #

toEncoding ∷ RewardType → Encoding #

toJSONList ∷ [RewardType] → Value #

toEncodingList ∷ [RewardType] → Encoding #

ToJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

toJSON ∷ SatInt → Value #

toEncoding ∷ SatInt → Encoding #

toJSONList ∷ [SatInt] → Value #

toEncodingList ∷ [SatInt] → Encoding #

ToJSON CekMachineCosts 
Instance details

Defined in UntypedZerepochCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

toJSON ∷ CekMachineCosts → Value #

toEncoding ∷ CekMachineCosts → Encoding #

toJSONList ∷ [CekMachineCosts] → Value #

toEncodingList ∷ [CekMachineCosts] → Encoding #

ToJSON ModelAddedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelAddedSizes → Value #

toEncoding ∷ ModelAddedSizes → Encoding #

toJSONList ∷ [ModelAddedSizes] → Value #

toEncodingList ∷ [ModelAddedSizes] → Encoding #

ToJSON ModelConstantOrLinear 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelConstantOrLinear → Value #

toEncoding ∷ ModelConstantOrLinear → Encoding #

toJSONList ∷ [ModelConstantOrLinear] → Value #

toEncodingList ∷ [ModelConstantOrLinear] → Encoding #

ToJSON ModelConstantOrTwoArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelConstantOrTwoArguments → Value #

toEncoding ∷ ModelConstantOrTwoArguments → Encoding #

toJSONList ∷ [ModelConstantOrTwoArguments] → Value #

toEncodingList ∷ [ModelConstantOrTwoArguments] → Encoding #

ToJSON ModelFiveArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelFiveArguments → Value #

toEncoding ∷ ModelFiveArguments → Encoding #

toJSONList ∷ [ModelFiveArguments] → Value #

toEncodingList ∷ [ModelFiveArguments] → Encoding #

ToJSON ModelFourArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelFourArguments → Value #

toEncoding ∷ ModelFourArguments → Encoding #

toJSONList ∷ [ModelFourArguments] → Value #

toEncodingList ∷ [ModelFourArguments] → Encoding #

ToJSON ModelLinearSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelLinearSize → Value #

toEncoding ∷ ModelLinearSize → Encoding #

toJSONList ∷ [ModelLinearSize] → Value #

toEncodingList ∷ [ModelLinearSize] → Encoding #

ToJSON ModelMaxSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelMaxSize → Value #

toEncoding ∷ ModelMaxSize → Encoding #

toJSONList ∷ [ModelMaxSize] → Value #

toEncodingList ∷ [ModelMaxSize] → Encoding #

ToJSON ModelMinSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelMinSize → Value #

toEncoding ∷ ModelMinSize → Encoding #

toJSONList ∷ [ModelMinSize] → Value #

toEncodingList ∷ [ModelMinSize] → Encoding #

ToJSON ModelMultipliedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelMultipliedSizes → Value #

toEncoding ∷ ModelMultipliedSizes → Encoding #

toJSONList ∷ [ModelMultipliedSizes] → Value #

toEncodingList ∷ [ModelMultipliedSizes] → Encoding #

ToJSON ModelOneArgument 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelOneArgument → Value #

toEncoding ∷ ModelOneArgument → Encoding #

toJSONList ∷ [ModelOneArgument] → Value #

toEncodingList ∷ [ModelOneArgument] → Encoding #

ToJSON ModelSixArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelSixArguments → Value #

toEncoding ∷ ModelSixArguments → Encoding #

toJSONList ∷ [ModelSixArguments] → Value #

toEncodingList ∷ [ModelSixArguments] → Encoding #

ToJSON ModelSubtractedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelSubtractedSizes → Value #

toEncoding ∷ ModelSubtractedSizes → Encoding #

toJSONList ∷ [ModelSubtractedSizes] → Value #

toEncodingList ∷ [ModelSubtractedSizes] → Encoding #

ToJSON ModelThreeArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelThreeArguments → Value #

toEncoding ∷ ModelThreeArguments → Encoding #

toJSONList ∷ [ModelThreeArguments] → Value #

toEncodingList ∷ [ModelThreeArguments] → Encoding #

ToJSON ModelTwoArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ ModelTwoArguments → Value #

toEncoding ∷ ModelTwoArguments → Encoding #

toJSONList ∷ [ModelTwoArguments] → Value #

toEncodingList ∷ [ModelTwoArguments] → Encoding #

ToJSON ExMemory 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExMemory

Methods

toJSON ∷ ExMemory → Value #

toEncoding ∷ ExMemory → Encoding #

toJSONList ∷ [ExMemory] → Value #

toEncodingList ∷ [ExMemory] → Encoding #

ToJSON ExCPU 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExMemory

Methods

toJSON ∷ ExCPU → Value #

toEncoding ∷ ExCPU → Encoding #

toJSONList ∷ [ExCPU] → Value #

toEncodingList ∷ [ExCPU] → Encoding #

ToJSON Bcc 
Instance details

Defined in Zerepoch.V1.Ledger.Bcc

Methods

toJSON ∷ Bcc → Value #

toEncoding ∷ Bcc → Encoding #

toJSONList ∷ [Bcc] → Value #

toEncodingList ∷ [Bcc] → Encoding #

ToJSON LedgerBytes 
Instance details

Defined in Zerepoch.V1.Ledger.Bytes

Methods

toJSON ∷ LedgerBytes → Value #

toEncoding ∷ LedgerBytes → Encoding #

toJSONList ∷ [LedgerBytes] → Value #

toEncodingList ∷ [LedgerBytes] → Encoding #

ToJSON Signature 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSON ∷ Signature → Value #

toEncoding ∷ Signature → Encoding #

toJSONList ∷ [Signature] → Value #

toEncodingList ∷ [Signature] → Encoding #

ToJSON PubKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSON ∷ PubKey → Value #

toEncoding ∷ PubKey → Encoding #

toJSONList ∷ [PubKey] → Value #

toEncodingList ∷ [PubKey] → Encoding #

ToJSON PrivateKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSON ∷ PrivateKey → Value #

toEncoding ∷ PrivateKey → Encoding #

toJSONList ∷ [PrivateKey] → Value #

toEncodingList ∷ [PrivateKey] → Encoding #

ToJSON Slot 
Instance details

Defined in Zerepoch.V1.Ledger.Slot

Methods

toJSON ∷ Slot → Value #

toEncoding ∷ Slot → Encoding #

toJSONList ∷ [Slot] → Value #

toEncodingList ∷ [Slot] → Encoding #

ToJSON DiffMilliSeconds 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

toJSON ∷ DiffMilliSeconds → Value #

toEncoding ∷ DiffMilliSeconds → Encoding #

toJSONList ∷ [DiffMilliSeconds] → Value #

toEncodingList ∷ [DiffMilliSeconds] → Encoding #

ToJSON RedeemerPtr 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ RedeemerPtr → Value #

toEncoding ∷ RedeemerPtr → Encoding #

toJSONList ∷ [RedeemerPtr] → Value #

toEncodingList ∷ [RedeemerPtr] → Encoding #

ToJSON ScriptTag 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ ScriptTag → Value #

toEncoding ∷ ScriptTag → Encoding #

toJSONList ∷ [ScriptTag] → Value #

toEncodingList ∷ [ScriptTag] → Encoding #

ToJSON Tx 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ Tx → Value #

toEncoding ∷ Tx → Encoding #

toJSONList ∷ [Tx] → Value #

toEncodingList ∷ [Tx] → Encoding #

ToJSON TxIn 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxIn → Value #

toEncoding ∷ TxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxInType 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxInType → Value #

toEncoding ∷ TxInType → Encoding #

toJSONList ∷ [TxInType] → Value #

toEncodingList ∷ [TxInType] → Encoding #

ToJSON TxOutTx 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSON ∷ TxOutTx → Value #

toEncoding ∷ TxOutTx → Encoding #

toJSONList ∷ [TxOutTx] → Value #

toEncodingList ∷ [TxOutTx] → Encoding #

ToJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

toJSON ∷ StudentT → Value #

toEncoding ∷ StudentT → Encoding #

toJSONList ∷ [StudentT] → Value #

toEncodingList ∷ [StudentT] → Encoding #

ToJSON TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelope → Value #

toEncodingTextEnvelope → Encoding #

toJSONList ∷ [TextEnvelope] → Value #

toEncodingList ∷ [TextEnvelope] → Encoding #

ToJSON TextEnvelopeDescr Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelopeDescr → Value #

toEncodingTextEnvelopeDescr → Encoding #

toJSONList ∷ [TextEnvelopeDescr] → Value #

toEncodingList ∷ [TextEnvelopeDescr] → Encoding #

ToJSON TextEnvelopeType Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

toJSONTextEnvelopeType → Value #

toEncodingTextEnvelopeType → Encoding #

toJSONList ∷ [TextEnvelopeType] → Value #

toEncodingList ∷ [TextEnvelopeType] → Encoding #

ToJSON TxSubmitStatus Source # 
Instance details

Defined in Bcc.Api.TxSubmit.Types

Methods

toJSONTxSubmitStatus → Value #

toEncodingTxSubmitStatus → Encoding #

toJSONList ∷ [TxSubmitStatus] → Value #

toEncodingList ∷ [TxSubmitStatus] → Encoding #

ToJSON ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONScriptHash → Value #

toEncodingScriptHash → Encoding #

toJSONList ∷ [ScriptHash] → Value #

toEncodingList ∷ [ScriptHash] → Encoding #

ToJSON ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONExecutionUnits → Value #

toEncodingExecutionUnits → Encoding #

toJSONList ∷ [ExecutionUnits] → Value #

toEncodingList ∷ [ExecutionUnits] → Encoding #

ToJSON AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

ToJSON ValueNestedRep Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONValueNestedRep → Value #

toEncodingValueNestedRep → Encoding #

toJSONList ∷ [ValueNestedRep] → Value #

toEncodingList ∷ [ValueNestedRep] → Encoding #

ToJSON Value Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONValue → Value0 #

toEncodingValue → Encoding #

toJSONList ∷ [Value] → Value0 #

toEncodingList ∷ [Value] → Encoding #

ToJSON AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONAssetName → Value #

toEncodingAssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONPolicyId → Value #

toEncodingPolicyId → Encoding #

toJSONList ∷ [PolicyId] → Value #

toEncodingList ∷ [PolicyId] → Encoding #

ToJSON Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONQuantity → Value #

toEncodingQuantity → Encoding #

toJSONList ∷ [Quantity] → Value #

toEncodingList ∷ [Quantity] → Encoding #

ToJSON Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONEntropic → Value #

toEncodingEntropic → Encoding #

toJSONList ∷ [Entropic] → Value #

toEncodingList ∷ [Entropic] → Encoding #

ToJSON CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONCostModel → Value #

toEncodingCostModel → Encoding #

toJSONList ∷ [CostModel] → Value #

toEncodingList ∷ [CostModel] → Encoding #

ToJSON ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONExecutionUnitPrices → Value #

toEncodingExecutionUnitPrices → Encoding #

toJSONList ∷ [ExecutionUnitPrices] → Value #

toEncodingList ∷ [ExecutionUnitPrices] → Encoding #

ToJSON OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONOptimumNonce → Value #

toEncodingOptimumNonce → Encoding #

toJSONList ∷ [OptimumNonce] → Value #

toEncodingList ∷ [OptimumNonce] → Encoding #

ToJSON ProtocolParameters Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

toJSONProtocolParameters → Value #

toEncodingProtocolParameters → Encoding #

toJSONList ∷ [ProtocolParameters] → Value #

toEncodingList ∷ [ProtocolParameters] → Encoding #

ToJSON TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxIx → Value #

toEncodingTxIx → Encoding #

toJSONList ∷ [TxIx] → Value #

toEncodingList ∷ [TxIx] → Encoding #

ToJSON TxIn Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxIn → Value #

toEncodingTxIn → Encoding #

toJSONList ∷ [TxIn] → Value #

toEncodingList ∷ [TxIn] → Encoding #

ToJSON TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxId → Value #

toEncodingTxId → Encoding #

toJSONList ∷ [TxId] → Value #

toEncodingList ∷ [TxId] → Encoding #

ToJSON ChainTip Source # 
Instance details

Defined in Bcc.Api.Block

Methods

toJSONChainTip → Value #

toEncodingChainTip → Encoding #

toJSONList ∷ [ChainTip] → Value #

toEncodingList ∷ [ChainTip] → Encoding #

ToJSON a ⇒ ToJSON [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ [a] → Value #

toEncoding ∷ [a] → Encoding #

toJSONList ∷ [[a]] → Value #

toEncodingList ∷ [[a]] → Encoding #

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMaybe a → Value #

toEncodingMaybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

(ToJSON a, Integral a) ⇒ ToJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONRatio a → Value #

toEncodingRatio a → Encoding #

toJSONList ∷ [Ratio a] → Value #

toEncodingList ∷ [Ratio a] → Encoding #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

ToJSON a ⇒ ToJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSet a → Value #

toEncodingSet a → Encoding #

toJSONList ∷ [Set a] → Value #

toEncodingList ∷ [Set a] → Encoding #

ToJSON a ⇒ ToJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNonEmpty a → Value #

toEncodingNonEmpty a → Encoding #

toJSONList ∷ [NonEmpty a] → Value #

toEncodingList ∷ [NonEmpty a] → Encoding #

ToJSON a ⇒ ToJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIdentity a → Value #

toEncodingIdentity a → Encoding #

toJSONList ∷ [Identity a] → Value #

toEncodingList ∷ [Identity a] → Encoding #

ToJSON a ⇒ ToJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMin a → Value #

toEncodingMin a → Encoding #

toJSONList ∷ [Min a] → Value #

toEncodingList ∷ [Min a] → Encoding #

ToJSON a ⇒ ToJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMax a → Value #

toEncodingMax a → Encoding #

toJSONList ∷ [Max a] → Value #

toEncodingList ∷ [Max a] → Encoding #

ToJSON a ⇒ ToJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONWrappedMonoid a → Value #

toEncodingWrappedMonoid a → Encoding #

toJSONList ∷ [WrappedMonoid a] → Value #

toEncodingList ∷ [WrappedMonoid a] → Encoding #

ToJSON a ⇒ ToJSON (Option a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONOption a → Value #

toEncodingOption a → Encoding #

toJSONList ∷ [Option a] → Value #

toEncodingList ∷ [Option a] → Encoding #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

ToJSON a ⇒ ToJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDual a → Value #

toEncodingDual a → Encoding #

toJSONList ∷ [Dual a] → Value #

toEncodingList ∷ [Dual a] → Encoding #

ToJSON a ⇒ ToJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntMap a → Value #

toEncodingIntMap a → Encoding #

toJSONList ∷ [IntMap a] → Value #

toEncodingList ∷ [IntMap a] → Encoding #

ToJSON v ⇒ ToJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTree v → Value #

toEncodingTree v → Encoding #

toJSONList ∷ [Tree v] → Value #

toEncodingList ∷ [Tree v] → Encoding #

ToJSON a ⇒ ToJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSeq a → Value #

toEncodingSeq a → Encoding #

toJSONList ∷ [Seq a] → Value #

toEncodingList ∷ [Seq a] → Encoding #

(Vector Vector a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

ToJSON a ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

ToJSON1 f ⇒ ToJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Fix f → Value #

toEncoding ∷ Fix f → Encoding #

toJSONList ∷ [Fix f] → Value #

toEncodingList ∷ [Fix f] → Encoding #

(ToJSON1 f, Functor f) ⇒ ToJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Mu f → Value #

toEncoding ∷ Mu f → Encoding #

toJSONList ∷ [Mu f] → Value #

toEncodingList ∷ [Mu f] → Encoding #

(ToJSON1 f, Functor f) ⇒ ToJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Nu f → Value #

toEncoding ∷ Nu f → Encoding #

toJSONList ∷ [Nu f] → Value #

toEncodingList ∷ [Nu f] → Encoding #

ToJSON a ⇒ ToJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DNonEmpty a → Value #

toEncoding ∷ DNonEmpty a → Encoding #

toJSONList ∷ [DNonEmpty a] → Value #

toEncodingList ∷ [DNonEmpty a] → Encoding #

ToJSON a ⇒ ToJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ DList a → Value #

toEncoding ∷ DList a → Encoding #

toJSONList ∷ [DList a] → Value #

toEncodingList ∷ [DList a] → Encoding #

ToJSON a ⇒ ToJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Array a → Value #

toEncoding ∷ Array a → Encoding #

toJSONList ∷ [Array a] → Value #

toEncodingList ∷ [Array a] → Encoding #

(Prim a, ToJSON a) ⇒ ToJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ PrimArray a → Value #

toEncoding ∷ PrimArray a → Encoding #

toJSONList ∷ [PrimArray a] → Value #

toEncodingList ∷ [PrimArray a] → Encoding #

ToJSON a ⇒ ToJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ SmallArray a → Value #

toEncoding ∷ SmallArray a → Encoding #

toJSONList ∷ [SmallArray a] → Value #

toEncodingList ∷ [SmallArray a] → Encoding #

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Maybe a → Value #

toEncoding ∷ Maybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

ToJSON a ⇒ ToJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ HashSet a → Value #

toEncoding ∷ HashSet a → Encoding #

toJSONList ∷ [HashSet a] → Value #

toEncodingList ∷ [HashSet a] → Encoding #

(Prim a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

(Storable a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Vector a → Value #

toEncoding ∷ Vector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (PPUPState era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PPUPState era → Value #

toEncoding ∷ PPUPState era → Encoding #

toJSONList ∷ [PPUPState era] → Value #

toEncodingList ∷ [PPUPState era] → Encoding #

ToJSON a ⇒ ToJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

toJSON ∷ StrictMaybe a → Value #

toEncoding ∷ StrictMaybe a → Encoding #

toJSONList ∷ [StrictMaybe a] → Value #

toEncodingList ∷ [StrictMaybe a] → Encoding #

(SophieBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (UTxOState era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ UTxOState era → Value #

toEncoding ∷ UTxOState era → Encoding #

toJSONList ∷ [UTxOState era] → Value #

toEncodingList ∷ [UTxOState era] → Encoding #

Crypto crypto ⇒ ToJSON (DPState crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ DPState crypto → Value #

toEncoding ∷ DPState crypto → Encoding #

toJSONList ∷ [DPState crypto] → Value #

toEncodingList ∷ [DPState crypto] → Encoding #

ToJSON (PParamsUpdate (AurumEra StandardCrypto)) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PParamsUpdate (AurumEra StandardCrypto) → Value #

toEncoding ∷ PParamsUpdate (AurumEra StandardCrypto) → Encoding #

toJSONList ∷ [PParamsUpdate (AurumEra StandardCrypto)] → Value #

toEncodingList ∷ [PParamsUpdate (AurumEra StandardCrypto)] → Encoding #

ToJSON (PParams era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PParams era → Value #

toEncoding ∷ PParams era → Encoding #

toJSONList ∷ [PParams era] → Value #

toEncodingList ∷ [PParams era] → Encoding #

ToJSON (PParams era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

toJSON ∷ PParams era → Value #

toEncoding ∷ PParams era → Encoding #

toJSONList ∷ [PParams era] → Value #

toEncodingList ∷ [PParams era] → Encoding #

ToJSON (PParamsUpdate era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PParamsUpdate era → Value #

toEncoding ∷ PParamsUpdate era → Encoding #

toJSONList ∷ [PParamsUpdate era] → Value #

toEncodingList ∷ [PParamsUpdate era] → Encoding #

Crypto crypto ⇒ ToJSON (ScriptHash crypto) 
Instance details

Defined in Bcc.Ledger.Hashes

Methods

toJSON ∷ ScriptHash crypto → Value #

toEncoding ∷ ScriptHash crypto → Encoding #

toJSONList ∷ [ScriptHash crypto] → Value #

toEncodingList ∷ [ScriptHash crypto] → Encoding #

(SophieBasedEra era, ToJSON (TxOut era), ToJSON (PParams era), ToJSON (PParamsDelta era)) ⇒ ToJSON (EpochState era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ EpochState era → Value #

toEncoding ∷ EpochState era → Encoding #

toJSONList ∷ [EpochState era] → Value #

toEncodingList ∷ [EpochState era] → Encoding #

(SophieBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (LedgerState era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ LedgerState era → Value #

toEncoding ∷ LedgerState era → Encoding #

toJSONList ∷ [LedgerState era] → Value #

toEncodingList ∷ [LedgerState era] → Encoding #

(SophieBasedEra era, ToJSON (Value era)) ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ TxOut era → Value #

toEncoding ∷ TxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

ToJSON (Addr crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

toJSON ∷ Addr crypto → Value #

toEncoding ∷ Addr crypto → Encoding #

toJSONList ∷ [Addr crypto] → Value #

toEncodingList ∷ [Addr crypto] → Encoding #

Crypto crypto ⇒ ToJSON (BlocksMade crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

toJSON ∷ BlocksMade crypto → Value #

toEncoding ∷ BlocksMade crypto → Encoding #

toJSONList ∷ [BlocksMade crypto] → Value #

toEncodingList ∷ [BlocksMade crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SnapShots crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ SnapShots crypto → Value #

toEncoding ∷ SnapShots crypto → Encoding #

toJSONList ∷ [SnapShots crypto] → Value #

toEncodingList ∷ [SnapShots crypto] → Encoding #

Crypto crypto ⇒ ToJSON (NonMyopic crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ NonMyopic crypto → Value #

toEncoding ∷ NonMyopic crypto → Encoding #

toJSONList ∷ [NonMyopic crypto] → Value #

toEncodingList ∷ [NonMyopic crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PulsingRewUpdate crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PulsingRewUpdate crypto → Value #

toEncoding ∷ PulsingRewUpdate crypto → Encoding #

toJSONList ∷ [PulsingRewUpdate crypto] → Value #

toEncodingList ∷ [PulsingRewUpdate crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PoolDistr crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PoolDistr crypto → Value #

toEncoding ∷ PoolDistr crypto → Encoding #

toJSONList ∷ [PoolDistr crypto] → Value #

toEncodingList ∷ [PoolDistr crypto] → Encoding #

(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (ProposedPPUpdates era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ ProposedPPUpdates era → Value #

toEncoding ∷ ProposedPPUpdates era → Encoding #

toJSONList ∷ [ProposedPPUpdates era] → Value #

toEncodingList ∷ [ProposedPPUpdates era] → Encoding #

Era era ⇒ ToJSON (SophieGenesis era) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

toJSONSophieGenesis era → Value #

toEncodingSophieGenesis era → Encoding #

toJSONList ∷ [SophieGenesis era] → Value #

toEncodingList ∷ [SophieGenesis era] → Encoding #

Crypto crypto ⇒ ToJSON (GenDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toJSON ∷ GenDelegPair crypto → Value #

toEncoding ∷ GenDelegPair crypto → Encoding #

toJSONList ∷ [GenDelegPair crypto] → Value #

toEncodingList ∷ [GenDelegPair crypto] → Encoding #

Crypto crypto ⇒ ToJSON (VestedDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toJSON ∷ VestedDelegPair crypto → Value #

toEncoding ∷ VestedDelegPair crypto → Encoding #

toJSONList ∷ [VestedDelegPair crypto] → Value #

toEncodingList ∷ [VestedDelegPair crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SophieGenesisStaking crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

toJSON ∷ SophieGenesisStaking crypto → Value #

toEncoding ∷ SophieGenesisStaking crypto → Encoding #

toJSONList ∷ [SophieGenesisStaking crypto] → Value #

toEncodingList ∷ [SophieGenesisStaking crypto] → Encoding #

(SophieBasedEra era, ToJSON (TxOut era)) ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ UTxO era → Value #

toEncoding ∷ UTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

Crypto crypto ⇒ ToJSON (TxIn crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ TxIn crypto → Value #

toEncoding ∷ TxIn crypto → Encoding #

toJSONList ∷ [TxIn crypto] → Value #

toEncodingList ∷ [TxIn crypto] → Encoding #

(Era era, Show (Value era), ToJSON (Value era)) ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ TxOut era → Value #

toEncoding ∷ TxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

ToJSON (Value era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Value era → Value0 #

toEncoding ∷ Value era → Encoding #

toJSONList ∷ [Value era] → Value0 #

toEncodingList ∷ [Value era] → Encoding #

ToJSON (PolicyID era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PolicyID era → Value #

toEncoding ∷ PolicyID era → Encoding #

toJSONList ∷ [PolicyID era] → Value #

toEncodingList ∷ [PolicyID era] → Encoding #

Crypto crypto ⇒ ToJSON (PState crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ PState crypto → Value #

toEncoding ∷ PState crypto → Encoding #

toJSONList ∷ [PState crypto] → Value #

toEncodingList ∷ [PState crypto] → Encoding #

Crypto crypto ⇒ ToJSON (PoolParams crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toJSON ∷ PoolParams crypto → Value #

toEncoding ∷ PoolParams crypto → Encoding #

toJSONList ∷ [PoolParams crypto] → Value #

toEncodingList ∷ [PoolParams crypto] → Encoding #

Crypto crypto ⇒ ToJSON (InstantaneousRewards crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ InstantaneousRewards crypto → Value #

toEncoding ∷ InstantaneousRewards crypto → Encoding #

toJSONList ∷ [InstantaneousRewards crypto] → Value #

toEncodingList ∷ [InstantaneousRewards crypto] → Encoding #

Crypto crypto ⇒ ToJSON (SnapShot crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ SnapShot crypto → Value #

toEncoding ∷ SnapShot crypto → Encoding #

toJSONList ∷ [SnapShot crypto] → Value #

toEncodingList ∷ [SnapShot crypto] → Encoding #

Crypto crypto ⇒ ToJSON (FutureGenDeleg crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ FutureGenDeleg crypto → Value #

toEncoding ∷ FutureGenDeleg crypto → Encoding #

toJSONList ∷ [FutureGenDeleg crypto] → Value #

toEncodingList ∷ [FutureGenDeleg crypto] → Encoding #

Crypto crypto ⇒ ToJSON (DState crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ DState crypto → Value #

toEncoding ∷ DState crypto → Encoding #

toJSONList ∷ [DState crypto] → Value #

toEncodingList ∷ [DState crypto] → Encoding #

Crypto crypto ⇒ ToJSON (IndividualPoolStake crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ IndividualPoolStake crypto → Value #

toEncoding ∷ IndividualPoolStake crypto → Encoding #

toJSONList ∷ [IndividualPoolStake crypto] → Value #

toEncodingList ∷ [IndividualPoolStake crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardProvenance crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ RewardProvenance crypto → Value #

toEncoding ∷ RewardProvenance crypto → Encoding #

toJSONList ∷ [RewardProvenance crypto] → Value #

toEncodingList ∷ [RewardProvenance crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardProvenancePool crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

toJSON ∷ RewardProvenancePool crypto → Value #

toEncoding ∷ RewardProvenancePool crypto → Encoding #

toJSONList ∷ [RewardProvenancePool crypto] → Value #

toEncodingList ∷ [RewardProvenancePool crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardAcnt crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

toJSON ∷ RewardAcnt crypto → Value #

toEncoding ∷ RewardAcnt crypto → Encoding #

toJSONList ∷ [RewardAcnt crypto] → Value #

toEncodingList ∷ [RewardAcnt crypto] → Encoding #

ToJSON (BccEra era) Source # 
Instance details

Defined in Bcc.Api.Eras

Methods

toJSONBccEra era → Value #

toEncodingBccEra era → Encoding #

toJSONList ∷ [BccEra era] → Value #

toEncodingList ∷ [BccEra era] → Encoding #

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toJSONHash StakePoolKey → Value #

toEncodingHash StakePoolKey → Encoding #

toJSONList ∷ [Hash StakePoolKey] → Value #

toEncodingList ∷ [Hash StakePoolKey] → Encoding #

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONHash ScriptData → Value #

toEncodingHash ScriptData → Encoding #

toJSONList ∷ [Hash ScriptData] → Value #

toEncodingList ∷ [Hash ScriptData] → Encoding #

ToJSON a ⇒ ToJSON (AHeader a) 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

toJSON ∷ AHeader a → Value #

toEncoding ∷ AHeader a → Encoding #

toJSONList ∷ [AHeader a] → Value #

toEncodingList ∷ [AHeader a] → Encoding #

ToJSON a ⇒ ToJSON (ATxAux a) 
Instance details

Defined in Bcc.Chain.UTxO.TxAux

Methods

toJSON ∷ ATxAux a → Value #

toEncoding ∷ ATxAux a → Encoding #

toJSONList ∷ [ATxAux a] → Value #

toEncodingList ∷ [ATxAux a] → Encoding #

ToJSON a ⇒ ToJSON (ACertificate a) 
Instance details

Defined in Bcc.Chain.Delegation.Certificate

Methods

toJSON ∷ ACertificate a → Value #

toEncoding ∷ ACertificate a → Encoding #

toJSONList ∷ [ACertificate a] → Value #

toEncodingList ∷ [ACertificate a] → Encoding #

ToJSON a ⇒ ToJSON (AProposal a) 
Instance details

Defined in Bcc.Chain.Update.Proposal

Methods

toJSON ∷ AProposal a → Value #

toEncoding ∷ AProposal a → Encoding #

toJSONList ∷ [AProposal a] → Value #

toEncodingList ∷ [AProposal a] → Encoding #

ToJSON a ⇒ ToJSON (AVote a) 
Instance details

Defined in Bcc.Chain.Update.Vote

Methods

toJSON ∷ AVote a → Value #

toEncoding ∷ AVote a → Encoding #

toJSONList ∷ [AVote a] → Value #

toEncodingList ∷ [AVote a] → Encoding #

ToJSON a ⇒ ToJSON (ABlockOrBoundary a) 
Instance details

Defined in Bcc.Chain.Block.Block

Methods

toJSON ∷ ABlockOrBoundary a → Value #

toEncoding ∷ ABlockOrBoundary a → Encoding #

toJSONList ∷ [ABlockOrBoundary a] → Value #

toEncodingList ∷ [ABlockOrBoundary a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryHeader a) 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

toJSON ∷ ABoundaryHeader a → Value #

toEncoding ∷ ABoundaryHeader a → Encoding #

toJSONList ∷ [ABoundaryHeader a] → Value #

toEncodingList ∷ [ABoundaryHeader a] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryBlock a) 
Instance details

Defined in Bcc.Chain.Block.Block

Methods

toJSON ∷ ABoundaryBlock a → Value #

toEncoding ∷ ABoundaryBlock a → Encoding #

toJSONList ∷ [ABoundaryBlock a] → Value #

toEncodingList ∷ [ABoundaryBlock a] → Encoding #

ToJSON a ⇒ ToJSON (ABlock a) 
Instance details

Defined in Bcc.Chain.Block.Block

Methods

toJSON ∷ ABlock a → Value #

toEncoding ∷ ABlock a → Encoding #

toJSONList ∷ [ABlock a] → Value #

toEncodingList ∷ [ABlock a] → Encoding #

ToJSON a ⇒ ToJSON (RedeemSignature a) 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Signature

Methods

toJSON ∷ RedeemSignature a → Value #

toEncoding ∷ RedeemSignature a → Encoding #

toJSONList ∷ [RedeemSignature a] → Value #

toEncodingList ∷ [RedeemSignature a] → Encoding #

ToJSON (Signature w) 
Instance details

Defined in Bcc.Crypto.Signing.Signature

Methods

toJSON ∷ Signature w → Value #

toEncoding ∷ Signature w → Encoding #

toJSONList ∷ [Signature w] → Value #

toEncodingList ∷ [Signature w] → Encoding #

Crypto crypto ⇒ ToJSON (GenDelegs crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ GenDelegs crypto → Value #

toEncoding ∷ GenDelegs crypto → Encoding #

toJSONList ∷ [GenDelegs crypto] → Value #

toEncodingList ∷ [GenDelegs crypto] → Encoding #

ToJSON a ⇒ ToJSON (ABoundaryBody a) 
Instance details

Defined in Bcc.Chain.Block.Block

Methods

toJSON ∷ ABoundaryBody a → Value #

toEncoding ∷ ABoundaryBody a → Encoding #

toJSONList ∷ [ABoundaryBody a] → Value #

toEncodingList ∷ [ABoundaryBody a] → Encoding #

ToJSON a ⇒ ToJSON (ABody a) 
Instance details

Defined in Bcc.Chain.Block.Body

Methods

toJSON ∷ ABody a → Value #

toEncoding ∷ ABody a → Encoding #

toJSONList ∷ [ABody a] → Value #

toEncodingList ∷ [ABody a] → Encoding #

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Bcc.Chain.Delegation.Payload

Methods

toJSON ∷ APayload a → Value #

toEncoding ∷ APayload a → Encoding #

toJSONList ∷ [APayload a] → Value #

toEncodingList ∷ [APayload a] → Encoding #

ToJSON a ⇒ ToJSON (ABlockSignature a) 
Instance details

Defined in Bcc.Chain.Block.Header

Methods

toJSON ∷ ABlockSignature a → Value #

toEncoding ∷ ABlockSignature a → Encoding #

toJSONList ∷ [ABlockSignature a] → Value #

toEncodingList ∷ [ABlockSignature a] → Encoding #

ToJSON a ⇒ ToJSON (ATxPayload a) 
Instance details

Defined in Bcc.Chain.UTxO.TxPayload

Methods

toJSON ∷ ATxPayload a → Value #

toEncoding ∷ ATxPayload a → Encoding #

toJSONList ∷ [ATxPayload a] → Value #

toEncodingList ∷ [ATxPayload a] → Encoding #

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Bcc.Chain.Update.Payload

Methods

toJSON ∷ APayload a → Value #

toEncoding ∷ APayload a → Encoding #

toJSONList ∷ [APayload a] → Value #

toEncodingList ∷ [APayload a] → Encoding #

ToJSON a ⇒ ToJSON (Attributes a) 
Instance details

Defined in Bcc.Chain.Common.Attributes

Methods

toJSON ∷ Attributes a → Value #

toEncoding ∷ Attributes a → Encoding #

toJSONList ∷ [Attributes a] → Value #

toEncodingList ∷ [Attributes a] → Encoding #

ToJSON a ⇒ ToJSON (MerkleRoot a) 
Instance details

Defined in Bcc.Chain.Common.Merkle

Methods

toJSON ∷ MerkleRoot a → Value #

toEncoding ∷ MerkleRoot a → Encoding #

toJSONList ∷ [MerkleRoot a] → Value #

toEncodingList ∷ [MerkleRoot a] → Encoding #

Crypto crypto ⇒ ToJSON (Stake crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Stake crypto → Value #

toEncoding ∷ Stake crypto → Encoding #

toJSONList ∷ [Stake crypto] → Value #

toEncodingList ∷ [Stake crypto] → Encoding #

Crypto crypto ⇒ ToJSON (RewardUpdate crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ RewardUpdate crypto → Value #

toEncoding ∷ RewardUpdate crypto → Encoding #

toJSONList ∷ [RewardUpdate crypto] → Value #

toEncodingList ∷ [RewardUpdate crypto] → Encoding #

Crypto crypto ⇒ ToJSON (Reward crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Reward crypto → Value #

toEncoding ∷ Reward crypto → Encoding #

toJSONList ∷ [Reward crypto] → Value #

toEncodingList ∷ [Reward crypto] → Encoding #

Crypto crypto ⇒ ToJSON (StakeCreds crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

toJSON ∷ StakeCreds crypto → Value #

toEncoding ∷ StakeCreds crypto → Encoding #

toJSONList ∷ [StakeCreds crypto] → Value #

toEncodingList ∷ [StakeCreds crypto] → Encoding #

ToJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ BuiltinCostModelBase CostingFun → Value #

toEncoding ∷ BuiltinCostModelBase CostingFun → Encoding #

toJSONList ∷ [BuiltinCostModelBase CostingFun] → Value #

toEncodingList ∷ [BuiltinCostModelBase CostingFun] → Encoding #

ToJSON model ⇒ ToJSON (CostingFun model) 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

toJSON ∷ CostingFun model → Value #

toEncoding ∷ CostingFun model → Encoding #

toJSONList ∷ [CostingFun model] → Value #

toEncodingList ∷ [CostingFun model] → Encoding #

ToJSON a ⇒ ToJSON (Interval a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

toJSON ∷ Interval a → Value #

toEncoding ∷ Interval a → Encoding #

toJSONList ∷ [Interval a] → Value #

toEncodingList ∷ [Interval a] → Encoding #

ToJSON a ⇒ ToJSON (Extended a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

toJSON ∷ Extended a → Value #

toEncoding ∷ Extended a → Encoding #

toJSONList ∷ [Extended a] → Value #

toEncodingList ∷ [Extended a] → Encoding #

ToJSON a ⇒ ToJSON (LowerBound a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

toJSON ∷ LowerBound a → Value #

toEncoding ∷ LowerBound a → Encoding #

toJSONList ∷ [LowerBound a] → Value #

toEncodingList ∷ [LowerBound a] → Encoding #

ToJSON a ⇒ ToJSON (UpperBound a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

toJSON ∷ UpperBound a → Value #

toEncoding ∷ UpperBound a → Encoding #

toJSONList ∷ [UpperBound a] → Value #

toEncodingList ∷ [UpperBound a] → Encoding #

ToJSON a ⇒ ToJSON (Ratio a) 
Instance details

Defined in ZerepochTx.Ratio

Methods

toJSON ∷ Ratio a → Value #

toEncoding ∷ Ratio a → Encoding #

toJSONList ∷ [Ratio a] → Value #

toEncodingList ∷ [Ratio a] → Encoding #

ToJSON d ⇒ ToJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

toJSON ∷ LinearTransform d → Value #

toEncoding ∷ LinearTransform d → Encoding #

toJSONList ∷ [LinearTransform d] → Value #

toEncodingList ∷ [LinearTransform d] → Encoding #

SerialiseAsBech32 a ⇒ ToJSON (UsingBech32 a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

toJSONUsingBech32 a → Value #

toEncodingUsingBech32 a → Encoding #

toJSONList ∷ [UsingBech32 a] → Value #

toEncodingList ∷ [UsingBech32 a] → Encoding #

SerialiseAsRawBytes a ⇒ ToJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

toJSONUsingRawBytesHex a → Value #

toEncodingUsingRawBytesHex a → Encoding #

toJSONList ∷ [UsingRawBytesHex a] → Value #

toEncodingList ∷ [UsingRawBytesHex a] → Encoding #

ToJSON (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONSimpleScript lang → Value #

toEncodingSimpleScript lang → Encoding #

toJSONList ∷ [SimpleScript lang] → Value #

toEncodingList ∷ [SimpleScript lang] → Encoding #

IsBccEra era ⇒ ToJSON (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

toJSONAddressInEra era → Value #

toEncodingAddressInEra era → Encoding #

toJSONList ∷ [AddressInEra era] → Value #

toEncodingList ∷ [AddressInEra era] → Encoding #

ToJSON (TxOutValue era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxOutValue era → Value #

toEncodingTxOutValue era → Encoding #

toJSONList ∷ [TxOutValue era] → Value #

toEncodingList ∷ [TxOutValue era] → Encoding #

ToJSON (MultiAssetSupportedInEra era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONMultiAssetSupportedInEra era → Value #

toEncodingMultiAssetSupportedInEra era → Encoding #

toJSONList ∷ [MultiAssetSupportedInEra era] → Value #

toEncodingList ∷ [MultiAssetSupportedInEra era] → Encoding #

IsBccEra era ⇒ ToJSON (TxOut era) Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONTxOut era → Value #

toEncodingTxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

(IsSophieBasedEra era, SophieLedgerEra era ~ ledgerera, SophieBasedEra ledgerera, ToJSON (PParams ledgerera), ToJSON (PParamsDelta ledgerera), ToJSON (TxOut ledgerera)) ⇒ ToJSON (DebugLedgerState era) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

toJSONDebugLedgerState era → Value #

toEncodingDebugLedgerState era → Encoding #

toJSONList ∷ [DebugLedgerState era] → Value #

toEncodingList ∷ [DebugLedgerState era] → Encoding #

IsBccEra era ⇒ ToJSON (UTxO era) Source # 
Instance details

Defined in Bcc.Api.Query

Methods

toJSONUTxO era → Value #

toEncodingUTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONEither a b → Value #

toEncodingEither a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b) → Value #

toEncoding ∷ (a, b) → Encoding #

toJSONList ∷ [(a, b)] → Value #

toEncodingList ∷ [(a, b)] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMap k v → Value #

toEncodingMap k v → Encoding #

toJSONList ∷ [Map k v] → Value #

toEncodingList ∷ [Map k v] → Encoding #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProxy a → Value #

toEncodingProxy a → Encoding #

toJSONList ∷ [Proxy a] → Value #

toEncodingList ∷ [Proxy a] → Encoding #

HasResolution a ⇒ ToJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFixed a → Value #

toEncodingFixed a → Encoding #

toJSONList ∷ [Fixed a] → Value #

toEncodingList ∷ [Fixed a] → Encoding #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ HashMap k v → Value #

toEncoding ∷ HashMap k v → Encoding #

toJSONList ∷ [HashMap k v] → Value #

toEncodingList ∷ [HashMap k v] → Encoding #

ToJSON b ⇒ ToJSON (Annotated b a) 
Instance details

Defined in Bcc.Binary.Annotated

Methods

toJSON ∷ Annotated b a → Value #

toEncoding ∷ Annotated b a → Encoding #

toJSONList ∷ [Annotated b a] → Value #

toEncodingList ∷ [Annotated b a] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Either a b → Value #

toEncoding ∷ Either a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These a b → Value #

toEncoding ∷ These a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These a b → Value #

toEncoding ∷ These a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

(ToJSON a, ToJSON b) ⇒ ToJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Pair a b → Value #

toEncoding ∷ Pair a b → Encoding #

toJSONList ∷ [Pair a b] → Value #

toEncodingList ∷ [Pair a b] → Encoding #

HashAlgorithm h ⇒ ToJSON (Hash h a) 
Instance details

Defined in Bcc.Crypto.Hash.Class

Methods

toJSON ∷ Hash h a → Value #

toEncoding ∷ Hash h a → Encoding #

toJSONList ∷ [Hash h a] → Value #

toEncodingList ∷ [Hash h a] → Encoding #

Crypto crypto ⇒ ToJSON (KeyHash disc crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toJSON ∷ KeyHash disc crypto → Value #

toEncoding ∷ KeyHash disc crypto → Encoding #

toJSONList ∷ [KeyHash disc crypto] → Value #

toEncodingList ∷ [KeyHash disc crypto] → Encoding #

Crypto c ⇒ ToJSON (SafeHash c a) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ SafeHash c a → Value #

toEncoding ∷ SafeHash c a → Encoding #

toJSONList ∷ [SafeHash c a] → Value #

toEncodingList ∷ [SafeHash c a] → Encoding #

Crypto crypto ⇒ ToJSON (Credential kr crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

toJSON ∷ Credential kr crypto → Value #

toEncoding ∷ Credential kr crypto → Encoding #

toJSONList ∷ [Credential kr crypto] → Value #

toEncodingList ∷ [Credential kr crypto] → Encoding #

ToJSON (AbstractHash algo a) 
Instance details

Defined in Bcc.Crypto.Hashing

Methods

toJSON ∷ AbstractHash algo a → Value #

toEncoding ∷ AbstractHash algo a → Encoding #

toJSONList ∷ [AbstractHash algo a] → Value #

toEncodingList ∷ [AbstractHash algo a] → Encoding #

ToJSON (BoundedRatio b Word64) 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

toJSON ∷ BoundedRatio b Word64 → Value #

toEncoding ∷ BoundedRatio b Word64 → Encoding #

toJSONList ∷ [BoundedRatio b Word64] → Value #

toEncodingList ∷ [BoundedRatio b Word64] → Encoding #

(ToJSON a, ToJSONKey k) ⇒ ToJSON (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

Methods

toJSON ∷ MonoidalMap k a → Value #

toEncoding ∷ MonoidalMap k a → Encoding #

toJSONList ∷ [MonoidalMap k a] → Value #

toEncodingList ∷ [MonoidalMap k a] → Encoding #

Crypto crypto ⇒ ToJSON (Bimap Ptr (Credential 'Staking crypto)) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSON ∷ Bimap Ptr (Credential 'Staking crypto) → Value #

toEncoding ∷ Bimap Ptr (Credential 'Staking crypto) → Encoding #

toJSONList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Value #

toEncodingList ∷ [Bimap Ptr (Credential 'Staking crypto)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c) ⇒ ToJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c) → Value #

toEncoding ∷ (a, b, c) → Encoding #

toJSONList ∷ [(a, b, c)] → Value #

toEncodingList ∷ [(a, b, c)] → Encoding #

ToJSON a ⇒ ToJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONConst a b → Value #

toEncodingConst a b → Encoding #

toJSONList ∷ [Const a b] → Value #

toEncodingList ∷ [Const a b] → Encoding #

ToJSON b ⇒ ToJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ Tagged a b → Value #

toEncoding ∷ Tagged a b → Encoding #

toJSONList ∷ [Tagged a b] → Value #

toEncodingList ∷ [Tagged a b] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ These1 f g a → Value #

toEncoding ∷ These1 f g a → Encoding #

toJSONList ∷ [These1 f g a] → Value #

toEncodingList ∷ [These1 f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d) ⇒ ToJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d) → Value #

toEncoding ∷ (a, b, c, d) → Encoding #

toJSONList ∷ [(a, b, c, d)] → Value #

toEncodingList ∷ [(a, b, c, d)] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProduct f g a → Value #

toEncodingProduct f g a → Encoding #

toJSONList ∷ [Product f g a] → Value #

toEncodingList ∷ [Product f g a] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSum f g a → Value #

toEncodingSum f g a → Encoding #

toJSONList ∷ [Sum f g a] → Value #

toEncodingList ∷ [Sum f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) ⇒ ToJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e) → Value #

toEncoding ∷ (a, b, c, d, e) → Encoding #

toJSONList ∷ [(a, b, c, d, e)] → Value #

toEncodingList ∷ [(a, b, c, d, e)] → Encoding #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCompose f g a → Value #

toEncodingCompose f g a → Encoding #

toJSONList ∷ [Compose f g a] → Value #

toEncodingList ∷ [Compose f g a] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) ⇒ ToJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f) → Value #

toEncoding ∷ (a, b, c, d, e, f) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) ⇒ ToJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g) → Value #

toEncoding ∷ (a, b, c, d, e, f, g) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) ⇒ ToJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) ⇒ ToJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Encoding #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Encoding #

class ToJSONKey a #

Instances

Instances details
ToJSONKey Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Bool

toJSONKeyList ∷ ToJSONKeyFunction [Bool]

ToJSONKey Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Char

toJSONKeyList ∷ ToJSONKeyFunction [Char]

ToJSONKey Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Double

toJSONKeyList ∷ ToJSONKeyFunction [Double]

ToJSONKey Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Float

toJSONKeyList ∷ ToJSONKeyFunction [Float]

ToJSONKey Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int

toJSONKeyList ∷ ToJSONKeyFunction [Int]

ToJSONKey Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int8

toJSONKeyList ∷ ToJSONKeyFunction [Int8]

ToJSONKey Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int16

toJSONKeyList ∷ ToJSONKeyFunction [Int16]

ToJSONKey Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int32

toJSONKeyList ∷ ToJSONKeyFunction [Int32]

ToJSONKey Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Int64

toJSONKeyList ∷ ToJSONKeyFunction [Int64]

ToJSONKey Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Integer

toJSONKeyList ∷ ToJSONKeyFunction [Integer]

ToJSONKey Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Natural

toJSONKeyList ∷ ToJSONKeyFunction [Natural]

ToJSONKey Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word

toJSONKeyList ∷ ToJSONKeyFunction [Word]

ToJSONKey Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word8

toJSONKeyList ∷ ToJSONKeyFunction [Word8]

ToJSONKey Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word16

toJSONKeyList ∷ ToJSONKeyFunction [Word16]

ToJSONKey Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word32

toJSONKeyList ∷ ToJSONKeyFunction [Word32]

ToJSONKey Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Word64

toJSONKeyList ∷ ToJSONKeyFunction [Word64]

ToJSONKey Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Version

toJSONKeyList ∷ ToJSONKeyFunction [Version]

ToJSONKey Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Text

toJSONKeyList ∷ ToJSONKeyFunction [Text]

ToJSONKey Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Text

toJSONKeyList ∷ ToJSONKeyFunction [Text]

ToJSONKey ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction ZonedTime

toJSONKeyList ∷ ToJSONKeyFunction [ZonedTime]

ToJSONKey LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction LocalTime

toJSONKeyList ∷ ToJSONKeyFunction [LocalTime]

ToJSONKey TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction TimeOfDay

toJSONKeyList ∷ ToJSONKeyFunction [TimeOfDay]

ToJSONKey UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction UTCTime

toJSONKeyList ∷ ToJSONKeyFunction [UTCTime]

ToJSONKey DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction DayOfWeek

toJSONKeyList ∷ ToJSONKeyFunction [DayOfWeek]

ToJSONKey Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Day

toJSONKeyList ∷ ToJSONKeyFunction [Day]

ToJSONKey Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Scientific

toJSONKeyList ∷ ToJSONKeyFunction [Scientific]

ToJSONKey UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction UUID

toJSONKeyList ∷ ToJSONKeyFunction [UUID]

ToJSONKey Language Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSONKey ∷ ToJSONKeyFunction Language

toJSONKeyList ∷ ToJSONKeyFunction [Language]

ToJSONKey CurrencySymbol 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

toJSONKey ∷ ToJSONKeyFunction CurrencySymbol

toJSONKeyList ∷ ToJSONKeyFunction [CurrencySymbol]

ToJSONKey MintingPolicyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSONKey ∷ ToJSONKeyFunction MintingPolicyHash

toJSONKeyList ∷ ToJSONKeyFunction [MintingPolicyHash]

ToJSONKey DatumHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSONKey ∷ ToJSONKeyFunction DatumHash

toJSONKeyList ∷ ToJSONKeyFunction [DatumHash]

ToJSONKey RedeemerHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSONKey ∷ ToJSONKeyFunction RedeemerHash

toJSONKeyList ∷ ToJSONKeyFunction [RedeemerHash]

ToJSONKey StakeValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSONKey ∷ ToJSONKeyFunction StakeValidatorHash

toJSONKeyList ∷ ToJSONKeyFunction [StakeValidatorHash]

ToJSONKey ValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

toJSONKey ∷ ToJSONKeyFunction ValidatorHash

toJSONKeyList ∷ ToJSONKeyFunction [ValidatorHash]

ToJSONKey AssetName Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSONKey ∷ ToJSONKeyFunction AssetName

toJSONKeyList ∷ ToJSONKeyFunction [AssetName]

ToJSONKey Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Month

toJSONKeyList ∷ ToJSONKeyFunction [Month]

ToJSONKey Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction Quarter

toJSONKeyList ∷ ToJSONKeyFunction [Quarter]

ToJSONKey QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction QuarterOfYear

toJSONKeyList ∷ ToJSONKeyFunction [QuarterOfYear]

ToJSONKey CompactRedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Compact

Methods

toJSONKey ∷ ToJSONKeyFunction CompactRedeemVerificationKey

toJSONKeyList ∷ ToJSONKeyFunction [CompactRedeemVerificationKey]

ToJSONKey ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

toJSONKey ∷ ToJSONKeyFunction ByteString64

toJSONKeyList ∷ ToJSONKeyFunction [ByteString64]

ToJSONKey RedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.VerificationKey

Methods

toJSONKey ∷ ToJSONKeyFunction RedeemVerificationKey

toJSONKeyList ∷ ToJSONKeyFunction [RedeemVerificationKey]

ToJSONKey POSIXTime 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

toJSONKey ∷ ToJSONKeyFunction POSIXTime

toJSONKeyList ∷ ToJSONKeyFunction [POSIXTime]

ToJSONKey Address 
Instance details

Defined in Zerepoch.V1.Ledger.Address

Methods

toJSONKey ∷ ToJSONKeyFunction Address

toJSONKeyList ∷ ToJSONKeyFunction [Address]

ToJSONKey PubKeyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSONKey ∷ ToJSONKeyFunction PubKeyHash

toJSONKeyList ∷ ToJSONKeyFunction [PubKeyHash]

ToJSONKey TxId 
Instance details

Defined in Zerepoch.V1.Ledger.TxId

Methods

toJSONKey ∷ ToJSONKeyFunction TxId

toJSONKeyList ∷ ToJSONKeyFunction [TxId]

ToJSONKey TxOutRef 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSONKey ∷ ToJSONKeyFunction TxOutRef

toJSONKeyList ∷ ToJSONKeyFunction [TxOutRef]

ToJSONKey SystemTag 
Instance details

Defined in Bcc.Chain.Update.SystemTag

Methods

toJSONKey ∷ ToJSONKeyFunction SystemTag

toJSONKeyList ∷ ToJSONKeyFunction [SystemTag]

ToJSONKey LedgerBytes 
Instance details

Defined in Zerepoch.V1.Ledger.Bytes

Methods

toJSONKey ∷ ToJSONKeyFunction LedgerBytes

toJSONKeyList ∷ ToJSONKeyFunction [LedgerBytes]

ToJSONKey PubKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSONKey ∷ ToJSONKeyFunction PubKey

toJSONKeyList ∷ ToJSONKeyFunction [PubKey]

ToJSONKey PrivateKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

toJSONKey ∷ ToJSONKeyFunction PrivateKey

toJSONKeyList ∷ ToJSONKeyFunction [PrivateKey]

ToJSONKey Slot 
Instance details

Defined in Zerepoch.V1.Ledger.Slot

Methods

toJSONKey ∷ ToJSONKeyFunction Slot

toJSONKeyList ∷ ToJSONKeyFunction [Slot]

ToJSONKey DiffMilliSeconds 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

toJSONKey ∷ ToJSONKeyFunction DiffMilliSeconds

toJSONKeyList ∷ ToJSONKeyFunction [DiffMilliSeconds]

ToJSONKey RedeemerPtr 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

toJSONKey ∷ ToJSONKeyFunction RedeemerPtr

toJSONKeyList ∷ ToJSONKeyFunction [RedeemerPtr]

ToJSONKey AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

toJSONKey ∷ ToJSONKeyFunction AnyZerepochScriptVersion

toJSONKeyList ∷ ToJSONKeyFunction [AnyZerepochScriptVersion]

ToJSONKey AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

toJSONKey ∷ ToJSONKeyFunction AssetName

toJSONKeyList ∷ ToJSONKeyFunction [AssetName]

ToJSONKey TxIn Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONKey ∷ ToJSONKeyFunction TxIn

toJSONKeyList ∷ ToJSONKeyFunction [TxIn]

ToJSONKey TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

toJSONKey ∷ ToJSONKeyFunction TxId

toJSONKeyList ∷ ToJSONKeyFunction [TxId]

(ToJSONKey a, ToJSON a) ⇒ ToJSONKey [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction [a]

toJSONKeyList ∷ ToJSONKeyFunction [[a]]

ToJSONKey a ⇒ ToJSONKey (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (Identity a)

toJSONKeyList ∷ ToJSONKeyFunction [Identity a]

ToJSONKey (Addr crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

toJSONKey ∷ ToJSONKeyFunction (Addr crypto)

toJSONKeyList ∷ ToJSONKeyFunction [Addr crypto]

Crypto crypto ⇒ ToJSONKey (TxIn crypto) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSONKey ∷ ToJSONKeyFunction (TxIn crypto)

toJSONKeyList ∷ ToJSONKeyFunction [TxIn crypto]

ToJSONKey (PolicyID era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

toJSONKey ∷ ToJSONKeyFunction (PolicyID era)

toJSONKeyList ∷ ToJSONKeyFunction [PolicyID era]

Crypto crypto ⇒ ToJSONKey (RewardAcnt crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

toJSONKey ∷ ToJSONKeyFunction (RewardAcnt crypto)

toJSONKeyList ∷ ToJSONKeyFunction [RewardAcnt crypto]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList ∷ ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList ∷ ToJSONKeyFunction [Hash ScriptData]

SerialiseAsBech32 a ⇒ ToJSONKey (UsingBech32 a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

toJSONKey ∷ ToJSONKeyFunction (UsingBech32 a)

toJSONKeyList ∷ ToJSONKeyFunction [UsingBech32 a]

SerialiseAsRawBytes a ⇒ ToJSONKey (UsingRawBytesHex a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

toJSONKey ∷ ToJSONKeyFunction (UsingRawBytesHex a)

toJSONKeyList ∷ ToJSONKeyFunction [UsingRawBytesHex a]

(ToJSON a, ToJSON b) ⇒ ToJSONKey (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (a, b)

toJSONKeyList ∷ ToJSONKeyFunction [(a, b)]

HasResolution a ⇒ ToJSONKey (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (Fixed a)

toJSONKeyList ∷ ToJSONKeyFunction [Fixed a]

HashAlgorithm h ⇒ ToJSONKey (Hash h a) 
Instance details

Defined in Bcc.Crypto.Hash.Class

Methods

toJSONKey ∷ ToJSONKeyFunction (Hash h a)

toJSONKeyList ∷ ToJSONKeyFunction [Hash h a]

Crypto crypto ⇒ ToJSONKey (KeyHash disc crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

toJSONKey ∷ ToJSONKeyFunction (KeyHash disc crypto)

toJSONKeyList ∷ ToJSONKeyFunction [KeyHash disc crypto]

Crypto crypto ⇒ ToJSONKey (Credential kr crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

toJSONKey ∷ ToJSONKeyFunction (Credential kr crypto)

toJSONKeyList ∷ ToJSONKeyFunction [Credential kr crypto]

ToJSONKey (AbstractHash algo a) 
Instance details

Defined in Bcc.Crypto.Hashing

Methods

toJSONKey ∷ ToJSONKeyFunction (AbstractHash algo a)

toJSONKeyList ∷ ToJSONKeyFunction [AbstractHash algo a]

(ToJSON a, ToJSON b, ToJSON c) ⇒ ToJSONKey (a, b, c) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (a, b, c)

toJSONKeyList ∷ ToJSONKeyFunction [(a, b, c)]

(ToJSON a, ToJSONKey a) ⇒ ToJSONKey (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (Const a b)

toJSONKeyList ∷ ToJSONKeyFunction [Const a b]

ToJSONKey b ⇒ ToJSONKey (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (Tagged a b)

toJSONKeyList ∷ ToJSONKeyFunction [Tagged a b]

(ToJSON a, ToJSON b, ToJSON c, ToJSON d) ⇒ ToJSONKey (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKey ∷ ToJSONKeyFunction (a, b, c, d)

toJSONKeyList ∷ ToJSONKeyFunction [(a, b, c, d)]

class FromJSON a where #

Minimal complete definition

Nothing

Methods

parseJSON ∷ Value → Parser a #

parseJSONList ∷ Value → Parser [a] #

Instances

Instances details
FromJSON Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Bool #

parseJSONList ∷ Value → Parser [Bool] #

FromJSON Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Char #

parseJSONList ∷ Value → Parser [Char] #

FromJSON Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Double #

parseJSONList ∷ Value → Parser [Double] #

FromJSON Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Float #

parseJSONList ∷ Value → Parser [Float] #

FromJSON Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int #

parseJSONList ∷ Value → Parser [Int] #

FromJSON Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int8 #

parseJSONList ∷ Value → Parser [Int8] #

FromJSON Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int16 #

parseJSONList ∷ Value → Parser [Int16] #

FromJSON Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int32 #

parseJSONList ∷ Value → Parser [Int32] #

FromJSON Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Int64 #

parseJSONList ∷ Value → Parser [Int64] #

FromJSON Integer 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Integer #

parseJSONList ∷ Value → Parser [Integer] #

FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Natural #

parseJSONList ∷ Value → Parser [Natural] #

FromJSON Ordering 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Ordering #

parseJSONList ∷ Value → Parser [Ordering] #

FromJSON Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word #

parseJSONList ∷ Value → Parser [Word] #

FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word8 #

parseJSONList ∷ Value → Parser [Word8] #

FromJSON Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word16 #

parseJSONList ∷ Value → Parser [Word16] #

FromJSON Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word32 #

parseJSONList ∷ Value → Parser [Word32] #

FromJSON Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Word64 #

parseJSONList ∷ Value → Parser [Word64] #

FromJSON () 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser () #

parseJSONList ∷ Value → Parser [()] #

FromJSON Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Version #

parseJSONList ∷ Value → Parser [Version] #

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Void #

parseJSONList ∷ Value → Parser [Void] #

FromJSON CTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CTime #

parseJSONList ∷ Value → Parser [CTime] #

FromJSON IntSet 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser IntSet #

parseJSONList ∷ Value → Parser [IntSet] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Text #

parseJSONList ∷ Value → Parser [Text] #

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Text #

parseJSONList ∷ Value → Parser [Text] #

FromJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser ZonedTime #

parseJSONList ∷ Value → Parser [ZonedTime] #

FromJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser LocalTime #

parseJSONList ∷ Value → Parser [LocalTime] #

FromJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser TimeOfDay #

parseJSONList ∷ Value → Parser [TimeOfDay] #

FromJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CalendarDiffTime #

parseJSONList ∷ Value → Parser [CalendarDiffTime] #

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser UTCTime #

parseJSONList ∷ Value → Parser [UTCTime] #

FromJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser SystemTime #

parseJSONList ∷ Value → Parser [SystemTime] #

FromJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser NominalDiffTime #

parseJSONList ∷ Value → Parser [NominalDiffTime] #

FromJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DiffTime #

parseJSONList ∷ Value → Parser [DiffTime] #

FromJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DayOfWeek #

parseJSONList ∷ Value → Parser [DayOfWeek] #

FromJSON Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Day #

parseJSONList ∷ Value → Parser [Day] #

FromJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser CalendarDiffDays #

parseJSONList ∷ Value → Parser [CalendarDiffDays] #

FromJSON Scientific 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Scientific #

parseJSONList ∷ Value → Parser [Scientific] #

FromJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser DotNetTime #

parseJSONList ∷ Value → Parser [DotNetTime] #

FromJSON Value 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Value #

parseJSONList ∷ Value → Parser [Value] #

FromJSON EpochNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochNo #

parseJSONList ∷ Value → Parser [EpochNo] #

FromJSON EpochSize 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser EpochSize #

parseJSONList ∷ Value → Parser [EpochSize] #

FromJSON SlotNo 
Instance details

Defined in Bcc.Slotting.Slot

Methods

parseJSON ∷ Value → Parser SlotNo #

parseJSONList ∷ Value → Parser [SlotNo] #

FromJSON UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser UUID #

parseJSONList ∷ Value → Parser [UUID] #

FromJSON NonNegativeInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser NonNegativeInterval #

parseJSONList ∷ Value → Parser [NonNegativeInterval] #

FromJSON UnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser UnitInterval #

parseJSONList ∷ Value → Parser [UnitInterval] #

FromJSON ProtVer 
Instance details

Defined in Bcc.Protocol.TOptimum

Methods

parseJSON ∷ Value → Parser ProtVer #

parseJSONList ∷ Value → Parser [ProtVer] #

FromJSON AurumGenesis Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser AurumGenesis #

parseJSONList ∷ Value → Parser [AurumGenesis] #

FromJSON Coin 
Instance details

Defined in Bcc.Ledger.Coin

Methods

parseJSON ∷ Value → Parser Coin #

parseJSONList ∷ Value → Parser [Coin] #

FromJSON Language Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser Language #

parseJSONList ∷ Value → Parser [Language] #

FromJSON CostModel Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser CostModel #

parseJSONList ∷ Value → Parser [CostModel] #

FromJSON Prices Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser Prices #

parseJSONList ∷ Value → Parser [Prices] #

FromJSON ExUnits Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser ExUnits #

parseJSONList ∷ Value → Parser [ExUnits] #

FromJSON AssetClass 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

parseJSON ∷ Value → Parser AssetClass #

parseJSONList ∷ Value → Parser [AssetClass] #

FromJSON CurrencySymbol 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

parseJSON ∷ Value → Parser CurrencySymbol #

parseJSONList ∷ Value → Parser [CurrencySymbol] #

FromJSON TokenName 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

parseJSON ∷ Value → Parser TokenName #

parseJSONList ∷ Value → Parser [TokenName] #

FromJSON Value 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

parseJSON ∷ Value0 → Parser Value #

parseJSONList ∷ Value0 → Parser [Value] #

FromJSON MintingPolicyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser MintingPolicyHash #

parseJSONList ∷ Value → Parser [MintingPolicyHash] #

FromJSON Context 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Context #

parseJSONList ∷ Value → Parser [Context] #

FromJSON Datum 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Datum #

parseJSONList ∷ Value → Parser [Datum] #

FromJSON DatumHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser DatumHash #

parseJSONList ∷ Value → Parser [DatumHash] #

FromJSON MintingPolicy 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser MintingPolicy #

parseJSONList ∷ Value → Parser [MintingPolicy] #

FromJSON Redeemer 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Redeemer #

parseJSONList ∷ Value → Parser [Redeemer] #

FromJSON RedeemerHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser RedeemerHash #

parseJSONList ∷ Value → Parser [RedeemerHash] #

FromJSON Script 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Script #

parseJSONList ∷ Value → Parser [Script] #

FromJSON ScriptError 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser ScriptError #

parseJSONList ∷ Value → Parser [ScriptError] #

FromJSON StakeValidator 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser StakeValidator #

parseJSONList ∷ Value → Parser [StakeValidator] #

FromJSON StakeValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser StakeValidatorHash #

parseJSONList ∷ Value → Parser [StakeValidatorHash] #

FromJSON Validator 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser Validator #

parseJSONList ∷ Value → Parser [Validator] #

FromJSON ValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

parseJSON ∷ Value → Parser ValidatorHash #

parseJSONList ∷ Value → Parser [ValidatorHash] #

FromJSON ExBudget 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExBudget

Methods

parseJSON ∷ Value → Parser ExBudget #

parseJSONList ∷ Value → Parser [ExBudget] #

FromJSON Nonce 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Nonce #

parseJSONList ∷ Value → Parser [Nonce] #

FromJSON Desirability 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser Desirability #

parseJSONList ∷ Value → Parser [Desirability] #

FromJSON StakePoolRelay 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser StakePoolRelay #

parseJSONList ∷ Value → Parser [StakePoolRelay] #

FromJSON PoolMetadata 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser PoolMetadata #

parseJSONList ∷ Value → Parser [PoolMetadata] #

FromJSON Network 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Network #

parseJSONList ∷ Value → Parser [Network] #

FromJSON Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Month #

parseJSONList ∷ Value → Parser [Month] #

FromJSON Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser Quarter #

parseJSONList ∷ Value → Parser [Quarter] #

FromJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser QuarterOfYear #

parseJSONList ∷ Value → Parser [QuarterOfYear] #

FromJSON PositiveUnitInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser PositiveUnitInterval #

parseJSONList ∷ Value → Parser [PositiveUnitInterval] #

FromJSON RequiresNetworkMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser RequiresNetworkMagic #

parseJSONList ∷ Value → Parser [RequiresNetworkMagic] #

FromJSON ProtocolMagicId 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser ProtocolMagicId #

parseJSONList ∷ Value → Parser [ProtocolMagicId] #

FromJSON VerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.VerificationKey

Methods

parseJSON ∷ Value → Parser VerificationKey #

parseJSONList ∷ Value → Parser [VerificationKey] #

FromJSON ProtocolMagic 
Instance details

Defined in Bcc.Crypto.ProtocolMagic

Methods

parseJSON ∷ Value → Parser ProtocolMagic #

parseJSONList ∷ Value → Parser [ProtocolMagic] #

FromJSON CompactRedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Compact

Methods

parseJSON ∷ Value → Parser CompactRedeemVerificationKey #

parseJSONList ∷ Value → Parser [CompactRedeemVerificationKey] #

FromJSON SystemStart Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser SystemStart #

parseJSONList ∷ Value → Parser [SystemStart] #

FromJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

parseJSON ∷ Value → Parser ByteString64 #

parseJSONList ∷ Value → Parser [ByteString64] #

FromJSON RedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.VerificationKey

Methods

parseJSON ∷ Value → Parser RedeemVerificationKey #

parseJSONList ∷ Value → Parser [RedeemVerificationKey] #

FromJSON StakingCredential 
Instance details

Defined in Zerepoch.V1.Ledger.Credential

Methods

parseJSON ∷ Value → Parser StakingCredential #

parseJSONList ∷ Value → Parser [StakingCredential] #

FromJSON POSIXTime 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

parseJSON ∷ Value → Parser POSIXTime #

parseJSONList ∷ Value → Parser [POSIXTime] #

FromJSON Address 
Instance details

Defined in Zerepoch.V1.Ledger.Address

Methods

parseJSON ∷ Value → Parser Address #

parseJSONList ∷ Value → Parser [Address] #

FromJSON DCert 
Instance details

Defined in Zerepoch.V1.Ledger.DCert

Methods

parseJSON ∷ Value → Parser DCert #

parseJSONList ∷ Value → Parser [DCert] #

FromJSON Credential 
Instance details

Defined in Zerepoch.V1.Ledger.Credential

Methods

parseJSON ∷ Value → Parser Credential #

parseJSONList ∷ Value → Parser [Credential] #

FromJSON TxOut 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxOut #

parseJSONList ∷ Value → Parser [TxOut] #

FromJSON PubKeyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

parseJSON ∷ Value → Parser PubKeyHash #

parseJSONList ∷ Value → Parser [PubKeyHash] #

FromJSON TxId 
Instance details

Defined in Zerepoch.V1.Ledger.TxId

Methods

parseJSON ∷ Value → Parser TxId #

parseJSONList ∷ Value → Parser [TxId] #

FromJSON TxOutRef 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxOutRef #

parseJSONList ∷ Value → Parser [TxOutRef] #

FromJSON DnsName 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser DnsName #

parseJSONList ∷ Value → Parser [DnsName] #

FromJSON Port 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Port #

parseJSONList ∷ Value → Parser [Port] #

FromJSON PositiveInterval 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser PositiveInterval #

parseJSONList ∷ Value → Parser [PositiveInterval] #

FromJSON Url 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser Url #

parseJSONList ∷ Value → Parser [Url] #

FromJSON SatInt 
Instance details

Defined in Data.SatInt

Methods

parseJSON ∷ Value → Parser SatInt #

parseJSONList ∷ Value → Parser [SatInt] #

FromJSON CekMachineCosts 
Instance details

Defined in UntypedZerepochCore.Evaluation.Machine.Cek.CekMachineCosts

Methods

parseJSON ∷ Value → Parser CekMachineCosts #

parseJSONList ∷ Value → Parser [CekMachineCosts] #

FromJSON ModelAddedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelAddedSizes #

parseJSONList ∷ Value → Parser [ModelAddedSizes] #

FromJSON ModelConstantOrLinear 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelConstantOrLinear #

parseJSONList ∷ Value → Parser [ModelConstantOrLinear] #

FromJSON ModelConstantOrTwoArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelConstantOrTwoArguments #

parseJSONList ∷ Value → Parser [ModelConstantOrTwoArguments] #

FromJSON ModelFiveArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelFiveArguments #

parseJSONList ∷ Value → Parser [ModelFiveArguments] #

FromJSON ModelFourArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelFourArguments #

parseJSONList ∷ Value → Parser [ModelFourArguments] #

FromJSON ModelLinearSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelLinearSize #

parseJSONList ∷ Value → Parser [ModelLinearSize] #

FromJSON ModelMaxSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelMaxSize #

parseJSONList ∷ Value → Parser [ModelMaxSize] #

FromJSON ModelMinSize 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelMinSize #

parseJSONList ∷ Value → Parser [ModelMinSize] #

FromJSON ModelMultipliedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelMultipliedSizes #

parseJSONList ∷ Value → Parser [ModelMultipliedSizes] #

FromJSON ModelOneArgument 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelOneArgument #

parseJSONList ∷ Value → Parser [ModelOneArgument] #

FromJSON ModelSixArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelSixArguments #

parseJSONList ∷ Value → Parser [ModelSixArguments] #

FromJSON ModelSubtractedSizes 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelSubtractedSizes #

parseJSONList ∷ Value → Parser [ModelSubtractedSizes] #

FromJSON ModelThreeArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelThreeArguments #

parseJSONList ∷ Value → Parser [ModelThreeArguments] #

FromJSON ModelTwoArguments 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser ModelTwoArguments #

parseJSONList ∷ Value → Parser [ModelTwoArguments] #

FromJSON ExMemory 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExMemory

Methods

parseJSON ∷ Value → Parser ExMemory #

parseJSONList ∷ Value → Parser [ExMemory] #

FromJSON ExCPU 
Instance details

Defined in ZerepochCore.Evaluation.Machine.ExMemory

Methods

parseJSON ∷ Value → Parser ExCPU #

parseJSONList ∷ Value → Parser [ExCPU] #

FromJSON Bcc 
Instance details

Defined in Zerepoch.V1.Ledger.Bcc

Methods

parseJSON ∷ Value → Parser Bcc #

parseJSONList ∷ Value → Parser [Bcc] #

FromJSON LedgerBytes 
Instance details

Defined in Zerepoch.V1.Ledger.Bytes

Methods

parseJSON ∷ Value → Parser LedgerBytes #

parseJSONList ∷ Value → Parser [LedgerBytes] #

FromJSON Signature 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

parseJSON ∷ Value → Parser Signature #

parseJSONList ∷ Value → Parser [Signature] #

FromJSON PubKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

parseJSON ∷ Value → Parser PubKey #

parseJSONList ∷ Value → Parser [PubKey] #

FromJSON PrivateKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

parseJSON ∷ Value → Parser PrivateKey #

parseJSONList ∷ Value → Parser [PrivateKey] #

FromJSON Slot 
Instance details

Defined in Zerepoch.V1.Ledger.Slot

Methods

parseJSON ∷ Value → Parser Slot #

parseJSONList ∷ Value → Parser [Slot] #

FromJSON DiffMilliSeconds 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

parseJSON ∷ Value → Parser DiffMilliSeconds #

parseJSONList ∷ Value → Parser [DiffMilliSeconds] #

FromJSON RedeemerPtr 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser RedeemerPtr #

parseJSONList ∷ Value → Parser [RedeemerPtr] #

FromJSON ScriptTag 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser ScriptTag #

parseJSONList ∷ Value → Parser [ScriptTag] #

FromJSON Tx 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser Tx #

parseJSONList ∷ Value → Parser [Tx] #

FromJSON TxIn 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxIn #

parseJSONList ∷ Value → Parser [TxIn] #

FromJSON TxInType 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxInType #

parseJSONList ∷ Value → Parser [TxInType] #

FromJSON TxOutTx 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

parseJSON ∷ Value → Parser TxOutTx #

parseJSONList ∷ Value → Parser [TxOutTx] #

FromJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Methods

parseJSON ∷ Value → Parser StudentT #

parseJSONList ∷ Value → Parser [StudentT] #

FromJSON TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelope #

parseJSONList ∷ Value → Parser [TextEnvelope] #

FromJSON TextEnvelopeDescr Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelopeDescr #

parseJSONList ∷ Value → Parser [TextEnvelopeDescr] #

FromJSON TextEnvelopeType Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

Methods

parseJSON ∷ Value → Parser TextEnvelopeType #

parseJSONList ∷ Value → Parser [TextEnvelopeType] #

FromJSON ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser ScriptHash #

parseJSONList ∷ Value → Parser [ScriptHash] #

FromJSON ExecutionUnits Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser ExecutionUnits #

parseJSONList ∷ Value → Parser [ExecutionUnits] #

FromJSON AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser AnyZerepochScriptVersion #

parseJSONList ∷ Value → Parser [AnyZerepochScriptVersion] #

FromJSON StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

Methods

parseJSON ∷ Value → Parser StakePoolMetadata #

parseJSONList ∷ Value → Parser [StakePoolMetadata] #

FromJSON ValueNestedRep Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser ValueNestedRep #

parseJSONList ∷ Value → Parser [ValueNestedRep] #

FromJSON Value Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value0 → Parser Value #

parseJSONList ∷ Value0 → Parser [Value] #

FromJSON AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser AssetName #

parseJSONList ∷ Value → Parser [AssetName] #

FromJSON PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser PolicyId #

parseJSONList ∷ Value → Parser [PolicyId] #

FromJSON Quantity Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser Quantity #

parseJSONList ∷ Value → Parser [Quantity] #

FromJSON Entropic Source # 
Instance details

Defined in Bcc.Api.Value

Methods

parseJSON ∷ Value → Parser Entropic #

parseJSONList ∷ Value → Parser [Entropic] #

FromJSON CostModel Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser CostModel #

parseJSONList ∷ Value → Parser [CostModel] #

FromJSON ExecutionUnitPrices Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ExecutionUnitPrices #

parseJSONList ∷ Value → Parser [ExecutionUnitPrices] #

FromJSON OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser OptimumNonce #

parseJSONList ∷ Value → Parser [OptimumNonce] #

FromJSON ProtocolParameters Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

Methods

parseJSON ∷ Value → Parser ProtocolParameters #

parseJSONList ∷ Value → Parser [ProtocolParameters] #

FromJSON TxIx Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

parseJSON ∷ Value → Parser TxIx #

parseJSONList ∷ Value → Parser [TxIx] #

FromJSON TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

parseJSON ∷ Value → Parser TxId #

parseJSONList ∷ Value → Parser [TxId] #

FromJSON a ⇒ FromJSON [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser [a] #

parseJSONList ∷ Value → Parser [[a]] #

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Maybe a) #

parseJSONList ∷ Value → Parser [Maybe a] #

(FromJSON a, Integral a) ⇒ FromJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Ratio a) #

parseJSONList ∷ Value → Parser [Ratio a] #

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (First a) #

parseJSONList ∷ Value → Parser [First a] #

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Last a) #

parseJSONList ∷ Value → Parser [Last a] #

(Ord a, FromJSON a) ⇒ FromJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Set a) #

parseJSONList ∷ Value → Parser [Set a] #

FromJSON a ⇒ FromJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (NonEmpty a) #

parseJSONList ∷ Value → Parser [NonEmpty a] #

FromJSON a ⇒ FromJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Identity a) #

parseJSONList ∷ Value → Parser [Identity a] #

FromJSON a ⇒ FromJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Min a) #

parseJSONList ∷ Value → Parser [Min a] #

FromJSON a ⇒ FromJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Max a) #

parseJSONList ∷ Value → Parser [Max a] #

FromJSON a ⇒ FromJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (WrappedMonoid a) #

parseJSONList ∷ Value → Parser [WrappedMonoid a] #

FromJSON a ⇒ FromJSON (Option a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Option a) #

parseJSONList ∷ Value → Parser [Option a] #

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (First a) #

parseJSONList ∷ Value → Parser [First a] #

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Last a) #

parseJSONList ∷ Value → Parser [Last a] #

FromJSON a ⇒ FromJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Dual a) #

parseJSONList ∷ Value → Parser [Dual a] #

FromJSON a ⇒ FromJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (IntMap a) #

parseJSONList ∷ Value → Parser [IntMap a] #

FromJSON v ⇒ FromJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Tree v) #

parseJSONList ∷ Value → Parser [Tree v] #

FromJSON a ⇒ FromJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Seq a) #

parseJSONList ∷ Value → Parser [Seq a] #

(Vector Vector a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON a ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON1 f ⇒ FromJSON (Fix f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Fix f) #

parseJSONList ∷ Value → Parser [Fix f] #

(FromJSON1 f, Functor f) ⇒ FromJSON (Mu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Mu f) #

parseJSONList ∷ Value → Parser [Mu f] #

(FromJSON1 f, Functor f) ⇒ FromJSON (Nu f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Nu f) #

parseJSONList ∷ Value → Parser [Nu f] #

FromJSON a ⇒ FromJSON (DNonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (DNonEmpty a) #

parseJSONList ∷ Value → Parser [DNonEmpty a] #

FromJSON a ⇒ FromJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (DList a) #

parseJSONList ∷ Value → Parser [DList a] #

FromJSON a ⇒ FromJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Array a) #

parseJSONList ∷ Value → Parser [Array a] #

(Prim a, FromJSON a) ⇒ FromJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (PrimArray a) #

parseJSONList ∷ Value → Parser [PrimArray a] #

FromJSON a ⇒ FromJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (SmallArray a) #

parseJSONList ∷ Value → Parser [SmallArray a] #

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Maybe a) #

parseJSONList ∷ Value → Parser [Maybe a] #

(Eq a, Hashable a, FromJSON a) ⇒ FromJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (HashSet a) #

parseJSONList ∷ Value → Parser [HashSet a] #

(Prim a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

(Storable a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Vector a) #

parseJSONList ∷ Value → Parser [Vector a] #

FromJSON a ⇒ FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Methods

parseJSON ∷ Value → Parser (StrictMaybe a) #

parseJSONList ∷ Value → Parser [StrictMaybe a] #

FromJSON (PParams era) Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

parseJSON ∷ Value → Parser (PParams era) #

parseJSONList ∷ Value → Parser [PParams era] #

FromJSON (PParams era) 
Instance details

Defined in Sophie.Spec.Ledger.PParams

Methods

parseJSON ∷ Value → Parser (PParams era) #

parseJSONList ∷ Value → Parser [PParams era] #

Crypto crypto ⇒ FromJSON (ScriptHash crypto) 
Instance details

Defined in Bcc.Ledger.Hashes

Methods

parseJSON ∷ Value → Parser (ScriptHash crypto) #

parseJSONList ∷ Value → Parser [ScriptHash crypto] #

Crypto crypto ⇒ FromJSON (Addr crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

parseJSON ∷ Value → Parser (Addr crypto) #

parseJSONList ∷ Value → Parser [Addr crypto] #

Crypto crypto ⇒ FromJSON (BlocksMade crypto) 
Instance details

Defined in Sophie.Spec.Ledger.EpochBoundary

Methods

parseJSON ∷ Value → Parser (BlocksMade crypto) #

parseJSONList ∷ Value → Parser [BlocksMade crypto] #

Era era ⇒ FromJSON (SophieGenesis era) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

parseJSON ∷ Value → Parser (SophieGenesis era) #

parseJSONList ∷ Value → Parser [SophieGenesis era] #

Crypto crypto ⇒ FromJSON (GenDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (GenDelegPair crypto) #

parseJSONList ∷ Value → Parser [GenDelegPair crypto] #

Crypto crypto ⇒ FromJSON (VestedDelegPair crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (VestedDelegPair crypto) #

parseJSONList ∷ Value → Parser [VestedDelegPair crypto] #

Crypto crypto ⇒ FromJSON (SophieGenesisStaking crypto) 
Instance details

Defined in Sophie.Spec.Ledger.Genesis

Methods

parseJSON ∷ Value → Parser (SophieGenesisStaking crypto) #

parseJSONList ∷ Value → Parser [SophieGenesisStaking crypto] #

Crypto crypto ⇒ FromJSON (PoolParams crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser (PoolParams crypto) #

parseJSONList ∷ Value → Parser [PoolParams crypto] #

Crypto crypto ⇒ FromJSON (RewardProvenance crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser (RewardProvenance crypto) #

parseJSONList ∷ Value → Parser [RewardProvenance crypto] #

Crypto crypto ⇒ FromJSON (RewardProvenancePool crypto) 
Instance details

Defined in Sophie.Spec.Ledger.RewardProvenance

Methods

parseJSON ∷ Value → Parser (RewardProvenancePool crypto) #

parseJSONList ∷ Value → Parser [RewardProvenancePool crypto] #

Crypto crypto ⇒ FromJSON (RewardAcnt crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

parseJSON ∷ Value → Parser (RewardAcnt crypto) #

parseJSONList ∷ Value → Parser [RewardAcnt crypto] #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

parseJSON ∷ Value → Parser (Hash ScriptData) #

parseJSONList ∷ Value → Parser [Hash ScriptData] #

FromJSON a ⇒ FromJSON (RedeemSignature a) 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Signature

Methods

parseJSON ∷ Value → Parser (RedeemSignature a) #

parseJSONList ∷ Value → Parser [RedeemSignature a] #

FromJSON (Signature w) 
Instance details

Defined in Bcc.Crypto.Signing.Signature

Methods

parseJSON ∷ Value → Parser (Signature w) #

parseJSONList ∷ Value → Parser [Signature w] #

Crypto crypto ⇒ FromJSON (StakeCreds crypto) 
Instance details

Defined in Sophie.Spec.Ledger.TxBody

Methods

parseJSON ∷ Value → Parser (StakeCreds crypto) #

parseJSONList ∷ Value → Parser [StakeCreds crypto] #

FromJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser (BuiltinCostModelBase CostingFun) #

parseJSONList ∷ Value → Parser [BuiltinCostModelBase CostingFun] #

FromJSON model ⇒ FromJSON (CostingFun model) 
Instance details

Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel

Methods

parseJSON ∷ Value → Parser (CostingFun model) #

parseJSONList ∷ Value → Parser [CostingFun model] #

FromJSON a ⇒ FromJSON (Interval a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

parseJSON ∷ Value → Parser (Interval a) #

parseJSONList ∷ Value → Parser [Interval a] #

FromJSON a ⇒ FromJSON (Extended a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

parseJSON ∷ Value → Parser (Extended a) #

parseJSONList ∷ Value → Parser [Extended a] #

FromJSON a ⇒ FromJSON (LowerBound a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

parseJSON ∷ Value → Parser (LowerBound a) #

parseJSONList ∷ Value → Parser [LowerBound a] #

FromJSON a ⇒ FromJSON (UpperBound a) 
Instance details

Defined in Zerepoch.V1.Ledger.Interval

Methods

parseJSON ∷ Value → Parser (UpperBound a) #

parseJSONList ∷ Value → Parser [UpperBound a] #

FromJSON a ⇒ FromJSON (Ratio a) 
Instance details

Defined in ZerepochTx.Ratio

Methods

parseJSON ∷ Value → Parser (Ratio a) #

parseJSONList ∷ Value → Parser [Ratio a] #

FromJSON d ⇒ FromJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Methods

parseJSON ∷ Value → Parser (LinearTransform d) #

parseJSONList ∷ Value → Parser [LinearTransform d] #

(SerialiseAsBech32 a, Typeable a) ⇒ FromJSON (UsingBech32 a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

parseJSON ∷ Value → Parser (UsingBech32 a) #

parseJSONList ∷ Value → Parser [UsingBech32 a] #

(SerialiseAsRawBytes a, Typeable a) ⇒ FromJSON (UsingRawBytesHex a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

parseJSON ∷ Value → Parser (UsingRawBytesHex a) #

parseJSONList ∷ Value → Parser [UsingRawBytesHex a] #

IsSimpleScriptLanguage lang ⇒ FromJSON (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

Methods

parseJSON ∷ Value → Parser (SimpleScript lang) #

parseJSONList ∷ Value → Parser [SimpleScript lang] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Either a b) #

parseJSONList ∷ Value → Parser [Either a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b) #

parseJSONList ∷ Value → Parser [(a, b)] #

(FromJSONKey k, Ord k, FromJSON v) ⇒ FromJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Map k v) #

parseJSONList ∷ Value → Parser [Map k v] #

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Proxy a) #

parseJSONList ∷ Value → Parser [Proxy a] #

HasResolution a ⇒ FromJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Fixed a) #

parseJSONList ∷ Value → Parser [Fixed a] #

(FromJSON v, FromJSONKey k, Eq k, Hashable k) ⇒ FromJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (HashMap k v) #

parseJSONList ∷ Value → Parser [HashMap k v] #

FromJSON b ⇒ FromJSON (Annotated b ()) 
Instance details

Defined in Bcc.Binary.Annotated

Methods

parseJSON ∷ Value → Parser (Annotated b ()) #

parseJSONList ∷ Value → Parser [Annotated b ()] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Either a b) #

parseJSONList ∷ Value → Parser [Either a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These a b) #

parseJSONList ∷ Value → Parser [These a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These a b) #

parseJSONList ∷ Value → Parser [These a b] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Pair a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Pair a b) #

parseJSONList ∷ Value → Parser [Pair a b] #

HashAlgorithm h ⇒ FromJSON (Hash h a) 
Instance details

Defined in Bcc.Crypto.Hash.Class

Methods

parseJSON ∷ Value → Parser (Hash h a) #

parseJSONList ∷ Value → Parser [Hash h a] #

Crypto crypto ⇒ FromJSON (KeyHash disc crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

parseJSON ∷ Value → Parser (KeyHash disc crypto) #

parseJSONList ∷ Value → Parser [KeyHash disc crypto] #

Crypto crypto ⇒ FromJSON (Credential kr crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

parseJSON ∷ Value → Parser (Credential kr crypto) #

parseJSONList ∷ Value → Parser [Credential kr crypto] #

HashAlgorithm algo ⇒ FromJSON (AbstractHash algo a) 
Instance details

Defined in Bcc.Crypto.Hashing

Methods

parseJSON ∷ Value → Parser (AbstractHash algo a) #

parseJSONList ∷ Value → Parser [AbstractHash algo a] #

Bounded (BoundedRatio b Word64) ⇒ FromJSON (BoundedRatio b Word64) 
Instance details

Defined in Bcc.Ledger.BaseTypes

Methods

parseJSON ∷ Value → Parser (BoundedRatio b Word64) #

parseJSONList ∷ Value → Parser [BoundedRatio b Word64] #

(FromJSONKey k, Ord k, FromJSON a) ⇒ FromJSON (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

Methods

parseJSON ∷ Value → Parser (MonoidalMap k a) #

parseJSONList ∷ Value → Parser [MonoidalMap k a] #

(FromJSON a, FromJSON b, FromJSON c) ⇒ FromJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c) #

parseJSONList ∷ Value → Parser [(a, b, c)] #

FromJSON a ⇒ FromJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Const a b) #

parseJSONList ∷ Value → Parser [Const a b] #

FromJSON b ⇒ FromJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Tagged a b) #

parseJSONList ∷ Value → Parser [Tagged a b] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (These1 f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (These1 f g a) #

parseJSONList ∷ Value → Parser [These1 f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d) ⇒ FromJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d) #

parseJSONList ∷ Value → Parser [(a, b, c, d)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Product f g a) #

parseJSONList ∷ Value → Parser [Product f g a] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Sum f g a) #

parseJSONList ∷ Value → Parser [Sum f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) ⇒ FromJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e)] #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (Compose f g a) #

parseJSONList ∷ Value → Parser [Compose f g a] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) ⇒ FromJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g) ⇒ FromJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h) ⇒ FromJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i) ⇒ FromJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n, FromJSON o) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON ∷ Value → Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

parseJSONList ∷ Value → Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] #

class FromJSONKey a #

Instances

Instances details
FromJSONKey Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Bool

fromJSONKeyList ∷ FromJSONKeyFunction [Bool]

FromJSONKey Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Char

fromJSONKeyList ∷ FromJSONKeyFunction [Char]

FromJSONKey Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Double

fromJSONKeyList ∷ FromJSONKeyFunction [Double]

FromJSONKey Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Float

fromJSONKeyList ∷ FromJSONKeyFunction [Float]

FromJSONKey Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int

fromJSONKeyList ∷ FromJSONKeyFunction [Int]

FromJSONKey Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int8

fromJSONKeyList ∷ FromJSONKeyFunction [Int8]

FromJSONKey Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int16

fromJSONKeyList ∷ FromJSONKeyFunction [Int16]

FromJSONKey Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int32

fromJSONKeyList ∷ FromJSONKeyFunction [Int32]

FromJSONKey Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Int64

fromJSONKeyList ∷ FromJSONKeyFunction [Int64]

FromJSONKey Integer 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Integer

fromJSONKeyList ∷ FromJSONKeyFunction [Integer]

FromJSONKey Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Natural

fromJSONKeyList ∷ FromJSONKeyFunction [Natural]

FromJSONKey Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word

fromJSONKeyList ∷ FromJSONKeyFunction [Word]

FromJSONKey Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word8

fromJSONKeyList ∷ FromJSONKeyFunction [Word8]

FromJSONKey Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word16

fromJSONKeyList ∷ FromJSONKeyFunction [Word16]

FromJSONKey Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word32

fromJSONKeyList ∷ FromJSONKeyFunction [Word32]

FromJSONKey Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Word64

fromJSONKeyList ∷ FromJSONKeyFunction [Word64]

FromJSONKey Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Version

fromJSONKeyList ∷ FromJSONKeyFunction [Version]

FromJSONKey Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Text

fromJSONKeyList ∷ FromJSONKeyFunction [Text]

FromJSONKey Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Text

fromJSONKeyList ∷ FromJSONKeyFunction [Text]

FromJSONKey ZonedTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction ZonedTime

fromJSONKeyList ∷ FromJSONKeyFunction [ZonedTime]

FromJSONKey LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction LocalTime

fromJSONKeyList ∷ FromJSONKeyFunction [LocalTime]

FromJSONKey TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction TimeOfDay

fromJSONKeyList ∷ FromJSONKeyFunction [TimeOfDay]

FromJSONKey UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction UTCTime

fromJSONKeyList ∷ FromJSONKeyFunction [UTCTime]

FromJSONKey DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction DayOfWeek

fromJSONKeyList ∷ FromJSONKeyFunction [DayOfWeek]

FromJSONKey Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Day

fromJSONKeyList ∷ FromJSONKeyFunction [Day]

FromJSONKey UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction UUID

fromJSONKeyList ∷ FromJSONKeyFunction [UUID]

FromJSONKey Language Source # 
Instance details

Defined in Bcc.Api.Orphans

Methods

fromJSONKey ∷ FromJSONKeyFunction Language

fromJSONKeyList ∷ FromJSONKeyFunction [Language]

FromJSONKey CurrencySymbol 
Instance details

Defined in Zerepoch.V1.Ledger.Value

Methods

fromJSONKey ∷ FromJSONKeyFunction CurrencySymbol

fromJSONKeyList ∷ FromJSONKeyFunction [CurrencySymbol]

FromJSONKey MintingPolicyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

fromJSONKey ∷ FromJSONKeyFunction MintingPolicyHash

fromJSONKeyList ∷ FromJSONKeyFunction [MintingPolicyHash]

FromJSONKey DatumHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

fromJSONKey ∷ FromJSONKeyFunction DatumHash

fromJSONKeyList ∷ FromJSONKeyFunction [DatumHash]

FromJSONKey RedeemerHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

fromJSONKey ∷ FromJSONKeyFunction RedeemerHash

fromJSONKeyList ∷ FromJSONKeyFunction [RedeemerHash]

FromJSONKey StakeValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

fromJSONKey ∷ FromJSONKeyFunction StakeValidatorHash

fromJSONKeyList ∷ FromJSONKeyFunction [StakeValidatorHash]

FromJSONKey ValidatorHash 
Instance details

Defined in Zerepoch.V1.Ledger.Scripts

Methods

fromJSONKey ∷ FromJSONKeyFunction ValidatorHash

fromJSONKeyList ∷ FromJSONKeyFunction [ValidatorHash]

FromJSONKey Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Month

fromJSONKeyList ∷ FromJSONKeyFunction [Month]

FromJSONKey Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction Quarter

fromJSONKeyList ∷ FromJSONKeyFunction [Quarter]

FromJSONKey QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction QuarterOfYear

fromJSONKeyList ∷ FromJSONKeyFunction [QuarterOfYear]

FromJSONKey CompactRedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.Compact

Methods

fromJSONKey ∷ FromJSONKeyFunction CompactRedeemVerificationKey

fromJSONKeyList ∷ FromJSONKeyFunction [CompactRedeemVerificationKey]

FromJSONKey ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Methods

fromJSONKey ∷ FromJSONKeyFunction ByteString64

fromJSONKeyList ∷ FromJSONKeyFunction [ByteString64]

FromJSONKey RedeemVerificationKey 
Instance details

Defined in Bcc.Crypto.Signing.Redeem.VerificationKey

Methods

fromJSONKey ∷ FromJSONKeyFunction RedeemVerificationKey

fromJSONKeyList ∷ FromJSONKeyFunction [RedeemVerificationKey]

FromJSONKey POSIXTime 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

fromJSONKey ∷ FromJSONKeyFunction POSIXTime

fromJSONKeyList ∷ FromJSONKeyFunction [POSIXTime]

FromJSONKey Address 
Instance details

Defined in Zerepoch.V1.Ledger.Address

Methods

fromJSONKey ∷ FromJSONKeyFunction Address

fromJSONKeyList ∷ FromJSONKeyFunction [Address]

FromJSONKey PubKeyHash 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

fromJSONKey ∷ FromJSONKeyFunction PubKeyHash

fromJSONKeyList ∷ FromJSONKeyFunction [PubKeyHash]

FromJSONKey TxId 
Instance details

Defined in Zerepoch.V1.Ledger.TxId

Methods

fromJSONKey ∷ FromJSONKeyFunction TxId

fromJSONKeyList ∷ FromJSONKeyFunction [TxId]

FromJSONKey TxOutRef 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

fromJSONKey ∷ FromJSONKeyFunction TxOutRef

fromJSONKeyList ∷ FromJSONKeyFunction [TxOutRef]

FromJSONKey LedgerBytes 
Instance details

Defined in Zerepoch.V1.Ledger.Bytes

Methods

fromJSONKey ∷ FromJSONKeyFunction LedgerBytes

fromJSONKeyList ∷ FromJSONKeyFunction [LedgerBytes]

FromJSONKey PubKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

fromJSONKey ∷ FromJSONKeyFunction PubKey

fromJSONKeyList ∷ FromJSONKeyFunction [PubKey]

FromJSONKey PrivateKey 
Instance details

Defined in Zerepoch.V1.Ledger.Crypto

Methods

fromJSONKey ∷ FromJSONKeyFunction PrivateKey

fromJSONKeyList ∷ FromJSONKeyFunction [PrivateKey]

FromJSONKey Slot 
Instance details

Defined in Zerepoch.V1.Ledger.Slot

Methods

fromJSONKey ∷ FromJSONKeyFunction Slot

fromJSONKeyList ∷ FromJSONKeyFunction [Slot]

FromJSONKey DiffMilliSeconds 
Instance details

Defined in Zerepoch.V1.Ledger.Time

Methods

fromJSONKey ∷ FromJSONKeyFunction DiffMilliSeconds

fromJSONKeyList ∷ FromJSONKeyFunction [DiffMilliSeconds]

FromJSONKey RedeemerPtr 
Instance details

Defined in Zerepoch.V1.Ledger.Tx

Methods

fromJSONKey ∷ FromJSONKeyFunction RedeemerPtr

fromJSONKeyList ∷ FromJSONKeyFunction [RedeemerPtr]

FromJSONKey AnyZerepochScriptVersion Source # 
Instance details

Defined in Bcc.Api.Script

Methods

fromJSONKey ∷ FromJSONKeyFunction AnyZerepochScriptVersion

fromJSONKeyList ∷ FromJSONKeyFunction [AnyZerepochScriptVersion]

FromJSONKey AssetName Source # 
Instance details

Defined in Bcc.Api.Value

Methods

fromJSONKey ∷ FromJSONKeyFunction AssetName

fromJSONKeyList ∷ FromJSONKeyFunction [AssetName]

FromJSONKey TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

Methods

fromJSONKey ∷ FromJSONKeyFunction TxId

fromJSONKeyList ∷ FromJSONKeyFunction [TxId]

(FromJSONKey a, FromJSON a) ⇒ FromJSONKey [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction [a]

fromJSONKeyList ∷ FromJSONKeyFunction [[a]]

FromJSONKey a ⇒ FromJSONKey (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (Identity a)

fromJSONKeyList ∷ FromJSONKeyFunction [Identity a]

Crypto crypto ⇒ FromJSONKey (Addr crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

fromJSONKey ∷ FromJSONKeyFunction (Addr crypto)

fromJSONKeyList ∷ FromJSONKeyFunction [Addr crypto]

Crypto crypto ⇒ FromJSONKey (RewardAcnt crypto) 
Instance details

Defined in Bcc.Ledger.Address

Methods

fromJSONKey ∷ FromJSONKeyFunction (RewardAcnt crypto)

fromJSONKeyList ∷ FromJSONKeyFunction [RewardAcnt crypto]

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Bcc.Api.ScriptData

Methods

fromJSONKey ∷ FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList ∷ FromJSONKeyFunction [Hash ScriptData]

(SerialiseAsBech32 a, Typeable a) ⇒ FromJSONKey (UsingBech32 a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

fromJSONKey ∷ FromJSONKeyFunction (UsingBech32 a)

fromJSONKeyList ∷ FromJSONKeyFunction [UsingBech32 a]

(SerialiseAsRawBytes a, Typeable a) ⇒ FromJSONKey (UsingRawBytesHex a) Source # 
Instance details

Defined in Bcc.Api.SerialiseUsing

Methods

fromJSONKey ∷ FromJSONKeyFunction (UsingRawBytesHex a)

fromJSONKeyList ∷ FromJSONKeyFunction [UsingRawBytesHex a]

(FromJSON a, FromJSON b) ⇒ FromJSONKey (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (a, b)

fromJSONKeyList ∷ FromJSONKeyFunction [(a, b)]

HashAlgorithm h ⇒ FromJSONKey (Hash h a) 
Instance details

Defined in Bcc.Crypto.Hash.Class

Methods

fromJSONKey ∷ FromJSONKeyFunction (Hash h a)

fromJSONKeyList ∷ FromJSONKeyFunction [Hash h a]

Crypto crypto ⇒ FromJSONKey (KeyHash disc crypto) 
Instance details

Defined in Bcc.Ledger.Keys

Methods

fromJSONKey ∷ FromJSONKeyFunction (KeyHash disc crypto)

fromJSONKeyList ∷ FromJSONKeyFunction [KeyHash disc crypto]

Crypto crypto ⇒ FromJSONKey (Credential kr crypto) 
Instance details

Defined in Bcc.Ledger.Credential

Methods

fromJSONKey ∷ FromJSONKeyFunction (Credential kr crypto)

fromJSONKeyList ∷ FromJSONKeyFunction [Credential kr crypto]

(HashAlgorithm algo, FromJSON (AbstractHash algo a)) ⇒ FromJSONKey (AbstractHash algo a) 
Instance details

Defined in Bcc.Crypto.Hashing

Methods

fromJSONKey ∷ FromJSONKeyFunction (AbstractHash algo a)

fromJSONKeyList ∷ FromJSONKeyFunction [AbstractHash algo a]

(FromJSON a, FromJSON b, FromJSON c) ⇒ FromJSONKey (a, b, c) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (a, b, c)

fromJSONKeyList ∷ FromJSONKeyFunction [(a, b, c)]

(FromJSON a, FromJSONKey a) ⇒ FromJSONKey (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (Const a b)

fromJSONKeyList ∷ FromJSONKeyFunction [Const a b]

FromJSONKey b ⇒ FromJSONKey (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (Tagged a b)

fromJSONKeyList ∷ FromJSONKeyFunction [Tagged a b]

(FromJSON a, FromJSON b, FromJSON c, FromJSON d) ⇒ FromJSONKey (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

fromJSONKey ∷ FromJSONKeyFunction (a, b, c, d)

fromJSONKeyList ∷ FromJSONKeyFunction [(a, b, c, d)]

writeFileJSONToJSON a ⇒ FilePath → a → IO (Either (FileError ()) ()) Source #