Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- newtype PTxOutRef (s :: S) = PTxOutRef (Term s (PDataRecord '["id" := PTxId, "idx" := PInteger]))
- newtype PTxOut (s :: S) = PTxOut (Term s (PDataRecord '["address" := PAddress, "value" := PValue 'Sorted 'Positive, "datumHash" := PMaybeData PDatumHash]))
- newtype PTxId (s :: S) = PTxId (Term s (PDataRecord '["_0" := PByteString]))
- newtype PTxInInfo (s :: S) = PTxInInfo (Term s (PDataRecord '["outRef" := PTxOutRef, "resolved" := PTxOut]))
Documentation
newtype PTxOutRef (s :: S) Source #
Reference to a transaction output with a index referencing which of the outputs is being referred to.
Instances
newtype PTxOut (s :: S) Source #
A transaction output. This consists of a target address, value and maybe a datum hash
PTxOut (Term s (PDataRecord '["address" := PAddress, "value" := PValue 'Sorted 'Positive, "datumHash" := PMaybeData PDatumHash])) |
Instances
newtype PTxId (s :: S) Source #
PTxId (Term s (PDataRecord '["_0" := PByteString])) |
Instances
newtype PTxInInfo (s :: S) Source #
A input of the pending transaction.
Instances
Orphan instances
PConstantDecl TxInInfo Source # | |
type PConstantRepr TxInInfo Source # type PConstanted TxInInfo :: PType Source # | |
PConstantDecl TxId Source # | |
type PConstantRepr TxId Source # type PConstanted TxId :: PType Source # | |
PConstantDecl TxOut Source # | |
type PConstantRepr TxOut Source # type PConstanted TxOut :: PType Source # | |
PConstantDecl TxOutRef Source # | |
type PConstantRepr TxOutRef Source # type PConstanted TxOutRef :: PType Source # |