Safe Haskell | None |
---|---|
Language | Haskell2010 |
Orphan instances
Show AurumGenesis Source # | |
FromJSON AurumGenesis Source # | |
parseJSON ∷ Value → Parser AurumGenesis # parseJSONList ∷ Value → Parser [AurumGenesis] # | |
FromJSON Language Source # | |
parseJSON ∷ Value → Parser Language # parseJSONList ∷ Value → Parser [Language] # | |
FromJSON CostModel Source # | |
parseJSON ∷ Value → Parser CostModel # parseJSONList ∷ Value → Parser [CostModel] # | |
FromJSON Prices Source # | |
parseJSON ∷ Value → Parser Prices # parseJSONList ∷ Value → Parser [Prices] # | |
FromJSON ExUnits Source # | |
parseJSON ∷ Value → Parser ExUnits # parseJSONList ∷ Value → Parser [ExUnits] # | |
FromJSON SystemStart Source # | |
parseJSON ∷ Value → Parser SystemStart # parseJSONList ∷ Value → Parser [SystemStart] # | |
ToJSON AurumGenesis Source # | |
toJSON ∷ AurumGenesis → Value # toEncoding ∷ AurumGenesis → Encoding # toJSONList ∷ [AurumGenesis] → Value # toEncodingList ∷ [AurumGenesis] → Encoding # | |
ToJSON Language Source # | |
toEncoding ∷ Language → Encoding # toJSONList ∷ [Language] → Value # toEncodingList ∷ [Language] → Encoding # | |
ToJSON CostModel Source # | |
toEncoding ∷ CostModel → Encoding # toJSONList ∷ [CostModel] → Value # toEncodingList ∷ [CostModel] → Encoding # | |
ToJSON Prices Source # | |
toEncoding ∷ Prices → Encoding # toJSONList ∷ [Prices] → Value # toEncodingList ∷ [Prices] → Encoding # | |
ToJSON ExUnits Source # | |
toEncoding ∷ ExUnits → Encoding # toJSONList ∷ [ExUnits] → Value # toEncodingList ∷ [ExUnits] → Encoding # | |
ToJSON AssetName Source # | |
toEncoding ∷ AssetName → Encoding # toJSONList ∷ [AssetName] → Value # toEncodingList ∷ [AssetName] → Encoding # | |
ToJSON Likelihood Source # | |
toEncoding ∷ Likelihood → Encoding # toJSONList ∷ [Likelihood] → Value # toEncodingList ∷ [Likelihood] → Encoding # | |
ToJSON Ptr Source # | |
ToJSON SystemStart Source # | |
toJSON ∷ SystemStart → Value # toEncoding ∷ SystemStart → Encoding # toJSONList ∷ [SystemStart] → Value # toEncodingList ∷ [SystemStart] → Encoding # | |
ToJSON DeltaCoin Source # | |
toEncoding ∷ DeltaCoin → Encoding # toJSONList ∷ [DeltaCoin] → Value # toEncodingList ∷ [DeltaCoin] → Encoding # | |
ToJSON AccountState Source # | |
toJSON ∷ AccountState → Value # toEncoding ∷ AccountState → Encoding # toJSONList ∷ [AccountState] → Value # toEncodingList ∷ [AccountState] → Encoding # | |
ToJSON RewardType Source # | |
toEncoding ∷ RewardType → Encoding # toJSONList ∷ [RewardType] → Value # toEncodingList ∷ [RewardType] → Encoding # | |
FromJSONKey Language Source # | |
fromJSONKey ∷ FromJSONKeyFunction Language fromJSONKeyList ∷ FromJSONKeyFunction [Language] | |
ToJSONKey Language Source # | |
toJSONKey ∷ ToJSONKeyFunction Language toJSONKeyList ∷ ToJSONKeyFunction [Language] | |
ToJSONKey AssetName Source # | |
toJSONKey ∷ ToJSONKeyFunction AssetName toJSONKeyList ∷ ToJSONKeyFunction [AssetName] | |
FromJSON (PParams era) Source # | |
parseJSON ∷ Value → Parser (PParams era) # parseJSONList ∷ Value → Parser [PParams era] # | |
(ToJSON (PParamsDelta era), UsesPParams era) ⇒ ToJSON (PPUPState era) Source # | |
toJSON ∷ PPUPState era → Value # toEncoding ∷ PPUPState era → Encoding # toJSONList ∷ [PPUPState era] → Value # toEncodingList ∷ [PPUPState era] → Encoding # | |
(SophieBasedEra era, ToJSON (TxOut era), ToJSON (PParamsDelta era)) ⇒ ToJSON (UTxOState era) Source # | |
toJSON ∷ UTxOState era → Value # toEncoding ∷ UTxOState era → Encoding # toJSONList ∷ [UTxOState era] → Value # toEncodingList ∷ [UTxOState era] → Encoding # | |
Crypto crypto ⇒ ToJSON (DPState crypto) Source # | |
toJSON ∷ DPState crypto → Value # toEncoding ∷ DPState crypto → Encoding # toJSONList ∷ [DPState crypto] → Value # toEncodingList ∷ [DPState crypto] → Encoding # | |
ToJSON (PParamsUpdate (AurumEra StandardCrypto)) Source # | |
toJSON ∷ PParamsUpdate (AurumEra StandardCrypto) → Value # toEncoding ∷ PParamsUpdate (AurumEra StandardCrypto) → Encoding # toJSONList ∷ [PParamsUpdate (AurumEra StandardCrypto)] → Value # toEncodingList ∷ [PParamsUpdate (AurumEra StandardCrypto)] → Encoding # | |
ToJSON (PParams era) Source # | |
toJSON ∷ PParams era → Value # toEncoding ∷ PParams era → Encoding # toJSONList ∷ [PParams era] → Value # toEncodingList ∷ [PParams era] → Encoding # | |
ToJSON (PParamsUpdate era) Source # | |
toJSON ∷ PParamsUpdate era → Value # toEncoding ∷ PParamsUpdate era → Encoding # toJSONList ∷ [PParamsUpdate era] → Value # toEncodingList ∷ [PParamsUpdate era] → Encoding # | |
(SophieBasedEra era, ToJSON (TxOut era), ToJSON (PParams era), ToJSON (PParamsDelta era)) ⇒ ToJSON (EpochState era) Source # | |
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 # | |
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 # | |
toEncoding ∷ TxOut era → Encoding # toJSONList ∷ [TxOut era] → Value # toEncodingList ∷ [TxOut era] → Encoding # | |
Crypto crypto ⇒ ToJSON (SnapShots crypto) Source # | |
toJSON ∷ SnapShots crypto → Value # toEncoding ∷ SnapShots crypto → Encoding # toJSONList ∷ [SnapShots crypto] → Value # toEncodingList ∷ [SnapShots crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (NonMyopic crypto) Source # | |
toJSON ∷ NonMyopic crypto → Value # toEncoding ∷ NonMyopic crypto → Encoding # toJSONList ∷ [NonMyopic crypto] → Value # toEncodingList ∷ [NonMyopic crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (PulsingRewUpdate crypto) Source # | |
toJSON ∷ PulsingRewUpdate crypto → Value # toEncoding ∷ PulsingRewUpdate crypto → Encoding # toJSONList ∷ [PulsingRewUpdate crypto] → Value # toEncodingList ∷ [PulsingRewUpdate crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (PoolDistr crypto) Source # | |
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 # | |
toJSON ∷ ProposedPPUpdates era → Value # toEncoding ∷ ProposedPPUpdates era → Encoding # toJSONList ∷ [ProposedPPUpdates era] → Value # toEncodingList ∷ [ProposedPPUpdates era] → Encoding # | |
(SophieBasedEra era, ToJSON (TxOut era)) ⇒ ToJSON (UTxO era) Source # | |
toEncoding ∷ UTxO era → Encoding # toJSONList ∷ [UTxO era] → Value # toEncodingList ∷ [UTxO era] → Encoding # | |
Crypto crypto ⇒ ToJSON (TxIn crypto) Source # | |
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 # | |
toEncoding ∷ TxOut era → Encoding # toJSONList ∷ [TxOut era] → Value # toEncodingList ∷ [TxOut era] → Encoding # | |
ToJSON (Value era) Source # | |
toEncoding ∷ Value era → Encoding # toJSONList ∷ [Value era] → Value0 # toEncodingList ∷ [Value era] → Encoding # | |
ToJSON (PolicyID era) Source # | |
toJSON ∷ PolicyID era → Value # toEncoding ∷ PolicyID era → Encoding # toJSONList ∷ [PolicyID era] → Value # toEncodingList ∷ [PolicyID era] → Encoding # | |
Crypto crypto ⇒ ToJSON (PState crypto) Source # | |
toJSON ∷ PState crypto → Value # toEncoding ∷ PState crypto → Encoding # toJSONList ∷ [PState crypto] → Value # toEncodingList ∷ [PState crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (InstantaneousRewards crypto) Source # | |
toJSON ∷ InstantaneousRewards crypto → Value # toEncoding ∷ InstantaneousRewards crypto → Encoding # toJSONList ∷ [InstantaneousRewards crypto] → Value # toEncodingList ∷ [InstantaneousRewards crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (SnapShot crypto) Source # | |
toJSON ∷ SnapShot crypto → Value # toEncoding ∷ SnapShot crypto → Encoding # toJSONList ∷ [SnapShot crypto] → Value # toEncodingList ∷ [SnapShot crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (FutureGenDeleg crypto) Source # | |
toJSON ∷ FutureGenDeleg crypto → Value # toEncoding ∷ FutureGenDeleg crypto → Encoding # toJSONList ∷ [FutureGenDeleg crypto] → Value # toEncodingList ∷ [FutureGenDeleg crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (DState crypto) Source # | |
toJSON ∷ DState crypto → Value # toEncoding ∷ DState crypto → Encoding # toJSONList ∷ [DState crypto] → Value # toEncodingList ∷ [DState crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (IndividualPoolStake crypto) Source # | |
toJSON ∷ IndividualPoolStake crypto → Value # toEncoding ∷ IndividualPoolStake crypto → Encoding # toJSONList ∷ [IndividualPoolStake crypto] → Value # toEncodingList ∷ [IndividualPoolStake crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (GenDelegs crypto) Source # | |
toJSON ∷ GenDelegs crypto → Value # toEncoding ∷ GenDelegs crypto → Encoding # toJSONList ∷ [GenDelegs crypto] → Value # toEncodingList ∷ [GenDelegs crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (Stake crypto) Source # | |
toJSON ∷ Stake crypto → Value # toEncoding ∷ Stake crypto → Encoding # toJSONList ∷ [Stake crypto] → Value # toEncodingList ∷ [Stake crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (RewardUpdate crypto) Source # | |
toJSON ∷ RewardUpdate crypto → Value # toEncoding ∷ RewardUpdate crypto → Encoding # toJSONList ∷ [RewardUpdate crypto] → Value # toEncodingList ∷ [RewardUpdate crypto] → Encoding # | |
Crypto crypto ⇒ ToJSON (Reward crypto) Source # | |
toJSON ∷ Reward crypto → Value # toEncoding ∷ Reward crypto → Encoding # toJSONList ∷ [Reward crypto] → Value # toEncodingList ∷ [Reward crypto] → Encoding # | |
Crypto crypto ⇒ ToJSONKey (TxIn crypto) Source # | |
toJSONKey ∷ ToJSONKeyFunction (TxIn crypto) toJSONKeyList ∷ ToJSONKeyFunction [TxIn crypto] | |
ToJSONKey (PolicyID era) Source # | |
toJSONKey ∷ ToJSONKeyFunction (PolicyID era) toJSONKeyList ∷ ToJSONKeyFunction [PolicyID era] | |
Crypto c ⇒ ToJSON (SafeHash c a) Source # | |
toJSON ∷ SafeHash c a → Value # toEncoding ∷ SafeHash c a → Encoding # toJSONList ∷ [SafeHash c a] → Value # toEncodingList ∷ [SafeHash c a] → Encoding # | |
Crypto crypto ⇒ ToJSON (Bimap Ptr (Credential 'Staking crypto)) Source # | |
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 # |