bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Api.Orphans

Orphan instances

Show AurumGenesis Source # 
Instance details

Methods

showsPrecInt → AurumGenesis → ShowS Source #

show ∷ AurumGenesis → String Source #

showList ∷ [AurumGenesis] → ShowS Source #

FromJSON AurumGenesis Source # 
Instance details

Methods

parseJSON ∷ Value → Parser AurumGenesis #

parseJSONList ∷ Value → Parser [AurumGenesis] #

FromJSON Language Source # 
Instance details

Methods

parseJSON ∷ Value → Parser Language #

parseJSONList ∷ Value → Parser [Language] #

FromJSON CostModel Source # 
Instance details

Methods

parseJSON ∷ Value → Parser CostModel #

parseJSONList ∷ Value → Parser [CostModel] #

FromJSON Prices Source # 
Instance details

Methods

parseJSON ∷ Value → Parser Prices #

parseJSONList ∷ Value → Parser [Prices] #

FromJSON ExUnits Source # 
Instance details

Methods

parseJSON ∷ Value → Parser ExUnits #

parseJSONList ∷ Value → Parser [ExUnits] #

FromJSON SystemStart Source # 
Instance details

Methods

parseJSON ∷ Value → Parser SystemStart #

parseJSONList ∷ Value → Parser [SystemStart] #

ToJSON AurumGenesis Source # 
Instance details

Methods

toJSON ∷ AurumGenesis → Value #

toEncoding ∷ AurumGenesis → Encoding #

toJSONList ∷ [AurumGenesis] → Value #

toEncodingList ∷ [AurumGenesis] → Encoding #

ToJSON Language Source # 
Instance details

Methods

toJSON ∷ Language → Value #

toEncoding ∷ Language → Encoding #

toJSONList ∷ [Language] → Value #

toEncodingList ∷ [Language] → Encoding #

ToJSON CostModel Source # 
Instance details

Methods

toJSON ∷ CostModel → Value #

toEncoding ∷ CostModel → Encoding #

toJSONList ∷ [CostModel] → Value #

toEncodingList ∷ [CostModel] → Encoding #

ToJSON Prices Source # 
Instance details

Methods

toJSON ∷ Prices → Value #

toEncoding ∷ Prices → Encoding #

toJSONList ∷ [Prices] → Value #

toEncodingList ∷ [Prices] → Encoding #

ToJSON ExUnits Source # 
Instance details

Methods

toJSON ∷ ExUnits → Value #

toEncoding ∷ ExUnits → Encoding #

toJSONList ∷ [ExUnits] → Value #

toEncodingList ∷ [ExUnits] → Encoding #

ToJSON AssetName Source # 
Instance details

Methods

toJSON ∷ AssetName → Value #

toEncoding ∷ AssetName → Encoding #

toJSONList ∷ [AssetName] → Value #

toEncodingList ∷ [AssetName] → Encoding #

ToJSON Likelihood Source # 
Instance details

Methods

toJSON ∷ Likelihood → Value #

toEncoding ∷ Likelihood → Encoding #

toJSONList ∷ [Likelihood] → Value #

toEncodingList ∷ [Likelihood] → Encoding #

ToJSON Ptr Source # 
Instance details

Methods

toJSON ∷ Ptr → Value #

toEncoding ∷ Ptr → Encoding #

toJSONList ∷ [Ptr] → Value #

toEncodingList ∷ [Ptr] → Encoding #

ToJSON SystemStart Source # 
Instance details

Methods

toJSONSystemStart → Value #

toEncodingSystemStart → Encoding #

toJSONList ∷ [SystemStart] → Value #

toEncodingList ∷ [SystemStart] → Encoding #

ToJSON DeltaCoin Source # 
Instance details

Methods

toJSON ∷ DeltaCoin → Value #

toEncoding ∷ DeltaCoin → Encoding #

toJSONList ∷ [DeltaCoin] → Value #

toEncodingList ∷ [DeltaCoin] → Encoding #

ToJSON AccountState Source # 
Instance details

Methods

toJSON ∷ AccountState → Value #

toEncoding ∷ AccountState → Encoding #

toJSONList ∷ [AccountState] → Value #

toEncodingList ∷ [AccountState] → Encoding #

ToJSON RewardType Source # 
Instance details

Methods

toJSON ∷ RewardType → Value #

toEncoding ∷ RewardType → Encoding #

toJSONList ∷ [RewardType] → Value #

toEncodingList ∷ [RewardType] → Encoding #

FromJSONKey Language Source # 
Instance details

Methods

fromJSONKey ∷ FromJSONKeyFunction Language

fromJSONKeyList ∷ FromJSONKeyFunction [Language]

ToJSONKey Language Source # 
Instance details

Methods

toJSONKey ∷ ToJSONKeyFunction Language

toJSONKeyList ∷ ToJSONKeyFunction [Language]

ToJSONKey AssetName Source # 
Instance details

Methods

toJSONKey ∷ ToJSONKeyFunction AssetName

toJSONKeyList ∷ ToJSONKeyFunction [AssetName]

FromJSON (PParams era) Source # 
Instance details

Methods

parseJSON ∷ Value → Parser (PParams era) #

parseJSONList ∷ Value → Parser [PParams era] #

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

Methods

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 # 
Instance details

Methods

toJSON ∷ UTxOState era → Value #

toEncoding ∷ UTxOState era → Encoding #

toJSONList ∷ [UTxOState era] → Value #

toEncodingList ∷ [UTxOState era] → Encoding #

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

Methods

toJSON ∷ DPState crypto → Value #

toEncoding ∷ DPState crypto → Encoding #

toJSONList ∷ [DPState crypto] → Value #

toEncodingList ∷ [DPState crypto] → Encoding #

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

Methods

toJSON ∷ PParamsUpdate (AurumEra StandardCrypto) → Value #

toEncoding ∷ PParamsUpdate (AurumEra StandardCrypto) → Encoding #

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

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

ToJSON (PParams era) Source # 
Instance details

Methods

toJSON ∷ PParams era → Value #

toEncoding ∷ PParams era → Encoding #

toJSONList ∷ [PParams era] → Value #

toEncodingList ∷ [PParams era] → Encoding #

ToJSON (PParamsUpdate era) Source # 
Instance details

Methods

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 # 
Instance details

Methods

toJSON ∷ EpochState era → Value #

toEncoding ∷ EpochState era → Encoding #

toJSONList ∷ [EpochState era] → Value #

toEncodingList ∷ [EpochState era] → Encoding #

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

Methods

toJSON ∷ LedgerState era → Value #

toEncoding ∷ LedgerState era → Encoding #

toJSONList ∷ [LedgerState era] → Value #

toEncodingList ∷ [LedgerState era] → Encoding #

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

Methods

toJSON ∷ TxOut era → Value #

toEncoding ∷ TxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

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

Methods

toJSON ∷ SnapShots crypto → Value #

toEncoding ∷ SnapShots crypto → Encoding #

toJSONList ∷ [SnapShots crypto] → Value #

toEncodingList ∷ [SnapShots crypto] → Encoding #

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

Methods

toJSON ∷ NonMyopic crypto → Value #

toEncoding ∷ NonMyopic crypto → Encoding #

toJSONList ∷ [NonMyopic crypto] → Value #

toEncodingList ∷ [NonMyopic crypto] → Encoding #

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

Methods

toJSON ∷ PulsingRewUpdate crypto → Value #

toEncoding ∷ PulsingRewUpdate crypto → Encoding #

toJSONList ∷ [PulsingRewUpdate crypto] → Value #

toEncodingList ∷ [PulsingRewUpdate crypto] → Encoding #

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

Methods

toJSON ∷ PoolDistr crypto → Value #

toEncoding ∷ PoolDistr crypto → Encoding #

toJSONList ∷ [PoolDistr crypto] → Value #

toEncodingList ∷ [PoolDistr crypto] → Encoding #

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

Methods

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 # 
Instance details

Methods

toJSON ∷ UTxO era → Value #

toEncoding ∷ UTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

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

Methods

toJSON ∷ TxIn crypto → Value #

toEncoding ∷ TxIn crypto → Encoding #

toJSONList ∷ [TxIn crypto] → Value #

toEncodingList ∷ [TxIn crypto] → Encoding #

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

Methods

toJSON ∷ TxOut era → Value #

toEncoding ∷ TxOut era → Encoding #

toJSONList ∷ [TxOut era] → Value #

toEncodingList ∷ [TxOut era] → Encoding #

ToJSON (Value era) Source # 
Instance details

Methods

toJSON ∷ Value era → Value0 #

toEncoding ∷ Value era → Encoding #

toJSONList ∷ [Value era] → Value0 #

toEncodingList ∷ [Value era] → Encoding #

ToJSON (PolicyID era) Source # 
Instance details

Methods

toJSON ∷ PolicyID era → Value #

toEncoding ∷ PolicyID era → Encoding #

toJSONList ∷ [PolicyID era] → Value #

toEncodingList ∷ [PolicyID era] → Encoding #

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

Methods

toJSON ∷ PState crypto → Value #

toEncoding ∷ PState crypto → Encoding #

toJSONList ∷ [PState crypto] → Value #

toEncodingList ∷ [PState crypto] → Encoding #

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

Methods

toJSON ∷ InstantaneousRewards crypto → Value #

toEncoding ∷ InstantaneousRewards crypto → Encoding #

toJSONList ∷ [InstantaneousRewards crypto] → Value #

toEncodingList ∷ [InstantaneousRewards crypto] → Encoding #

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

Methods

toJSON ∷ SnapShot crypto → Value #

toEncoding ∷ SnapShot crypto → Encoding #

toJSONList ∷ [SnapShot crypto] → Value #

toEncodingList ∷ [SnapShot crypto] → Encoding #

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

Methods

toJSON ∷ FutureGenDeleg crypto → Value #

toEncoding ∷ FutureGenDeleg crypto → Encoding #

toJSONList ∷ [FutureGenDeleg crypto] → Value #

toEncodingList ∷ [FutureGenDeleg crypto] → Encoding #

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

Methods

toJSON ∷ DState crypto → Value #

toEncoding ∷ DState crypto → Encoding #

toJSONList ∷ [DState crypto] → Value #

toEncodingList ∷ [DState crypto] → Encoding #

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

Methods

toJSON ∷ IndividualPoolStake crypto → Value #

toEncoding ∷ IndividualPoolStake crypto → Encoding #

toJSONList ∷ [IndividualPoolStake crypto] → Value #

toEncodingList ∷ [IndividualPoolStake crypto] → Encoding #

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

Methods

toJSON ∷ GenDelegs crypto → Value #

toEncoding ∷ GenDelegs crypto → Encoding #

toJSONList ∷ [GenDelegs crypto] → Value #

toEncodingList ∷ [GenDelegs crypto] → Encoding #

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

Methods

toJSON ∷ Stake crypto → Value #

toEncoding ∷ Stake crypto → Encoding #

toJSONList ∷ [Stake crypto] → Value #

toEncodingList ∷ [Stake crypto] → Encoding #

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

Methods

toJSON ∷ RewardUpdate crypto → Value #

toEncoding ∷ RewardUpdate crypto → Encoding #

toJSONList ∷ [RewardUpdate crypto] → Value #

toEncodingList ∷ [RewardUpdate crypto] → Encoding #

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

Methods

toJSON ∷ Reward crypto → Value #

toEncoding ∷ Reward crypto → Encoding #

toJSONList ∷ [Reward crypto] → Value #

toEncodingList ∷ [Reward crypto] → Encoding #

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

Methods

toJSONKey ∷ ToJSONKeyFunction (TxIn crypto)

toJSONKeyList ∷ ToJSONKeyFunction [TxIn crypto]

ToJSONKey (PolicyID era) Source # 
Instance details

Methods

toJSONKey ∷ ToJSONKeyFunction (PolicyID era)

toJSONKeyList ∷ ToJSONKeyFunction [PolicyID era]

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

Methods

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 # 
Instance details

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 #