Skip to main content

Crate types

Crate types 

Source
Expand description

§Common types for Essential Chain.

Modules§

contract
Contract
convert
Helper functions for converting between byte, word and hex string representations.
fmt
core::fmt implementations and related items.
predicate
Predicates
serde
Custom serde module implementations.
solution
Solutions

Structs§

ContentAddress
Content address of a predicate or contract.
Contract
A contract of predicates.
Predicate
A program dependency graph.
PredicateAddress
Address of a predicate.
Program
A program to be executed.
Signature
Recoverable ECDSA signature over some data.
Solution
A solution for a single contract predicate.
SolutionSet
A set of Solutions.

Type Aliases§

Bytecode
Essential ASM encoded as bytes.
Hash
Hash encoded as a 32 byte array.
Key
Key for data.
SolutionIndex
An index into a SolutionSet’s solutions slice.
Value
The data at a key.
Word
Single unit of data.