| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V1.Scripts
Description
Functions for working with scripts on the ledger.
Synopsis
- data ScriptError
- = EvaluationError ![RepIsStuckError Datum :: Type -> Type) (Rep Datum)))
| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V1.Scripts
Description
Functions for working with scripts on the ledger.
Information about the state of the blockchain and about the transaction
that is currently being validated, represented as a value in Data.
Constructors
| Context BuiltinData |
Type representing the BLAKE2b-256 hash of a datum. 32 bytes.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.
Constructors
| DatumHash BuiltinByteString |
newtype RedeemerHash #
Type representing the BLAKE2b-256 hash of a redeemer. 32 bytes.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.
Constructors
| RedeemerHash BuiltinByteString |
| RepIsStuckError RedeemerHash :: Type -> Type) (Rep RedeemerHash))) |
newtype ScriptHash #
Type representing the BLAKE2b-224 hash of a script. 28 bytes.
This is a simple type without any validation, use with caution. You may want to add checks for its invariants. See the Shelley ledger specification.
Constructors
| ScriptHash | |
Fields | |
| RepIsStuckError ScriptHash :: Type -> Type) (Rep ScriptHash))) |