Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bcc.Api.SerialiseJSON
Description
JSON serialisation
Documentation
serialiseToJSON ∷ ToJSON a ⇒ a → ByteString Source #
Minimal complete definition
Nothing
Instances
ToJSON Bool | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Bool → Encoding # toJSONList ∷ [Bool] → Value # toEncodingList ∷ [Bool] → Encoding # | |
ToJSON Char | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Char → Encoding # toJSONList ∷ [Char] → Value # toEncodingList ∷ [Char] → Encoding # | |
ToJSON Double | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Double → Encoding # toJSONList ∷ [Double] → Value # toEncodingList ∷ [Double] → Encoding # | |
ToJSON Float | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Float → Encoding # toJSONList ∷ [Float] → Value # toEncodingList ∷ [Float] → Encoding # | |
ToJSON Int | |
Defined in Data.Aeson.Types.ToJSON | |
ToJSON Int8 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Int8 → Encoding # toJSONList ∷ [Int8] → Value # toEncodingList ∷ [Int8] → Encoding # | |
ToJSON Int16 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Int16 → Encoding # toJSONList ∷ [Int16] → Value # toEncodingList ∷ [Int16] → Encoding # | |
ToJSON Int32 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Int32 → Encoding # toJSONList ∷ [Int32] → Value # toEncodingList ∷ [Int32] → Encoding # | |
ToJSON Int64 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Int64 → Encoding # toJSONList ∷ [Int64] → Value # toEncodingList ∷ [Int64] → Encoding # | |
ToJSON Integer | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Integer → Encoding # toJSONList ∷ [Integer] → Value # toEncodingList ∷ [Integer] → Encoding # | |
ToJSON Natural | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Natural → Encoding # toJSONList ∷ [Natural] → Value # toEncodingList ∷ [Natural] → Encoding # | |
ToJSON Ordering | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Ordering → Encoding # toJSONList ∷ [Ordering] → Value # toEncodingList ∷ [Ordering] → Encoding # | |
ToJSON Word | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word → Encoding # toJSONList ∷ [Word] → Value # toEncodingList ∷ [Word] → Encoding # | |
ToJSON Word8 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word8 → Encoding # toJSONList ∷ [Word8] → Value # toEncodingList ∷ [Word8] → Encoding # | |
ToJSON Word16 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word16 → Encoding # toJSONList ∷ [Word16] → Value # toEncodingList ∷ [Word16] → Encoding # | |
ToJSON Word32 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word32 → Encoding # toJSONList ∷ [Word32] → Value # toEncodingList ∷ [Word32] → Encoding # | |
ToJSON Word64 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Word64 → Encoding # toJSONList ∷ [Word64] → Value # toEncodingList ∷ [Word64] → Encoding # | |
ToJSON () | |
Defined in Data.Aeson.Types.ToJSON | |
ToJSON Version | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Version → Encoding # toJSONList ∷ [Version] → Value # toEncodingList ∷ [Version] → Encoding # | |
ToJSON Void | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Void → Encoding # toJSONList ∷ [Void] → Value # toEncodingList ∷ [Void] → Encoding # | |
ToJSON CTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ CTime → Encoding # toJSONList ∷ [CTime] → Value # toEncodingList ∷ [CTime] → Encoding # | |
ToJSON IntSet | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ IntSet → Encoding # toJSONList ∷ [IntSet] → Value # toEncodingList ∷ [IntSet] → Encoding # | |
ToJSON Text | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Text → Encoding # toJSONList ∷ [Text] → Value # toEncodingList ∷ [Text] → Encoding # | |
ToJSON Text | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Text → Encoding # toJSONList ∷ [Text] → Value # toEncodingList ∷ [Text] → Encoding # | |
ToJSON ZonedTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ ZonedTime → Encoding # toJSONList ∷ [ZonedTime] → Value # toEncodingList ∷ [ZonedTime] → Encoding # | |
ToJSON LocalTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ LocalTime → Encoding # toJSONList ∷ [LocalTime] → Value # toEncodingList ∷ [LocalTime] → Encoding # | |
ToJSON TimeOfDay | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ TimeOfDay → Encoding # toJSONList ∷ [TimeOfDay] → Value # toEncodingList ∷ [TimeOfDay] → Encoding # | |
ToJSON CalendarDiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ CalendarDiffTime → Value # toEncoding ∷ CalendarDiffTime → Encoding # toJSONList ∷ [CalendarDiffTime] → Value # toEncodingList ∷ [CalendarDiffTime] → Encoding # | |
ToJSON UTCTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ UTCTime → Encoding # toJSONList ∷ [UTCTime] → Value # toEncodingList ∷ [UTCTime] → Encoding # | |
ToJSON SystemTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ SystemTime → Value # toEncoding ∷ SystemTime → Encoding # toJSONList ∷ [SystemTime] → Value # toEncodingList ∷ [SystemTime] → Encoding # | |
ToJSON NominalDiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ NominalDiffTime → Value # toEncoding ∷ NominalDiffTime → Encoding # toJSONList ∷ [NominalDiffTime] → Value # toEncodingList ∷ [NominalDiffTime] → Encoding # | |
ToJSON DiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ DiffTime → Encoding # toJSONList ∷ [DiffTime] → Value # toEncodingList ∷ [DiffTime] → Encoding # | |
ToJSON DayOfWeek | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ DayOfWeek → Encoding # toJSONList ∷ [DayOfWeek] → Value # toEncodingList ∷ [DayOfWeek] → Encoding # | |
ToJSON Day | |
Defined in Data.Aeson.Types.ToJSON | |
ToJSON CalendarDiffDays | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ CalendarDiffDays → Value # toEncoding ∷ CalendarDiffDays → Encoding # toJSONList ∷ [CalendarDiffDays] → Value # toEncodingList ∷ [CalendarDiffDays] → Encoding # | |
ToJSON Number | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Number → Encoding # toJSONList ∷ [Number] → Value # toEncodingList ∷ [Number] → Encoding # | |
ToJSON Scientific | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Scientific → Encoding # toJSONList ∷ [Scientific] → Value # toEncodingList ∷ [Scientific] → Encoding # | |
ToJSON DotNetTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ DotNetTime → Encoding # toJSONList ∷ [DotNetTime] → Value # toEncodingList ∷ [DotNetTime] → Encoding # | |
ToJSON Value | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Value → Encoding # toJSONList ∷ [Value] → Value # toEncodingList ∷ [Value] → Encoding # | |
ToJSON ByteSpan | |
Defined in Bcc.Binary.Annotated Methods toEncoding ∷ ByteSpan → Encoding # toJSONList ∷ [ByteSpan] → Value # toEncodingList ∷ [ByteSpan] → Encoding # | |
ToJSON EpochNo | |
Defined in Bcc.Slotting.Slot Methods toEncoding ∷ EpochNo → Encoding # toJSONList ∷ [EpochNo] → Value # toEncodingList ∷ [EpochNo] → Encoding # | |
ToJSON EpochSize | |
Defined in Bcc.Slotting.Slot Methods toEncoding ∷ EpochSize → Encoding # toJSONList ∷ [EpochSize] → Value # toEncodingList ∷ [EpochSize] → Encoding # | |
ToJSON SlotNo | |
Defined in Bcc.Slotting.Slot Methods toEncoding ∷ SlotNo → Encoding # toJSONList ∷ [SlotNo] → Value # toEncodingList ∷ [SlotNo] → Encoding # | |
ToJSON UUID | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ UUID → Encoding # toJSONList ∷ [UUID] → Value # toEncodingList ∷ [UUID] → Encoding # | |
ToJSON NonNegativeInterval | |
Defined in Bcc.Ledger.BaseTypes Methods toJSON ∷ NonNegativeInterval → Value # toEncoding ∷ NonNegativeInterval → Encoding # toJSONList ∷ [NonNegativeInterval] → Value # toEncodingList ∷ [NonNegativeInterval] → Encoding # | |
ToJSON UnitInterval | |
Defined in Bcc.Ledger.BaseTypes Methods toJSON ∷ UnitInterval → Value # toEncoding ∷ UnitInterval → Encoding # toJSONList ∷ [UnitInterval] → Value # toEncodingList ∷ [UnitInterval] → Encoding # | |
ToJSON ProtVer | |
Defined in Bcc.Protocol.TOptimum Methods toEncoding ∷ ProtVer → Encoding # toJSONList ∷ [ProtVer] → Value # toEncodingList ∷ [ProtVer] → Encoding # | |
ToJSON AurumGenesis Source # | |
Defined in Bcc.Api.Orphans Methods toJSON ∷ AurumGenesis → Value # toEncoding ∷ AurumGenesis → Encoding # toJSONList ∷ [AurumGenesis] → Value # toEncodingList ∷ [AurumGenesis] → Encoding # | |
ToJSON Coin | |
Defined in Bcc.Ledger.Coin Methods toEncoding ∷ Coin → Encoding # toJSONList ∷ [Coin] → Value # toEncodingList ∷ [Coin] → Encoding # | |
ToJSON Language Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ Language → Encoding # toJSONList ∷ [Language] → Value # toEncodingList ∷ [Language] → Encoding # | |
ToJSON CostModel Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ CostModel → Encoding # toJSONList ∷ [CostModel] → Value # toEncodingList ∷ [CostModel] → Encoding # | |
ToJSON Prices Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ Prices → Encoding # toJSONList ∷ [Prices] → Value # toEncodingList ∷ [Prices] → Encoding # | |
ToJSON ExUnits Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ ExUnits → Encoding # toJSONList ∷ [ExUnits] → Value # toEncodingList ∷ [ExUnits] → Encoding # | |
ToJSON AssetClass | |
Defined in Zerepoch.V1.Ledger.Value Methods toEncoding ∷ AssetClass → Encoding # toJSONList ∷ [AssetClass] → Value # toEncodingList ∷ [AssetClass] → Encoding # | |
ToJSON CurrencySymbol | |
Defined in Zerepoch.V1.Ledger.Value Methods toJSON ∷ CurrencySymbol → Value # toEncoding ∷ CurrencySymbol → Encoding # toJSONList ∷ [CurrencySymbol] → Value # toEncodingList ∷ [CurrencySymbol] → Encoding # | |
ToJSON TokenName | |
Defined in Zerepoch.V1.Ledger.Value Methods toEncoding ∷ TokenName → Encoding # toJSONList ∷ [TokenName] → Value # toEncodingList ∷ [TokenName] → Encoding # | |
ToJSON Value | |
Defined in Zerepoch.V1.Ledger.Value Methods toEncoding ∷ Value → Encoding # toJSONList ∷ [Value] → Value0 # toEncodingList ∷ [Value] → Encoding # | |
ToJSON MintingPolicyHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toJSON ∷ MintingPolicyHash → Value # toEncoding ∷ MintingPolicyHash → Encoding # toJSONList ∷ [MintingPolicyHash] → Value # toEncodingList ∷ [MintingPolicyHash] → Encoding # | |
ToJSON Context | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toEncoding ∷ Context → Encoding # toJSONList ∷ [Context] → Value # toEncodingList ∷ [Context] → Encoding # | |
ToJSON Datum | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toEncoding ∷ Datum → Encoding # toJSONList ∷ [Datum] → Value # toEncodingList ∷ [Datum] → Encoding # | |
ToJSON DatumHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toEncoding ∷ DatumHash → Encoding # toJSONList ∷ [DatumHash] → Value # toEncodingList ∷ [DatumHash] → Encoding # | |
ToJSON MintingPolicy | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toJSON ∷ MintingPolicy → Value # toEncoding ∷ MintingPolicy → Encoding # toJSONList ∷ [MintingPolicy] → Value # toEncodingList ∷ [MintingPolicy] → Encoding # | |
ToJSON Redeemer | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toEncoding ∷ Redeemer → Encoding # toJSONList ∷ [Redeemer] → Value # toEncodingList ∷ [Redeemer] → Encoding # | |
ToJSON RedeemerHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toJSON ∷ RedeemerHash → Value # toEncoding ∷ RedeemerHash → Encoding # toJSONList ∷ [RedeemerHash] → Value # toEncodingList ∷ [RedeemerHash] → Encoding # | |
ToJSON Script | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toEncoding ∷ Script → Encoding # toJSONList ∷ [Script] → Value # toEncodingList ∷ [Script] → Encoding # | |
ToJSON ScriptError | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toJSON ∷ ScriptError → Value # toEncoding ∷ ScriptError → Encoding # toJSONList ∷ [ScriptError] → Value # toEncodingList ∷ [ScriptError] → Encoding # | |
ToJSON StakeValidator | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toJSON ∷ StakeValidator → Value # toEncoding ∷ StakeValidator → Encoding # toJSONList ∷ [StakeValidator] → Value # toEncodingList ∷ [StakeValidator] → Encoding # | |
ToJSON StakeValidatorHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toJSON ∷ StakeValidatorHash → Value # toEncoding ∷ StakeValidatorHash → Encoding # toJSONList ∷ [StakeValidatorHash] → Value # toEncodingList ∷ [StakeValidatorHash] → Encoding # | |
ToJSON Validator | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toEncoding ∷ Validator → Encoding # toJSONList ∷ [Validator] → Value # toEncodingList ∷ [Validator] → Encoding # | |
ToJSON ValidatorHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods toJSON ∷ ValidatorHash → Value # toEncoding ∷ ValidatorHash → Encoding # toJSONList ∷ [ValidatorHash] → Value # toEncodingList ∷ [ValidatorHash] → Encoding # | |
ToJSON ExBudget | |
Defined in ZerepochCore.Evaluation.Machine.ExBudget Methods toEncoding ∷ ExBudget → Encoding # toJSONList ∷ [ExBudget] → Value # toEncodingList ∷ [ExBudget] → Encoding # | |
ToJSON AssetName Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ AssetName → Encoding # toJSONList ∷ [AssetName] → Value # toEncodingList ∷ [AssetName] → Encoding # | |
ToJSON Likelihood Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ Likelihood → Encoding # toJSONList ∷ [Likelihood] → Value # toEncodingList ∷ [Likelihood] → Encoding # | |
ToJSON Ptr Source # | |
Defined in Bcc.Api.Orphans | |
ToJSON Nonce | |
Defined in Bcc.Ledger.BaseTypes Methods toEncoding ∷ Nonce → Encoding # toJSONList ∷ [Nonce] → Value # toEncodingList ∷ [Nonce] → Encoding # | |
ToJSON Desirability | |
Defined in Sophie.Spec.Ledger.RewardProvenance Methods toJSON ∷ Desirability → Value # toEncoding ∷ Desirability → Encoding # toJSONList ∷ [Desirability] → Value # toEncodingList ∷ [Desirability] → Encoding # | |
ToJSON StakePoolRelay | |
Defined in Sophie.Spec.Ledger.TxBody Methods toJSON ∷ StakePoolRelay → Value # toEncoding ∷ StakePoolRelay → Encoding # toJSONList ∷ [StakePoolRelay] → Value # toEncodingList ∷ [StakePoolRelay] → Encoding # | |
ToJSON PoolMetadata | |
Defined in Sophie.Spec.Ledger.TxBody Methods toJSON ∷ PoolMetadata → Value # toEncoding ∷ PoolMetadata → Encoding # toJSONList ∷ [PoolMetadata] → Value # toEncodingList ∷ [PoolMetadata] → Encoding # | |
ToJSON Network | |
Defined in Bcc.Ledger.BaseTypes Methods toEncoding ∷ Network → Encoding # toJSONList ∷ [Network] → Value # toEncodingList ∷ [Network] → Encoding # | |
ToJSON AnyBccEra Source # | |
Defined in Bcc.Api.Eras Methods toEncoding ∷ AnyBccEra → Encoding # toJSONList ∷ [AnyBccEra] → Value # toEncodingList ∷ [AnyBccEra] → Encoding # | |
ToJSON Month | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Month → Encoding # toJSONList ∷ [Month] → Value # toEncodingList ∷ [Month] → Encoding # | |
ToJSON Quarter | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Quarter → Encoding # toJSONList ∷ [Quarter] → Value # toEncodingList ∷ [Quarter] → Encoding # | |
ToJSON QuarterOfYear | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ QuarterOfYear → Value # toEncoding ∷ QuarterOfYear → Encoding # toJSONList ∷ [QuarterOfYear] → Value # toEncodingList ∷ [QuarterOfYear] → Encoding # | |
ToJSON PositiveUnitInterval | |
Defined in Bcc.Ledger.BaseTypes Methods toJSON ∷ PositiveUnitInterval → Value # toEncoding ∷ PositiveUnitInterval → Encoding # toJSONList ∷ [PositiveUnitInterval] → Value # toEncodingList ∷ [PositiveUnitInterval] → Encoding # | |
ToJSON EpochNumber | |
Defined in Bcc.Chain.Slotting.EpochNumber Methods toJSON ∷ EpochNumber → Value # toEncoding ∷ EpochNumber → Encoding # toJSONList ∷ [EpochNumber] → Value # toEncodingList ∷ [EpochNumber] → Encoding # | |
ToJSON SlotNumber | |
Defined in Bcc.Chain.Slotting.SlotNumber Methods toEncoding ∷ SlotNumber → Encoding # toJSONList ∷ [SlotNumber] → Value # toEncodingList ∷ [SlotNumber] → Encoding # | |
ToJSON RequiresNetworkMagic | |
Defined in Bcc.Crypto.ProtocolMagic Methods toJSON ∷ RequiresNetworkMagic → Value # toEncoding ∷ RequiresNetworkMagic → Encoding # toJSONList ∷ [RequiresNetworkMagic] → Value # toEncodingList ∷ [RequiresNetworkMagic] → Encoding # | |
ToJSON ProtocolVersion | |
Defined in Bcc.Chain.Update.ProtocolVersion Methods toJSON ∷ ProtocolVersion → Value # toEncoding ∷ ProtocolVersion → Encoding # toJSONList ∷ [ProtocolVersion] → Value # toEncodingList ∷ [ProtocolVersion] → Encoding # | |
ToJSON ProtocolMagicId | |
Defined in Bcc.Crypto.ProtocolMagic Methods toJSON ∷ ProtocolMagicId → Value # toEncoding ∷ ProtocolMagicId → Encoding # toJSONList ∷ [ProtocolMagicId] → Value # toEncodingList ∷ [ProtocolMagicId] → Encoding # | |
ToJSON SoftwareVersion | |
Defined in Bcc.Chain.Update.SoftwareVersion Methods toJSON ∷ SoftwareVersion → Value # toEncoding ∷ SoftwareVersion → Encoding # toJSONList ∷ [SoftwareVersion] → Value # toEncodingList ∷ [SoftwareVersion] → Encoding # | |
ToJSON VerificationKey | |
Defined in Bcc.Crypto.Signing.VerificationKey Methods toJSON ∷ VerificationKey → Value # toEncoding ∷ VerificationKey → Encoding # toJSONList ∷ [VerificationKey] → Value # toEncodingList ∷ [VerificationKey] → Encoding # | |
ToJSON GenesisHash | |
Defined in Bcc.Chain.Genesis.Hash Methods toJSON ∷ GenesisHash → Value # toEncoding ∷ GenesisHash → Encoding # toJSONList ∷ [GenesisHash] → Value # toEncodingList ∷ [GenesisHash] → Encoding # | |
ToJSON Tx | |
Defined in Bcc.Chain.UTxO.Tx | |
ToJSON ProtocolMagic | |
Defined in Bcc.Crypto.ProtocolMagic Methods toJSON ∷ ProtocolMagic → Value # toEncoding ∷ ProtocolMagic → Encoding # toJSONList ∷ [ProtocolMagic] → Value # toEncodingList ∷ [ProtocolMagic] → Encoding # | |
ToJSON CompactRedeemVerificationKey | |
Defined in Bcc.Crypto.Signing.Redeem.Compact Methods toJSON ∷ CompactRedeemVerificationKey → Value # toEncoding ∷ CompactRedeemVerificationKey → Encoding # toJSONList ∷ [CompactRedeemVerificationKey] → Value # toEncodingList ∷ [CompactRedeemVerificationKey] → Encoding # | |
ToJSON Entropic | |
Defined in Bcc.Chain.Common.Entropic Methods toEncoding ∷ Entropic → Encoding # toJSONList ∷ [Entropic] → Value # toEncodingList ∷ [Entropic] → Encoding # | |
ToJSON SystemStart Source # | |
Defined in Bcc.Api.Orphans Methods toJSON ∷ SystemStart → Value # toEncoding ∷ SystemStart → Encoding # toJSONList ∷ [SystemStart] → Value # toEncodingList ∷ [SystemStart] → Encoding # | |
ToJSON ByteString64 | |
Defined in Data.ByteString.Base64.Type Methods toJSON ∷ ByteString64 → Value # toEncoding ∷ ByteString64 → Encoding # toJSONList ∷ [ByteString64] → Value # toEncodingList ∷ [ByteString64] → Encoding # | |
ToJSON RedeemVerificationKey | |
Defined in Bcc.Crypto.Signing.Redeem.VerificationKey Methods toJSON ∷ RedeemVerificationKey → Value # toEncoding ∷ RedeemVerificationKey → Encoding # toJSONList ∷ [RedeemVerificationKey] → Value # toEncodingList ∷ [RedeemVerificationKey] → Encoding # | |
ToJSON StakingCredential | |
Defined in Zerepoch.V1.Ledger.Credential Methods toJSON ∷ StakingCredential → Value # toEncoding ∷ StakingCredential → Encoding # toJSONList ∷ [StakingCredential] → Value # toEncodingList ∷ [StakingCredential] → Encoding # | |
ToJSON POSIXTime | |
Defined in Zerepoch.V1.Ledger.Time Methods toEncoding ∷ POSIXTime → Encoding # toJSONList ∷ [POSIXTime] → Value # toEncodingList ∷ [POSIXTime] → Encoding # | |
ToJSON Address | |
Defined in Zerepoch.V1.Ledger.Address Methods toEncoding ∷ Address → Encoding # toJSONList ∷ [Address] → Value # toEncodingList ∷ [Address] → Encoding # | |
ToJSON DCert | |
Defined in Zerepoch.V1.Ledger.DCert Methods toEncoding ∷ DCert → Encoding # toJSONList ∷ [DCert] → Value # toEncodingList ∷ [DCert] → Encoding # | |
ToJSON Credential | |
Defined in Zerepoch.V1.Ledger.Credential Methods toEncoding ∷ Credential → Encoding # toJSONList ∷ [Credential] → Value # toEncodingList ∷ [Credential] → Encoding # | |
ToJSON TxOut | |
Defined in Zerepoch.V1.Ledger.Tx Methods toEncoding ∷ TxOut → Encoding # toJSONList ∷ [TxOut] → Value # toEncodingList ∷ [TxOut] → Encoding # | |
ToJSON PubKeyHash | |
Defined in Zerepoch.V1.Ledger.Crypto Methods toEncoding ∷ PubKeyHash → Encoding # toJSONList ∷ [PubKeyHash] → Value # toEncodingList ∷ [PubKeyHash] → Encoding # | |
ToJSON TxId | |
Defined in Zerepoch.V1.Ledger.TxId Methods toEncoding ∷ TxId → Encoding # toJSONList ∷ [TxId] → Value # toEncodingList ∷ [TxId] → Encoding # | |
ToJSON TxOutRef | |
Defined in Zerepoch.V1.Ledger.Tx Methods toEncoding ∷ TxOutRef → Encoding # toJSONList ∷ [TxOutRef] → Value # toEncodingList ∷ [TxOutRef] → Encoding # | |
ToJSON ChainDifficulty | |
Defined in Bcc.Chain.Common.ChainDifficulty Methods toJSON ∷ ChainDifficulty → Value # toEncoding ∷ ChainDifficulty → Encoding # toJSONList ∷ [ChainDifficulty] → Value # toEncodingList ∷ [ChainDifficulty] → Encoding # | |
ToJSON Proof | |
Defined in Bcc.Chain.Block.Proof Methods toEncoding ∷ Proof → Encoding # toJSONList ∷ [Proof] → Value # toEncodingList ∷ [Proof] → Encoding # | |
ToJSON SscPayload | |
Defined in Bcc.Chain.Ssc Methods toEncoding ∷ SscPayload → Encoding # toJSONList ∷ [SscPayload] → Value # toEncodingList ∷ [SscPayload] → Encoding # | |
ToJSON ProposalBody | |
Defined in Bcc.Chain.Update.Proposal Methods toJSON ∷ ProposalBody → Value # toEncoding ∷ ProposalBody → Encoding # toJSONList ∷ [ProposalBody] → Value # toEncodingList ∷ [ProposalBody] → Encoding # | |
ToJSON TxInWitness | |
Defined in Bcc.Chain.UTxO.TxWitness Methods toJSON ∷ TxInWitness → Value # toEncoding ∷ TxInWitness → Encoding # toJSONList ∷ [TxInWitness] → Value # toEncodingList ∷ [TxInWitness] → Encoding # | |
ToJSON TxProof | |
Defined in Bcc.Chain.UTxO.TxProof Methods toEncoding ∷ TxProof → Encoding # toJSONList ∷ [TxProof] → Value # toEncodingList ∷ [TxProof] → Encoding # | |
ToJSON SscProof | |
Defined in Bcc.Chain.Ssc Methods toEncoding ∷ SscProof → Encoding # toJSONList ∷ [SscProof] → Value # toEncodingList ∷ [SscProof] → Encoding # | |
ToJSON ApplicationName | |
Defined in Bcc.Chain.Update.ApplicationName Methods toJSON ∷ ApplicationName → Value # toEncoding ∷ ApplicationName → Encoding # toJSONList ∷ [ApplicationName] → Value # toEncodingList ∷ [ApplicationName] → Encoding # | |
ToJSON AddrAttributes | |
Defined in Bcc.Chain.Common.AddrAttributes Methods toJSON ∷ AddrAttributes → Value # toEncoding ∷ AddrAttributes → Encoding # toJSONList ∷ [AddrAttributes] → Value # toEncodingList ∷ [AddrAttributes] → Encoding # | |
ToJSON HDAddressPayload | |
Defined in Bcc.Chain.Common.AddrAttributes Methods toJSON ∷ HDAddressPayload → Value # toEncoding ∷ HDAddressPayload → Encoding # toJSONList ∷ [HDAddressPayload] → Value # toEncodingList ∷ [HDAddressPayload] → Encoding # | |
ToJSON NetworkMagic | |
Defined in Bcc.Chain.Common.NetworkMagic Methods toJSON ∷ NetworkMagic → Value # toEncoding ∷ NetworkMagic → Encoding # toJSONList ∷ [NetworkMagic] → Value # toEncodingList ∷ [NetworkMagic] → Encoding # | |
ToJSON UnparsedFields | |
Defined in Bcc.Chain.Common.Attributes Methods toJSON ∷ UnparsedFields → Value # toEncoding ∷ UnparsedFields → Encoding # toJSONList ∷ [UnparsedFields] → Value # toEncodingList ∷ [UnparsedFields] → Encoding # | |
ToJSON AddrType | |
Defined in Bcc.Chain.Common.AddrSpendingData Methods toEncoding ∷ AddrType → Encoding # toJSONList ∷ [AddrType] → Value # toEncodingList ∷ [AddrType] → Encoding # | |
ToJSON Address | |
Defined in Bcc.Chain.Common.Address Methods toEncoding ∷ Address → Encoding # toJSONList ∷ [Address] → Value # toEncodingList ∷ [Address] → Encoding # | |
ToJSON EntropicPortion | |
Defined in Bcc.Chain.Common.EntropicPortion Methods toJSON ∷ EntropicPortion → Value # toEncoding ∷ EntropicPortion → Encoding # toJSONList ∷ [EntropicPortion] → Value # toEncodingList ∷ [EntropicPortion] → Encoding # | |
ToJSON TxFeePolicy | |
Defined in Bcc.Chain.Common.TxFeePolicy Methods toJSON ∷ TxFeePolicy → Value # toEncoding ∷ TxFeePolicy → Encoding # toJSONList ∷ [TxFeePolicy] → Value # toEncodingList ∷ [TxFeePolicy] → Encoding # | |
ToJSON TxSizeLinear | |
Defined in Bcc.Chain.Common.TxSizeLinear Methods toJSON ∷ TxSizeLinear → Value # toEncoding ∷ TxSizeLinear → Encoding # toJSONList ∷ [TxSizeLinear] → Value # toEncodingList ∷ [TxSizeLinear] → Encoding # | |
ToJSON TxIn | |
Defined in Bcc.Chain.UTxO.Tx Methods toEncoding ∷ TxIn → Encoding # toJSONList ∷ [TxIn] → Value # toEncodingList ∷ [TxIn] → Encoding # | |
ToJSON TxOut | |
Defined in Bcc.Chain.UTxO.Tx Methods toEncoding ∷ TxOut → Encoding # toJSONList ∷ [TxOut] → Value # toEncodingList ∷ [TxOut] → Encoding # | |
ToJSON TxSigData | |
Defined in Bcc.Chain.UTxO.TxWitness Methods toEncoding ∷ TxSigData → Encoding # toJSONList ∷ [TxSigData] → Value # toEncodingList ∷ [TxSigData] → Encoding # | |
ToJSON InstallerHash | |
Defined in Bcc.Chain.Update.InstallerHash Methods toJSON ∷ InstallerHash → Value # toEncoding ∷ InstallerHash → Encoding # toJSONList ∷ [InstallerHash] → Value # toEncodingList ∷ [InstallerHash] → Encoding # | |
ToJSON SystemTag | |
Defined in Bcc.Chain.Update.SystemTag Methods toEncoding ∷ SystemTag → Encoding # toJSONList ∷ [SystemTag] → Value # toEncodingList ∷ [SystemTag] → Encoding # | |
ToJSON ProtocolParametersUpdate | |
Defined in Bcc.Chain.Update.ProtocolParametersUpdate Methods toJSON ∷ ProtocolParametersUpdate → Value # toEncoding ∷ ProtocolParametersUpdate → Encoding # toJSONList ∷ [ProtocolParametersUpdate] → Value # toEncodingList ∷ [ProtocolParametersUpdate] → Encoding # | |
ToJSON SoftforkRule | |
Defined in Bcc.Chain.Update.SoftforkRule Methods toJSON ∷ SoftforkRule → Value # toEncoding ∷ SoftforkRule → Encoding # toJSONList ∷ [SoftforkRule] → Value # toEncodingList ∷ [SoftforkRule] → Encoding # | |
ToJSON DnsName | |
Defined in Bcc.Ledger.BaseTypes Methods toEncoding ∷ DnsName → Encoding # toJSONList ∷ [DnsName] → Value # toEncodingList ∷ [DnsName] → Encoding # | |
ToJSON Port | |
Defined in Bcc.Ledger.BaseTypes Methods toEncoding ∷ Port → Encoding # toJSONList ∷ [Port] → Value # toEncodingList ∷ [Port] → Encoding # | |
ToJSON PositiveInterval | |
Defined in Bcc.Ledger.BaseTypes Methods toJSON ∷ PositiveInterval → Value # toEncoding ∷ PositiveInterval → Encoding # toJSONList ∷ [PositiveInterval] → Value # toEncodingList ∷ [PositiveInterval] → Encoding # | |
ToJSON Url | |
Defined in Bcc.Ledger.BaseTypes | |
ToJSON DeltaCoin Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ DeltaCoin → Encoding # toJSONList ∷ [DeltaCoin] → Value # toEncodingList ∷ [DeltaCoin] → Encoding # | |
ToJSON AccountState Source # | |
Defined in Bcc.Api.Orphans Methods toJSON ∷ AccountState → Value # toEncoding ∷ AccountState → Encoding # toJSONList ∷ [AccountState] → Value # toEncodingList ∷ [AccountState] → Encoding # | |
ToJSON RewardType Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ RewardType → Encoding # toJSONList ∷ [RewardType] → Value # toEncodingList ∷ [RewardType] → Encoding # | |
ToJSON SatInt | |
Defined in Data.SatInt Methods toEncoding ∷ SatInt → Encoding # toJSONList ∷ [SatInt] → Value # toEncodingList ∷ [SatInt] → Encoding # | |
ToJSON CekMachineCosts | |
Defined in UntypedZerepochCore.Evaluation.Machine.Cek.CekMachineCosts Methods toJSON ∷ CekMachineCosts → Value # toEncoding ∷ CekMachineCosts → Encoding # toJSONList ∷ [CekMachineCosts] → Value # toEncodingList ∷ [CekMachineCosts] → Encoding # | |
ToJSON ModelAddedSizes | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelAddedSizes → Value # toEncoding ∷ ModelAddedSizes → Encoding # toJSONList ∷ [ModelAddedSizes] → Value # toEncodingList ∷ [ModelAddedSizes] → Encoding # | |
ToJSON ModelConstantOrLinear | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelConstantOrLinear → Value # toEncoding ∷ ModelConstantOrLinear → Encoding # toJSONList ∷ [ModelConstantOrLinear] → Value # toEncodingList ∷ [ModelConstantOrLinear] → Encoding # | |
ToJSON ModelConstantOrTwoArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelConstantOrTwoArguments → Value # toEncoding ∷ ModelConstantOrTwoArguments → Encoding # toJSONList ∷ [ModelConstantOrTwoArguments] → Value # toEncodingList ∷ [ModelConstantOrTwoArguments] → Encoding # | |
ToJSON ModelFiveArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelFiveArguments → Value # toEncoding ∷ ModelFiveArguments → Encoding # toJSONList ∷ [ModelFiveArguments] → Value # toEncodingList ∷ [ModelFiveArguments] → Encoding # | |
ToJSON ModelFourArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelFourArguments → Value # toEncoding ∷ ModelFourArguments → Encoding # toJSONList ∷ [ModelFourArguments] → Value # toEncodingList ∷ [ModelFourArguments] → Encoding # | |
ToJSON ModelLinearSize | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelLinearSize → Value # toEncoding ∷ ModelLinearSize → Encoding # toJSONList ∷ [ModelLinearSize] → Value # toEncodingList ∷ [ModelLinearSize] → Encoding # | |
ToJSON ModelMaxSize | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelMaxSize → Value # toEncoding ∷ ModelMaxSize → Encoding # toJSONList ∷ [ModelMaxSize] → Value # toEncodingList ∷ [ModelMaxSize] → Encoding # | |
ToJSON ModelMinSize | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelMinSize → Value # toEncoding ∷ ModelMinSize → Encoding # toJSONList ∷ [ModelMinSize] → Value # toEncodingList ∷ [ModelMinSize] → Encoding # | |
ToJSON ModelMultipliedSizes | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelMultipliedSizes → Value # toEncoding ∷ ModelMultipliedSizes → Encoding # toJSONList ∷ [ModelMultipliedSizes] → Value # toEncodingList ∷ [ModelMultipliedSizes] → Encoding # | |
ToJSON ModelOneArgument | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelOneArgument → Value # toEncoding ∷ ModelOneArgument → Encoding # toJSONList ∷ [ModelOneArgument] → Value # toEncodingList ∷ [ModelOneArgument] → Encoding # | |
ToJSON ModelSixArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelSixArguments → Value # toEncoding ∷ ModelSixArguments → Encoding # toJSONList ∷ [ModelSixArguments] → Value # toEncodingList ∷ [ModelSixArguments] → Encoding # | |
ToJSON ModelSubtractedSizes | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelSubtractedSizes → Value # toEncoding ∷ ModelSubtractedSizes → Encoding # toJSONList ∷ [ModelSubtractedSizes] → Value # toEncodingList ∷ [ModelSubtractedSizes] → Encoding # | |
ToJSON ModelThreeArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelThreeArguments → Value # toEncoding ∷ ModelThreeArguments → Encoding # toJSONList ∷ [ModelThreeArguments] → Value # toEncodingList ∷ [ModelThreeArguments] → Encoding # | |
ToJSON ModelTwoArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods toJSON ∷ ModelTwoArguments → Value # toEncoding ∷ ModelTwoArguments → Encoding # toJSONList ∷ [ModelTwoArguments] → Value # toEncodingList ∷ [ModelTwoArguments] → Encoding # | |
ToJSON ExMemory | |
Defined in ZerepochCore.Evaluation.Machine.ExMemory Methods toEncoding ∷ ExMemory → Encoding # toJSONList ∷ [ExMemory] → Value # toEncodingList ∷ [ExMemory] → Encoding # | |
ToJSON ExCPU | |
Defined in ZerepochCore.Evaluation.Machine.ExMemory Methods toEncoding ∷ ExCPU → Encoding # toJSONList ∷ [ExCPU] → Value # toEncodingList ∷ [ExCPU] → Encoding # | |
ToJSON Bcc | |
Defined in Zerepoch.V1.Ledger.Bcc | |
ToJSON LedgerBytes | |
Defined in Zerepoch.V1.Ledger.Bytes Methods toJSON ∷ LedgerBytes → Value # toEncoding ∷ LedgerBytes → Encoding # toJSONList ∷ [LedgerBytes] → Value # toEncodingList ∷ [LedgerBytes] → Encoding # | |
ToJSON Signature | |
Defined in Zerepoch.V1.Ledger.Crypto Methods toEncoding ∷ Signature → Encoding # toJSONList ∷ [Signature] → Value # toEncodingList ∷ [Signature] → Encoding # | |
ToJSON PubKey | |
Defined in Zerepoch.V1.Ledger.Crypto Methods toEncoding ∷ PubKey → Encoding # toJSONList ∷ [PubKey] → Value # toEncodingList ∷ [PubKey] → Encoding # | |
ToJSON PrivateKey | |
Defined in Zerepoch.V1.Ledger.Crypto Methods toEncoding ∷ PrivateKey → Encoding # toJSONList ∷ [PrivateKey] → Value # toEncodingList ∷ [PrivateKey] → Encoding # | |
ToJSON Slot | |
Defined in Zerepoch.V1.Ledger.Slot Methods toEncoding ∷ Slot → Encoding # toJSONList ∷ [Slot] → Value # toEncodingList ∷ [Slot] → Encoding # | |
ToJSON DiffMilliSeconds | |
Defined in Zerepoch.V1.Ledger.Time Methods toJSON ∷ DiffMilliSeconds → Value # toEncoding ∷ DiffMilliSeconds → Encoding # toJSONList ∷ [DiffMilliSeconds] → Value # toEncodingList ∷ [DiffMilliSeconds] → Encoding # | |
ToJSON RedeemerPtr | |
Defined in Zerepoch.V1.Ledger.Tx Methods toJSON ∷ RedeemerPtr → Value # toEncoding ∷ RedeemerPtr → Encoding # toJSONList ∷ [RedeemerPtr] → Value # toEncodingList ∷ [RedeemerPtr] → Encoding # | |
ToJSON ScriptTag | |
Defined in Zerepoch.V1.Ledger.Tx Methods toEncoding ∷ ScriptTag → Encoding # toJSONList ∷ [ScriptTag] → Value # toEncodingList ∷ [ScriptTag] → Encoding # | |
ToJSON Tx | |
Defined in Zerepoch.V1.Ledger.Tx | |
ToJSON TxIn | |
Defined in Zerepoch.V1.Ledger.Tx Methods toEncoding ∷ TxIn → Encoding # toJSONList ∷ [TxIn] → Value # toEncodingList ∷ [TxIn] → Encoding # | |
ToJSON TxInType | |
Defined in Zerepoch.V1.Ledger.Tx Methods toEncoding ∷ TxInType → Encoding # toJSONList ∷ [TxInType] → Value # toEncodingList ∷ [TxInType] → Encoding # | |
ToJSON TxOutTx | |
Defined in Zerepoch.V1.Ledger.Tx Methods toEncoding ∷ TxOutTx → Encoding # toJSONList ∷ [TxOutTx] → Value # toEncodingList ∷ [TxOutTx] → Encoding # | |
ToJSON StudentT | |
Defined in Statistics.Distribution.StudentT Methods toEncoding ∷ StudentT → Encoding # toJSONList ∷ [StudentT] → Value # toEncodingList ∷ [StudentT] → Encoding # | |
ToJSON TextEnvelope Source # | |
Defined in Bcc.Api.SerialiseTextEnvelope Methods toJSON ∷ TextEnvelope → Value # toEncoding ∷ TextEnvelope → Encoding # toJSONList ∷ [TextEnvelope] → Value # toEncodingList ∷ [TextEnvelope] → Encoding # | |
ToJSON TextEnvelopeDescr Source # | |
Defined in Bcc.Api.SerialiseTextEnvelope Methods toJSON ∷ TextEnvelopeDescr → Value # toEncoding ∷ TextEnvelopeDescr → Encoding # toJSONList ∷ [TextEnvelopeDescr] → Value # toEncodingList ∷ [TextEnvelopeDescr] → Encoding # | |
ToJSON TextEnvelopeType Source # | |
Defined in Bcc.Api.SerialiseTextEnvelope Methods toJSON ∷ TextEnvelopeType → Value # toEncoding ∷ TextEnvelopeType → Encoding # toJSONList ∷ [TextEnvelopeType] → Value # toEncodingList ∷ [TextEnvelopeType] → Encoding # | |
ToJSON TxSubmitStatus Source # | |
Defined in Bcc.Api.TxSubmit.Types Methods toJSON ∷ TxSubmitStatus → Value # toEncoding ∷ TxSubmitStatus → Encoding # toJSONList ∷ [TxSubmitStatus] → Value # toEncodingList ∷ [TxSubmitStatus] → Encoding # | |
ToJSON ScriptHash Source # | |
Defined in Bcc.Api.Script Methods toJSON ∷ ScriptHash → Value # toEncoding ∷ ScriptHash → Encoding # toJSONList ∷ [ScriptHash] → Value # toEncodingList ∷ [ScriptHash] → Encoding # | |
ToJSON ExecutionUnits Source # | |
Defined in Bcc.Api.Script Methods toJSON ∷ ExecutionUnits → Value # toEncoding ∷ ExecutionUnits → Encoding # toJSONList ∷ [ExecutionUnits] → Value # toEncodingList ∷ [ExecutionUnits] → Encoding # | |
ToJSON AnyZerepochScriptVersion Source # | |
Defined in Bcc.Api.Script Methods toJSON ∷ AnyZerepochScriptVersion → Value # toEncoding ∷ AnyZerepochScriptVersion → Encoding # toJSONList ∷ [AnyZerepochScriptVersion] → Value # toEncodingList ∷ [AnyZerepochScriptVersion] → Encoding # | |
ToJSON ValueNestedRep Source # | |
Defined in Bcc.Api.Value Methods toJSON ∷ ValueNestedRep → Value # toEncoding ∷ ValueNestedRep → Encoding # toJSONList ∷ [ValueNestedRep] → Value # toEncodingList ∷ [ValueNestedRep] → Encoding # | |
ToJSON Value Source # | |
Defined in Bcc.Api.Value Methods toEncoding ∷ Value → Encoding # toJSONList ∷ [Value] → Value0 # toEncodingList ∷ [Value] → Encoding # | |
ToJSON AssetName Source # | |
Defined in Bcc.Api.Value Methods toEncoding ∷ AssetName → Encoding # toJSONList ∷ [AssetName] → Value # toEncodingList ∷ [AssetName] → Encoding # | |
ToJSON PolicyId Source # | |
Defined in Bcc.Api.Value Methods toEncoding ∷ PolicyId → Encoding # toJSONList ∷ [PolicyId] → Value # toEncodingList ∷ [PolicyId] → Encoding # | |
ToJSON Quantity Source # | |
Defined in Bcc.Api.Value Methods toEncoding ∷ Quantity → Encoding # toJSONList ∷ [Quantity] → Value # toEncodingList ∷ [Quantity] → Encoding # | |
ToJSON Entropic Source # | |
Defined in Bcc.Api.Value Methods toEncoding ∷ Entropic → Encoding # toJSONList ∷ [Entropic] → Value # toEncodingList ∷ [Entropic] → Encoding # | |
ToJSON CostModel Source # | |
Defined in Bcc.Api.ProtocolParameters Methods toEncoding ∷ CostModel → Encoding # toJSONList ∷ [CostModel] → Value # toEncodingList ∷ [CostModel] → Encoding # | |
ToJSON ExecutionUnitPrices Source # | |
Defined in Bcc.Api.ProtocolParameters Methods toJSON ∷ ExecutionUnitPrices → Value # toEncoding ∷ ExecutionUnitPrices → Encoding # toJSONList ∷ [ExecutionUnitPrices] → Value # toEncodingList ∷ [ExecutionUnitPrices] → Encoding # | |
ToJSON OptimumNonce Source # | |
Defined in Bcc.Api.ProtocolParameters Methods toJSON ∷ OptimumNonce → Value # toEncoding ∷ OptimumNonce → Encoding # toJSONList ∷ [OptimumNonce] → Value # toEncodingList ∷ [OptimumNonce] → Encoding # | |
ToJSON ProtocolParameters Source # | |
Defined in Bcc.Api.ProtocolParameters Methods toJSON ∷ ProtocolParameters → Value # toEncoding ∷ ProtocolParameters → Encoding # toJSONList ∷ [ProtocolParameters] → Value # toEncodingList ∷ [ProtocolParameters] → Encoding # | |
ToJSON TxIx Source # | |
Defined in Bcc.Api.TxBody Methods toEncoding ∷ TxIx → Encoding # toJSONList ∷ [TxIx] → Value # toEncodingList ∷ [TxIx] → Encoding # | |
ToJSON TxIn Source # | |
Defined in Bcc.Api.TxBody Methods toEncoding ∷ TxIn → Encoding # toJSONList ∷ [TxIn] → Value # toEncodingList ∷ [TxIn] → Encoding # | |
ToJSON TxId Source # | |
Defined in Bcc.Api.TxBody Methods toEncoding ∷ TxId → Encoding # toJSONList ∷ [TxId] → Value # toEncodingList ∷ [TxId] → Encoding # | |
ToJSON ChainTip Source # | |
Defined in Bcc.Api.Block Methods toEncoding ∷ ChainTip → Encoding # toJSONList ∷ [ChainTip] → Value # toEncodingList ∷ [ChainTip] → Encoding # | |
ToJSON a ⇒ ToJSON [a] | |
Defined in Data.Aeson.Types.ToJSON | |
ToJSON a ⇒ ToJSON (Maybe a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Maybe a → Encoding # toJSONList ∷ [Maybe a] → Value # toEncodingList ∷ [Maybe a] → Encoding # | |
(ToJSON a, Integral a) ⇒ ToJSON (Ratio a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Ratio a → Encoding # toJSONList ∷ [Ratio a] → Value # toEncodingList ∷ [Ratio a] → Encoding # | |
ToJSON a ⇒ ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ First a → Encoding # toJSONList ∷ [First a] → Value # toEncodingList ∷ [First a] → Encoding # | |
ToJSON a ⇒ ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Last a → Encoding # toJSONList ∷ [Last a] → Value # toEncodingList ∷ [Last a] → Encoding # | |
ToJSON a ⇒ ToJSON (Set a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Set a → Encoding # toJSONList ∷ [Set a] → Value # toEncodingList ∷ [Set a] → Encoding # | |
ToJSON a ⇒ ToJSON (NonEmpty a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ NonEmpty a → Encoding # toJSONList ∷ [NonEmpty a] → Value # toEncodingList ∷ [NonEmpty a] → Encoding # | |
ToJSON a ⇒ ToJSON (Identity a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Identity a → Encoding # toJSONList ∷ [Identity a] → Value # toEncodingList ∷ [Identity a] → Encoding # | |
ToJSON a ⇒ ToJSON (Min a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Min a → Encoding # toJSONList ∷ [Min a] → Value # toEncodingList ∷ [Min a] → Encoding # | |
ToJSON a ⇒ ToJSON (Max a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Max a → Encoding # toJSONList ∷ [Max a] → Value # toEncodingList ∷ [Max a] → Encoding # | |
ToJSON a ⇒ ToJSON (WrappedMonoid a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ WrappedMonoid a → Value # toEncoding ∷ WrappedMonoid a → Encoding # toJSONList ∷ [WrappedMonoid a] → Value # toEncodingList ∷ [WrappedMonoid a] → Encoding # | |
ToJSON a ⇒ ToJSON (Option a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Option a → Encoding # toJSONList ∷ [Option a] → Value # toEncodingList ∷ [Option a] → Encoding # | |
ToJSON a ⇒ ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ First a → Encoding # toJSONList ∷ [First a] → Value # toEncodingList ∷ [First a] → Encoding # | |
ToJSON a ⇒ ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Last a → Encoding # toJSONList ∷ [Last a] → Value # toEncodingList ∷ [Last a] → Encoding # | |
ToJSON a ⇒ ToJSON (Dual a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Dual a → Encoding # toJSONList ∷ [Dual a] → Value # toEncodingList ∷ [Dual a] → Encoding # | |
ToJSON a ⇒ ToJSON (IntMap a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ IntMap a → Encoding # toJSONList ∷ [IntMap a] → Value # toEncodingList ∷ [IntMap a] → Encoding # | |
ToJSON v ⇒ ToJSON (Tree v) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Tree v → Encoding # toJSONList ∷ [Tree v] → Value # toEncodingList ∷ [Tree v] → Encoding # | |
ToJSON a ⇒ ToJSON (Seq a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Seq a → Encoding # toJSONList ∷ [Seq a] → Value # toEncodingList ∷ [Seq a] → Encoding # | |
(Vector Vector a, ToJSON a) ⇒ ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Vector a → Encoding # toJSONList ∷ [Vector a] → Value # toEncodingList ∷ [Vector a] → Encoding # | |
ToJSON a ⇒ ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Vector a → Encoding # toJSONList ∷ [Vector a] → Value # toEncodingList ∷ [Vector a] → Encoding # | |
ToJSON1 f ⇒ ToJSON (Fix f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Fix f → Encoding # toJSONList ∷ [Fix f] → Value # toEncodingList ∷ [Fix f] → Encoding # | |
(ToJSON1 f, Functor f) ⇒ ToJSON (Mu f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Mu f → Encoding # toJSONList ∷ [Mu f] → Value # toEncodingList ∷ [Mu f] → Encoding # | |
(ToJSON1 f, Functor f) ⇒ ToJSON (Nu f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Nu f → Encoding # toJSONList ∷ [Nu f] → Value # toEncodingList ∷ [Nu f] → Encoding # | |
ToJSON a ⇒ ToJSON (DNonEmpty a) | |
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) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ DList a → Encoding # toJSONList ∷ [DList a] → Value # toEncodingList ∷ [DList a] → Encoding # | |
ToJSON a ⇒ ToJSON (Array a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Array a → Encoding # toJSONList ∷ [Array a] → Value # toEncodingList ∷ [Array a] → Encoding # | |
(Prim a, ToJSON a) ⇒ ToJSON (PrimArray a) | |
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) | |
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) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Maybe a → Encoding # toJSONList ∷ [Maybe a] → Value # toEncodingList ∷ [Maybe a] → Encoding # | |
ToJSON a ⇒ ToJSON (HashSet a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ HashSet a → Encoding # toJSONList ∷ [HashSet a] → Value # toEncodingList ∷ [HashSet a] → Encoding # | |
(Prim a, ToJSON a) ⇒ ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Vector a → Encoding # toJSONList ∷ [Vector a] → Value # toEncodingList ∷ [Vector a] → Encoding # | |
(Storable a, ToJSON a) ⇒ ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Vector a → Encoding # toJSONList ∷ [Vector a] → Value # toEncodingList ∷ [Vector a] → Encoding # | |
(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (PPUPState era) Source # | |
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) | |
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 # | |
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 # | |
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 # | |
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 # | |
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) | |
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 # | |
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) | |
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 # | |
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 # | |
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 # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ TxOut era → Encoding # toJSONList ∷ [TxOut era] → Value # toEncodingList ∷ [TxOut era] → Encoding # | |
ToJSON (Addr crypto) | |
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) | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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) | |
Defined in Sophie.Spec.Ledger.Genesis Methods toJSON ∷ SophieGenesis era → Value # toEncoding ∷ SophieGenesis era → Encoding # toJSONList ∷ [SophieGenesis era] → Value # toEncodingList ∷ [SophieGenesis era] → Encoding # | |
Crypto crypto ⇒ ToJSON (GenDelegPair crypto) | |
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) | |
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) | |
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 # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ UTxO era → Encoding # toJSONList ∷ [UTxO era] → Value # toEncodingList ∷ [UTxO era] → Encoding # | |
Crypto crypto ⇒ ToJSON (TxIn crypto) Source # | |
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 # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ TxOut era → Encoding # toJSONList ∷ [TxOut era] → Value # toEncodingList ∷ [TxOut era] → Encoding # | |
ToJSON (Value era) Source # | |
Defined in Bcc.Api.Orphans Methods toEncoding ∷ Value era → Encoding # toJSONList ∷ [Value era] → Value0 # toEncodingList ∷ [Value era] → Encoding # | |
ToJSON (PolicyID era) Source # | |
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 # | |
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) | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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) | |
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) | |
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) | |
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 # | |
Defined in Bcc.Api.Eras Methods toEncoding ∷ BccEra era → Encoding # toJSONList ∷ [BccEra era] → Value # toEncodingList ∷ [BccEra era] → Encoding # | |
ToJSON (Hash StakePoolKey) Source # | |
Defined in Bcc.Api.KeysSophie Methods toJSON ∷ Hash StakePoolKey → Value # toEncoding ∷ Hash StakePoolKey → Encoding # toJSONList ∷ [Hash StakePoolKey] → Value # toEncodingList ∷ [Hash StakePoolKey] → Encoding # | |
ToJSON (Hash ScriptData) Source # | |
Defined in Bcc.Api.ScriptData Methods toJSON ∷ Hash ScriptData → Value # toEncoding ∷ Hash ScriptData → Encoding # toJSONList ∷ [Hash ScriptData] → Value # toEncodingList ∷ [Hash ScriptData] → Encoding # | |
ToJSON a ⇒ ToJSON (AHeader a) | |
Defined in Bcc.Chain.Block.Header Methods toEncoding ∷ AHeader a → Encoding # toJSONList ∷ [AHeader a] → Value # toEncodingList ∷ [AHeader a] → Encoding # | |
ToJSON a ⇒ ToJSON (ATxAux a) | |
Defined in Bcc.Chain.UTxO.TxAux Methods toEncoding ∷ ATxAux a → Encoding # toJSONList ∷ [ATxAux a] → Value # toEncodingList ∷ [ATxAux a] → Encoding # | |
ToJSON a ⇒ ToJSON (ACertificate a) | |
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) | |
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) | |
Defined in Bcc.Chain.Update.Vote Methods toEncoding ∷ AVote a → Encoding # toJSONList ∷ [AVote a] → Value # toEncodingList ∷ [AVote a] → Encoding # | |
ToJSON a ⇒ ToJSON (ABlockOrBoundary a) | |
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) | |
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) | |
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) | |
Defined in Bcc.Chain.Block.Block Methods toEncoding ∷ ABlock a → Encoding # toJSONList ∷ [ABlock a] → Value # toEncodingList ∷ [ABlock a] → Encoding # | |
ToJSON a ⇒ ToJSON (RedeemSignature a) | |
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) | |
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 # | |
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) | |
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) | |
Defined in Bcc.Chain.Block.Body Methods toEncoding ∷ ABody a → Encoding # toJSONList ∷ [ABody a] → Value # toEncodingList ∷ [ABody a] → Encoding # | |
ToJSON a ⇒ ToJSON (APayload a) | |
Defined in Bcc.Chain.Delegation.Payload Methods toEncoding ∷ APayload a → Encoding # toJSONList ∷ [APayload a] → Value # toEncodingList ∷ [APayload a] → Encoding # | |
ToJSON a ⇒ ToJSON (ABlockSignature a) | |
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) | |
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) | |
Defined in Bcc.Chain.Update.Payload Methods toEncoding ∷ APayload a → Encoding # toJSONList ∷ [APayload a] → Value # toEncodingList ∷ [APayload a] → Encoding # | |
ToJSON a ⇒ ToJSON (Attributes a) | |
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) | |
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 # | |
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 # | |
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 # | |
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) | |
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) | |
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) | |
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) | |
Defined in Zerepoch.V1.Ledger.Interval Methods toEncoding ∷ Interval a → Encoding # toJSONList ∷ [Interval a] → Value # toEncodingList ∷ [Interval a] → Encoding # | |
ToJSON a ⇒ ToJSON (Extended a) | |
Defined in Zerepoch.V1.Ledger.Interval Methods toEncoding ∷ Extended a → Encoding # toJSONList ∷ [Extended a] → Value # toEncodingList ∷ [Extended a] → Encoding # | |
ToJSON a ⇒ ToJSON (LowerBound a) | |
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) | |
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) | |
Defined in ZerepochTx.Ratio Methods toEncoding ∷ Ratio a → Encoding # toJSONList ∷ [Ratio a] → Value # toEncodingList ∷ [Ratio a] → Encoding # | |
ToJSON d ⇒ ToJSON (LinearTransform d) | |
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 # | |
Defined in Bcc.Api.SerialiseUsing Methods toJSON ∷ UsingBech32 a → Value # toEncoding ∷ UsingBech32 a → Encoding # toJSONList ∷ [UsingBech32 a] → Value # toEncodingList ∷ [UsingBech32 a] → Encoding # | |
SerialiseAsRawBytes a ⇒ ToJSON (UsingRawBytesHex a) Source # | |
Defined in Bcc.Api.SerialiseUsing Methods toJSON ∷ UsingRawBytesHex a → Value # toEncoding ∷ UsingRawBytesHex a → Encoding # toJSONList ∷ [UsingRawBytesHex a] → Value # toEncodingList ∷ [UsingRawBytesHex a] → Encoding # | |
ToJSON (SimpleScript lang) Source # | |
Defined in Bcc.Api.Script Methods toJSON ∷ SimpleScript lang → Value # toEncoding ∷ SimpleScript lang → Encoding # toJSONList ∷ [SimpleScript lang] → Value # toEncodingList ∷ [SimpleScript lang] → Encoding # | |
IsBccEra era ⇒ ToJSON (AddressInEra era) Source # | |
Defined in Bcc.Api.Address Methods toJSON ∷ AddressInEra era → Value # toEncoding ∷ AddressInEra era → Encoding # toJSONList ∷ [AddressInEra era] → Value # toEncodingList ∷ [AddressInEra era] → Encoding # | |
ToJSON (TxOutValue era) Source # | |
Defined in Bcc.Api.TxBody Methods toJSON ∷ TxOutValue era → Value # toEncoding ∷ TxOutValue era → Encoding # toJSONList ∷ [TxOutValue era] → Value # toEncodingList ∷ [TxOutValue era] → Encoding # | |
ToJSON (MultiAssetSupportedInEra era) Source # | |
Defined in Bcc.Api.TxBody Methods toJSON ∷ MultiAssetSupportedInEra era → Value # toEncoding ∷ MultiAssetSupportedInEra era → Encoding # toJSONList ∷ [MultiAssetSupportedInEra era] → Value # toEncodingList ∷ [MultiAssetSupportedInEra era] → Encoding # | |
IsBccEra era ⇒ ToJSON (TxOut era) Source # | |
Defined in Bcc.Api.TxBody Methods toEncoding ∷ TxOut 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 # | |
Defined in Bcc.Api.Query Methods toJSON ∷ DebugLedgerState era → Value # toEncoding ∷ DebugLedgerState era → Encoding # toJSONList ∷ [DebugLedgerState era] → Value # toEncodingList ∷ [DebugLedgerState era] → Encoding # | |
IsBccEra era ⇒ ToJSON (UTxO era) Source # | |
Defined in Bcc.Api.Query Methods toEncoding ∷ UTxO era → Encoding # toJSONList ∷ [UTxO era] → Value # toEncodingList ∷ [UTxO era] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Either a b → Encoding # toJSONList ∷ [Either a b] → Value # toEncodingList ∷ [Either a b] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (a, b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ (a, b) → Encoding # toJSONList ∷ [(a, b)] → Value # toEncodingList ∷ [(a, b)] → Encoding # | |
(ToJSON v, ToJSONKey k) ⇒ ToJSON (Map k v) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Map k v → Encoding # toJSONList ∷ [Map k v] → Value # toEncodingList ∷ [Map k v] → Encoding # | |
ToJSON (Proxy a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Proxy a → Encoding # toJSONList ∷ [Proxy a] → Value # toEncodingList ∷ [Proxy a] → Encoding # | |
HasResolution a ⇒ ToJSON (Fixed a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Fixed a → Encoding # toJSONList ∷ [Fixed a] → Value # toEncodingList ∷ [Fixed a] → Encoding # | |
(ToJSON v, ToJSONKey k) ⇒ ToJSON (HashMap k v) | |
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) | |
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) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Either a b → Encoding # toJSONList ∷ [Either a b] → Value # toEncodingList ∷ [Either a b] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ These a b → Encoding # toJSONList ∷ [These a b] → Value # toEncodingList ∷ [These a b] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (These a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ These a b → Encoding # toJSONList ∷ [These a b] → Value # toEncodingList ∷ [These a b] → Encoding # | |
(ToJSON a, ToJSON b) ⇒ ToJSON (Pair a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Pair a b → Encoding # toJSONList ∷ [Pair a b] → Value # toEncodingList ∷ [Pair a b] → Encoding # | |
HashAlgorithm h ⇒ ToJSON (Hash h a) | |
Defined in Bcc.Crypto.Hash.Class Methods toEncoding ∷ Hash h a → Encoding # toJSONList ∷ [Hash h a] → Value # toEncodingList ∷ [Hash h a] → Encoding # | |
Crypto crypto ⇒ ToJSON (KeyHash disc crypto) | |
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 # | |
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) | |
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) | |
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) | |
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) | |
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 # | |
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) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ (a, b, c) → Encoding # toJSONList ∷ [(a, b, c)] → Value # toEncodingList ∷ [(a, b, c)] → Encoding # | |
ToJSON a ⇒ ToJSON (Const a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Const a b → Encoding # toJSONList ∷ [Const a b] → Value # toEncodingList ∷ [Const a b] → Encoding # | |
ToJSON b ⇒ ToJSON (Tagged a b) | |
Defined in Data.Aeson.Types.ToJSON Methods 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) | |
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) | |
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) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ Product f g a → Value # toEncoding ∷ Product 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) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding ∷ Sum 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) | |
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) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON ∷ Compose f g a → Value # toEncoding ∷ Compose 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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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 # |
Instances
deserialiseFromJSON ∷ FromJSON a ⇒ AsType a → ByteString → Either JsonDecodeError a Source #
prettyPrintJSON ∷ ToJSON a ⇒ a → ByteString Source #
Minimal complete definition
Nothing
Instances
FromJSON Bool | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Char | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Double | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Float | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Int | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Int8 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Int16 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Int32 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Int64 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Integer | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Natural | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Ordering | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Word | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Word8 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Word16 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Word32 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Word64 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON () | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Version | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Void | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON CTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON IntSet | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Text | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Text | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON ZonedTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON LocalTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON TimeOfDay | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON CalendarDiffTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON ∷ Value → Parser CalendarDiffTime # parseJSONList ∷ Value → Parser [CalendarDiffTime] # | |
FromJSON UTCTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON SystemTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON NominalDiffTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON ∷ Value → Parser NominalDiffTime # parseJSONList ∷ Value → Parser [NominalDiffTime] # | |
FromJSON DiffTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON DayOfWeek | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Day | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON CalendarDiffDays | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON ∷ Value → Parser CalendarDiffDays # parseJSONList ∷ Value → Parser [CalendarDiffDays] # | |
FromJSON Scientific | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON DotNetTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Value | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON EpochNo | |
Defined in Bcc.Slotting.Slot | |
FromJSON EpochSize | |
Defined in Bcc.Slotting.Slot | |
FromJSON SlotNo | |
Defined in Bcc.Slotting.Slot | |
FromJSON UUID | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON NonNegativeInterval | |
Defined in Bcc.Ledger.BaseTypes Methods parseJSON ∷ Value → Parser NonNegativeInterval # parseJSONList ∷ Value → Parser [NonNegativeInterval] # | |
FromJSON UnitInterval | |
Defined in Bcc.Ledger.BaseTypes | |
FromJSON ProtVer | |
Defined in Bcc.Protocol.TOptimum | |
FromJSON AurumGenesis Source # | |
Defined in Bcc.Api.Orphans | |
FromJSON Coin | |
Defined in Bcc.Ledger.Coin | |
FromJSON Language Source # | |
Defined in Bcc.Api.Orphans | |
FromJSON CostModel Source # | |
Defined in Bcc.Api.Orphans | |
FromJSON Prices Source # | |
Defined in Bcc.Api.Orphans | |
FromJSON ExUnits Source # | |
Defined in Bcc.Api.Orphans | |
FromJSON AssetClass | |
Defined in Zerepoch.V1.Ledger.Value | |
FromJSON CurrencySymbol | |
Defined in Zerepoch.V1.Ledger.Value | |
FromJSON TokenName | |
Defined in Zerepoch.V1.Ledger.Value | |
FromJSON Value | |
Defined in Zerepoch.V1.Ledger.Value | |
FromJSON MintingPolicyHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods parseJSON ∷ Value → Parser MintingPolicyHash # parseJSONList ∷ Value → Parser [MintingPolicyHash] # | |
FromJSON Context | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON Datum | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON DatumHash | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON MintingPolicy | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON Redeemer | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON RedeemerHash | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON Script | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON ScriptError | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON StakeValidator | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON StakeValidatorHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods parseJSON ∷ Value → Parser StakeValidatorHash # parseJSONList ∷ Value → Parser [StakeValidatorHash] # | |
FromJSON Validator | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON ValidatorHash | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSON ExBudget | |
Defined in ZerepochCore.Evaluation.Machine.ExBudget | |
FromJSON Nonce | |
Defined in Bcc.Ledger.BaseTypes | |
FromJSON Desirability | |
Defined in Sophie.Spec.Ledger.RewardProvenance | |
FromJSON StakePoolRelay | |
Defined in Sophie.Spec.Ledger.TxBody | |
FromJSON PoolMetadata | |
Defined in Sophie.Spec.Ledger.TxBody | |
FromJSON Network | |
Defined in Bcc.Ledger.BaseTypes | |
FromJSON Month | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON Quarter | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON QuarterOfYear | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON PositiveUnitInterval | |
Defined in Bcc.Ledger.BaseTypes Methods parseJSON ∷ Value → Parser PositiveUnitInterval # parseJSONList ∷ Value → Parser [PositiveUnitInterval] # | |
FromJSON RequiresNetworkMagic | |
Defined in Bcc.Crypto.ProtocolMagic Methods parseJSON ∷ Value → Parser RequiresNetworkMagic # parseJSONList ∷ Value → Parser [RequiresNetworkMagic] # | |
FromJSON ProtocolMagicId | |
Defined in Bcc.Crypto.ProtocolMagic Methods parseJSON ∷ Value → Parser ProtocolMagicId # parseJSONList ∷ Value → Parser [ProtocolMagicId] # | |
FromJSON VerificationKey | |
Defined in Bcc.Crypto.Signing.VerificationKey Methods parseJSON ∷ Value → Parser VerificationKey # parseJSONList ∷ Value → Parser [VerificationKey] # | |
FromJSON ProtocolMagic | |
Defined in Bcc.Crypto.ProtocolMagic | |
FromJSON CompactRedeemVerificationKey | |
Defined in Bcc.Crypto.Signing.Redeem.Compact Methods parseJSON ∷ Value → Parser CompactRedeemVerificationKey # parseJSONList ∷ Value → Parser [CompactRedeemVerificationKey] # | |
FromJSON SystemStart Source # | |
Defined in Bcc.Api.Orphans | |
FromJSON ByteString64 | |
Defined in Data.ByteString.Base64.Type | |
FromJSON RedeemVerificationKey | |
Defined in Bcc.Crypto.Signing.Redeem.VerificationKey Methods parseJSON ∷ Value → Parser RedeemVerificationKey # parseJSONList ∷ Value → Parser [RedeemVerificationKey] # | |
FromJSON StakingCredential | |
Defined in Zerepoch.V1.Ledger.Credential Methods parseJSON ∷ Value → Parser StakingCredential # parseJSONList ∷ Value → Parser [StakingCredential] # | |
FromJSON POSIXTime | |
Defined in Zerepoch.V1.Ledger.Time | |
FromJSON Address | |
Defined in Zerepoch.V1.Ledger.Address | |
FromJSON DCert | |
Defined in Zerepoch.V1.Ledger.DCert | |
FromJSON Credential | |
Defined in Zerepoch.V1.Ledger.Credential | |
FromJSON TxOut | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSON PubKeyHash | |
Defined in Zerepoch.V1.Ledger.Crypto | |
FromJSON TxId | |
Defined in Zerepoch.V1.Ledger.TxId | |
FromJSON TxOutRef | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSON DnsName | |
Defined in Bcc.Ledger.BaseTypes | |
FromJSON Port | |
Defined in Bcc.Ledger.BaseTypes | |
FromJSON PositiveInterval | |
Defined in Bcc.Ledger.BaseTypes Methods parseJSON ∷ Value → Parser PositiveInterval # parseJSONList ∷ Value → Parser [PositiveInterval] # | |
FromJSON Url | |
Defined in Bcc.Ledger.BaseTypes | |
FromJSON SatInt | |
Defined in Data.SatInt | |
FromJSON CekMachineCosts | |
Defined in UntypedZerepochCore.Evaluation.Machine.Cek.CekMachineCosts Methods parseJSON ∷ Value → Parser CekMachineCosts # parseJSONList ∷ Value → Parser [CekMachineCosts] # | |
FromJSON ModelAddedSizes | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelAddedSizes # parseJSONList ∷ Value → Parser [ModelAddedSizes] # | |
FromJSON ModelConstantOrLinear | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelConstantOrLinear # parseJSONList ∷ Value → Parser [ModelConstantOrLinear] # | |
FromJSON ModelConstantOrTwoArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelConstantOrTwoArguments # parseJSONList ∷ Value → Parser [ModelConstantOrTwoArguments] # | |
FromJSON ModelFiveArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelFiveArguments # parseJSONList ∷ Value → Parser [ModelFiveArguments] # | |
FromJSON ModelFourArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelFourArguments # parseJSONList ∷ Value → Parser [ModelFourArguments] # | |
FromJSON ModelLinearSize | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelLinearSize # parseJSONList ∷ Value → Parser [ModelLinearSize] # | |
FromJSON ModelMaxSize | |
FromJSON ModelMinSize | |
FromJSON ModelMultipliedSizes | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelMultipliedSizes # parseJSONList ∷ Value → Parser [ModelMultipliedSizes] # | |
FromJSON ModelOneArgument | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelOneArgument # parseJSONList ∷ Value → Parser [ModelOneArgument] # | |
FromJSON ModelSixArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelSixArguments # parseJSONList ∷ Value → Parser [ModelSixArguments] # | |
FromJSON ModelSubtractedSizes | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelSubtractedSizes # parseJSONList ∷ Value → Parser [ModelSubtractedSizes] # | |
FromJSON ModelThreeArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelThreeArguments # parseJSONList ∷ Value → Parser [ModelThreeArguments] # | |
FromJSON ModelTwoArguments | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser ModelTwoArguments # parseJSONList ∷ Value → Parser [ModelTwoArguments] # | |
FromJSON ExMemory | |
Defined in ZerepochCore.Evaluation.Machine.ExMemory | |
FromJSON ExCPU | |
Defined in ZerepochCore.Evaluation.Machine.ExMemory | |
FromJSON Bcc | |
Defined in Zerepoch.V1.Ledger.Bcc | |
FromJSON LedgerBytes | |
Defined in Zerepoch.V1.Ledger.Bytes | |
FromJSON Signature | |
Defined in Zerepoch.V1.Ledger.Crypto | |
FromJSON PubKey | |
Defined in Zerepoch.V1.Ledger.Crypto | |
FromJSON PrivateKey | |
Defined in Zerepoch.V1.Ledger.Crypto | |
FromJSON Slot | |
Defined in Zerepoch.V1.Ledger.Slot | |
FromJSON DiffMilliSeconds | |
Defined in Zerepoch.V1.Ledger.Time Methods parseJSON ∷ Value → Parser DiffMilliSeconds # parseJSONList ∷ Value → Parser [DiffMilliSeconds] # | |
FromJSON RedeemerPtr | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSON ScriptTag | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSON Tx | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSON TxIn | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSON TxInType | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSON TxOutTx | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSON StudentT | |
Defined in Statistics.Distribution.StudentT | |
FromJSON TextEnvelope Source # | |
Defined in Bcc.Api.SerialiseTextEnvelope | |
FromJSON TextEnvelopeDescr Source # | |
Defined in Bcc.Api.SerialiseTextEnvelope Methods parseJSON ∷ Value → Parser TextEnvelopeDescr # parseJSONList ∷ Value → Parser [TextEnvelopeDescr] # | |
FromJSON TextEnvelopeType Source # | |
Defined in Bcc.Api.SerialiseTextEnvelope Methods parseJSON ∷ Value → Parser TextEnvelopeType # parseJSONList ∷ Value → Parser [TextEnvelopeType] # | |
FromJSON ScriptHash Source # | |
Defined in Bcc.Api.Script | |
FromJSON ExecutionUnits Source # | |
Defined in Bcc.Api.Script | |
FromJSON AnyZerepochScriptVersion Source # | |
Defined in Bcc.Api.Script Methods parseJSON ∷ Value → Parser AnyZerepochScriptVersion # parseJSONList ∷ Value → Parser [AnyZerepochScriptVersion] # | |
FromJSON StakePoolMetadata Source # | |
Defined in Bcc.Api.StakePoolMetadata Methods parseJSON ∷ Value → Parser StakePoolMetadata # parseJSONList ∷ Value → Parser [StakePoolMetadata] # | |
FromJSON ValueNestedRep Source # | |
Defined in Bcc.Api.Value | |
FromJSON Value Source # | |
Defined in Bcc.Api.Value | |
FromJSON AssetName Source # | |
Defined in Bcc.Api.Value | |
FromJSON PolicyId Source # | |
Defined in Bcc.Api.Value | |
FromJSON Quantity Source # | |
Defined in Bcc.Api.Value | |
FromJSON Entropic Source # | |
Defined in Bcc.Api.Value | |
FromJSON CostModel Source # | |
Defined in Bcc.Api.ProtocolParameters | |
FromJSON ExecutionUnitPrices Source # | |
Defined in Bcc.Api.ProtocolParameters Methods parseJSON ∷ Value → Parser ExecutionUnitPrices # parseJSONList ∷ Value → Parser [ExecutionUnitPrices] # | |
FromJSON OptimumNonce Source # | |
Defined in Bcc.Api.ProtocolParameters | |
FromJSON ProtocolParameters Source # | |
Defined in Bcc.Api.ProtocolParameters Methods parseJSON ∷ Value → Parser ProtocolParameters # parseJSONList ∷ Value → Parser [ProtocolParameters] # | |
FromJSON TxIx Source # | |
Defined in Bcc.Api.TxBody | |
FromJSON TxId Source # | |
Defined in Bcc.Api.TxBody | |
FromJSON a ⇒ FromJSON [a] | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Maybe a) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, Integral a) ⇒ FromJSON (Ratio a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (First a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Last a) | |
Defined in Data.Aeson.Types.FromJSON | |
(Ord a, FromJSON a) ⇒ FromJSON (Set a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (NonEmpty a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Identity a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Min a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Max a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (WrappedMonoid a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON ∷ Value → Parser (WrappedMonoid a) # parseJSONList ∷ Value → Parser [WrappedMonoid a] # | |
FromJSON a ⇒ FromJSON (Option a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (First a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Last a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Dual a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (IntMap a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON v ⇒ FromJSON (Tree v) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Seq a) | |
Defined in Data.Aeson.Types.FromJSON | |
(Vector Vector a, FromJSON a) ⇒ FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON1 f ⇒ FromJSON (Fix f) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON1 f, Functor f) ⇒ FromJSON (Mu f) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON1 f, Functor f) ⇒ FromJSON (Nu f) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (DNonEmpty a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (DList a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Array a) | |
Defined in Data.Aeson.Types.FromJSON | |
(Prim a, FromJSON a) ⇒ FromJSON (PrimArray a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (SmallArray a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Maybe a) | |
Defined in Data.Aeson.Types.FromJSON | |
(Eq a, Hashable a, FromJSON a) ⇒ FromJSON (HashSet a) | |
Defined in Data.Aeson.Types.FromJSON | |
(Prim a, FromJSON a) ⇒ FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON | |
(Storable a, FromJSON a) ⇒ FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (StrictMaybe a) | |
Defined in Data.Maybe.Strict | |
FromJSON (PParams era) Source # | |
Defined in Bcc.Api.Orphans | |
FromJSON (PParams era) | |
Defined in Sophie.Spec.Ledger.PParams | |
Crypto crypto ⇒ FromJSON (ScriptHash crypto) | |
Defined in Bcc.Ledger.Hashes Methods parseJSON ∷ Value → Parser (ScriptHash crypto) # parseJSONList ∷ Value → Parser [ScriptHash crypto] # | |
Crypto crypto ⇒ FromJSON (Addr crypto) | |
Defined in Bcc.Ledger.Address | |
Crypto crypto ⇒ FromJSON (BlocksMade crypto) | |
Defined in Sophie.Spec.Ledger.EpochBoundary Methods parseJSON ∷ Value → Parser (BlocksMade crypto) # parseJSONList ∷ Value → Parser [BlocksMade crypto] # | |
Era era ⇒ FromJSON (SophieGenesis era) | |
Defined in Sophie.Spec.Ledger.Genesis Methods parseJSON ∷ Value → Parser (SophieGenesis era) # parseJSONList ∷ Value → Parser [SophieGenesis era] # | |
Crypto crypto ⇒ FromJSON (GenDelegPair crypto) | |
Defined in Bcc.Ledger.Keys Methods parseJSON ∷ Value → Parser (GenDelegPair crypto) # parseJSONList ∷ Value → Parser [GenDelegPair crypto] # | |
Crypto crypto ⇒ FromJSON (VestedDelegPair crypto) | |
Defined in Bcc.Ledger.Keys Methods parseJSON ∷ Value → Parser (VestedDelegPair crypto) # parseJSONList ∷ Value → Parser [VestedDelegPair crypto] # | |
Crypto crypto ⇒ FromJSON (SophieGenesisStaking crypto) | |
Defined in Sophie.Spec.Ledger.Genesis Methods parseJSON ∷ Value → Parser (SophieGenesisStaking crypto) # parseJSONList ∷ Value → Parser [SophieGenesisStaking crypto] # | |
Crypto crypto ⇒ FromJSON (PoolParams crypto) | |
Defined in Sophie.Spec.Ledger.TxBody Methods parseJSON ∷ Value → Parser (PoolParams crypto) # parseJSONList ∷ Value → Parser [PoolParams crypto] # | |
Crypto crypto ⇒ FromJSON (RewardProvenance crypto) | |
Defined in Sophie.Spec.Ledger.RewardProvenance Methods parseJSON ∷ Value → Parser (RewardProvenance crypto) # parseJSONList ∷ Value → Parser [RewardProvenance crypto] # | |
Crypto crypto ⇒ FromJSON (RewardProvenancePool crypto) | |
Defined in Sophie.Spec.Ledger.RewardProvenance Methods parseJSON ∷ Value → Parser (RewardProvenancePool crypto) # parseJSONList ∷ Value → Parser [RewardProvenancePool crypto] # | |
Crypto crypto ⇒ FromJSON (RewardAcnt crypto) | |
Defined in Bcc.Ledger.Address Methods parseJSON ∷ Value → Parser (RewardAcnt crypto) # parseJSONList ∷ Value → Parser [RewardAcnt crypto] # | |
FromJSON (Hash ScriptData) Source # | |
Defined in Bcc.Api.ScriptData Methods parseJSON ∷ Value → Parser (Hash ScriptData) # parseJSONList ∷ Value → Parser [Hash ScriptData] # | |
FromJSON a ⇒ FromJSON (RedeemSignature a) | |
Defined in Bcc.Crypto.Signing.Redeem.Signature Methods parseJSON ∷ Value → Parser (RedeemSignature a) # parseJSONList ∷ Value → Parser [RedeemSignature a] # | |
FromJSON (Signature w) | |
Defined in Bcc.Crypto.Signing.Signature | |
Crypto crypto ⇒ FromJSON (StakeCreds crypto) | |
Defined in Sophie.Spec.Ledger.TxBody Methods parseJSON ∷ Value → Parser (StakeCreds crypto) # parseJSONList ∷ Value → Parser [StakeCreds crypto] # | |
FromJSON (BuiltinCostModelBase CostingFun) | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser (BuiltinCostModelBase CostingFun) # parseJSONList ∷ Value → Parser [BuiltinCostModelBase CostingFun] # | |
FromJSON model ⇒ FromJSON (CostingFun model) | |
Defined in ZerepochCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON ∷ Value → Parser (CostingFun model) # parseJSONList ∷ Value → Parser [CostingFun model] # | |
FromJSON a ⇒ FromJSON (Interval a) | |
Defined in Zerepoch.V1.Ledger.Interval | |
FromJSON a ⇒ FromJSON (Extended a) | |
Defined in Zerepoch.V1.Ledger.Interval | |
FromJSON a ⇒ FromJSON (LowerBound a) | |
Defined in Zerepoch.V1.Ledger.Interval | |
FromJSON a ⇒ FromJSON (UpperBound a) | |
Defined in Zerepoch.V1.Ledger.Interval | |
FromJSON a ⇒ FromJSON (Ratio a) | |
Defined in ZerepochTx.Ratio | |
FromJSON d ⇒ FromJSON (LinearTransform d) | |
Defined in Statistics.Distribution.Transform Methods parseJSON ∷ Value → Parser (LinearTransform d) # parseJSONList ∷ Value → Parser [LinearTransform d] # | |
(SerialiseAsBech32 a, Typeable a) ⇒ FromJSON (UsingBech32 a) Source # | |
Defined in Bcc.Api.SerialiseUsing | |
(SerialiseAsRawBytes a, Typeable a) ⇒ FromJSON (UsingRawBytesHex a) Source # | |
Defined in Bcc.Api.SerialiseUsing Methods parseJSON ∷ Value → Parser (UsingRawBytesHex a) # parseJSONList ∷ Value → Parser [UsingRawBytesHex a] # | |
IsSimpleScriptLanguage lang ⇒ FromJSON (SimpleScript lang) Source # | |
Defined in Bcc.Api.Script Methods parseJSON ∷ Value → Parser (SimpleScript lang) # parseJSONList ∷ Value → Parser [SimpleScript lang] # | |
(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSON b) ⇒ FromJSON (a, b) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSONKey k, Ord k, FromJSON v) ⇒ FromJSON (Map k v) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON (Proxy a) | |
Defined in Data.Aeson.Types.FromJSON | |
HasResolution a ⇒ FromJSON (Fixed a) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON v, FromJSONKey k, Eq k, Hashable k) ⇒ FromJSON (HashMap k v) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON b ⇒ FromJSON (Annotated b ()) | |
Defined in Bcc.Binary.Annotated Methods parseJSON ∷ Value → Parser (Annotated b ()) # parseJSONList ∷ Value → Parser [Annotated b ()] # | |
(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSON b) ⇒ FromJSON (These a b) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSON b) ⇒ FromJSON (Pair a b) | |
Defined in Data.Aeson.Types.FromJSON | |
HashAlgorithm h ⇒ FromJSON (Hash h a) | |
Defined in Bcc.Crypto.Hash.Class | |
Crypto crypto ⇒ FromJSON (KeyHash disc crypto) | |
Defined in Bcc.Ledger.Keys Methods parseJSON ∷ Value → Parser (KeyHash disc crypto) # parseJSONList ∷ Value → Parser [KeyHash disc crypto] # | |
Crypto crypto ⇒ FromJSON (Credential kr crypto) | |
Defined in Bcc.Ledger.Credential Methods parseJSON ∷ Value → Parser (Credential kr crypto) # parseJSONList ∷ Value → Parser [Credential kr crypto] # | |
HashAlgorithm algo ⇒ FromJSON (AbstractHash algo a) | |
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) | |
Defined in Bcc.Ledger.BaseTypes | |
(FromJSONKey k, Ord k, FromJSON a) ⇒ FromJSON (MonoidalMap k a) | |
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) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON a ⇒ FromJSON (Const a b) | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSON b ⇒ FromJSON (Tagged a b) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (These1 f g a) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d) ⇒ FromJSON (a, b, c, d) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Product f g a) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Sum f g a) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) ⇒ FromJSON (a, b, c, d, e) | |
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) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) ⇒ FromJSON (a, b, c, d, e, f) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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
FromJSONKey Bool | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Char | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Double | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Float | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int8 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int16 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int32 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Int64 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Integer | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Natural | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word8 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word16 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word32 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Word64 | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Version | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Text | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Text | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey ZonedTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey LocalTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey TimeOfDay | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey UTCTime | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey DayOfWeek | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Day | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey UUID | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Language Source # | |
Defined in Bcc.Api.Orphans | |
FromJSONKey CurrencySymbol | |
Defined in Zerepoch.V1.Ledger.Value Methods fromJSONKey ∷ FromJSONKeyFunction CurrencySymbol fromJSONKeyList ∷ FromJSONKeyFunction [CurrencySymbol] | |
FromJSONKey MintingPolicyHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction MintingPolicyHash fromJSONKeyList ∷ FromJSONKeyFunction [MintingPolicyHash] | |
FromJSONKey DatumHash | |
Defined in Zerepoch.V1.Ledger.Scripts | |
FromJSONKey RedeemerHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction RedeemerHash fromJSONKeyList ∷ FromJSONKeyFunction [RedeemerHash] | |
FromJSONKey StakeValidatorHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction StakeValidatorHash fromJSONKeyList ∷ FromJSONKeyFunction [StakeValidatorHash] | |
FromJSONKey ValidatorHash | |
Defined in Zerepoch.V1.Ledger.Scripts Methods fromJSONKey ∷ FromJSONKeyFunction ValidatorHash fromJSONKeyList ∷ FromJSONKeyFunction [ValidatorHash] | |
FromJSONKey Month | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey Quarter | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey QuarterOfYear | |
Defined in Data.Aeson.Types.FromJSON Methods fromJSONKey ∷ FromJSONKeyFunction QuarterOfYear fromJSONKeyList ∷ FromJSONKeyFunction [QuarterOfYear] | |
FromJSONKey CompactRedeemVerificationKey | |
Defined in Bcc.Crypto.Signing.Redeem.Compact Methods fromJSONKey ∷ FromJSONKeyFunction CompactRedeemVerificationKey fromJSONKeyList ∷ FromJSONKeyFunction [CompactRedeemVerificationKey] | |
FromJSONKey ByteString64 | |
Defined in Data.ByteString.Base64.Type Methods fromJSONKey ∷ FromJSONKeyFunction ByteString64 fromJSONKeyList ∷ FromJSONKeyFunction [ByteString64] | |
FromJSONKey RedeemVerificationKey | |
Defined in Bcc.Crypto.Signing.Redeem.VerificationKey Methods fromJSONKey ∷ FromJSONKeyFunction RedeemVerificationKey fromJSONKeyList ∷ FromJSONKeyFunction [RedeemVerificationKey] | |
FromJSONKey POSIXTime | |
Defined in Zerepoch.V1.Ledger.Time | |
FromJSONKey Address | |
Defined in Zerepoch.V1.Ledger.Address | |
FromJSONKey PubKeyHash | |
Defined in Zerepoch.V1.Ledger.Crypto Methods fromJSONKey ∷ FromJSONKeyFunction PubKeyHash fromJSONKeyList ∷ FromJSONKeyFunction [PubKeyHash] | |
FromJSONKey TxId | |
Defined in Zerepoch.V1.Ledger.TxId | |
FromJSONKey TxOutRef | |
Defined in Zerepoch.V1.Ledger.Tx | |
FromJSONKey LedgerBytes | |
Defined in Zerepoch.V1.Ledger.Bytes Methods fromJSONKey ∷ FromJSONKeyFunction LedgerBytes fromJSONKeyList ∷ FromJSONKeyFunction [LedgerBytes] | |
FromJSONKey PubKey | |
Defined in Zerepoch.V1.Ledger.Crypto | |
FromJSONKey PrivateKey | |
Defined in Zerepoch.V1.Ledger.Crypto Methods fromJSONKey ∷ FromJSONKeyFunction PrivateKey fromJSONKeyList ∷ FromJSONKeyFunction [PrivateKey] | |
FromJSONKey Slot | |
Defined in Zerepoch.V1.Ledger.Slot | |
FromJSONKey DiffMilliSeconds | |
Defined in Zerepoch.V1.Ledger.Time Methods fromJSONKey ∷ FromJSONKeyFunction DiffMilliSeconds fromJSONKeyList ∷ FromJSONKeyFunction [DiffMilliSeconds] | |
FromJSONKey RedeemerPtr | |
Defined in Zerepoch.V1.Ledger.Tx Methods fromJSONKey ∷ FromJSONKeyFunction RedeemerPtr fromJSONKeyList ∷ FromJSONKeyFunction [RedeemerPtr] | |
FromJSONKey AnyZerepochScriptVersion Source # | |
Defined in Bcc.Api.Script Methods fromJSONKey ∷ FromJSONKeyFunction AnyZerepochScriptVersion fromJSONKeyList ∷ FromJSONKeyFunction [AnyZerepochScriptVersion] | |
FromJSONKey AssetName Source # | |
Defined in Bcc.Api.Value | |
FromJSONKey TxId Source # | |
Defined in Bcc.Api.TxBody | |
(FromJSONKey a, FromJSON a) ⇒ FromJSONKey [a] | |
Defined in Data.Aeson.Types.FromJSON | |
FromJSONKey a ⇒ FromJSONKey (Identity a) | |
Defined in Data.Aeson.Types.FromJSON Methods fromJSONKey ∷ FromJSONKeyFunction (Identity a) fromJSONKeyList ∷ FromJSONKeyFunction [Identity a] | |
Crypto crypto ⇒ FromJSONKey (Addr crypto) | |
Defined in Bcc.Ledger.Address Methods fromJSONKey ∷ FromJSONKeyFunction (Addr crypto) fromJSONKeyList ∷ FromJSONKeyFunction [Addr crypto] | |
Crypto crypto ⇒ FromJSONKey (RewardAcnt crypto) | |
Defined in Bcc.Ledger.Address Methods fromJSONKey ∷ FromJSONKeyFunction (RewardAcnt crypto) fromJSONKeyList ∷ FromJSONKeyFunction [RewardAcnt crypto] | |
FromJSONKey (Hash ScriptData) Source # | |
Defined in Bcc.Api.ScriptData Methods fromJSONKey ∷ FromJSONKeyFunction (Hash ScriptData) fromJSONKeyList ∷ FromJSONKeyFunction [Hash ScriptData] | |
(SerialiseAsBech32 a, Typeable a) ⇒ FromJSONKey (UsingBech32 a) Source # | |
Defined in Bcc.Api.SerialiseUsing Methods fromJSONKey ∷ FromJSONKeyFunction (UsingBech32 a) fromJSONKeyList ∷ FromJSONKeyFunction [UsingBech32 a] | |
(SerialiseAsRawBytes a, Typeable a) ⇒ FromJSONKey (UsingRawBytesHex a) Source # | |
Defined in Bcc.Api.SerialiseUsing Methods fromJSONKey ∷ FromJSONKeyFunction (UsingRawBytesHex a) fromJSONKeyList ∷ FromJSONKeyFunction [UsingRawBytesHex a] | |
(FromJSON a, FromJSON b) ⇒ FromJSONKey (a, b) | |
Defined in Data.Aeson.Types.FromJSON | |
HashAlgorithm h ⇒ FromJSONKey (Hash h a) | |
Defined in Bcc.Crypto.Hash.Class | |
Crypto crypto ⇒ FromJSONKey (KeyHash disc crypto) | |
Defined in Bcc.Ledger.Keys Methods fromJSONKey ∷ FromJSONKeyFunction (KeyHash disc crypto) fromJSONKeyList ∷ FromJSONKeyFunction [KeyHash disc crypto] | |
Crypto crypto ⇒ FromJSONKey (Credential kr crypto) | |
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) | |
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) | |
Defined in Data.Aeson.Types.FromJSON | |
(FromJSON a, FromJSONKey a) ⇒ FromJSONKey (Const a b) | |
Defined in Data.Aeson.Types.FromJSON Methods fromJSONKey ∷ FromJSONKeyFunction (Const a b) fromJSONKeyList ∷ FromJSONKeyFunction [Const a b] | |
FromJSONKey b ⇒ FromJSONKey (Tagged a b) | |
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) | |
Defined in Data.Aeson.Types.FromJSON Methods fromJSONKey ∷ FromJSONKeyFunction (a, b, c, d) fromJSONKeyList ∷ FromJSONKeyFunction [(a, b, c, d)] |
newtype JsonDecodeError Source #
Constructors
JsonDecodeError String |
Instances
Eq JsonDecodeError Source # | |
Defined in Bcc.Api.SerialiseJSON Methods | |
Show JsonDecodeError Source # | |
Defined in Bcc.Api.SerialiseJSON | |
Error JsonDecodeError Source # | |
Defined in Bcc.Api.SerialiseJSON Methods |
readFileJSON ∷ FromJSON a ⇒ AsType a → FilePath → IO (Either (FileError JsonDecodeError) a) Source #