| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Byron.Spec.Ledger.STS.UTXO
Description
UTXO transition system
Documentation
Instances
Instances
| Generic UTxOEnv Source # | |
| Show UTxOEnv Source # | |
| Eq UTxOEnv Source # | |
| NoThunks UTxOEnv Source # | |
| type Rep UTxOEnv Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO type Rep UTxOEnv = D1 ('MetaData "UTxOEnv" "Byron.Spec.Ledger.STS.UTXO" "byron-spec-ledger-1.1.0.1-inplace" 'False) (C1 ('MetaCons "UTxOEnv" 'PrefixI 'True) (S1 ('MetaSel ('Just "utxo0") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UTxO) :*: S1 ('MetaSel ('Just "pps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PParams)))  | |
Instances
| Generic UTxOState Source # | |
| Show UTxOState Source # | |
| Eq UTxOState Source # | |
| NoThunks UTxOState Source # | |
| type Rep UTxOState Source # | |
Defined in Byron.Spec.Ledger.STS.UTXO type Rep UTxOState = D1 ('MetaData "UTxOState" "Byron.Spec.Ledger.STS.UTXO" "byron-spec-ledger-1.1.0.1-inplace" 'False) (C1 ('MetaCons "UTxOState" 'PrefixI 'True) (S1 ('MetaSel ('Just "utxo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UTxO) :*: S1 ('MetaSel ('Just "reserves") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Lovelace)))  | |
data UtxoPredicateFailure Source #
These PredicateFailures are all "throwable". The disjunction of the
   rules' preconditions is not True - the PredicateFailures represent
   False cases.
Constructors
| EmptyTxInputs | |
| EmptyTxOutputs | |
| FeeTooLow | |
| IncreasedTotalBalance | |
| InputsNotInUTxO | |
| NonPositiveOutputs | 
Instances
type family PredicateFailure a Source #
Descriptive type for the possible failures which might cause a transition to fail.
As a convention, PredicateFailures which are "structural" (meaning that
 they are not "throwable" in practice, and are used to pass control from
 one transition rule to another) are prefixed with S_.
Structural PredicateFailures represent conditions between rules where
 the disjunction of all rules' preconditions is equal to True. That is,
 either one rule will throw a structural PredicateFailure and the other
 will succeed, or vice-versa.